@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.
- 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/standalone-dispatch.md +4 -1
- package/shared/references/target-capability-matrix.md +170 -30
- package/shared/references/worktree-strategy.md +7 -21
- package/skills/bundle-author/scripts/scaffold-skill.sh +9 -0
- 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/references/templates/lint-autofix.yml.tmpl +7 -7
- package/skills/formatters/references/templates/lint.yml.tmpl +11 -11
- 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/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/templates/git/gitignore.tmpl +2 -0
- 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/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/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
|
@@ -14,6 +14,15 @@ set -euo pipefail
|
|
|
14
14
|
|
|
15
15
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
16
16
|
REPO_ROOT="$(cd "${SCRIPT_DIR}/../../../.." && pwd)"
|
|
17
|
+
# A generated bundle copy (packages/<target>/.opencode-plugin/skills/...) sits deeper than the
|
|
18
|
+
# canonical ycc/skills tree; scaffold into the canonical source, never the bundle.
|
|
19
|
+
if [[ ! -f "${REPO_ROOT}/ycc/.opencode-plugin/plugin.json" ]]; then
|
|
20
|
+
REPO_ROOT="$(git -C "${PWD}" rev-parse --show-toplevel 2>/dev/null || true)"
|
|
21
|
+
[[ -n "${REPO_ROOT}" && -f "${REPO_ROOT}/ycc/.opencode-plugin/plugin.json" ]] || {
|
|
22
|
+
echo "scaffold-skill.sh: run from a ystack checkout (no ycc/.opencode-plugin/plugin.json found)" >&2
|
|
23
|
+
exit 1
|
|
24
|
+
}
|
|
25
|
+
fi
|
|
17
26
|
|
|
18
27
|
SKILL_NAME=""
|
|
19
28
|
SKILL_ONLY=0
|
|
@@ -23,6 +23,11 @@ and its direct child directories), plus ``packages/<package>`` and
|
|
|
23
23
|
``packages/<runtime>/<package>`` plugin/package manifests (same bounded manifest
|
|
24
24
|
filenames). An included native OMP package must have ``.omp-plugin/plugin.json``,
|
|
25
25
|
``.claude-plugin/plugin.json`` and ``package.json`` under ``packages/omp/<package>``.
|
|
26
|
+
An included native Antigravity package must have ``packages/antigravity/<package>/plugin.json``
|
|
27
|
+
(the manifest sits at the plugin root). An included native Muse package must have
|
|
28
|
+
``packages/muse/ycc/.claude-plugin/plugin.json`` for ``ycc`` (the claude-compatible family,
|
|
29
|
+
the only one that imports agents) and ``packages/muse/<package>/.muse-plugin/plugin.json``
|
|
30
|
+
for every other package.
|
|
26
31
|
|
|
27
32
|
Included native manifests must exist and have a version. Unmodeled optional files
|
|
28
33
|
and versionless marketplace entries never gain a field.
|
|
@@ -49,7 +54,7 @@ MANIFEST_SUBDIRS = (".claude-plugin", ".codex-plugin", ".cursor-plugin")
|
|
|
49
54
|
OMP_MANIFEST_SUBDIRS = (".omp-plugin", ".claude-plugin")
|
|
50
55
|
EXCLUDED_NAME = "ycc-mods"
|
|
51
56
|
EXCLUDED_SOURCE_PREFIX = "ycc/mods"
|
|
52
|
-
PACKAGE_RUNTIMES = ("claude", "codex", "cursor", "opencode", "agents", "omp", "pi")
|
|
57
|
+
PACKAGE_RUNTIMES = ("claude", "codex", "cursor", "opencode", "agents", "omp", "pi", "antigravity", "muse")
|
|
53
58
|
MODEL_REL = "ycc/settings/packages.json"
|
|
54
59
|
Key = str | int
|
|
55
60
|
|
|
@@ -195,6 +200,19 @@ def _model_manifests(root: Path) -> list[tuple[str, str, bool, bool]]:
|
|
|
195
200
|
for rel in (*(f"{base}/{sub}/plugin.json" for sub in OMP_MANIFEST_SUBDIRS), f"{base}/package.json"):
|
|
196
201
|
manifests.append((label, rel, status == "included", required))
|
|
197
202
|
continue
|
|
203
|
+
if runtime == "antigravity" and mechanism == "native" and "/" not in key:
|
|
204
|
+
# scripts/generate_antigravity_packages.py: Antigravity reads plugin.json at the
|
|
205
|
+
# plugin root, regenerated by ./scripts/sync.sh (checked, never hand-bumped).
|
|
206
|
+
manifests.append((label, f"packages/{runtime}/{key}/plugin.json", status == "included", required))
|
|
207
|
+
continue
|
|
208
|
+
if runtime == "muse" and mechanism == "native" and "/" not in key:
|
|
209
|
+
# scripts/generate_muse_packages.py: ycc ships the claude-compatible manifest,
|
|
210
|
+
# every other package the native one; regenerated by ./scripts/sync.sh.
|
|
211
|
+
subdir = ".opencode-plugin" if key == "ycc" else ".muse-plugin"
|
|
212
|
+
manifests.append(
|
|
213
|
+
(label, f"packages/{runtime}/{key}/{subdir}/plugin.json", status == "included", required)
|
|
214
|
+
)
|
|
215
|
+
continue
|
|
198
216
|
if runtime == "pi" and mechanism == "native" and "/" not in key:
|
|
199
217
|
# A Pi package's only manifest is packages/pi/<key>/package.json (ADR 0003), but its
|
|
200
218
|
# layout is not final until the packages/pi generator (YAN-1188) lands: an included
|
|
@@ -243,8 +243,6 @@ Include:
|
|
|
243
243
|
- Migration steps if needed
|
|
244
244
|
- Performance considerations
|
|
245
245
|
|
|
246
|
-
Be thorough but concise. Only include information that's important for someone maintaining this code.
|
|
247
|
-
|
|
248
246
|
#### E2E Tests Section
|
|
249
247
|
|
|
250
248
|
Provide specific testing guidance:
|
|
@@ -84,8 +84,6 @@ Include important information that would be valuable for maintainers:
|
|
|
84
84
|
- Security considerations
|
|
85
85
|
- Known limitations
|
|
86
86
|
|
|
87
|
-
Be thorough but concise. Only include information that's important for someone maintaining this code.
|
|
88
|
-
|
|
89
87
|
Example:
|
|
90
88
|
|
|
91
89
|
```markdown
|
|
@@ -36,14 +36,18 @@ modifies any file.
|
|
|
36
36
|
Parse `$ARGUMENTS` for:
|
|
37
37
|
|
|
38
38
|
- **--target** (optional, default `all`) — restrict the audit to a single
|
|
39
|
-
target. Accepted values: `claude`, `cursor`, `codex`, `opencode`, `omp`, `pi`, `
|
|
40
|
-
is specified, phases 2–5 run once per target in the set
|
|
41
|
-
`{claude, cursor, codex, opencode, omp, pi}`.
|
|
39
|
+
target. Accepted values: `claude`, `cursor`, `codex`, `opencode`, `omp`, `pi`, `antigravity`, `muse`, `all`.
|
|
40
|
+
When `all` is specified, phases 2–5 run once per target in the set
|
|
41
|
+
`{claude, cursor, codex, opencode, omp, pi, antigravity, muse}`.
|
|
42
42
|
`omp` has no generated tree or generator yet: skip Phases 2 and 3 for it and
|
|
43
43
|
report them as `not generated yet` rather than failures.
|
|
44
44
|
`pi` is modeled but has no generated `packages/pi/` tree or generator yet (ADR 0003,
|
|
45
45
|
YAN-1188): skip Phases 2 and 3 for it and report them as `not generated yet`. Phase 4
|
|
46
46
|
still runs its `PI1` check.
|
|
47
|
+
`antigravity` has no `report-bundle-drift.sh` entry: skip Phase 2 for it and report
|
|
48
|
+
`drift covered by Phase 3` (`validate.sh --only antigravity` runs the generator `--check`).
|
|
49
|
+
`muse` likewise has no `report-bundle-drift.sh` entry: skip Phase 2 for it and report
|
|
50
|
+
`drift covered by Phase 3` (`validate.sh --only muse` runs the generator `--check`).
|
|
47
51
|
- **--json** (flag, default off) — emit the final triage report as a
|
|
48
52
|
machine-readable JSON envelope instead of Markdown. Per-target sections are
|
|
49
53
|
preserved inside the envelope as structured objects.
|
|
@@ -70,7 +74,7 @@ required for Phase 5.
|
|
|
70
74
|
|
|
71
75
|
Parse `$ARGUMENTS` as described above. Resolve `--target` to a concrete list:
|
|
72
76
|
|
|
73
|
-
- `all` → `[claude, cursor, codex, opencode, omp, pi]`
|
|
77
|
+
- `all` → `[claude, cursor, codex, opencode, omp, pi, antigravity, muse]`
|
|
74
78
|
- any single value → a one-element list
|
|
75
79
|
|
|
76
80
|
If `--dry-run` was passed, print the resolved target list, the scripts that
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# audit-install-assumptions.sh — validate install-path assumptions for each
|
|
3
|
-
# generated compatibility target (Claude, Cursor, Codex, opencode, omp, pi).
|
|
3
|
+
# generated compatibility target (Claude, Cursor, Codex, opencode, omp, pi, antigravity, muse).
|
|
4
4
|
#
|
|
5
5
|
# Flags:
|
|
6
|
-
# --target=<claude|cursor|codex|opencode|omp|pi|all> (default: all)
|
|
6
|
+
# --target=<claude|cursor|codex|opencode|omp|pi|antigravity|muse|all> (default: all)
|
|
7
7
|
# --format=<human|json> (default: human)
|
|
8
8
|
# --help, -h print usage and exit 0
|
|
9
9
|
#
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
set -euo pipefail
|
|
13
13
|
|
|
14
14
|
usage() { cat <<'EOF'
|
|
15
|
-
Usage: audit-install-assumptions.sh [--target=<claude|cursor|codex|opencode|omp|pi|all>]
|
|
15
|
+
Usage: audit-install-assumptions.sh [--target=<claude|cursor|codex|opencode|omp|pi|antigravity|muse|all>]
|
|
16
16
|
[--format=<human|json>] [--help|-h]
|
|
17
17
|
[repo-root]
|
|
18
18
|
|
|
@@ -42,7 +42,7 @@ for arg in "$@"; do
|
|
|
42
42
|
;;
|
|
43
43
|
esac
|
|
44
44
|
done
|
|
45
|
-
case "$TARGET" in all|claude|cursor|codex|opencode|omp|pi) ;;
|
|
45
|
+
case "$TARGET" in all|claude|cursor|codex|opencode|omp|pi|antigravity|muse) ;;
|
|
46
46
|
*) echo "audit-install-assumptions.sh: unknown --target: $TARGET" >&2; usage >&2; exit 2 ;; esac
|
|
47
47
|
case "$FORMAT" in human|json) ;;
|
|
48
48
|
*) echo "audit-install-assumptions.sh: unknown --format: $FORMAT" >&2; usage >&2; exit 2 ;; esac
|
|
@@ -412,6 +412,74 @@ PY
|
|
|
412
412
|
fi
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
+
# ---------------------------------------------------------------------------
|
|
416
|
+
# Antigravity checks
|
|
417
|
+
# ---------------------------------------------------------------------------
|
|
418
|
+
run_antigravity_checks() {
|
|
419
|
+
local adir="${REPO_ROOT}/packages/antigravity" pkg manifest
|
|
420
|
+
# AG1: every generated plugin has a valid root plugin.json naming its folder.
|
|
421
|
+
if [[ ! -d "$adir" ]]; then
|
|
422
|
+
record "antigravity" "AG1" "FAIL" "${adir} does not exist (run ./scripts/sync.sh --only antigravity)"; return
|
|
423
|
+
fi
|
|
424
|
+
for pkg in ycc ycc-mcp ycc-rules; do
|
|
425
|
+
manifest="${adir}/${pkg}/plugin.json"
|
|
426
|
+
if ! json_ok "$manifest"; then
|
|
427
|
+
record "antigravity" "AG1" "FAIL" "${manifest} is missing or not valid JSON"; continue
|
|
428
|
+
fi
|
|
429
|
+
if [[ "$(python3 -c 'import json,sys;print(json.load(open(sys.argv[1])).get("name",""))' "$manifest")" != "$pkg" ]]; then
|
|
430
|
+
record "antigravity" "AG1" "FAIL" "${manifest} name must be ${pkg}"; continue
|
|
431
|
+
fi
|
|
432
|
+
record "antigravity" "AG1" "PASS" "${pkg}"
|
|
433
|
+
done
|
|
434
|
+
# AG2: skills and agents carry no Claude plugin-root variable (Antigravity has none).
|
|
435
|
+
local hits
|
|
436
|
+
hits="$(grep -rl --include=SKILL.md --include='*.md' 'CLAUDE_PLUGIN_ROOT' "${adir}/ycc/skills"/*/SKILL.md "${adir}/ycc/agents" 2>/dev/null || true)"
|
|
437
|
+
if [[ -n "$hits" ]]; then
|
|
438
|
+
record "antigravity" "AG2" "FAIL" "CLAUDE_PLUGIN_ROOT left in: $(tr '\n' ' ' <<<"$hits")"
|
|
439
|
+
else
|
|
440
|
+
record "antigravity" "AG2" "PASS" ""
|
|
441
|
+
fi
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
# ---------------------------------------------------------------------------
|
|
445
|
+
# Muse checks
|
|
446
|
+
# ---------------------------------------------------------------------------
|
|
447
|
+
run_muse_checks() {
|
|
448
|
+
local mdir="${REPO_ROOT}/packages/muse" pkg manifest hits
|
|
449
|
+
# MU1: ycc carries the claude-compatible manifest (the only family that imports
|
|
450
|
+
# agents) and no native one (which would win and hide them); ycc-mcp the native one.
|
|
451
|
+
if [[ ! -d "$mdir" ]]; then
|
|
452
|
+
record "muse" "MU1" "FAIL" "${mdir} does not exist (run ./scripts/sync.sh --only muse)"; return
|
|
453
|
+
fi
|
|
454
|
+
for pkg in ycc:.claude-plugin ycc-mcp:.muse-plugin ycc-rules:.muse-plugin; do
|
|
455
|
+
manifest="${mdir}/${pkg%%:*}/${pkg#*:}/plugin.json"
|
|
456
|
+
if ! json_ok "$manifest"; then
|
|
457
|
+
record "muse" "MU1" "FAIL" "${manifest} is missing or not valid JSON"; continue
|
|
458
|
+
fi
|
|
459
|
+
if [[ "$(python3 -c 'import json,sys;print(json.load(open(sys.argv[1])).get("name",""))' "$manifest")" != "${pkg%%:*}" ]]; then
|
|
460
|
+
record "muse" "MU1" "FAIL" "${manifest} name must be ${pkg%%:*}"; continue
|
|
461
|
+
fi
|
|
462
|
+
record "muse" "MU1" "PASS" "${pkg%%:*}"
|
|
463
|
+
done
|
|
464
|
+
if [[ -e "${mdir}/ycc/.muse-plugin/plugin.json" ]]; then
|
|
465
|
+
record "muse" "MU1" "FAIL" "${mdir}/ycc/.muse-plugin/plugin.json would hide the ycc agents"
|
|
466
|
+
fi
|
|
467
|
+
# MU2: skills and agents carry no Claude plugin-root variable (Muse caches by digest).
|
|
468
|
+
hits="$(grep -rl --include=SKILL.md --include='*.md' 'CLAUDE_PLUGIN_ROOT' "${mdir}/ycc/skills"/*/SKILL.md "${mdir}/ycc/agents" 2>/dev/null || true)"
|
|
469
|
+
if [[ -n "$hits" ]]; then
|
|
470
|
+
record "muse" "MU2" "FAIL" "CLAUDE_PLUGIN_ROOT left in: $(tr '\n' ' ' <<<"$hits")"
|
|
471
|
+
else
|
|
472
|
+
record "muse" "MU2" "PASS" ""
|
|
473
|
+
fi
|
|
474
|
+
# MU3: agent frontmatter avoids what Muse refuses (an off-palette color) or cannot project (Glob).
|
|
475
|
+
hits="$(grep -lE '^(color:| - Glob$)' "${mdir}/ycc/agents"/*.md 2>/dev/null || true)"
|
|
476
|
+
if [[ -n "$hits" ]]; then
|
|
477
|
+
record "muse" "MU3" "FAIL" "color or Glob in: $(tr '\n' ' ' <<<"$hits")"
|
|
478
|
+
else
|
|
479
|
+
record "muse" "MU3" "PASS" ""
|
|
480
|
+
fi
|
|
481
|
+
}
|
|
482
|
+
|
|
415
483
|
# ---------------------------------------------------------------------------
|
|
416
484
|
# Dispatch
|
|
417
485
|
# ---------------------------------------------------------------------------
|
|
@@ -422,7 +490,9 @@ case "$TARGET" in
|
|
|
422
490
|
opencode) run_opencode_checks ;;
|
|
423
491
|
omp) run_omp_checks ;;
|
|
424
492
|
pi) run_pi_checks ;;
|
|
425
|
-
|
|
493
|
+
antigravity) run_antigravity_checks ;;
|
|
494
|
+
muse) run_muse_checks ;;
|
|
495
|
+
all) run_claude_checks; run_cursor_checks; run_codex_checks; run_opencode_checks; run_omp_checks; run_pi_checks; run_antigravity_checks; run_muse_checks ;;
|
|
426
496
|
esac
|
|
427
497
|
|
|
428
498
|
OVERALL_RC=0
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
#
|
|
8
8
|
# Flags:
|
|
9
9
|
# --target=<t>|all Restrict findings to one target: claude, cursor, codex,
|
|
10
|
-
# opencode, omp, pi, or all (default: all). `--target <t>` also works.
|
|
10
|
+
# opencode, omp, pi, antigravity, muse, or all (default: all). `--target <t>` also works.
|
|
11
11
|
# --format=human|json Output format (default: human)
|
|
12
12
|
# --strict Exit 1 if any verdict is "unsupported"
|
|
13
13
|
# --help Show this help and exit 0
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
#
|
|
23
23
|
# The parser reads ONE markdown table from the matrix file. Rules:
|
|
24
24
|
# - The header row must be exactly (after per-cell whitespace trim):
|
|
25
|
-
# capability | claude | cursor | codex | opencode | omp | pi
|
|
25
|
+
# capability | claude | cursor | codex | opencode | omp | pi | antigravity | muse
|
|
26
26
|
# - Separator rows (cells of dashes) are skipped.
|
|
27
27
|
# - Each data cell must be one of: supported | partial | unsupported
|
|
28
28
|
# - The "As of <date>" line is expected anywhere in the file as:
|
|
@@ -47,7 +47,7 @@ verdict lines.
|
|
|
47
47
|
|
|
48
48
|
Flags:
|
|
49
49
|
--target=<t>|all Restrict findings to one target: claude, cursor, codex,
|
|
50
|
-
opencode, omp, pi, or all (default: all). `--target <t>` also works.
|
|
50
|
+
opencode, omp, pi, antigravity, muse, or all (default: all). `--target <t>` also works.
|
|
51
51
|
--format=human|json Output format (default: human)
|
|
52
52
|
--strict Exit 1 if any verdict is "unsupported"
|
|
53
53
|
--help Show this help and exit 0
|
|
@@ -64,7 +64,7 @@ EOF
|
|
|
64
64
|
# ---------------------------------------------------------------------------
|
|
65
65
|
|
|
66
66
|
# Canonical target order; must match the matrix header after `capability`.
|
|
67
|
-
ALL_TARGETS=("claude" "cursor" "codex" "opencode" "omp" "pi")
|
|
67
|
+
ALL_TARGETS=("claude" "cursor" "codex" "opencode" "omp" "pi" "antigravity" "muse")
|
|
68
68
|
|
|
69
69
|
FORMAT="human"
|
|
70
70
|
STRICT=0
|
|
@@ -114,7 +114,7 @@ case "$FORMAT" in
|
|
|
114
114
|
esac
|
|
115
115
|
|
|
116
116
|
case "$TARGET" in
|
|
117
|
-
all|claude|cursor|codex|opencode|omp|pi) ;;
|
|
117
|
+
all|claude|cursor|codex|opencode|omp|pi|antigravity|muse) ;;
|
|
118
118
|
*)
|
|
119
119
|
echo "audit-target-features.sh: unknown --target value: $TARGET" >&2
|
|
120
120
|
usage >&2
|
|
@@ -182,7 +182,7 @@ fi
|
|
|
182
182
|
# ---------------------------------------------------------------------------
|
|
183
183
|
# Parse the capability matrix via Python
|
|
184
184
|
# Outputs: one line per capability row in the form:
|
|
185
|
-
# <capability>|<claude>|<cursor>|<codex>|<opencode>|<omp>|<pi>
|
|
185
|
+
# <capability>|<claude>|<cursor>|<codex>|<opencode>|<omp>|<pi>|<antigravity>|<muse>
|
|
186
186
|
# First line is the "As of ..." date (prefixed with "AS_OF:").
|
|
187
187
|
# ---------------------------------------------------------------------------
|
|
188
188
|
|
|
@@ -193,7 +193,7 @@ matrix_path = sys.argv[1]
|
|
|
193
193
|
matrix_rel = sys.argv[2]
|
|
194
194
|
|
|
195
195
|
VOCABULARY = {"supported", "partial", "unsupported"}
|
|
196
|
-
EXPECTED_HEADER = ["capability", "claude", "cursor", "codex", "opencode", "omp", "pi"]
|
|
196
|
+
EXPECTED_HEADER = ["capability", "claude", "cursor", "codex", "opencode", "omp", "pi", "antigravity", "muse"]
|
|
197
197
|
|
|
198
198
|
lines = open(matrix_path).read().splitlines()
|
|
199
199
|
|
|
@@ -281,7 +281,7 @@ fi
|
|
|
281
281
|
AS_OF_LINE="$(echo "$PARSE_RESULT" | grep "^AS_OF:" | sed 's/^AS_OF://')"
|
|
282
282
|
|
|
283
283
|
# Build parallel arrays: CAPS, VERDICTS_CLAUDE, VERDICTS_CURSOR, VERDICTS_CODEX,
|
|
284
|
-
# VERDICTS_OPENCODE, VERDICTS_OMP, VERDICTS_PI
|
|
284
|
+
# VERDICTS_OPENCODE, VERDICTS_OMP, VERDICTS_PI, VERDICTS_ANTIGRAVITY, VERDICTS_MUSE
|
|
285
285
|
declare -a CAPS=()
|
|
286
286
|
declare -a VERDICTS_CLAUDE=()
|
|
287
287
|
declare -a VERDICTS_CURSOR=()
|
|
@@ -289,8 +289,10 @@ declare -a VERDICTS_CODEX=()
|
|
|
289
289
|
declare -a VERDICTS_OPENCODE=()
|
|
290
290
|
declare -a VERDICTS_OMP=()
|
|
291
291
|
declare -a VERDICTS_PI=()
|
|
292
|
+
declare -a VERDICTS_ANTIGRAVITY=()
|
|
293
|
+
declare -a VERDICTS_MUSE=()
|
|
292
294
|
|
|
293
|
-
while IFS='|' read -r cap cl cu co oc om pi; do
|
|
295
|
+
while IFS='|' read -r cap cl cu co oc om pi ag mu; do
|
|
294
296
|
[[ "$cap" == AS_OF:* ]] && continue
|
|
295
297
|
[[ -z "$cap" ]] && continue
|
|
296
298
|
CAPS+=("$cap")
|
|
@@ -300,6 +302,8 @@ while IFS='|' read -r cap cl cu co oc om pi; do
|
|
|
300
302
|
VERDICTS_OPENCODE+=("$oc")
|
|
301
303
|
VERDICTS_OMP+=("$om")
|
|
302
304
|
VERDICTS_PI+=("$pi")
|
|
305
|
+
VERDICTS_ANTIGRAVITY+=("$ag")
|
|
306
|
+
VERDICTS_MUSE+=("$mu")
|
|
303
307
|
done < <(echo "$PARSE_RESULT" | grep -v "^AS_OF:")
|
|
304
308
|
|
|
305
309
|
# ---------------------------------------------------------------------------
|
|
@@ -414,6 +418,8 @@ lookup_verdict() {
|
|
|
414
418
|
opencode) echo "${VERDICTS_OPENCODE[$i]}"; return ;;
|
|
415
419
|
omp) echo "${VERDICTS_OMP[$i]}"; return ;;
|
|
416
420
|
pi) echo "${VERDICTS_PI[$i]}"; return ;;
|
|
421
|
+
antigravity) echo "${VERDICTS_ANTIGRAVITY[$i]}"; return ;;
|
|
422
|
+
muse) echo "${VERDICTS_MUSE[$i]}"; return ;;
|
|
417
423
|
*)
|
|
418
424
|
echo "audit-target-features.sh: lookup_verdict: unknown target '$target'" >&2
|
|
419
425
|
exit 2
|
|
@@ -312,6 +312,6 @@ Each research file should: focus on its specific domain, include concrete exampl
|
|
|
312
312
|
- **Single-owner research files** — each researcher writes only its assigned artifact
|
|
313
313
|
- **Gate synthesis with validation** — do not generate `feature-spec.md` before validator pass
|
|
314
314
|
- **Use web search** — external APIs require current documentation
|
|
315
|
-
-
|
|
315
|
+
- Cover each research lens with findings that inform the feature specification
|
|
316
316
|
- **Enable plan-workflow** — this spec is the foundation for implementation planning
|
|
317
317
|
- **Preserve uncertainty** — mark areas needing clarification rather than guessing
|
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
has_patch: ${{ steps.patch.outputs.has_patch }}
|
|
29
29
|
steps:
|
|
30
30
|
- name: Checkout PR head
|
|
31
|
-
uses: actions/checkout@
|
|
31
|
+
uses: actions/checkout@v7
|
|
32
32
|
with:
|
|
33
33
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
34
34
|
persist-credentials: false
|
|
@@ -41,14 +41,14 @@ jobs:
|
|
|
41
41
|
{{/IF_RUST}}
|
|
42
42
|
|
|
43
43
|
{{#IF_GO}}
|
|
44
|
-
- uses: actions/setup-go@
|
|
44
|
+
- uses: actions/setup-go@v7
|
|
45
45
|
with:
|
|
46
46
|
go-version: stable
|
|
47
47
|
cache: true
|
|
48
48
|
{{/IF_GO}}
|
|
49
49
|
|
|
50
50
|
{{#IF_TS}}
|
|
51
|
-
- uses: actions/setup-node@
|
|
51
|
+
- uses: actions/setup-node@v7
|
|
52
52
|
with:
|
|
53
53
|
node-version: lts/*
|
|
54
54
|
cache: npm
|
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
56
56
|
{{/IF_TS}}
|
|
57
57
|
|
|
58
58
|
{{#IF_PYTHON}}
|
|
59
|
-
- uses: actions/setup-python@
|
|
59
|
+
- uses: actions/setup-python@v7
|
|
60
60
|
with:
|
|
61
61
|
python-version: "3.12"
|
|
62
62
|
- run: pip install --no-cache-dir ruff black
|
|
@@ -68,7 +68,7 @@ jobs:
|
|
|
68
68
|
{{/IF_SHELL}}
|
|
69
69
|
|
|
70
70
|
{{#IF_DOCS}}
|
|
71
|
-
- uses: actions/setup-node@
|
|
71
|
+
- uses: actions/setup-node@v7
|
|
72
72
|
with:
|
|
73
73
|
node-version: lts/*
|
|
74
74
|
{{/IF_DOCS}}
|
|
@@ -103,7 +103,7 @@ jobs:
|
|
|
103
103
|
|
|
104
104
|
- name: Upload autofix patch
|
|
105
105
|
if: steps.patch.outputs.has_patch == 'true'
|
|
106
|
-
uses: actions/upload-artifact@
|
|
106
|
+
uses: actions/upload-artifact@v7
|
|
107
107
|
with:
|
|
108
108
|
name: lint-autofix-patch
|
|
109
109
|
path: ${{ runner.temp }}/autofix.patch
|
|
@@ -127,7 +127,7 @@ jobs:
|
|
|
127
127
|
AUTOFIX_APP_CONFIGURED: ${{ vars.AUTOFIX_APP_CLIENT_ID != '' && secrets.AUTOFIX_APP_PRIVATE_KEY != '' }}
|
|
128
128
|
steps:
|
|
129
129
|
- name: Download autofix patch
|
|
130
|
-
uses: actions/download-artifact@
|
|
130
|
+
uses: actions/download-artifact@v8
|
|
131
131
|
with:
|
|
132
132
|
name: lint-autofix-patch
|
|
133
133
|
path: ${{ runner.temp }}/autofix-artifact
|
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
lint-rust:
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
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@
|
|
30
|
-
- uses: actions/setup-go@
|
|
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@
|
|
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@
|
|
45
|
-
- uses: actions/setup-node@
|
|
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@
|
|
58
|
-
- uses: actions/setup-python@
|
|
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@
|
|
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@
|
|
80
|
-
- uses: actions/setup-node@
|
|
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
|
|
@@ -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/
|
|
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
|
-
|
|
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
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
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.
|
|
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
|
|
|
@@ -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
|
|