Skip to content

Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.

test(ci): use the intended global config in the URL-rewrite fixture (#642)

Christopher Kevinc883dec9252d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c84219e9..46a6faad 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -355,6 +355,8 @@ All notable changes to SkillEvaluator are documented in this file.
spurious notices that other execution failures need attention.
- Make the same-inode read-race regression use an observable mtime change without
depending on filesystem clock granularity.
+- Make the onboarding URL-rewrite test use its temporary global Git config even
+ when the caller sets `GIT_CONFIG_GLOBAL`.
- The Tier 2 scale guide names the fixed 8 MiB selected-manifest input budget
and 1 MiB per-manifest limit, including in description-only embedding mode.
- Saved Tier 2 catalogs use compact JSON so indentation no longer rejects dense
diff --git a/docs/developer-guide.mdx b/docs/developer-guide.mdx
index 282dc922..2735bd7e 100644
--- a/docs/developer-guide.mdx
+++ b/docs/developer-guide.mdx
@@ -79,6 +79,9 @@ mtime: two same-size writes can otherwise share a filesystem clock tick.
The MCP-staging restored-mtime regression models an advanced ctime explicitly,
so its source-change assertion does not depend on the host clock ticking.
+Git URL-rewrite tests point `GIT_CONFIG_GLOBAL` at their temporary configuration,
+so caller-level Git isolation does not suppress the rewrite being tested.
+
The `dev` extra includes pytest-xdist, so you can parallelize any of these runs:
```bash title="Run tests in parallel"
diff --git a/tests/test_ci_onboarding_all_tiers.py b/tests/test_ci_onboarding_all_tiers.py
index 5d879ae7..6d17ba1a 100644
--- a/tests/test_ci_onboarding_all_tiers.py
+++ b/tests/test_ci_onboarding_all_tiers.py
@@ -837,6 +837,7 @@ def test_preview_ignores_user_insteadof_rewrite_of_a_supported_origin(
home.mkdir()
(home / ".gitconfig").write_text('[url "ssh://[email protected]/"]\n\tinsteadOf = https://github.com/\n')
monkeypatch.setenv("HOME", str(home))
+ monkeypatch.setenv("GIT_CONFIG_GLOBAL", str(home / ".gitconfig"))
rewritten = subprocess.check_output(["git", "-C", str(repository), "remote", "get-url", "origin"], text=True)
assert rewritten.startswith("ssh://")
args = ["ci", "init", "--repo", str(repository), "--no-input", "--mode", "preview"]