@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.
- package/README.md +11 -4
- package/agents/code-finder.md +1 -1
- package/agents/planner.md +1 -2
- package/agents/pr-evidence-collector.md +99 -0
- package/agents/root-cause-analyzer.md +1 -1
- package/index.js +9 -0
- package/package.json +1 -1
- package/registration.json +67 -0
- package/shared/references/branching-model.md +2 -1
- package/shared/references/standalone-dispatch.md +4 -1
- package/shared/references/target-capability-matrix.md +170 -30
- package/shared/references/worktree-strategy.md +9 -31
- package/shared/scripts/lib/ci-classify.sh +2 -2
- package/shared/scripts/release-feature-sets.sh +18 -0
- package/shared/scripts/release_feature_sets.py +232 -0
- package/shared/scripts/setup-worktree.sh +2 -69
- package/skills/bundle-author/references/surface-map.md +1 -1
- package/skills/bundle-author/references/when-not-to-scaffold.md +1 -1
- package/skills/bundle-author/scripts/scaffold-skill.sh +9 -0
- package/skills/bundle-release/SKILL.md +22 -5
- package/skills/bundle-release/references/release-checklist.md +9 -1
- package/skills/bundle-release/references/version-policy.md +11 -4
- package/skills/bundle-release/scripts/release_versions.py +19 -1
- package/skills/code-report/SKILL.md +0 -2
- package/skills/code-report/templates/report-structure.md +0 -2
- package/skills/compatibility-audit/SKILL.md +8 -4
- package/skills/compatibility-audit/scripts/audit-install-assumptions.sh +75 -5
- package/skills/compatibility-audit/scripts/audit-target-features.sh +15 -9
- package/skills/feature-research/SKILL.md +1 -1
- package/skills/feature-research/scripts/validate-spec.sh +0 -4
- package/skills/formatters/SKILL.md +2 -1
- package/skills/formatters/references/flag-reference.md +8 -4
- package/skills/formatters/references/templates/lint-autofix.yml.tmpl +189 -23
- package/skills/formatters/references/templates/lint.yml.tmpl +11 -11
- package/skills/formatters/references/templates/readme-section.md.tmpl +1 -1
- package/skills/formatters/scripts/bundle/go-tools.sh +73 -41
- package/skills/formatters/scripts/bundle/init-formatters.sh +1 -1
- package/skills/formatters/scripts/bundle/lib/modified-files.sh +0 -5
- package/skills/formatters/scripts/bundle/style.sh +2 -2
- package/skills/git-cleanup/SKILL.md +4 -5
- package/skills/git-workflow/SKILL.md +1 -0
- package/skills/git-workflow/templates/agent-prompts.md +5 -6
- package/skills/git-workflow/templates/documentation-decision.md +1 -3
- package/skills/git-workflow/templates/pr-template.md +1 -3
- package/skills/go-patterns/references/design-and-tooling.md +16 -13
- package/skills/go-testing/references/advanced-testing.md +2 -2
- package/skills/implement-plan/references/agent-task-prompt.md +18 -20
- package/skills/implement-plan/scripts/parse-dependencies.sh +3 -9
- package/skills/init/references/conventional-commits.md +8 -1
- package/skills/init/references/template-library.md +1 -1
- package/skills/init/templates/git/gitignore.tmpl +2 -0
- package/skills/init/templates/git/gitmessage.tmpl +2 -1
- package/skills/init/templates/github/workflows/pr-title.yml.tmpl +1 -1
- package/skills/orchestrate/SKILL.md +1 -1
- package/skills/orchestrate/references/dispatch-playbook.md +1 -1
- package/skills/parallel-plan/SKILL.md +6 -10
- package/skills/plan-workflow/SKILL.md +3 -3
- package/skills/plan-workflow/references/plan-structure.md +1 -3
- package/skills/plan-workflow/scripts/validate-workflow-plan.sh +2 -8
- package/skills/pr-evidence/SKILL.md +138 -0
- package/skills/pr-evidence/references/perf-evidence.md +119 -0
- package/skills/pr-evidence/references/pr-body-and-hosting.md +112 -0
- package/skills/pr-evidence/references/ui-evidence.md +152 -0
- package/skills/pr-evidence/scripts/bench_report.py +331 -0
- package/skills/pr-evidence/scripts/capture-ui.mjs +311 -0
- package/skills/pr-evidence/scripts/classify-change.sh +135 -0
- package/skills/prp-plan/SKILL.md +4 -5
- package/skills/prp-plan/scripts/validate-prp-plan.sh +1 -11
- package/skills/prp-pr/SKILL.md +4 -0
- package/skills/release-model/templates/RELEASING.md.tmpl +2 -1
- package/skills/releaser/SKILL.md +5 -1
- package/skills/releaser/references/ci-optimization-checklist.md +1 -1
- package/skills/releaser/references/ci-templates/docker-release.yml +8 -8
- package/skills/releaser/references/ci-templates/generic-release.yml +5 -5
- package/skills/releaser/references/ci-templates/go-release.yml +4 -4
- package/skills/releaser/references/ci-templates/node-release.yml +8 -8
- package/skills/releaser/references/ci-templates/python-release.yml +8 -8
- package/skills/releaser/references/ci-templates/rust-release.yml +10 -10
- package/skills/releaser/references/release-preparation.md +34 -15
- package/skills/rust-testing/references/advanced-testing.md +1 -1
- package/skills/shared-context/SKILL.md +6 -10
- package/skills/ts-testing/references/advanced-testing.md +4 -4
- package/skills/visual-recap/SKILL.md +3 -4
- package/shared/scripts/merge-children.sh +0 -82
- package/skills/write-docs/templates/docs-readme.md +0 -34
|
@@ -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
|
-
##
|
|
8
|
+
## Research-only mode
|
|
9
9
|
|
|
10
|
-
This skill
|
|
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
|
-
##
|
|
20
|
+
## Scope
|
|
21
21
|
|
|
22
|
-
|
|
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
|
-
|
|
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@
|
|
304
|
-
- uses: pnpm/action-setup@
|
|
303
|
+
- uses: actions/checkout@v7
|
|
304
|
+
- uses: pnpm/action-setup@v6
|
|
305
305
|
with: { version: 10 }
|
|
306
|
-
- uses: actions/setup-node@
|
|
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@
|
|
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
|
-
##
|
|
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,
|
|
175
|
-
|
|
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
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# merge-children.sh — DEPRECATED compatibility shim (issue #80, single worktree
|
|
3
|
-
# contract). Does NOT merge branches, remove worktrees, or delete branches.
|
|
4
|
-
#
|
|
5
|
-
# The historical behavior (fan-in merge from per-task child worktrees) was
|
|
6
|
-
# unsafe and is removed. Callers that still invoke this script get an explicit
|
|
7
|
-
# deprecation message on stderr, confirmation that the feature worktree exists
|
|
8
|
-
# (when it does), and exit 0 so orchestration does not break before skills are
|
|
9
|
-
# updated.
|
|
10
|
-
#
|
|
11
|
-
# Usage: merge-children.sh <repo-name> <feature-slug> <task-id>[,<task-id>,...]
|
|
12
|
-
# (task-ids are accepted for argument compatibility; they are not used)
|
|
13
|
-
#
|
|
14
|
-
# Exit codes:
|
|
15
|
-
# 0 always (shim: no fan-in, no errors from missing children)
|
|
16
|
-
|
|
17
|
-
set -euo pipefail
|
|
18
|
-
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
19
|
-
|
|
20
|
-
usage() {
|
|
21
|
-
cat >&2 <<'EOF'
|
|
22
|
-
Usage: merge-children.sh <repo-name> <feature-slug> <task-id>[,<task-id>,...]
|
|
23
|
-
|
|
24
|
-
DEPRECATED: This script is a no-op. ycc uses one feature worktree per run; there
|
|
25
|
-
is no per-task child merge. Remove calls to merge-children.sh in favor of working
|
|
26
|
-
entirely in the path printed by: setup-worktree.sh parent <repo> <feature-slug>
|
|
27
|
-
EOF
|
|
28
|
-
printf '\nSee: %s\n' "${SCRIPT_DIR}/../references/worktree-strategy.md" >&2
|
|
29
|
-
exit 1
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
feature_worktree_status() {
|
|
33
|
-
local parent_path="$1"
|
|
34
|
-
if [[ -d "${parent_path}" ]] && git -C "${parent_path}" rev-parse --git-dir >/dev/null 2>&1; then
|
|
35
|
-
echo "OK: feature worktree present at ${parent_path}" >&2
|
|
36
|
-
echo "STATUS:feature_worktree=present path=${parent_path}" >&2
|
|
37
|
-
return 0
|
|
38
|
-
fi
|
|
39
|
-
|
|
40
|
-
echo "merge-children.sh: NOTICE: feature worktree not found or not a git checkout: ${parent_path}" >&2
|
|
41
|
-
echo "STATUS:feature_worktree=missing path=${parent_path}" >&2
|
|
42
|
-
return 1
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
# shellcheck source=worktree-paths.sh
|
|
46
|
-
source "${SCRIPT_DIR}/worktree-paths.sh"
|
|
47
|
-
|
|
48
|
-
main() {
|
|
49
|
-
if [[ $# -ne 3 ]]; then
|
|
50
|
-
echo "ERROR: expected 3 arguments, got $#" >&2
|
|
51
|
-
usage
|
|
52
|
-
fi
|
|
53
|
-
|
|
54
|
-
local repo_name="$1"
|
|
55
|
-
local feature_slug="$2"
|
|
56
|
-
local _raw_task_ids="$3"
|
|
57
|
-
|
|
58
|
-
if [[ -z "${repo_name}" || -z "${feature_slug}" || -z "${_raw_task_ids}" ]]; then
|
|
59
|
-
echo "ERROR: repo-name, feature-slug, and task-id list must be non-empty" >&2
|
|
60
|
-
usage
|
|
61
|
-
fi
|
|
62
|
-
|
|
63
|
-
local repo_root
|
|
64
|
-
repo_root="$(ycc_repo_root)"
|
|
65
|
-
|
|
66
|
-
local parent_path
|
|
67
|
-
parent_path="$(ycc_feature_worktree_path "$repo_root" "$repo_name" "$feature_slug")"
|
|
68
|
-
|
|
69
|
-
echo "merge-children.sh: DEPRECATED: no-op (single worktree contract). Task IDs ignored: ${_raw_task_ids}" >&2
|
|
70
|
-
echo "merge-children.sh: Do not rely on child worktrees or fan-in merge. Use only: ${parent_path}" >&2
|
|
71
|
-
|
|
72
|
-
if ! feature_worktree_status "${parent_path}"; then
|
|
73
|
-
if [[ "${YCC_MERGE_CHILDREN_REQUIRE_FEATURE_WORKTREE:-0}" == "1" ]]; then
|
|
74
|
-
echo "merge-children.sh: strict mode enabled; failing because feature worktree is unavailable" >&2
|
|
75
|
-
exit 2
|
|
76
|
-
fi
|
|
77
|
-
fi
|
|
78
|
-
|
|
79
|
-
exit 0
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
main "$@"
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# {{PROJECT_NAME}} Documentation
|
|
2
|
-
|
|
3
|
-
Welcome to the {{PROJECT_NAME}} documentation.
|
|
4
|
-
|
|
5
|
-
## Quick Links
|
|
6
|
-
|
|
7
|
-
{{#if HAS_ARCHITECTURE}}
|
|
8
|
-
|
|
9
|
-
- [Architecture Overview](architecture/overview.md)
|
|
10
|
-
{{/if}}
|
|
11
|
-
{{#if HAS_API}}
|
|
12
|
-
- [API Reference](api/README.md)
|
|
13
|
-
{{/if}}
|
|
14
|
-
{{#if HAS_FEATURES}}
|
|
15
|
-
- [Feature Guides](features/README.md)
|
|
16
|
-
{{/if}}
|
|
17
|
-
{{#if HAS_DEVELOPMENT}}
|
|
18
|
-
- [Developer Guide](development/README.md)
|
|
19
|
-
{{/if}}
|
|
20
|
-
|
|
21
|
-
## Documentation Map
|
|
22
|
-
|
|
23
|
-
{{NAVIGATION_TREE}}
|
|
24
|
-
|
|
25
|
-
## Recently Updated
|
|
26
|
-
|
|
27
|
-
{{#each RECENT_FILES}}
|
|
28
|
-
|
|
29
|
-
- [{{this.title}}]({{this.path}}) - _{{this.date}}_
|
|
30
|
-
{{/each}}
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
_Last updated: {{GENERATED_DATE}}_
|