@yandy-r/ycc-opencode 6.5.0 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +11 -4
  2. package/agents/code-finder.md +1 -1
  3. package/agents/planner.md +1 -2
  4. package/agents/pr-evidence-collector.md +99 -0
  5. package/agents/root-cause-analyzer.md +1 -1
  6. package/index.js +9 -0
  7. package/package.json +1 -1
  8. package/registration.json +67 -0
  9. package/shared/references/standalone-dispatch.md +4 -1
  10. package/shared/references/target-capability-matrix.md +170 -30
  11. package/shared/references/worktree-strategy.md +7 -21
  12. package/skills/bundle-author/scripts/scaffold-skill.sh +9 -0
  13. package/skills/bundle-release/scripts/release_versions.py +19 -1
  14. package/skills/code-report/SKILL.md +0 -2
  15. package/skills/code-report/templates/report-structure.md +0 -2
  16. package/skills/compatibility-audit/SKILL.md +8 -4
  17. package/skills/compatibility-audit/scripts/audit-install-assumptions.sh +75 -5
  18. package/skills/compatibility-audit/scripts/audit-target-features.sh +15 -9
  19. package/skills/feature-research/SKILL.md +1 -1
  20. package/skills/feature-research/scripts/validate-spec.sh +0 -4
  21. package/skills/formatters/references/templates/lint-autofix.yml.tmpl +7 -7
  22. package/skills/formatters/references/templates/lint.yml.tmpl +11 -11
  23. package/skills/formatters/scripts/bundle/go-tools.sh +73 -41
  24. package/skills/formatters/scripts/bundle/init-formatters.sh +1 -1
  25. package/skills/formatters/scripts/bundle/lib/modified-files.sh +0 -5
  26. package/skills/git-workflow/SKILL.md +1 -0
  27. package/skills/git-workflow/templates/agent-prompts.md +5 -6
  28. package/skills/git-workflow/templates/documentation-decision.md +1 -3
  29. package/skills/git-workflow/templates/pr-template.md +1 -3
  30. package/skills/go-patterns/references/design-and-tooling.md +16 -13
  31. package/skills/go-testing/references/advanced-testing.md +2 -2
  32. package/skills/implement-plan/references/agent-task-prompt.md +18 -20
  33. package/skills/implement-plan/scripts/parse-dependencies.sh +3 -9
  34. package/skills/init/templates/git/gitignore.tmpl +2 -0
  35. package/skills/init/templates/github/workflows/pr-title.yml.tmpl +1 -1
  36. package/skills/orchestrate/SKILL.md +1 -1
  37. package/skills/orchestrate/references/dispatch-playbook.md +1 -1
  38. package/skills/parallel-plan/SKILL.md +6 -10
  39. package/skills/plan-workflow/SKILL.md +3 -3
  40. package/skills/plan-workflow/references/plan-structure.md +1 -3
  41. package/skills/plan-workflow/scripts/validate-workflow-plan.sh +2 -8
  42. package/skills/pr-evidence/SKILL.md +138 -0
  43. package/skills/pr-evidence/references/perf-evidence.md +119 -0
  44. package/skills/pr-evidence/references/pr-body-and-hosting.md +112 -0
  45. package/skills/pr-evidence/references/ui-evidence.md +152 -0
  46. package/skills/pr-evidence/scripts/bench_report.py +331 -0
  47. package/skills/pr-evidence/scripts/capture-ui.mjs +311 -0
  48. package/skills/pr-evidence/scripts/classify-change.sh +135 -0
  49. package/skills/prp-plan/SKILL.md +4 -5
  50. package/skills/prp-plan/scripts/validate-prp-plan.sh +1 -11
  51. package/skills/prp-pr/SKILL.md +4 -0
  52. package/skills/releaser/references/ci-optimization-checklist.md +1 -1
  53. package/skills/releaser/references/ci-templates/docker-release.yml +8 -8
  54. package/skills/releaser/references/ci-templates/generic-release.yml +5 -5
  55. package/skills/releaser/references/ci-templates/go-release.yml +4 -4
  56. package/skills/releaser/references/ci-templates/node-release.yml +8 -8
  57. package/skills/releaser/references/ci-templates/python-release.yml +8 -8
  58. package/skills/releaser/references/ci-templates/rust-release.yml +10 -10
  59. package/skills/rust-testing/references/advanced-testing.md +1 -1
  60. package/skills/shared-context/SKILL.md +6 -10
  61. package/skills/ts-testing/references/advanced-testing.md +4 -4
  62. package/skills/visual-recap/SKILL.md +3 -4
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @yandy-r/ycc-opencode
2
2
 
3
- OpenCode V2 plugin carrying the ycc bundle (version 6.5.0). It is how ycc installs
3
+ OpenCode V2 plugin carrying the ycc bundle (version 6.6.0). It is how ycc installs
4
4
  into [OpenCode](https://opencode.ai): `install.sh install --target opencode` writes the `plugins` entry
5
5
  below into `~/.config/opencode/opencode.json` for you.
6
6
 
@@ -15,7 +15,13 @@ Requires OpenCode `>=2.0.30` (V2 plugin API; V1 hook plugins are not supported).
15
15
  `opencode.json`, pinned to an exact release:
16
16
 
17
17
  ```json
18
- { "plugins": ["@yandy-r/ycc-opencode@6.5.0"] }
18
+ { "plugins": ["@yandy-r/ycc-opencode@6.6.0"] }
19
+ ```
20
+
21
+ The MCP servers are opt-in. To register them too, use the object form:
22
+
23
+ ```json
24
+ { "plugins": [{ "package": "@yandy-r/ycc-opencode@6.6.0", "options": { "mcp": true } }] }
19
25
  ```
20
26
 
21
27
  Pin the version instead of using the bare name. Right after a release, the registry can briefly serve
@@ -32,8 +38,9 @@ loadable plugins. Bump the pin when you upgrade (`install.sh install --target op
32
38
  - **Agents** (`agents/<id>.md` prompts, permissions, color, model pins from `ycc/settings/models.json`).
33
39
  - **Commands**: each public skill becomes `/ycc:<id>`; `$ARGUMENTS` is expanded and the result is forwarded
34
40
  as a prompt (a workflow command, not an OS process).
35
- - **MCP servers**: plain data from `mcp-configs/mcp.json`; `{env:VAR}` placeholders resolve from the
36
- environment at setup time.
41
+ - **MCP servers** (opt-in): plain data from `mcp-configs/mcp.json`, registered only when the entry sets
42
+ `"options": { "mcp": true }` (`install.sh install --target opencode --mcp` writes it). `{env:VAR}`
43
+ placeholders resolve from the environment at setup time.
37
44
  - **Instructions**: `AGENTS.md` pushed through the session `context` hook.
38
45
  - **Sensitive-file guard** (`ycc-sensitive-guard/`): for the
39
46
  restricted specialists in its `policy.json` it checks tool calls against the sensitive-file policy,
@@ -80,4 +80,4 @@ path/to/file.ts:42-48
80
80
 
81
81
  Fallback output (only when results are too large): a list of important file paths with 3-6 word descriptors
82
82
 
83
- Be thorough. Find everything. The user relies on your completeness.
83
+ For the requested code, account for every relevant definition, call site, and test.
package/agents/planner.md CHANGED
@@ -108,8 +108,7 @@ elements in your plan:
108
108
  1. A top-level `## Worktree Setup` block after the summary and before the first batch
109
109
  or phase. Use the parent path supplied by the dispatching prompt.
110
110
  Emit only the single `**Parent**:` line — all tasks (parallel and sequential) share
111
- this one feature worktree path. Do **not** add a `**Children**:` list and do **not**
112
- add per-task `**Worktree**:` annotations.
111
+ this one feature worktree path.
113
112
 
114
113
  ```markdown
115
114
  ## Worktree Setup
@@ -0,0 +1,99 @@
1
+ ---
2
+ description: 'Capture pull-request review evidence for ONE kind (ui or perf) dispatched
3
+ by the pr-evidence skill: base-vs-branch screenshots across viewports and motion
4
+ videos, or repeated base-vs-branch benchmarks with a graph. Writes files and a manifest
5
+ to the evidence directory and hands back a short summary.'
6
+ mode: subagent
7
+ permissions:
8
+ - action: '*'
9
+ resource: '*'
10
+ effect: deny
11
+ - action: read
12
+ resource: '*'
13
+ effect: allow
14
+ - action: grep
15
+ resource: '*'
16
+ effect: allow
17
+ - action: glob
18
+ resource: '*'
19
+ effect: allow
20
+ - action: edit
21
+ resource: '*'
22
+ effect: allow
23
+ - action: shell
24
+ resource: '*'
25
+ effect: allow
26
+ - action: external_directory
27
+ resource: '*'
28
+ effect: ask
29
+ - action: read
30
+ resource: '*.env'
31
+ effect: ask
32
+ - action: read
33
+ resource: '*.env.*'
34
+ effect: ask
35
+ - action: read
36
+ resource: '*.env.example'
37
+ effect: allow
38
+ color: '#06B6D4'
39
+ ---
40
+
41
+ You capture review evidence for a pull request so the reviewer can see what the
42
+ change does without reading every line. You handle exactly one evidence kind per
43
+ dispatch: `ui` or `perf`. The dispatch prompt gives you the repo path, the base
44
+ worktree path, the merge-base and head SHAs, the evidence directory, what
45
+ changed, the helper script paths, and the method reference to follow.
46
+
47
+ ## Rules
48
+
49
+ - Everything you report comes from real runs of the base worktree and the branch.
50
+ Never fabricate, edit, or estimate an image or a number.
51
+ - Same conditions on both sides: machine, data, viewport, build mode, port,
52
+ flags. Only the code differs.
53
+ - Write only inside the evidence directory. Do not edit, commit, stash, or
54
+ reset anything in the repository or the base worktree, apart from installing
55
+ dependencies and building in each checkout.
56
+ - Use test or seeded accounts and data. Mask or hide timestamps, avatars, tokens,
57
+ emails and live content. Look at every image you produce before listing it.
58
+ - Stop every server and background process you start, even on failure.
59
+ - If you cannot produce real evidence (missing secrets, hardware, services, or
60
+ a build that fails on base), stop and report `status: "blocked"` with the
61
+ exact blocker. A clear blocker is a valid result.
62
+
63
+ ## Workflow
64
+
65
+ 1. Read the method reference in the prompt and the diff (`git diff <merge-base>
66
+ <head> --stat`, then the files that matter) to decide what to show or measure.
67
+ 2. Find how the project builds, runs and benchmarks (package scripts, Makefile,
68
+ README, Cargo/Go/Python tooling). Install and build each checkout the same way.
69
+ 3. Capture following the reference: `capture-ui.mjs shoot` for base then branch
70
+ and `compose`, or the benchmark runs then `bench_report.py` and
71
+ `capture-ui.mjs render` for the chart.
72
+ 4. Review the output. For UI, open the composites and note any overflow,
73
+ overlap, truncation or misalignment, especially at mobile and wide sizes. For
74
+ perf, rerun noisy results with more samples; report regressions plainly.
75
+ 5. Write `evidence-section.md` (Markdown for the PR body, images referenced by
76
+ absolute local path) and `manifest.json` in the evidence directory:
77
+
78
+ ```json
79
+ {
80
+ "kind": "ui",
81
+ "status": "captured",
82
+ "blocker": null,
83
+ "summary": "one or two sentences",
84
+ "files": [{ "path": "/abs/file.png", "caption": "Settings, mobile 375x667", "changed": true }],
85
+ "markdown": "/abs/evidence-section.md"
86
+ }
87
+ ```
88
+
89
+ ## Hand-back
90
+
91
+ Reply with only:
92
+
93
+ ```
94
+ manifest: <absolute path to manifest.json>
95
+ status: captured | blocked
96
+ summary: <two sentences: what the evidence shows, and any bug or regression found>
97
+ ```
98
+
99
+ Do not paste images, tables or logs into the reply; the caller reads the files.
@@ -100,6 +100,6 @@ Structure your analysis as follows:
100
100
 
101
101
  - You are a diagnostician, not a surgeon - identify the problem but don't attempt repairs
102
102
  - Always use available search tools to investigate external library issues
103
- - Be thorough in your code examination before forming hypotheses
103
+ - Trace the reported behavior from its entry points through the relevant branches and error paths before forming hypotheses
104
104
  - If you cannot determine a definitive root cause, clearly state what additional information would be needed
105
105
  - Consider the possibility of multiple contributing factors rather than a single root cause
package/index.js CHANGED
@@ -311,7 +311,16 @@ async function registerCommands(ctx) {
311
311
  });
312
312
  }
313
313
 
314
+ // MCP servers are opt-in: they register only when the plugins entry sets
315
+ // `"options": { "mcp": true }` (install.sh install --target opencode --mcp).
316
+ // An entry without it, such as one an older installer wrote, loads without
317
+ // them, so the next OpenCode start drops the servers it used to register.
318
+ function mcpEnabled(ctx) {
319
+ return ctx.options?.mcp === true;
320
+ }
321
+
314
322
  async function registerMcp(ctx) {
323
+ if (!mcpEnabled(ctx)) return;
315
324
  const servers = REGISTRATION.mcp ?? {};
316
325
  const names = Object.keys(servers);
317
326
  if (names.length === 0) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yandy-r/ycc-opencode",
3
- "version": "6.5.0",
3
+ "version": "6.6.0",
4
4
  "description": "OpenCode V2 plugin registering the ycc bundle (skills, agents, ycc:<skill> commands, MCP servers, the sensitive-file guard and session instructions) through its setup hook. install.sh --target opencode installs it.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
package/registration.json CHANGED
@@ -169,6 +169,12 @@
169
169
  "description": "Applies GitHub PR comments and resolves review threads. Use when fixing reviewer feedback, processing bot comments, or driving comment fixes through CI.",
170
170
  "path": "skills/pr-autofix/SKILL.md"
171
171
  },
172
+ {
173
+ "id": "pr-evidence",
174
+ "name": "pr-evidence",
175
+ "description": "Attaches review evidence to every new pull request: before/after UI screenshots across viewports, motion videos, and base-vs-branch benchmark graphs. Use when about to open, create or publish a PR, before gh pr create or tea pull create.",
176
+ "path": "skills/pr-evidence/SKILL.md"
177
+ },
172
178
  {
173
179
  "id": "prp-commit",
174
180
  "name": "prp-commit",
@@ -4182,6 +4188,67 @@
4182
4188
  ],
4183
4189
  "color": "#EAB308"
4184
4190
  },
4191
+ {
4192
+ "id": "pr-evidence-collector",
4193
+ "name": "pr-evidence-collector",
4194
+ "description": "Capture pull-request review evidence for ONE kind (ui or perf) dispatched by the pr-evidence skill: base-vs-branch screenshots across viewports and motion videos, or repeated base-vs-branch benchmarks with a graph. Writes files and a manifest to the evidence directory and hands back a short summary.",
4195
+ "mode": "subagent",
4196
+ "prompt": "agents/pr-evidence-collector.md",
4197
+ "model": "openai/gpt-5.6-sol",
4198
+ "permissions": [
4199
+ {
4200
+ "action": "*",
4201
+ "resource": "*",
4202
+ "effect": "deny"
4203
+ },
4204
+ {
4205
+ "action": "read",
4206
+ "resource": "*",
4207
+ "effect": "allow"
4208
+ },
4209
+ {
4210
+ "action": "grep",
4211
+ "resource": "*",
4212
+ "effect": "allow"
4213
+ },
4214
+ {
4215
+ "action": "glob",
4216
+ "resource": "*",
4217
+ "effect": "allow"
4218
+ },
4219
+ {
4220
+ "action": "edit",
4221
+ "resource": "*",
4222
+ "effect": "allow"
4223
+ },
4224
+ {
4225
+ "action": "shell",
4226
+ "resource": "*",
4227
+ "effect": "allow"
4228
+ },
4229
+ {
4230
+ "action": "external_directory",
4231
+ "resource": "*",
4232
+ "effect": "ask"
4233
+ },
4234
+ {
4235
+ "action": "read",
4236
+ "resource": "*.env",
4237
+ "effect": "ask"
4238
+ },
4239
+ {
4240
+ "action": "read",
4241
+ "resource": "*.env.*",
4242
+ "effect": "ask"
4243
+ },
4244
+ {
4245
+ "action": "read",
4246
+ "resource": "*.env.example",
4247
+ "effect": "allow"
4248
+ }
4249
+ ],
4250
+ "color": "#06B6D4"
4251
+ },
4185
4252
  {
4186
4253
  "id": "practices-researcher",
4187
4254
  "name": "practices-researcher",
@@ -37,6 +37,8 @@ subagent(agent="<agent>", description="<short title>",
37
37
  prompt="<complete task prompt>", background=false)
38
38
  ```
39
39
 
40
+ Omit `sessionID` for a new child. Never pass a placeholder session ID.
41
+
40
42
  The call waits for the child run and returns its response. Treat the response as a
41
43
  candidate report, not proof that the requested work exists. Before accepting it:
42
44
 
@@ -56,6 +58,8 @@ subagent(agent="<agent>", description="<short title>",
56
58
  prompt="<complete task prompt>", background=true)
57
59
  ```
58
60
 
61
+ Omit `sessionID` for a new child. Never pass a placeholder session ID.
62
+
59
63
  The initial return is an acknowledgement containing a child `sessionID`, not the final
60
64
  report. Record that ID immediately. Continue only non-overlapping work. If there is
61
65
  nothing productive to do, end the turn so the native terminal notification can be
@@ -235,7 +239,6 @@ In your emitted plan:
235
239
 
236
240
  Substitute the concrete `<repo>` and `<feature>` values; keep `<repo-root>/.opencode/worktrees/`
237
241
  as this runtime's worktree root. All tasks - parallel and sequential - share this one path.
238
- Do NOT add a `**Children**:` list and do NOT add per-task `**Worktree**:` annotations.
239
242
  ```
240
243
 
241
244
  ## 9. Dependency Resolution and Batching
@@ -9,7 +9,7 @@
9
9
  - Artifact store
10
10
  - How to Update This Document
11
11
 
12
- As of 2026-11-05
12
+ As of 2026-11-27
13
13
 
14
14
  This file is the authoritative source for which ycc bundle capabilities are supported on each
15
15
  deployment target. Downstream scripts parse the table below; read the Parser Grammar section
@@ -22,7 +22,7 @@ before editing the table.
22
22
  The first table below (Capability Matrix) is parsed by `ycc/skills/compatibility-audit/scripts/audit-target-features.sh`.
23
23
  Follow these rules exactly or the parser will misread cells:
24
24
 
25
- - **Column order**: `capability, claude, cursor, codex, opencode, omp, pi` — do not reorder.
25
+ - **Column order**: `capability, claude, cursor, codex, opencode, omp, pi, antigravity, muse` — do not reorder.
26
26
  - **Cell vocabulary**: exactly one of `supported`, `partial`, or `unsupported` — no other tokens,
27
27
  no trailing punctuation, no parenthetical notes inside the cell.
28
28
  - **Notes** belong in the Notes section below the table, keyed as `capability:target`.
@@ -44,19 +44,19 @@ Follow these rules exactly or the parser will misread cells:
44
44
 
45
45
  ## Capability Matrix
46
46
 
47
- | capability | claude | cursor | codex | opencode | omp | pi |
48
- | ----------------- | --------- | ----------- | ----------- | ----------- | ----------- | ----------- |
49
- | SKILLS | supported | supported | supported | supported | partial | unsupported |
50
- | COMMANDS | supported | partial | unsupported | supported | partial | unsupported |
51
- | AGENTS | supported | partial | supported | supported | partial | unsupported |
52
- | HOOKS.PreToolUse | supported | partial | unsupported | partial | unsupported | unsupported |
53
- | HOOKS.PostToolUse | supported | partial | unsupported | partial | unsupported | unsupported |
54
- | HOOKS.Stop | supported | partial | unsupported | partial | unsupported | unsupported |
55
- | MCP | supported | supported | partial | supported | partial | unsupported |
56
- | INSTALL_PATH | supported | supported | supported | supported | partial | unsupported |
57
- | DANGEROUS_MODE | supported | unsupported | unsupported | unsupported | unsupported | unsupported |
58
- | WORKTREE | supported | partial | partial | partial | partial | unsupported |
59
- | MODS | supported | unsupported | unsupported | unsupported | unsupported | unsupported |
47
+ | capability | claude | cursor | codex | opencode | omp | pi | antigravity | muse |
48
+ | ----------------- | --------- | ----------- | ----------- | ----------- | ----------- | ----------- | ----------- | ----------- |
49
+ | SKILLS | supported | supported | supported | supported | partial | unsupported | partial | partial |
50
+ | COMMANDS | supported | partial | unsupported | supported | partial | unsupported | partial | supported |
51
+ | AGENTS | supported | partial | supported | supported | partial | unsupported | partial | partial |
52
+ | HOOKS.PreToolUse | supported | partial | unsupported | partial | unsupported | unsupported | unsupported | unsupported |
53
+ | HOOKS.PostToolUse | supported | partial | unsupported | partial | unsupported | unsupported | unsupported | unsupported |
54
+ | HOOKS.Stop | supported | partial | unsupported | partial | unsupported | unsupported | unsupported | unsupported |
55
+ | MCP | supported | supported | partial | supported | partial | unsupported | partial | partial |
56
+ | INSTALL_PATH | supported | supported | supported | supported | partial | unsupported | partial | partial |
57
+ | DANGEROUS_MODE | supported | unsupported | unsupported | unsupported | unsupported | unsupported | unsupported | unsupported |
58
+ | WORKTREE | supported | partial | partial | partial | partial | unsupported | partial | partial |
59
+ | MODS | supported | unsupported | unsupported | unsupported | unsupported | unsupported | unsupported | unsupported |
60
60
 
61
61
  ---
62
62
 
@@ -67,15 +67,17 @@ from installer-managed artifacts and gated work in `ycc/settings/packages.json`.
67
67
  `listed: false` packages are not published catalog entries; generated trees and successful spikes
68
68
  alone do not make them shipping user install paths. This does not revise the capability verdicts above.
69
69
 
70
- | target | native, listed today | install.sh today | unlisted or gated native packages |
71
- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- |
72
- | Claude | `ycc@ycc`, `ycc-mcp@ycc`, `ycc-hooks@ycc` (2.1.300+), `ycc-all@ycc`; `status-bar@ycc-mods` | Installs the native plugins via `claude plugin` (`mcp`/`hooks` at project scope by default, user scope with `--global`); rules, settings, statusline | `ycc-agents@ycc` in v7.0.0 |
73
- | Cursor | `ycc`, `ycc-rules`, `ycc-mcp`, `ycc-hooks` via the root `.cursor-plugin/marketplace.json` (interactive `/plugins`); hooks `sessionStart` only | Registers the marketplace and prints the `/plugins` step; `cli-config.json` settings (`--global`) | None |
74
- | Codex | `ycc@ycc`, `ycc-mcp@ycc` via the root `.agents/plugins/marketplace.json` | Installs both via `codex plugin add` (codex 0.160+ required); agent TOMLs, `AGENTS.md`, `config.toml` | `ycc-hooks` excluded (YAN-1149) |
75
- | opencode | `@yandy-r/ycc-opencode` npm V2 plugin (opencode `>=2.0.30`), not catalog-listed | Writes its `plugins` entry (local: `file://` checkout; repo: pinned release), retires the old file copy; `opencode.json` settings, `AGENTS.md` link | None |
76
- | `agents` | None | Skills and `ycc-shared` copied into `~/.agents/` | None planned |
77
- | `omp` | `ycc@ycc`, `ycc-mcp@ycc`, `ycc-rules@ycc` via the root `.omp-plugin/marketplace.json` (omp `>=18.12.2`) | `install.sh --target omp`: local export (`--mode local`) or the repository catalog (`--mode repo`) installed through `omp plugin` (user or project scope); opt-in `--rules` (`AGENTS.md`) and `--settings` (`config.yml`), user scope only | `ycc-hooks` and `ycc-all` excluded (herdr: `herdr integration install omp`) |
78
- | `pi` | None | None | `ycc`, `ycc-mcp`, `ycc-rules` deferred to v6.3.0 (ADR 0003, pi `>=1.2.0`); `ycc-hooks` and `ycc-all` excluded |
70
+ | target | native, listed today | install.sh today | unlisted or gated native packages |
71
+ | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
72
+ | Claude | `ycc@ycc`, `ycc-mcp@ycc`, `ycc-hooks@ycc` (2.1.300+), `ycc-all@ycc`; `status-bar@ycc-mods` | Installs the native plugins via `claude plugin` (`mcp`/`hooks` at project scope by default, user scope with `--global`); rules, settings, statusline | `ycc-agents@ycc` in v7.0.0 |
73
+ | Cursor | `ycc`, `ycc-rules`, `ycc-mcp`, `ycc-hooks` via the root `.cursor-plugin/marketplace.json` (interactive `/plugins`); hooks `sessionStart` only | Registers the marketplace and prints the `/plugins` step; `cli-config.json` settings (`--global`) | None |
74
+ | Codex | `ycc@ycc`, `ycc-mcp@ycc` via the root `.agents/plugins/marketplace.json` | Installs both via `codex plugin add` (codex 0.160+ required); agent TOMLs, `AGENTS.md`, `config.toml` | `ycc-hooks` excluded (YAN-1149) |
75
+ | opencode | `@yandy-r/ycc-opencode` npm V2 plugin (opencode `>=2.0.30`), not catalog-listed | Writes its `plugins` entry (local: `file://` checkout; repo: pinned release), retires the old file copy; `opencode.json` settings, `AGENTS.md` link | None |
76
+ | `agents` | None | Skills and `ycc-shared` copied into `~/.agents/` | None planned |
77
+ | `omp` | `ycc@ycc`, `ycc-mcp@ycc`, `ycc-rules@ycc` via the root `.omp-plugin/marketplace.json` (omp `>=18.12.2`) | `install.sh --target omp`: local export (`--mode local`) or the repository catalog (`--mode repo`) installed through `omp plugin` (user or project scope); opt-in `--rules` (`AGENTS.md`) and `--settings` (`config.yml`), user scope only | `ycc-hooks` and `ycc-all` excluded (herdr: `herdr integration install omp`) |
78
+ | `pi` | None | None | `ycc`, `ycc-mcp`, `ycc-rules` deferred to v6.3.0 (ADR 0003, pi `>=1.2.0`); `ycc-hooks` and `ycc-all` excluded |
79
+ | `antigravity` | None (Antigravity publishes no marketplace format) | `install.sh --target antigravity`: the generated `ycc`, `ycc-mcp` and `ycc-rules` plugins via `agy plugin install <path>`, or owned copies in `~/.gemini/config/plugins/` without `agy`; opt-in `--rules` (`~/.gemini/config/AGENTS.md`); global scope only | `ycc-hooks` and `ycc-all` not modeled (Claude-specific hooks; no plugin dependencies) |
80
+ | `muse` | None (Muse reads only `.agents/plugins/marketplace.json`, the Codex catalog here) | `install.sh --target muse`: owned copies of the generated `ycc` (claude-compatible manifest), `ycc-mcp` and `ycc-rules` (native manifest) in `~/.local/share/ycc/muse/`, registered with `muse plugins install` (user scope, or project scope with `--project`) and approved; opt-in `--rules` (`~/.config/muse/AGENTS.md`) | `ycc-hooks` excluded (no `WorktreeCreate` event); `ycc-rules` ships rules as skills (no plugin rules family); `ycc-all` not modeled |
79
81
 
80
82
  Native dependency resolution is a Claude platform feature, not a cross-runtime guarantee.
81
83
  The Claude `ycc-all` meta plugin's automatic dependency install was verified on Claude Code 2.1.301 and in the v6.0.0 maintainer clean-host verification; Cursor and Codex have no
@@ -111,8 +113,19 @@ The recommendation in `docs/research/ystack/recommendation.md` is qualified by
111
113
  supported floor `>=1.2.0`, recommended 1.5.0. Pi gets a generated `packages/pi/` tree
112
114
  (YAN-1188) installed by absolute path with `pi install`; there is no catalog. Pi has no
113
115
  built-in subagents, no shell hooks or `hooks.json`, no `WorktreeCreate` event, and no approval
114
- modes, and a Pi package cannot depend on another, so `ycc-all` is omitted. See ADR 0003. No Pi
115
- generator or installer ships yet, so every `pi` cell above is `unsupported`.
116
+ modes, and a Pi package cannot depend on another, so `ycc-all` is omitted. See ADR 0003. The Pi
117
+ skills generator (YAN-1184) writes `packages/pi/ycc/skills`, but no package manifest or
118
+ installer ships yet, so every `pi` cell above is `unsupported`.
119
+ - `antigravity-runtime-contract.md`: desk research against the official Antigravity docs, not yet
120
+ run against a live `agy`. The App, IDE and CLI share `~/.gemini/config/`; ycc generates
121
+ `packages/antigravity/{ycc,ycc-mcp,ycc-rules}` (root `plugin.json`) and installs them globally.
122
+ Hooks, settings and workflows are not shipped. The rows stay `experimental` until a live gate.
123
+ - `muse-runtime-contract.md`: verified against the `muse` 1.4.25 CLI (`muse plugins validate`,
124
+ `install`, `approve`, `remove`), not yet in an authenticated model session. ycc generates
125
+ `packages/muse/ycc` (claude-compatible manifest, the only family that imports agents) and
126
+ `packages/muse/{ycc-mcp,ycc-rules}` (native `.muse-plugin` manifest; the rules ship as
127
+ relevance-loaded skills) and installs them from ycc-owned copies. Hooks are not shipped. Verified live
128
+ (skill helpers, subagents, HTTP and stdio MCP, `/ycc:` in the TUI) on a real profile.
116
129
 
117
130
  ---
118
131
 
@@ -530,10 +543,15 @@ Unsupported. The Claude Code mod API differs from OMP's `ExtensionAPI`; the stat
530
543
  not ported. Source: ADR 0002.
531
544
 
532
545
  **SKILLS:pi**
533
- Unsupported today: ycc ships no Pi skill tree. Planned `partial` (YAN-1184): Pi discovers package
534
- `skills/<name>/SKILL.md` natively as `/skill:<name>`, and `disable-model-invocation` maps natively,
535
- but Pi leaves `${CLAUDE_PLUGIN_ROOT}`, `/ycc:<name>` and body `$ARGUMENTS` literal, so the generator
536
- must rewrite them and ship `_shared` inside the package. Floor pi `>=1.2.0`. Coexistence: Pi
546
+ Unsupported today: `scripts/generate_pi_skills.py` (YAN-1184) generates every skill and `_shared`
547
+ under `packages/pi/ycc/skills`, but nothing installs it until YAN-1188 adds
548
+ `packages/pi/ycc/package.json`; this cell flips to `partial` in that PR. Pi discovers
549
+ `skills/<name>/SKILL.md` natively as `/skill:<name>`, and `disable-model-invocation` maps natively.
550
+ Pi leaves `${CLAUDE_PLUGIN_ROOT}`, `/ycc:<name>` and body `$ARGUMENTS` literal, so the generator
551
+ rewrites plugin-root and `_shared` paths to skill-directory-relative `../<path>`, maps `/ycc:`
552
+ references and Claude file-tool names, and prefixes skills that use `$ARGUMENTS` with a note that
553
+ it is the text Pi appends after the skill block. `_shared/` has no `SKILL.md`, so Pi does not
554
+ discover it as a skill (checked against the Pi 1.5.0 loader). Floor pi `>=1.2.0`. Coexistence: Pi
537
555
  discovers `~/.agents/skills` by default, so copies from the `agents` target load unadapted and
538
556
  outrank a package skill of the same name (no namespacing, spike §1.5); YAN-1193 adds owned
539
557
  `-~/.agents/skills/<n>/SKILL.md` dedupe overrides. Source: ADR 0003; spike §1.5, §3.
@@ -594,6 +612,128 @@ Unsupported by design. The Claude Code mod API differs from Pi's `ExtensionAPI`
594
612
  (`ctx.ui.setStatus`/`setWidget`/`setFooter`); a status-bar port is new code outside the lockstep.
595
613
  Source: ADR 0003 package matrix.
596
614
 
615
+ **SKILLS:antigravity**
616
+ Partial (desk-verified, not run live). The generated `ycc` plugin (`packages/antigravity/ycc`) ships
617
+ `skills/<name>/SKILL.md` with `name`, `description` and `disable-model-invocation`; Antigravity
618
+ exposes plugin skills as `/<name>`, so `/ycc:<name>` references are rewritten to `/<name>`. Skills
619
+ get no plugin-root variable, so `${CLAUDE_PLUGIN_ROOT}` paths are rewritten to the global install
620
+ root `~/.gemini/config/plugins/ycc/` and `_shared` ships as the sibling `ycc-shared/`; a workspace
621
+ (`.agents/plugins/`) install would break them. `allowed-tools` is not documented and is dropped.
622
+ Source: `docs/internal/spikes/antigravity-runtime-contract.md` decisions 3 and 5.
623
+
624
+ **COMMANDS:antigravity**
625
+ Partial. Antigravity has no separate command layer for plugins: every skill is its own slash command
626
+ (`/<name>`). Workflows (`.agents/workflows/`) are deprecated in favour of skills, so ycc ships none.
627
+ Source: spike decisions 5 and 10.
628
+
629
+ **AGENTS:antigravity**
630
+ Partial. Agents ship as `agents/<name>.md` with `name`, `description`, `tools` and `model`. The tool
631
+ map is closed (an unmapped tool name can hang a subagent): `Read`→`view_file`/`list_dir`,
632
+ `Grep`→`grep_search`, `Glob`→`find_by_name`/`list_dir`, `Write`→`write_to_file`,
633
+ `Edit`→`replace_file_content`/`multi_replace_file_content`, `Bash(...)`→`run_command` (governed by the
634
+ default `commandExecutionPolicy: sandbox`, not per-command patterns), `WebFetch`→`read_url_content`,
635
+ `WebSearch`→`search_web`; `mcp__*` tools are dropped. Models map through
636
+ `ycc/settings/models.json` `targets.antigravity.agentModels` (`opus`→`pro`, `haiku`→`flash`, else
637
+ `inherit`). Source: spike decision 6.
638
+
639
+ **HOOKS.PreToolUse:antigravity**
640
+ Unsupported. Antigravity runs shell hooks from `hooks.json` (`PreToolUse`, `PostToolUse`,
641
+ `PreInvocation`, `PostInvocation`, `Stop`, `SessionStart`), but ycc's hooks are Claude-specific
642
+ (`WorktreeCreate`, the herdr reporter), so no `hooks.json` ships. Source: spike decision 10.
643
+
644
+ **HOOKS.PostToolUse:antigravity**
645
+ Same constraint as HOOKS.PreToolUse:antigravity.
646
+
647
+ **HOOKS.Stop:antigravity**
648
+ Same constraint as HOOKS.PreToolUse:antigravity.
649
+
650
+ **MCP:antigravity**
651
+ Partial. The `ycc-mcp` plugin ships `mcp_config.json`: remote servers use `serverUrl` (Streamable
652
+ HTTP; SSE is unsupported) and stdio servers keep `command`/`args`. Identity `${VAR}` env pass-throughs
653
+ are dropped on the inference that Antigravity passes its environment to stdio servers. Plugin servers
654
+ surface as `ycc-mcp_<server>`. Source: spike decision 8.
655
+
656
+ **INSTALL_PATH:antigravity**
657
+ Partial. `install.sh --target antigravity` installs `ycc`, `ycc-mcp` and `ycc-rules` into
658
+ `~/.gemini/config/plugins/`, the folder the App, IDE and `agy` CLI share: through
659
+ `agy plugin install <path>` when `agy` is on PATH, else as an owned copy. Global scope only; no
660
+ `--mode repo` (no documented subdirectory install or marketplace format); not yet run against a live
661
+ `agy`. Opt-in `--rules` links `~/.gemini/config/AGENTS.md`. Source: spike decisions 2–4 and 9.
662
+
663
+ **DANGEROUS_MODE:antigravity**
664
+ Unsupported. ycc emits no approval-bypass configuration; agent command execution stays on
665
+ Antigravity's default `commandExecutionPolicy: sandbox`.
666
+
667
+ **WORKTREE:antigravity**
668
+ Partial. No `WorktreeCreate` event; skills run `git worktree add` through the shared helpers, whose
669
+ Antigravity build pins `<repo-root>/.antigravity/worktrees/` (outside the `.agents/` customization
670
+ folder). `YCC_WORKTREE_ROOT` still overrides it. Source: `worktree-strategy.md` §1.
671
+
672
+ **MODS:antigravity**
673
+ Unsupported by design. The Claude Code mod API has no Antigravity equivalent.
674
+
675
+ **SKILLS:muse**
676
+ Partial. The generated `ycc` plugin
677
+ (`packages/muse/ycc`, `.claude-plugin/plugin.json`) ships `skills/<name>/SKILL.md` with `name`,
678
+ `description`, `disable-model-invocation` (listed by Muse as `user-invocable-only`) and
679
+ `argument-hint`; Muse ids are `plugin:ycc:<name>` and the TUI runs each as `/ycc:<name>`, so
680
+ `/ycc:<name>` references are kept. A live session ran a skill and its `ycc-shared` helper. Partial
681
+ because Muse caches each install under a content digest, so `${CLAUDE_PLUGIN_ROOT}` paths are
682
+ rewritten to the ycc-owned copy `~/.local/share/ycc/muse/ycc/` (`_shared` ships as `ycc-shared/`).
683
+ `allowed-tools` grants nothing on Muse and is dropped. Source:
684
+ `docs/internal/spikes/muse-runtime-contract.md` decisions 2–5.
685
+
686
+ **COMMANDS:muse**
687
+ Supported. Muse lists every plugin skill as the slash command `/ycc:<name>` (the Claude spelling,
688
+ verified in the interactive TUI), so `/ycc:<skill>` references are kept and no separate `commands/`
689
+ wrappers ship: they would list each command twice. Source: spike decision 4.
690
+
691
+ **AGENTS:muse**
692
+ Partial. Agents ship as `agents/<name>.md` through the claude-compatible manifest (the native one
693
+ rejects `agents`) with `name`, `description` and `tools`; Muse names them `ycc/<name>` (skill text names them that way) and holds
694
+ them for review until `muse plugins approve ycc`, which the installer runs. `tools` use Muse's
695
+ native names (`read_file`, `search`, `write_file`, `edit_file`, `bash`, `web_fetch` and `web_search`); Claude names validate but are refused at spawn time
696
+ (verified live). `Glob` and `Grep` map to `search`, `Bash(...)` to `bash`, `mcp__*` tools are
697
+ dropped, and `color` is never emitted (an unknown color silently disables an agent). `ycc/settings/models.json` `targets.muse.agentModels` maps every
698
+ model to `inherit`. Source: spike decision 6.
699
+
700
+ **HOOKS.PreToolUse:muse**
701
+ Unsupported. Muse runs plugin hooks (`PreToolUse`, `PostToolUse`, `Stop`, `SessionStart` and others),
702
+ but ycc's hooks are Claude-specific (`WorktreeCreate` has no Muse event; herdr ships its own Muse
703
+ hooks plugin), so no hooks ship. Source: spike decision 9.
704
+
705
+ **HOOKS.PostToolUse:muse**
706
+ Same constraint as HOOKS.PreToolUse:muse.
707
+
708
+ **HOOKS.Stop:muse**
709
+ Same constraint as HOOKS.PreToolUse:muse.
710
+
711
+ **MCP:muse**
712
+ Partial. The `ycc-mcp` plugin ships native `capabilities.mcpServers`: remote servers as
713
+ `transport: http`, stdio servers through generated `mcp/<id>.sh` launchers (Muse resolves any argv
714
+ element containing `/` as a plugin file), with kebab-case ids. Muse holds plugin servers for review;
715
+ the installer approves them. Source: spike decision 7.
716
+
717
+ **INSTALL_PATH:muse**
718
+ Partial. `install.sh --target muse` copies `ycc`, `ycc-mcp` and `ycc-rules` to `~/.local/share/ycc/muse/`, then
719
+ runs `muse plugins install <copy> --scope user` (`--scope project` with `--project`) and
720
+ `muse plugins approve <name>`; the owned copies stay per user either way;
721
+ no `--mode repo` (Muse reads only `.agents/plugins/marketplace.json`, which is the Codex catalog
722
+ here). Opt-in `--rules` links Muse's user rules file `~/.config/muse/AGENTS.md`. Source: spike
723
+ decisions 1, 8 and 10.
724
+
725
+ **DANGEROUS_MODE:muse**
726
+ Unsupported. ycc emits no approval-bypass configuration; Muse keeps its default approval mode and
727
+ sandbox (`--yolo` stays a user choice).
728
+
729
+ **WORKTREE:muse**
730
+ Partial. No `WorktreeCreate` event; skills run `git worktree add` through the shared helpers, whose
731
+ Muse build pins `<repo-root>/.muse/worktrees/`. `YCC_WORKTREE_ROOT` still overrides it. Source:
732
+ `worktree-strategy.md` §1.
733
+
734
+ **MODS:muse**
735
+ Unsupported by design. The Claude Code mod API has no Muse equivalent.
736
+
597
737
  ---
598
738
 
599
739
  ## Artifact store
@@ -24,8 +24,6 @@ plan annotation format, per-target dispatch matrix, and cleanup. There is
24
24
  per parallel task, and not per-severity fan-out. Individual skills own flag
25
25
  plumbing and per-phase behavior; the shared **invariant** lives here.
26
26
 
27
- **Migration note (GitHub #79 / #80):** the parent/child worktree model and its fan-in merge were removed; follow only the single-worktree contract below.
28
-
29
27
  and how a single worktree pairs with parallel sub-agent dispatch.
30
28
 
31
29
  ---
@@ -109,6 +107,8 @@ root named for that runtime. Each worktree keeps the name
109
107
  | Codex | `<repo-root>/.codex/worktrees/` | generator rewrite (`.codex`) |
110
108
  | Cursor | `<repo-root>/.cursor/worktrees/` | generator rewrite (`.cursor`) |
111
109
  | OMP | `<repo-root>/.omp/worktrees/` | generator rewrite (`.omp`) |
110
+ | Antigravity | `<repo-root>/.antigravity/worktrees/` | generator rewrite (`.antigravity`) |
111
+ | Muse | `<repo-root>/.muse/worktrees/` | generator rewrite (`.muse`) |
112
112
  | `agents` | runtime-selected, `.agents/` fallback | `worktree-paths.sh` detection (see below) |
113
113
 
114
114
  `YCC_WORKTREE_ROOT` remains the explicit override for every runtime; relative
@@ -199,8 +199,7 @@ When `--base-ref` is supplied:
199
199
  ## 2. Plan annotation format
200
200
 
201
201
  Planners that support worktree output emit a top-level `## Worktree Setup`
202
- section. Implementors use it to resolve the single path and feature slug. No
203
- per-task or per-parallel child paths are **required** by the new contract.
202
+ section. Implementors use it to resolve the single path and feature slug.
204
203
 
205
204
  ### Top-level `## Worktree Setup` section
206
205
 
@@ -215,32 +214,19 @@ Placed at the top of the plan, after frontmatter and before the first batch or s
215
214
  ```
216
215
 
217
216
  `<worktree-root>` is the creating runtime's root from the per-runtime table
218
- above. The `**Parent**:` line names the one feature worktree path. Do **not**
219
- add a `**Children**:` list in new plans; parallel work happens **inside** this
220
- path.
221
-
222
- ### Legacy fields (back-compat, not part of the new contract)
223
-
224
- Older plans may still include:
225
-
226
- - A `**Children**:` bullet list (per parallel task)
227
- - A per-task line: `- **Worktree**: <path> ...` inside a task block
228
-
229
- Parsers that support legacy plans may read these for migration or display, but
230
- the shared **default** is: **one** worktree, no fan-in merge.
217
+ above. The `**Parent**:` line is the only annotation: it names the one feature
218
+ worktree path, and parallel work happens **inside** this path.
231
219
 
232
220
  ### Review / PR review artifacts
233
221
 
234
222
  For `code-review` + `review-fix`, the `## Worktree Setup` block should list
235
223
  only the feature worktree (same `**Parent**:` form). The PR head branch is
236
224
  expressed via `--base-ref` when creating that worktree — not by spawning extra
237
- per-severity worktrees. Legacy artifacts that listed severity-keyed “children”
238
- are deprecated; prefer a single `**Parent**:` only.
225
+ per-severity worktrees.
239
226
 
240
227
  ### Sequential vs parallel tasks
241
228
 
242
- With the single worktree model, all tasks run against the same path. Planners
243
- need not emit per-task `**Worktree**:` lines for new work.
229
+ With the single worktree model, all tasks run against the same path.
244
230
 
245
231
  ---
246
232