Commit Graph

106 Commits

Author SHA1 Message Date
Trevin Chow a90cbedb19 refactor(review): rename compound-engineering agents to .agent.md 2026-04-18 15:38:27 -07:00
Trevin Chow 4648a17a98 refactor(cli): harden .agent.md source parsing and cleanup indexing 2026-04-18 15:38:27 -07:00
Trevin Chow 30e0ff3638 fix(ce-prefix-rename): clean up stale refs missed in rebase
Update remaining stale references to skill/agent names after rebase:
- AGENTS.md cross-platform reference example uses ce-doc-review
- ce-compound/SKILL.md internal /compound heading and session-historian ref
- ce-code-review/references/resolve-base.sh header comment
- pi converter and codex-agents tool mapping use ce-todo-create
- pi-converter test assertion matches converter output
- release preview/components tests use ce-plan (non-beta)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 15:38:27 -07:00
Trevin Chow 7ed29869b1 fix: address PR review feedback (#503)
- Remove stray merge markers in ce-ideate/references/post-ideation-workflow.md
  that survived the last rebase. Kept the upstream v2 quality-bar bullets
  (persistence opt-in, mode defaults) and dropped the stale pre-v2 line.

- Scope isLegacyPromptWrapper to compound-owned wrappers. Body-instruction
  fingerprint alone was too permissive — renderPrompt emits the same
  boilerplate for every plugin, so a shared ~/.codex/prompts/ with a
  sibling plugin's ce-plan.md would have been deleted. Now requires
  BOTH signals: body matches the plugin-generated boilerplate AND
  description matches either the current shipped ce-* description or
  a historical alias in LEGACY_PROMPT_DESCRIPTION_ALIASES. Seeded
  alias map from shipped releases for ce-plan, ce-work, ce-work-beta,
  ce-brainstorm, ce-ideate, ce-compound, ce-compound-refresh, ce-review.
  Added regression test: foreign plugin's same-named wrapper is preserved.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 15:38:27 -07:00
Trevin Chow 44b3029396 fix(legacy-cleanup): use body fingerprint for Codex prompt wrapper ownership
The exact-description match in isLegacyPromptWrapper keeps missing real
upgrade paths because skill description text drifts (different wording
across shipped plugin versions). Two prior rounds on this file patched
the symptom by adding ce:->ce- normalization, then per-file description
aliases — but ce-plan drifted again when HEAD added a trailing
"prefer ce-brainstorm first" sentence that no shipped version contains.

Swap prompt-ownership detection to a body-instruction fingerprint:
"Use the $<skill> skill for this command and follow its instructions."
(plus pre-rename workflow-style variants). The Codex converter writes
this boilerplate deterministically and has since v2.39.0. The skill
name is embedded by reference, so the fingerprint stays accurate
across description rewordings.

Added two regression tests: drifted-description wrapper is removed,
user-authored file with the same path but a different body is preserved.

Resolves #503 review feedback on legacy-cleanup.ts:404.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 15:38:27 -07:00
Trevin Chow f873024f80 fix(ce-prefix-rename): address PR review feedback
- Unify ce-code-review artifact directory path: fixed 5 remaining stale
  references to .context/compound-engineering/ce-review/<run-id> in
  SKILL.md (Stage 4 run-id mkdir, persona dispatch, per-agent JSON write,
  Stage 6 detail-enrichment read) and the subagent-template.md output
  contract. Announced path and actual write path now match.

- Close legacy-cleanup fingerprint gap for stale names without ce-*
  counterpart: loadLegacyFingerprints previously skipped any legacy name
  whose mapped current file was missing, leaving isLegacyPluginOwned
  unable to verify ownership of orphaned entries (4 skills, 2 agents).
  Added LEGACY_ONLY_SKILL_DESCRIPTIONS and LEGACY_ONLY_AGENT_DESCRIPTIONS
  maps sourced from last-shipped frontmatter, wired as fallback. Content-
  match safety preserved — user files with same names are still protected.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 15:38:27 -07:00
Trevin Chow 0633defbac test(ce-prefix-rename): update test assertions to new ce-doc-review name
Two pipeline-review-contract tests still expected the old `document-review`
skill name. Updated to `ce-doc-review` to match the rename applied in
ce-brainstorm/references/handoff.md and ce-plan/references/plan-handoff.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 15:38:27 -07:00
Trevin Chow e655ca2ac0 test(legacy-cleanup): update stale agent fixtures 2026-04-18 15:38:00 -07:00
Trevin Chow cdf7eeff81 fix(work-beta): align delegation contract test with renamed skills
Update the pipeline contract assertions to match the current hyphenated
ce-work-beta and ce-frontend-design skill references used by the skill docs.
2026-04-18 15:38:00 -07:00
Trevin Chow fe7faef1ca fix(cleanup): address PR review feedback (#503)
- scope Kiro stale agent cleanup to compound fingerprints
- clean legacy Codex workflow wrappers across pre- and post-rename formats
- remove stale OpenClaw agent-* directories during upgrades
- cover session-historian and slack-researcher cleanup regressions
2026-04-18 15:38:00 -07:00
Trevin Chow 04b01bd438 fix(cleanup): scope stale codex prompt cleanup to legacy wrappers 2026-04-18 15:38:00 -07:00
Trevin Chow cb2f8f7aca fix(cleanup): preserve legacy setup and Kiro agent migration
Teach stale cleanup about the historical setup skill description and Kiro's legacy JSON/prompt agent formats so rename cleanup still works after later wording changes and on Kiro installs.
2026-04-18 15:38:00 -07:00
Trevin Chow cca5b08f40 fix(gemini): clean legacy generated agent skills on install
Remove pre-rename agent skill directories from Gemini installs before writing generated skills so stale unprefixed agents do not remain discoverable after the ce- rename.
2026-04-18 15:38:00 -07:00
Trevin Chow 4288eee961 fix(cleanup): scope stale rename cleanup to legacy compound files
Make stale skill and agent removal fingerprint-aware so shared install roots keep user-owned files with overlapping names.

Also move Qwen cleanup ahead of agent writes and clean Pi legacy agent directories from skills/ instead of prompts, with regression tests for both cases.
2026-04-18 15:38:00 -07:00
Trevin Chow 1fb8ec5274 test(legacy-cleanup): add tests for stale file cleanup
Covers skill dir removal, agent file removal (flat .md, .agent.md,
and directory formats), prompt wrapper removal, preservation of
non-stale files, and idempotency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 15:38:00 -07:00
Trevin Chow cb41b673d7 fix(tests): fix CLI test agent path — fixture uses original name, bundled plugin uses ce- prefix
The fixture's agent-one.md has `name: repo-research-analyst` (no ce-
prefix), so fixture-based tests check for `repo-research-analyst.md`.
The bundled plugin test checks for `ce-repo-research-analyst.md`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 15:38:00 -07:00
Trevin Chow 9904a85d10 fix(converters): address PR review feedback — stale skill refs, alias mapping, OpenCode 2-segment rewrite
- Update ce-work and ce-work-beta to reference `ce-commit-push-pr` and
  `ce-commit` instead of old `git-commit-push-pr`/`git-commit` names
- Add WORKFLOW_ALIAS_OVERRIDES map so `workflows:review` correctly
  resolves to `ce-code-review` instead of non-existent `ce-review`
- Add 2-segment `category:ce-agent` rewrite to OpenCode transform so
  refs like `review:ce-correctness-reviewer` flatten to `ce-correctness-reviewer`

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 15:38:00 -07:00
Trevin Chow 9c3954a46a refactor!: rename all skills and agents to consistent ce- prefix
Standardize all 37 compound-engineering skills and 49 agents on a
`ce-` hyphen prefix, eliminating namespace collisions with other
plugins and removing the colon character that required filesystem
sanitization.

Key changes:
- `ce:plan` → `ce-plan`, `git-commit` → `ce-commit`, etc. (29 skill
  directory renames + 8 frontmatter-only updates)
- `adversarial-reviewer` → `ce-adversarial-reviewer`, etc. (49 agent
  file renames + frontmatter updates)
- `ce-review` → `ce-code-review` (clearer purpose)
- `ce-document-review` → `ce-doc-review` (more concise)
- Agent references simplified: `compound-engineering:review:X` → `review:ce-X`
- All bare agent names in prose now carry `ce-` prefix
- Codex converter: remove workflow prompt wrappers (skills are directly
  invocable), replace `isCanonicalCodexWorkflowSkill` prefix check with
  direct skill copying, map deprecated `workflows:*` aliases to skill
  targets instead of dead prompt targets
- Remove `codexPrompt` field from types/parser (no longer needed)
- Path sanitization tests use non-CE examples to preserve colon coverage
- New invariant test: no CE skill name contains a colon

BREAKING CHANGE: All skill and agent names changed. `/ce:plan` is now
`/ce-plan`, `/ce:review` is now `/ce-code-review`, agent references use
`<category>:ce-<name>` format instead of `compound-engineering:<category>:<name>`.

Closes #337

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 15:37:59 -07:00
Trevin Chow 27cbaf8161 feat(ce-review): add per-finding judgment loop to Interactive mode (#590)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 13:09:03 -07:00
Trevin Chow 59dbaef376 feat(ce-release-notes): add skill for browsing plugin release history (#589)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-17 02:00:37 -07:00
Trevin Chow 1995e3d790 chore(claude-permissions-optimizer)!: remove skill (#578) 2026-04-16 16:46:29 -07:00
Kieran Klaassen 070092d997 feat(ce-polish-beta): human-in-the-loop polish phase between /ce:review and merge (#568)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 17:55:10 -05:00
Trevin Chow 3d96c0f074 fix(ce-plan, ce-brainstorm): reliable interactive handoff menus (#575) 2026-04-16 12:04:19 -07:00
alexph-dev ed778e62f1 fix(converters): preserve Codex config on no-MCP install (#564) 2026-04-15 10:06:42 -07:00
alexph-dev ee8e402897 fix(converters): preserve Codex agent sidecar scripts (#563) 2026-04-15 10:06:26 -07:00
Trevin Chow b979143ad0 feat(ce-demo-reel): add demo reel skill with Python capture pipeline (#541)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 21:29:51 -07:00
Trevin Chow bb59547a2e feat(ce-work): reduce token usage by extracting late-sequence references (#540)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 12:48:21 -07:00
Trevin Chow 31b0686c2e feat(ce-work-beta): add beta Codex delegation mode (#476)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 00:29:12 -07:00
Martin Kessler 2c05c43dc8 fix(openclaw): use sync plugin registration (#498)
Co-authored-by: Niemand Assistant <niemand@kessler.io>
2026-04-08 14:13:43 -07:00
Trevin Chow 3208ec71f8 feat(session-historian): cross-platform session history agent and /ce-sessions skill (#534)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 07:52:26 -07:00
Trevin Chow d37f0ed16f feat(ce-update): add plugin version check skill and ce_platforms filtering (#532)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 00:09:02 -07:00
Trevin Chow bdeb7935fc fix(ce-brainstorm): reduce token cost by extracting late-sequence content (#511)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 11:25:12 -07:00
David Torres 6dcb4a3c55 fix(converters): remove invalid tools/infer from Copilot agent frontmatter (#493) 2026-04-02 13:23:40 -07:00
Trevin Chow fd562a0d02 feat(ce-plan): reduce token usage by extracting conditional references (#489)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 01:55:53 -07:00
Trevin Chow 577db53a2d fix(converters): OpenCode subagent model and FQ agent name resolution (#483)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 16:45:07 -07:00
Trevin Chow c65a698d93 fix(converters): preserve user config when writing MCP servers (#479)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 11:46:57 -07:00
Octopus e372b43d30 feat(model): add MiniMax provider prefix for cross-platform model normalization (#463) 2026-03-31 00:22:50 -07:00
Trevin Chow 638b38abd2 fix(review): harden ce-review base resolution (#452) 2026-03-30 01:10:45 -07:00
Trevin Chow f93d10cf60 feat(converters): centralize model field normalization across targets (#442)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 13:08:35 -07:00
Trevin Chow 35678b8add feat(testing): close the testing gap in ce:work, ce:plan, and testing-reviewer (#438)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 13:07:05 -07:00
Trevin Chow 9caaf071d9 feat(review): make review mandatory across pipeline skills (#433)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 20:31:03 -07:00
Trevin Chow 3706a9764b feat(ce-review): add headless mode for programmatic callers (#430)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 16:09:21 -07:00
Trevin Chow 914f9b0d98 feat(ce-review): add base: and plan: arguments, extract scope detection (#405)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 07:59:54 -07:00
Trevin Chow da390a65a2 refactor: merge deepen-plan into ce:plan as automatic confidence check (#404) 2026-03-26 22:15:58 -07:00
Trevin Chow b25480af9e fix: sanitize colons in skill/agent names for Windows path compatibility (#398) 2026-03-26 16:15:48 -07:00
Trevin Chow 0877b693ce fix: add strict YAML validation for plugin frontmatter (#399) 2026-03-26 14:07:28 -07:00
Trevin Chow daddb7d72f fix: consolidate compound-docs into ce-compound skill (#390) 2026-03-26 11:41:19 -07:00
Trevin Chow e09a7426be feat: add branch-based plugin install for worktree workflows (#395) 2026-03-26 11:01:56 -07:00
thefutureisw0rk f819e435a5 fix: one-step codex installs by preferring bundled plugins (#383)
Co-authored-by: The Future is Work <future@Thes-Mac-Studio.local>
2026-03-25 21:39:45 -07:00
Trevin Chow 8ebc77b8e6 fix: guard CONTEXTUAL_RISK_FLAGS lookup against prototype pollution (#377) 2026-03-25 14:17:39 -07:00