@yandy-r/ycc-opencode 6.4.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 (85) 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/branching-model.md +2 -1
  10. package/shared/references/standalone-dispatch.md +4 -1
  11. package/shared/references/target-capability-matrix.md +170 -30
  12. package/shared/references/worktree-strategy.md +9 -31
  13. package/shared/scripts/lib/ci-classify.sh +2 -2
  14. package/shared/scripts/release-feature-sets.sh +18 -0
  15. package/shared/scripts/release_feature_sets.py +232 -0
  16. package/shared/scripts/setup-worktree.sh +2 -69
  17. package/skills/bundle-author/references/surface-map.md +1 -1
  18. package/skills/bundle-author/references/when-not-to-scaffold.md +1 -1
  19. package/skills/bundle-author/scripts/scaffold-skill.sh +9 -0
  20. package/skills/bundle-release/SKILL.md +22 -5
  21. package/skills/bundle-release/references/release-checklist.md +9 -1
  22. package/skills/bundle-release/references/version-policy.md +11 -4
  23. package/skills/bundle-release/scripts/release_versions.py +19 -1
  24. package/skills/code-report/SKILL.md +0 -2
  25. package/skills/code-report/templates/report-structure.md +0 -2
  26. package/skills/compatibility-audit/SKILL.md +8 -4
  27. package/skills/compatibility-audit/scripts/audit-install-assumptions.sh +75 -5
  28. package/skills/compatibility-audit/scripts/audit-target-features.sh +15 -9
  29. package/skills/feature-research/SKILL.md +1 -1
  30. package/skills/feature-research/scripts/validate-spec.sh +0 -4
  31. package/skills/formatters/SKILL.md +2 -1
  32. package/skills/formatters/references/flag-reference.md +8 -4
  33. package/skills/formatters/references/templates/lint-autofix.yml.tmpl +189 -23
  34. package/skills/formatters/references/templates/lint.yml.tmpl +11 -11
  35. package/skills/formatters/references/templates/readme-section.md.tmpl +1 -1
  36. package/skills/formatters/scripts/bundle/go-tools.sh +73 -41
  37. package/skills/formatters/scripts/bundle/init-formatters.sh +1 -1
  38. package/skills/formatters/scripts/bundle/lib/modified-files.sh +0 -5
  39. package/skills/formatters/scripts/bundle/style.sh +2 -2
  40. package/skills/git-cleanup/SKILL.md +4 -5
  41. package/skills/git-workflow/SKILL.md +1 -0
  42. package/skills/git-workflow/templates/agent-prompts.md +5 -6
  43. package/skills/git-workflow/templates/documentation-decision.md +1 -3
  44. package/skills/git-workflow/templates/pr-template.md +1 -3
  45. package/skills/go-patterns/references/design-and-tooling.md +16 -13
  46. package/skills/go-testing/references/advanced-testing.md +2 -2
  47. package/skills/implement-plan/references/agent-task-prompt.md +18 -20
  48. package/skills/implement-plan/scripts/parse-dependencies.sh +3 -9
  49. package/skills/init/references/conventional-commits.md +8 -1
  50. package/skills/init/references/template-library.md +1 -1
  51. package/skills/init/templates/git/gitignore.tmpl +2 -0
  52. package/skills/init/templates/git/gitmessage.tmpl +2 -1
  53. package/skills/init/templates/github/workflows/pr-title.yml.tmpl +1 -1
  54. package/skills/orchestrate/SKILL.md +1 -1
  55. package/skills/orchestrate/references/dispatch-playbook.md +1 -1
  56. package/skills/parallel-plan/SKILL.md +6 -10
  57. package/skills/plan-workflow/SKILL.md +3 -3
  58. package/skills/plan-workflow/references/plan-structure.md +1 -3
  59. package/skills/plan-workflow/scripts/validate-workflow-plan.sh +2 -8
  60. package/skills/pr-evidence/SKILL.md +138 -0
  61. package/skills/pr-evidence/references/perf-evidence.md +119 -0
  62. package/skills/pr-evidence/references/pr-body-and-hosting.md +112 -0
  63. package/skills/pr-evidence/references/ui-evidence.md +152 -0
  64. package/skills/pr-evidence/scripts/bench_report.py +331 -0
  65. package/skills/pr-evidence/scripts/capture-ui.mjs +311 -0
  66. package/skills/pr-evidence/scripts/classify-change.sh +135 -0
  67. package/skills/prp-plan/SKILL.md +4 -5
  68. package/skills/prp-plan/scripts/validate-prp-plan.sh +1 -11
  69. package/skills/prp-pr/SKILL.md +4 -0
  70. package/skills/release-model/templates/RELEASING.md.tmpl +2 -1
  71. package/skills/releaser/SKILL.md +5 -1
  72. package/skills/releaser/references/ci-optimization-checklist.md +1 -1
  73. package/skills/releaser/references/ci-templates/docker-release.yml +8 -8
  74. package/skills/releaser/references/ci-templates/generic-release.yml +5 -5
  75. package/skills/releaser/references/ci-templates/go-release.yml +4 -4
  76. package/skills/releaser/references/ci-templates/node-release.yml +8 -8
  77. package/skills/releaser/references/ci-templates/python-release.yml +8 -8
  78. package/skills/releaser/references/ci-templates/rust-release.yml +10 -10
  79. package/skills/releaser/references/release-preparation.md +34 -15
  80. package/skills/rust-testing/references/advanced-testing.md +1 -1
  81. package/skills/shared-context/SKILL.md +6 -10
  82. package/skills/ts-testing/references/advanced-testing.md +4 -4
  83. package/skills/visual-recap/SKILL.md +3 -4
  84. package/shared/scripts/merge-children.sh +0 -82
  85. package/skills/write-docs/templates/docs-readme.md +0 -34
@@ -14,7 +14,7 @@ jobs:
14
14
  lint-rust:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
- - uses: actions/checkout@v4
17
+ - uses: actions/checkout@v7
18
18
  - uses: dtolnay/rust-toolchain@stable
19
19
  with:
20
20
  components: rustfmt, clippy
@@ -26,12 +26,12 @@ jobs:
26
26
  lint-go:
27
27
  runs-on: ubuntu-latest
28
28
  steps:
29
- - uses: actions/checkout@v4
30
- - uses: actions/setup-go@v5
29
+ - uses: actions/checkout@v7
30
+ - uses: actions/setup-go@v7
31
31
  with:
32
32
  go-version: stable
33
33
  cache: true
34
- - uses: golangci/golangci-lint-action@v6
34
+ - uses: golangci/golangci-lint-action@v9
35
35
  with:
36
36
  version: latest
37
37
  args: --timeout=5m
@@ -41,8 +41,8 @@ jobs:
41
41
  lint-ts:
42
42
  runs-on: ubuntu-latest
43
43
  steps:
44
- - uses: actions/checkout@v4
45
- - uses: actions/setup-node@v4
44
+ - uses: actions/checkout@v7
45
+ - uses: actions/setup-node@v7
46
46
  with:
47
47
  node-version: lts/*
48
48
  cache: npm
@@ -54,8 +54,8 @@ jobs:
54
54
  lint-python:
55
55
  runs-on: ubuntu-latest
56
56
  steps:
57
- - uses: actions/checkout@v4
58
- - uses: actions/setup-python@v5
57
+ - uses: actions/checkout@v7
58
+ - uses: actions/setup-python@v7
59
59
  with:
60
60
  python-version: "3.12"
61
61
  - run: pip install --no-cache-dir ruff black
@@ -66,7 +66,7 @@ jobs:
66
66
  lint-shell:
67
67
  runs-on: ubuntu-latest
68
68
  steps:
69
- - uses: actions/checkout@v4
69
+ - uses: actions/checkout@v7
70
70
  - name: Install shellcheck
71
71
  run: ./scripts/install-shellcheck.sh
72
72
  - run: ./scripts/style.sh lint --shell
@@ -76,8 +76,8 @@ jobs:
76
76
  lint-docs:
77
77
  runs-on: ubuntu-latest
78
78
  steps:
79
- - uses: actions/checkout@v4
80
- - uses: actions/setup-node@v4
79
+ - uses: actions/checkout@v7
80
+ - uses: actions/setup-node@v7
81
81
  with:
82
82
  node-version: lts/*
83
83
  - run: npx --yes markdownlint-cli "**/*.md" --ignore-path .markdownlintignore
@@ -96,7 +96,7 @@ just format-unstaged
96
96
  ### CI
97
97
 
98
98
  {{#IF_CI_INSTALLED}}
99
- Lint runs automatically on every pull request via `.github/workflows/lint.yml`. If `.github/workflows/lint-autofix.yml` is also present, it applies `./scripts/style.sh format` + `lint --fix` on same-repo PRs and pushes fixes back as `github-actions[bot]`; fork PRs are skipped (the `GITHUB_TOKEN` cannot push to them).
99
+ Lint runs automatically on every pull request via `.github/workflows/lint.yml`. If `.github/workflows/lint-autofix.yml` is also present, it applies `./scripts/style.sh format` + `lint --fix` on same-repo PRs. When the `AUTOFIX_APP_CLIENT_ID` variable and `AUTOFIX_APP_PRIVATE_KEY` secret are set, it pushes the fixes back with a GitHub App token; without them it lists the fixes in the job summary and does not push. Fork PRs are skipped.
100
100
  {{/IF_CI_INSTALLED}}
101
101
  {{#IF_CI_NOT_INSTALLED}}
102
102
  To wire lint into CI, run `formatters --ci` (installs both `lint.yml` and `lint-autofix.yml`) or pair it with `--no-autofix` to skip the autofix workflow.
@@ -56,63 +56,95 @@ fi
56
56
 
57
57
  cat > "$dest" <<'YAML'
58
58
  # Generated by go-tools.sh --generate
59
- # Docs: https://golangci-lint.run/usage/configuration/
59
+ # golangci-lint v2 config. Docs: https://golangci-lint.run/docs/configuration/
60
+
61
+ version: "2"
60
62
 
61
63
  run:
62
64
  timeout: 5m
63
65
  tests: true
64
66
 
65
67
  linters:
66
- disable-all: true
68
+ default: none
67
69
  enable:
68
70
  - errcheck
69
- - gofmt
70
- - goimports
71
- - gosimple
72
71
  - govet
73
72
  - ineffassign
74
- - staticcheck
75
- - typecheck
73
+ - staticcheck # includes the former gosimple checks
76
74
  - unused
75
+ exclusions:
76
+ generated: lax
77
+ rules:
78
+ - path: _test\.go
79
+ linters:
80
+ - errcheck
81
+ # Canonical well-known directories — keep aligned with
82
+ # scripts/bundle/lib/excludes.sh (STYLE_EXCLUDES). Paths are regexes on
83
+ # file paths, so anchor each name to whole path components.
84
+ paths:
85
+ - '(^|/)node_modules(/|$)'
86
+ - '(^|/)target(/|$)'
87
+ - '(^|/)build(/|$)'
88
+ - '(^|/)dist(/|$)'
89
+ - '(^|/)out(/|$)'
90
+ - '(^|/)coverage(/|$)'
91
+ - '(^|/)vendor(/|$)'
92
+ - '(^|/)\.venv(/|$)'
93
+ - '(^|/)venv(/|$)'
94
+ - '(^|/)env(/|$)'
95
+ - '(^|/)__pycache__(/|$)'
96
+ - '(^|/)\.mypy_cache(/|$)'
97
+ - '(^|/)\.pytest_cache(/|$)'
98
+ - '(^|/)\.ruff_cache(/|$)'
99
+ - '(^|/)\.next(/|$)'
100
+ - '(^|/)\.nuxt(/|$)'
101
+ - '(^|/)\.cache(/|$)'
102
+ - '(^|/)\.terraform(/|$)'
103
+ - '(^|/)\.cursor-plugin(/|$)'
104
+ - '(^|/)\.codex-plugin(/|$)'
105
+ - '(^|/)\.opencode-plugin(/|$)'
106
+ - '(^|/)third_party(/|$)'
107
+ - '(^|/)builtin(/|$)'
108
+ - '(^|/)examples(/|$)'
77
109
 
78
- linters-settings:
79
- gofmt:
80
- simplify: true
81
- goimports:
82
- local-prefixes: ""
110
+ formatters:
111
+ enable:
112
+ - gofmt
113
+ - goimports
114
+ settings:
115
+ gofmt:
116
+ simplify: true
117
+ exclusions:
118
+ generated: lax
119
+ paths:
120
+ - '(^|/)node_modules(/|$)'
121
+ - '(^|/)target(/|$)'
122
+ - '(^|/)build(/|$)'
123
+ - '(^|/)dist(/|$)'
124
+ - '(^|/)out(/|$)'
125
+ - '(^|/)coverage(/|$)'
126
+ - '(^|/)vendor(/|$)'
127
+ - '(^|/)\.venv(/|$)'
128
+ - '(^|/)venv(/|$)'
129
+ - '(^|/)env(/|$)'
130
+ - '(^|/)__pycache__(/|$)'
131
+ - '(^|/)\.mypy_cache(/|$)'
132
+ - '(^|/)\.pytest_cache(/|$)'
133
+ - '(^|/)\.ruff_cache(/|$)'
134
+ - '(^|/)\.next(/|$)'
135
+ - '(^|/)\.nuxt(/|$)'
136
+ - '(^|/)\.cache(/|$)'
137
+ - '(^|/)\.terraform(/|$)'
138
+ - '(^|/)\.cursor-plugin(/|$)'
139
+ - '(^|/)\.codex-plugin(/|$)'
140
+ - '(^|/)\.opencode-plugin(/|$)'
141
+ - '(^|/)third_party(/|$)'
142
+ - '(^|/)builtin(/|$)'
143
+ - '(^|/)examples(/|$)'
83
144
 
84
145
  issues:
85
- exclude-use-default: false
86
146
  max-issues-per-linter: 0
87
147
  max-same-issues: 0
88
- # Canonical well-known paths — keep aligned with
89
- # scripts/bundle/lib/excludes.sh (STYLE_EXCLUDES).
90
- exclude-dirs:
91
- - node_modules
92
- - target
93
- - build
94
- - dist
95
- - out
96
- - coverage
97
- - vendor
98
- - .venv
99
- - venv
100
- - env
101
- - __pycache__
102
- - .mypy_cache
103
- - .pytest_cache
104
- - .ruff_cache
105
- - .next
106
- - .nuxt
107
- - .cache
108
- - .terraform
109
- - .cursor-plugin
110
- - .codex-plugin
111
- - .opencode-plugin
112
- exclude-rules:
113
- - path: _test\.go
114
- linters:
115
- - errcheck
116
148
  YAML
117
149
 
118
150
  echo "[go-tools] wrote $dest"
@@ -81,7 +81,7 @@ readonly GO_TOOLS_SCRIPT="${SCRIPT_DIR}/go-tools.sh"
81
81
  readonly BIOME_VERSION="2.3.11"
82
82
  readonly TYPESCRIPT_VERSION="^5.6.3"
83
83
  readonly PRETTIER_VERSION="^3.3.3"
84
- readonly MARKDOWNLINT_CLI_VERSION="^0.42.0"
84
+ readonly MARKDOWNLINT_CLI_VERSION="^0.50.1"
85
85
 
86
86
  if [[ ! -d "${TEMPLATE_DIR}" ]]; then
87
87
  error "Template directory not found: ${TEMPLATE_DIR}"
@@ -112,11 +112,6 @@ list_scoped_repo_files() {
112
112
  )
113
113
  }
114
114
 
115
- list_modified_repo_files() {
116
- local root_dir="${1:-$(detect_project_root)}"
117
- list_scoped_repo_files "$root_dir" all
118
- }
119
-
120
115
  list_repo_files() {
121
116
  local root_dir="${1:-$(detect_project_root)}"
122
117
 
@@ -12,9 +12,9 @@ while [[ -L "$SCRIPT_PATH" ]]; do
12
12
  done
13
13
  SCRIPT_DIR="$(cd -P "$(dirname "$SCRIPT_PATH")" >/dev/null 2>&1 && pwd)"
14
14
 
15
- # shellcheck source=bin/lib/modified-files.sh
15
+ # shellcheck source=lib/modified-files.sh
16
16
  source "$SCRIPT_DIR/lib/modified-files.sh"
17
- # shellcheck source=bin/lib/shellcheck-resolve.sh
17
+ # shellcheck source=lib/shellcheck-resolve.sh
18
18
  source "$SCRIPT_DIR/lib/shellcheck-resolve.sh"
19
19
 
20
20
  PROJECT_ROOT="$(detect_project_root)"
@@ -86,8 +86,8 @@ flags that emit machine-readable output.
86
86
 
87
87
 
88
88
  - **Worktrees**: `git worktree list --porcelain`. Flag entries whose `worktree`
89
- path no longer exists, whose branch is `[gone]`, or which sit under a legacy
90
- global ycc root (`~/.claude-worktrees/`) instead of a repo-local managed root.
89
+ path no longer exists or whose branch is `[gone]`; legacy roots are classified
90
+ per `active-code-rules.md`.
91
91
  The managed roots under the repo root are `.claude/worktrees/`,
92
92
  `.opencode/worktrees/`, `.codex/worktrees/`, `.cursor/worktrees/`,
93
93
  `.omp/worktrees/` and `.agents/worktrees/`; every runtime checks all of them.
@@ -291,9 +291,8 @@ release-model rules (a malformed state has already stopped the run in Phase 0).
291
291
 
292
292
  - **Worktrees under any repo-local managed root** (`.claude/`, `.opencode/`,
293
293
  `.codex/`, `.cursor/`, `.omp/` or `.agents/` followed by `worktrees/`) are fair
294
- game per this repo's convention. Legacy worktrees under `~/.claude-worktrees/`
295
- should be reported and, if the user confirms, relocated or removed. Never delete
296
- worktrees under `~/.omp/wt`; OMP manages them (`omp worktree clear`).
294
+ game per this repo's convention. Never delete worktrees under `~/.omp/wt`; OMP
295
+ manages them (`omp worktree clear`).
297
296
 
298
297
  - **Respect the repo's label taxonomy**. Do not invent stale/wontfix labels.
299
298
  - **No secrets**. Do not log tokens or API responses containing credentials.
@@ -106,6 +106,7 @@ Only when `pr ∈ actions`. Read `references/pr-creation.md` before Step 22. Dec
106
106
  - Step 23: read `templates/pr-template.md`.
107
107
  - Step 25: PR title must be Conventional Commit format and pass `validate-commit.sh`.
108
108
  - Step 26a: link Linear and GitHub issues in `## Related Issues` per `references/pr-creation.md` (contract: artifact-store.md PR linking).
109
+ - Step 27b: before creating the PR, apply `{{package-root}}/skills/pr-evidence/SKILL.md` for UI screenshots or benchmark graphs (or a one-line skip reason); when the PR is created through MCP, attach the files with `gh pr edit <n> --attach` right after.
109
110
  - Step 28: MCP `mcp__github__create_pull_request` first, `gh pr create` fallback; forge routing via `{{package-root}}/shared/references/forge-detection.md` (`tea` for forgejo/gitea).
110
111
  - Step 27: draft when work is incomplete or feedback is wanted; honor `--draft`.
111
112
 
@@ -41,12 +41,12 @@ Use the built-in structure for each doc type from the docs-git-committer agent (
41
41
 
42
42
  ## Standard: Important Constraints
43
43
 
44
- - **ALWAYS use conventional commit format** — this is mandatory, not optional
44
+ - Use Conventional Commit format for every commit so the message passes commit validation.
45
45
  - Read the reference BEFORE writing your commit message: {{package-root}}/skills/git-workflow/templates/commit-types.md
46
46
  - Validate your commit message BEFORE committing:
47
47
  ```bash
48
48
  {{package-root}}/skills/git-workflow/scripts/validate-commit.sh "<your-commit-message>"
49
- ````
49
+ ```
50
50
 
51
51
  If validation fails, revise the message and re-validate until it passes.
52
52
 
@@ -78,7 +78,7 @@ Return a summary including:
78
78
  - Documentation created/updated (if any)
79
79
  - Reasoning for documentation decisions
80
80
 
81
- ```
81
+ ````
82
82
 
83
83
  ---
84
84
 
@@ -254,7 +254,7 @@ You are handling the git commit and documentation for: [SECURITY FEATURE]
254
254
 
255
255
  This introduces [security measure] to [protect against what].
256
256
 
257
- This is a CRITICAL security pattern that must be followed consistently.
257
+ Apply this pattern consistently wherever the same protection is needed.
258
258
 
259
259
  ## Security Pattern: Documentation Templates
260
260
 
@@ -427,7 +427,7 @@ Use when:
427
427
  - Multiple distinct features
428
428
  - Independent scopes
429
429
 
430
- **CRITICAL**: Deploy ALL agents in SINGLE message with MULTIPLE parallel subagent invocations
430
+ Deploy all agents in one message with one subagent invocation per agent so they run in parallel.
431
431
 
432
432
  **Example**:
433
433
 
@@ -515,4 +515,3 @@ Each agent prompt should have:
515
515
  7. Specify expected output format
516
516
 
517
517
  **Remember**: The goal is parallel, coordinated work where each agent handles complete commit (source + docs) for their scope.
518
- ```
@@ -176,12 +176,10 @@ All auth endpoints MUST use rate limiting middleware:
176
176
  ```typescript
177
177
  router.post('/login', rateLimitMiddleware(5, '15m'), loginHandler);
178
178
  ```
179
- ````
180
179
 
181
180
  Failure to do so creates brute force vulnerability.
182
181
 
183
182
  See docs/security/rate-limiting.md for details.
184
-
185
183
  ````
186
184
 
187
185
  **Example of what NOT to add:**
@@ -196,7 +194,7 @@ user login, registration, and session management. The auth
196
194
  service connects to the database and validates credentials...
197
195
 
198
196
  (This belongs in feature docs, not AGENTS.md)
199
- ````
197
+ ```
200
198
 
201
199
  ### AGENTS.md Template Location
202
200
 
@@ -329,15 +329,13 @@ Related to #234, #567
329
329
  ```
330
330
  ````
331
331
 
332
- ````
333
-
334
332
  **If no breaking changes**:
335
333
 
336
334
  ```markdown
337
335
  ## Breaking Changes
338
336
 
339
337
  - No breaking changes in this PR
340
- ````
338
+ ```
341
339
 
342
340
  ### 7. Checklist Section
343
341
 
@@ -310,27 +310,30 @@ goimports -w .
310
310
 
311
311
  ### Recommended Linter Configuration (.golangci.yml)
312
312
 
313
+ This uses the golangci-lint v2 format, which `golangci-lint-action` v7 and later require.
314
+
313
315
  ```yaml
316
+ version: '2'
317
+
314
318
  linters:
315
319
  enable:
316
320
  - errcheck
317
- - gosimple
318
321
  - govet
319
322
  - ineffassign
320
- - staticcheck
323
+ - staticcheck # includes the former gosimple checks
321
324
  - unused
322
- - gofmt
323
- - goimports
324
325
  - misspell
325
326
  - unconvert
326
327
  - unparam
327
-
328
- linters-settings:
329
- errcheck:
330
- check-type-assertions: true
331
- govet:
332
- check-shadowing: true
333
-
334
- issues:
335
- exclude-use-default: false
328
+ settings:
329
+ errcheck:
330
+ check-type-assertions: true
331
+ govet:
332
+ enable:
333
+ - shadow
334
+
335
+ formatters:
336
+ enable:
337
+ - gofmt
338
+ - goimports
336
339
  ```
@@ -332,8 +332,8 @@ func TestAPIHandler(t *testing.T) {
332
332
  test:
333
333
  runs-on: ubuntu-latest
334
334
  steps:
335
- - uses: actions/checkout@v4
336
- - uses: actions/setup-go@v5
335
+ - uses: actions/checkout@v7
336
+ - uses: actions/setup-go@v7
337
337
  with:
338
338
  go-version: '1.22'
339
339
 
@@ -76,24 +76,23 @@ After completing the task, provide:
76
76
 
77
77
  ### Notes
78
78
  [Any important observations or warnings]
79
- ````
80
-
81
79
  ```
80
+ ````
82
81
 
83
82
  ---
84
83
 
85
84
  ## Variable Reference
86
85
 
87
- | Variable | Description | Example |
88
- |----------|-------------|---------|
89
- | `{{PLAN_PATH}}` | Canonical absolute plan path; linear cache is not moved into the feature worktree | `/repo/.ycc/artifacts/user-authentication/parallel-plan.md` |
90
- | `{{SHARED_PATH}}` | Absolute companion context path; omit its reading item when absent | `/repo/.ycc/artifacts/user-authentication/shared.md` |
91
- | `{{TASK_ID}}` | Task identifier | `1.1`, `2.3` or `T0`, `T1` |
92
- | `{{TASK_TITLE}}` | Task title from plan | `Create user model` |
93
- | `{{FILES_TO_READ}}` | Files from "READ THESE BEFORE TASK" | `- /src/models/base.ts` |
94
- | `{{FILES_TO_CREATE}}` | Files from "Files to Create" | `- /src/models/user.ts` |
95
- | `{{FILES_TO_MODIFY}}` | Files from "Files to Modify" | `- /src/index.ts` |
96
- | `{{TASK_INSTRUCTIONS}}` | Implementation instructions | Detailed task steps |
86
+ | Variable | Description | Example |
87
+ | ----------------------- | --------------------------------------------------------------------------------- | ----------------------------------------------------------- |
88
+ | `{{PLAN_PATH}}` | Canonical absolute plan path; linear cache is not moved into the feature worktree | `/repo/.ycc/artifacts/user-authentication/parallel-plan.md` |
89
+ | `{{SHARED_PATH}}` | Absolute companion context path; omit its reading item when absent | `/repo/.ycc/artifacts/user-authentication/shared.md` |
90
+ | `{{TASK_ID}}` | Task identifier | `1.1`, `2.3` or `T0`, `T1` |
91
+ | `{{TASK_TITLE}}` | Task title from plan | `Create user model` |
92
+ | `{{FILES_TO_READ}}` | Files from "READ THESE BEFORE TASK" | `- /src/models/base.ts` |
93
+ | `{{FILES_TO_CREATE}}` | Files from "Files to Create" | `- /src/models/user.ts` |
94
+ | `{{FILES_TO_MODIFY}}` | Files from "Files to Modify" | `- /src/index.ts` |
95
+ | `{{TASK_INSTRUCTIONS}}` | Implementation instructions | Detailed task steps |
97
96
 
98
97
  ---
99
98
 
@@ -113,7 +112,7 @@ When deploying an implementor agent:
113
112
 
114
113
  ## Example Populated Prompt
115
114
 
116
- ```
115
+ ````
117
116
 
118
117
  Implement Task 1.1: Create user model
119
118
 
@@ -196,17 +195,17 @@ After completing the task, provide:
196
195
  Followed BaseModel pattern exactly. User model ready for validation task 1.2.
197
196
  ```
198
197
 
199
- ```
198
+ ````
200
199
 
201
200
  ---
202
201
 
203
202
  ## Agent Configuration
204
203
 
205
- | Setting | Value |
206
- |---------|-------|
207
- | Subagent Type | `implementor` |
208
- | Readonly | No (must modify files) |
209
- | Model | Default |
204
+ | Setting | Value |
205
+ | ------------- | ---------------------- |
206
+ | Subagent Type | `implementor` |
207
+ | Readonly | No (must modify files) |
208
+ | Model | Default |
210
209
 
211
210
  ## Best Practices
212
211
 
@@ -214,4 +213,3 @@ Followed BaseModel pattern exactly. User model ready for validation task 1.2.
214
213
  2. **Include All Context**: Provide complete file paths and instructions
215
214
  3. **Clear Boundaries**: Make it obvious what is in scope vs out of scope
216
215
  4. **Validation Required**: Agents must check their work before returning
217
- ```
@@ -5,18 +5,12 @@
5
5
  # Output format (one task per line):
6
6
  # TASK_ID|TASK_TITLE|DEPENDENCIES
7
7
  #
8
- # Under the single-worktree contract (GitHub #79 Phase 2), per-task
9
- # **Worktree**: annotations are no longer emitted by planners. The fourth
10
- # pipe field (WORKTREE_PATH) has been removed.
11
- #
12
- # Additionally, two header lines are emitted BEFORE the task rows when a
13
- # "## Worktree Setup" section is detected in the plan (only **Parent** is required
14
- # for the single-worktree contract; a **Children** list is not required):
8
+ # Two header lines are emitted BEFORE the task rows when the plan has a
9
+ # "## Worktree Setup" section (its **Parent** line supplies the path):
15
10
  # WT_PARENT_PATH=<path>
16
11
  # WT_FEATURE_SLUG=<slug>
17
12
  #
18
- # When no "## Worktree Setup" section is present, neither header line is emitted
19
- # (back-compat: the output is identical to the pre-worktree format).
13
+ # Without a "## Worktree Setup" section, neither header line is emitted.
20
14
  #
21
15
  # Supports two task ID formats:
22
16
  # Format A (decimal): #### Task 1.1: Title Depends on [none]
@@ -17,7 +17,7 @@ Condensed Conventional Commits 1.0.0 spec. The generated `AGENTS.md` carries a o
17
17
 
18
18
  | Type | Purpose | Semver bump (release tooling) |
19
19
  | ---------- | ----------------------------------------------- | ----------------------------- |
20
- | `feat` | New user-facing feature | **minor** |
20
+ | `feat` | New user-facing feature | **minor** once its set ships |
21
21
  | `fix` | Bug fix | **patch** |
22
22
  | `docs` | Documentation only | none |
23
23
  | `refactor` | Code change that is neither a fix nor a feature | none |
@@ -71,6 +71,13 @@ Both forms trigger a **major** version bump in release tooling.
71
71
  - Footers follow `Token: value` syntax (`BREAKING CHANGE`, `Closes`, `Co-authored-by`).
72
72
  - `BREAKING CHANGE` footer MUST be uppercase — `breaking change` is not spec-compliant.
73
73
 
74
+ ### Feature sets
75
+
76
+ Several `feat` commits often build one feature. Release tooling groups them into a
77
+ **feature set** (the commit scope by default, so `feat(sync): …` commits form the `sync`
78
+ set) and requires a minor only when a set is complete and user-visible; an in-progress
79
+ set ships in a patch. Add a `Feature-Set: <name>` footer when a feature spans scopes.
80
+
74
81
  ---
75
82
 
76
83
  ## Internal Docs Convention
@@ -37,7 +37,7 @@ Every template the skill can render, its target path, and the variables it subst
37
37
 
38
38
  ---
39
39
 
40
- The `templates/CLAUDE.md.tmpl` row combines three mechanisms in one Placeholders cell on purpose: `CLAUDE_MD_SHIM` is the canonical shim token rendered by the shared helper (`{{package-root}}/shared/scripts/rules_pointer.py` via `rules_pointer.py`), so the pointer line is not user-overridable policy; `CLAUDE_ONLY_NOTES` is user/Phase 2 text substituted into that same template; and `IF_CLAUDE_ONLY` is the conditional block that gates the notes section. All three are aspects of the single default `CLAUDE.md` shim, so they share one row.
40
+ The `templates/CLAUDE.md.tmpl` row combines three mechanisms in one Placeholders cell on purpose: `CLAUDE_MD_SHIM` is the canonical shim token rendered by the shared helper (`.opencode-plugin/shared/scripts/rules_pointer.py` via `rules_pointer.py`), so the pointer line is not user-overridable policy; `CLAUDE_ONLY_NOTES` is user/Phase 2 text substituted into that same template; and `IF_CLAUDE_ONLY` is the conditional block that gates the notes section. All three are aspects of the single default `CLAUDE.md` shim, so they share one row.
41
41
 
42
42
  ## Placeholder Reference
43
43
 
@@ -40,6 +40,8 @@ Thumbs.db
40
40
  .codex/worktrees/
41
41
  .cursor/worktrees/
42
42
  .omp/worktrees/
43
+ .antigravity/worktrees/
44
+ .muse/worktrees/
43
45
  .agents/worktrees/
44
46
 
45
47
  # ==============================================================================
@@ -8,7 +8,7 @@
8
8
  #
9
9
  # ─────────────────────────────────────────────────────────────────────────────
10
10
  # Types (Conventional Commits 1.0.0):
11
- # feat new user-facing feature (minor version bump)
11
+ # feat new user-facing feature (minor bump once its feature set is complete)
12
12
  # fix user-facing bug fix (patch version bump)
13
13
  # docs documentation changes
14
14
  # refactor code change that neither fixes a bug nor adds a feature
@@ -22,6 +22,7 @@
22
22
  #
23
23
  # Scope: lowercase area/module, e.g. feat(auth): …
24
24
  # Breaking change: append `!` after type OR add `BREAKING CHANGE:` footer.
25
+ # Feature spanning scopes: add a `Feature-Set: <name>` footer to group its commits.
25
26
  # Internal docs (not for release notes): use `docs(internal): …`.
26
27
  #
27
28
  # {{PROJECT_NAME}} • generated by the init workflow
@@ -25,7 +25,7 @@ jobs:
25
25
  name: Validate Conventional Commit PR title
26
26
  runs-on: ubuntu-latest
27
27
  steps:
28
- - uses: amannn/action-semantic-pull-request@v5
28
+ - uses: amannn/action-semantic-pull-request@v6
29
29
  env:
30
30
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
31
  with:
@@ -121,7 +121,7 @@ Do not dispatch agents or run worktree scripts in dry-run mode.
121
121
 
122
122
  - Write the plan to `docs/orchestration/[sanitized-task-name].md`, save the complete orchestration plan for later execution, display its location and a summary.
123
123
  - Team creation is skipped entirely; no team cleanup needed.
124
- - With `WORKTREE_MODE=true`, read dispatch-playbook.md section 3 now and include a `## Worktree Setup` section immediately after frontmatter and before Batch 1, listing only the parent path. No child paths, no `**Children**:` list.
124
+ - With `WORKTREE_MODE=true`, read dispatch-playbook.md section 3 now and include a `## Worktree Setup` section immediately after frontmatter and before Batch 1, listing only the parent path.
125
125
  - **Stop here.** Do not deploy agents.
126
126
 
127
127
  ## Linear Mode
@@ -104,7 +104,7 @@ Worktree: feature=<repo-root>/.opencode/worktrees/<repo>-<FEATURE_SLUG>/ (all
104
104
  When `WORKTREE_MODE=true`, the plan file at `docs/orchestration/[sanitized-task-name].md`
105
105
  gains a `## Worktree Setup` section immediately after frontmatter, before Batch 1.
106
106
  Follow the annotation format in `{{package-root}}/shared/references/worktree-strategy.md`
107
- section 2: list only the parent path. Do not add child paths or a `**Children**:` list.
107
+ section 2: list only the parent path.
108
108
 
109
109
  ---
110
110
 
@@ -5,9 +5,9 @@ description: Creates parallel-plan.md from existing shared.md through plan-workf
5
5
  parallel implementation tasks.
6
6
  ---
7
7
 
8
- ## MANDATORY FORCED MODE - READ FIRST
8
+ ## Plan-only mode
9
9
 
10
- This skill is a thin alias. It ALWAYS runs canonical `plan-workflow` with
10
+ This skill always runs canonical `plan-workflow` with
11
11
  `--plan-only --no-checkpoint` (use existing `shared.md`, no interactive
12
12
  checkpoint), regardless of `$ARGUMENTS`.
13
13
 
@@ -18,14 +18,10 @@ checkpoint), regardless of `$ARGUMENTS`.
18
18
  - Redundant — silently ignored because already forced: `--plan-only`, `--no-checkpoint`.
19
19
  - Every other flag (including `--research-only`, `--optimized`, and any unknown `-`/`--` token) → abort with the usage error below. Do not read the canonical skill or write anything.
20
20
 
21
- ## SCOPE LIMITATION - READ FIRST
21
+ ## Scope
22
22
 
23
- **THIS SKILL ONLY CREATES PLANNING ARTIFACTS. IT NEVER IMPLEMENTS.**
24
-
25
- - DO NOT execute any implementation tasks
26
- - DO NOT modify application code
27
- - DO NOT run the implement-plan skill
28
- - DO NOT proceed beyond creating planning artifacts
23
+ Create planning artifacts only. Leave implementation tasks, application code,
24
+ and the `implement-plan` skill for the user's separate implementation step.
29
25
 
30
26
  **Outputs**:
31
27
 
@@ -36,7 +32,7 @@ checkpoint), regardless of `$ARGUMENTS`.
36
32
 
37
33
  Canonical `plan-workflow` resolves these paths with the artifact-store `analysis-<name>` and `parallel-plan` kinds. Local mode keeps today's `docs/plans/<feature>/` paths; linear mode resolves under `.ycc/artifacts/<feature>/` and saves only the plan to Linear. Analysis remains local-only.
38
34
 
39
- After creating planning artifacts and displaying the summary, **STOP COMPLETELY**.
35
+ Stop after creating the planning artifacts and displaying the summary.
40
36
 
41
37
  ---
42
38