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>
- 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>
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>
- 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>
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>
- 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
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.
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.
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.
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>
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>
- 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>
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>