@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
@@ -47,9 +47,9 @@ jobs:
47
47
  arch: amd64
48
48
  runner: windows-latest
49
49
  steps:
50
- - uses: actions/checkout@v4
50
+ - uses: actions/checkout@v7
51
51
 
52
- - uses: actions/setup-node@v4
52
+ - uses: actions/setup-node@v7
53
53
  with:
54
54
  node-version-file: '.nvmrc' # TODO(releaser): or replace with `node-version: '20'`
55
55
  cache: 'npm' # TODO(releaser): switch to 'pnpm' or 'yarn' as appropriate
@@ -71,7 +71,7 @@ jobs:
71
71
  find . -maxdepth 1 -type f \( -name '*.tgz' -o -name "${{ github.event.repository.name }}-*" \) -print0 \
72
72
  | xargs -0 sha256sum > SHA256SUMS-${{ matrix.os }}-${{ matrix.arch }}.txt
73
73
 
74
- - uses: actions/upload-artifact@v4
74
+ - uses: actions/upload-artifact@v7
75
75
  with:
76
76
  name: release-${{ matrix.os }}-${{ matrix.arch }}
77
77
  path: |
@@ -90,8 +90,8 @@ jobs:
90
90
  id-token: write # Required for npm Trusted Publishing (OIDC)
91
91
  environment: release
92
92
  steps:
93
- - uses: actions/checkout@v4
94
- - uses: actions/setup-node@v4
93
+ - uses: actions/checkout@v7
94
+ - uses: actions/setup-node@v7
95
95
  with:
96
96
  node-version-file: '.nvmrc'
97
97
  registry-url: 'https://registry.npmjs.org'
@@ -112,13 +112,13 @@ jobs:
112
112
  permissions:
113
113
  contents: write # needed to upload release assets
114
114
  steps:
115
- - uses: actions/checkout@v4
116
- - uses: actions/download-artifact@v4
115
+ - uses: actions/checkout@v7
116
+ - uses: actions/download-artifact@v8
117
117
  with:
118
118
  path: artifacts
119
119
  merge-multiple: true
120
120
  - name: Create release
121
- uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2 — TODO(releaser): verify latest SHA
121
+ uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5 — TODO(releaser): verify latest SHA
122
122
  with:
123
123
  files: artifacts/*
124
124
  body_path: docs/releases/${{ github.ref_name }}.md # TODO(releaser): adjust if notes live elsewhere
@@ -26,9 +26,9 @@ jobs:
26
26
  permissions:
27
27
  contents: read
28
28
  steps:
29
- - uses: actions/checkout@v4
29
+ - uses: actions/checkout@v7
30
30
 
31
- - uses: actions/setup-python@v5
31
+ - uses: actions/setup-python@v7
32
32
  with:
33
33
  python-version: '3.12'
34
34
  cache: 'pip'
@@ -46,7 +46,7 @@ jobs:
46
46
  cd dist
47
47
  sha256sum * > SHA256SUMS.txt
48
48
 
49
- - uses: actions/upload-artifact@v4
49
+ - uses: actions/upload-artifact@v7
50
50
  with:
51
51
  name: dist
52
52
  path: dist/
@@ -64,12 +64,12 @@ jobs:
64
64
  name: pypi
65
65
  url: https://pypi.org/p/${{ github.event.repository.name }} # TODO(releaser): set to the real package name if it differs
66
66
  steps:
67
- - uses: actions/download-artifact@v4
67
+ - uses: actions/download-artifact@v8
68
68
  with:
69
69
  name: dist
70
70
  path: dist/
71
71
  - name: Publish
72
- uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4 — TODO(releaser): verify latest SHA
72
+ uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3 — TODO(releaser): verify latest SHA
73
73
  with:
74
74
  skip-existing: false
75
75
 
@@ -81,13 +81,13 @@ jobs:
81
81
  permissions:
82
82
  contents: write
83
83
  steps:
84
- - uses: actions/checkout@v4
85
- - uses: actions/download-artifact@v4
84
+ - uses: actions/checkout@v7
85
+ - uses: actions/download-artifact@v8
86
86
  with:
87
87
  name: dist
88
88
  path: dist/
89
89
  - name: Create release
90
- uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2 — TODO(releaser): verify latest SHA
90
+ uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5 — TODO(releaser): verify latest SHA
91
91
  with:
92
92
  files: dist/*
93
93
  body_path: docs/releases/${{ github.ref_name }}.md # TODO(releaser): adjust path if needed
@@ -41,15 +41,15 @@ jobs:
41
41
  - target: x86_64-pc-windows-msvc
42
42
  runner: windows-latest
43
43
  steps:
44
- - uses: actions/checkout@v4
44
+ - uses: actions/checkout@v7
45
45
 
46
46
  - name: Install Rust toolchain
47
- uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b # stable — TODO(releaser): verify latest SHA
47
+ uses: dtolnay/rust-toolchain@39008827e6b4319a349e9a42dfc90579dd25f1ca # stable — TODO(releaser): verify latest SHA
48
48
  with:
49
49
  toolchain: stable
50
50
  targets: ${{ matrix.target }}
51
51
 
52
- - uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0 — TODO(releaser): verify latest SHA
52
+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3 — TODO(releaser): verify latest SHA
53
53
  with:
54
54
  key: ${{ matrix.target }}
55
55
 
@@ -79,7 +79,7 @@ jobs:
79
79
  sha256sum "$f" > "${f}.sha256"
80
80
  done
81
81
 
82
- - uses: actions/upload-artifact@v4
82
+ - uses: actions/upload-artifact@v7
83
83
  with:
84
84
  name: release-${{ matrix.target }}
85
85
  path: |
@@ -97,11 +97,11 @@ jobs:
97
97
  contents: read
98
98
  environment: release
99
99
  steps:
100
- - uses: actions/checkout@v4
101
- - uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
100
+ - uses: actions/checkout@v7
101
+ - uses: dtolnay/rust-toolchain@39008827e6b4319a349e9a42dfc90579dd25f1ca
102
102
  with:
103
103
  toolchain: stable
104
- - uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
104
+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0
105
105
  - run: cargo publish
106
106
  env:
107
107
  CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
@@ -114,13 +114,13 @@ jobs:
114
114
  permissions:
115
115
  contents: write
116
116
  steps:
117
- - uses: actions/checkout@v4
118
- - uses: actions/download-artifact@v4
117
+ - uses: actions/checkout@v7
118
+ - uses: actions/download-artifact@v8
119
119
  with:
120
120
  path: artifacts
121
121
  merge-multiple: true
122
122
  - name: Create release
123
- uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2 — TODO(releaser): verify latest SHA
123
+ uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5 — TODO(releaser): verify latest SHA
124
124
  with:
125
125
  files: artifacts/*
126
126
  body_path: docs/releases/${{ github.ref_name }}.md # TODO(releaser): adjust path if needed
@@ -224,7 +224,7 @@ criterion_main!(benches);
224
224
  test:
225
225
  runs-on: ubuntu-latest
226
226
  steps:
227
- - uses: actions/checkout@v4
227
+ - uses: actions/checkout@v7
228
228
  - uses: dtolnay/rust-toolchain@stable
229
229
  with:
230
230
  components: clippy, rustfmt
@@ -5,9 +5,9 @@ description: Creates verified shared.md research context through plan-workflow.
5
5
  researching without generating a plan.
6
6
  ---
7
7
 
8
- ## MANDATORY FORCED MODE - READ FIRST
8
+ ## Research-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
  `--research-only --no-checkpoint` (stop after `shared.md` + validation, print
12
12
  summary, no interactive checkpoint), regardless of `$ARGUMENTS`.
13
13
 
@@ -17,14 +17,10 @@ summary, no interactive checkpoint), regardless of `$ARGUMENTS`.
17
17
  - Redundant — silently ignored because already forced: `--research-only`, `--no-checkpoint`.
18
18
  - Every other flag (including `--plan-only`, `--no-worktree`, `--worktree`, `--visual`, `--optimized`, and any unknown `-`/`--` token) → abort with the usage error below. Do not read the canonical skill or write anything.
19
19
 
20
- ## SCOPE LIMITATION - READ FIRST
20
+ ## Scope
21
21
 
22
- **THIS SKILL ONLY CREATES RESEARCH CONTEXT FILES. IT NEVER PLANS OR IMPLEMENTS.**
23
-
24
- - DO NOT run the parallel-plan skill
25
- - DO NOT run the implement-plan skill
26
- - DO NOT execute implementation tasks
27
- - DO NOT modify application source files
22
+ Create research context files only. Leave `parallel-plan`, `implement-plan`,
23
+ implementation tasks, and application source edits for later workflow steps.
28
24
 
29
25
  **Outputs**:
30
26
 
@@ -36,7 +32,7 @@ summary, no interactive checkpoint), regardless of `$ARGUMENTS`.
36
32
 
37
33
  Canonical `plan-workflow` resolves these paths with the artifact-store `research-<lens>` and `shared` kinds. Local mode keeps today's `docs/plans/<feature>/` paths; linear mode resolves under `.ycc/artifacts/<feature>/`, places research under `research/`, and saves the research and shared documents to Linear.
38
34
 
39
- After creating the shared context files and displaying the summary, **STOP COMPLETELY**.
35
+ Stop after creating the shared context files and displaying the summary.
40
36
 
41
37
  ---
42
38
 
@@ -300,10 +300,10 @@ jobs:
300
300
  test:
301
301
  runs-on: ubuntu-latest
302
302
  steps:
303
- - uses: actions/checkout@v4
304
- - uses: pnpm/action-setup@v4
303
+ - uses: actions/checkout@v7
304
+ - uses: pnpm/action-setup@v6
305
305
  with: { version: 10 }
306
- - uses: actions/setup-node@v4
306
+ - uses: actions/setup-node@v7
307
307
  with:
308
308
  node-version: '22'
309
309
  cache: 'pnpm'
@@ -319,7 +319,7 @@ jobs:
319
319
  - name: Run tests with coverage
320
320
  run: pnpm exec vitest run --coverage
321
321
 
322
- - uses: codecov/codecov-action@v4
322
+ - uses: codecov/codecov-action@v7
323
323
  with:
324
324
  files: ./coverage/lcov.info
325
325
  ```
@@ -168,12 +168,11 @@ A strong recap follows one skeleton, top to bottom:
168
168
  Keep the body lean: no boilerplate intro/disclaimer/provenance prose. Add prose only
169
169
  when it tells the reviewer something the structured blocks do not.
170
170
 
171
- ## UI impact requires wireframes (MANDATORY)
171
+ ## Wireframes for UI changes
172
172
 
173
173
  When the diff changes rendered UI, layout, density, visual state, interaction
174
- affordances, navigation, controls, menus, dialogs, or design tokens, the recap **MUST**
175
- include one or more `wireframe` blocks. Prose and file diffs are not a substitute for
176
- showing what changed visually.
174
+ affordances, navigation, controls, menus, dialogs, or design tokens, include one or
175
+ more `wireframe` blocks so reviewers can see what changed.
177
176
 
178
177
  Before authoring ANY wireframe, **read
179
178
  `{{package-root}}/skills/visual-recap/references/wireframe.md` in full** — it is the