You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ea293d9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .agents/skills/check-fixture-repo/SKILL.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ its own README explains what each fixture drives.
24
24
25
25
## Isolation
26
26
27
-
The suite never touches the developer's machine state. `e2e/src/cli.ts` is the
27
+
The suite never touches the developer's machine state. `e2e/cli/src/cli.ts` is the
28
28
only way a spec can invoke the CLI, and it always sets **both**:
29
29
30
30
-`XDG_CONFIG_HOME`, which relocates `state.json` and `config.yaml`
@@ -42,13 +42,13 @@ the machine -- which is why the harness owns them rather than each spec.
42
42
### 1. Run the suite
43
43
44
44
```bash
45
-
pnpm test:e2e
45
+
pnpm test:e2e:cli
46
46
```
47
47
48
48
That is the whole check. The script behind it
49
49
(`scripts/e2e-prepare.mjs`) initializes the fixture submodule, force-pulls it to
50
50
the tip of its branch, and builds `target/debug/skillkeeper`; Jest then runs the
51
-
specs in `e2e/tests/`.
51
+
specs in `e2e/cli/tests/`.
52
52
53
53
Set `SKILLKEEPER_E2E_PIN_FIXTURE=1` to run against the fixture commit this
54
54
repository pins instead of pulling. CI does that for reproducibility; locally
@@ -61,11 +61,13 @@ to look:
61
61
62
62
| spec | covers | a failure means |
63
63
|---|---|---|
64
-
|`e2e/tests/fixture.spec.ts`| the submodule is checked out, ASCII-only, and still has the manifests and file modes the rest of the suite assumes | the **fixture** drifted |
65
-
|`e2e/tests/skills.spec.ts`| resolution schemes, `.skid.yml` identity, nested body paths, selective `+x`, guidance precedence, hook merge and consent, the delimited-text region, and both silent-failure modes of the resolver | the **product** changed |
66
-
|`e2e/tests/mcp.spec.ts`| preset discovery including the group-scoped file, parameter substitution, both ledger files, the `.gitignore` guard for the secrets file, rules rendering, instance-name allocation, the Codex stdio-only skip, and removal | the **product** changed |
67
-
|`e2e/tests/repair.spec.ts`|`verify` -> `repair` -> `verify`, directory pruning, the bounds that keep repair inside the repaired skill, and uninstall reversing hooks and guidance | the **product** changed |
68
-
|`e2e/tests/requires.spec.ts`| skill dependencies: every `repo lint` code the `requires` group triggers, the single-document `--json` form, both target-misuse exits, the transitive install closure, and the uninstall breakage report | the **product** changed |
64
+
|`e2e/cli/tests/fixture.spec.ts`| the submodule is checked out, ASCII-only, and still has the manifests and file modes the rest of the suite assumes | the **fixture** drifted |
65
+
|`e2e/cli/tests/skills.spec.ts`| resolution schemes, `.skid.yml` identity, nested body paths, selective `+x`, guidance precedence, hook merge and consent, the delimited-text region, and both silent-failure modes of the resolver | the **product** changed |
66
+
|`e2e/cli/tests/mcp.spec.ts`| preset discovery including the group-scoped file, parameter substitution, both ledger files, the `.gitignore` guard for the secrets file, rules rendering, instance-name allocation, the Codex stdio-only skip, and removal | the **product** changed |
67
+
|`e2e/cli/tests/mcp-oauth.spec.ts`| the oauth preset's exact per-agent native shape, the copilot skip, that no agent's config ever carries a client secret, and `repo lint` on the deliberately invalid oauth preset | the **product** changed |
68
+
|`e2e/cli/tests/mcp-parameters.spec.ts`| link rendering, description truncation, option-value validation on install, and every mcp lint warning a description or parameter can trigger | the **product** changed |
69
+
|`e2e/cli/tests/repair.spec.ts`|`verify` -> `repair` -> `verify`, directory pruning, the bounds that keep repair inside the repaired skill, and uninstall reversing hooks and guidance | the **product** changed |
70
+
|`e2e/cli/tests/requires.spec.ts`| skill dependencies: every `repo lint` code the `requires` group triggers, the single-document `--json` form, both target-misuse exits, the transitive install closure, and the uninstall breakage report | the **product** changed |
69
71
70
72
If `fixture.spec.ts` fails, fix or re-pin the fixture. If it passes and another
71
73
spec fails, the CLI's behaviour moved and the fixture is telling you so.
0 commit comments