Skip to content

chore(ce-work-beta): remove beta Codex-delegation skill#1013

Merged
tmchow merged 3 commits into
mainfrom
tmchow/ce-work-beta-removal
Jun 26, 2026
Merged

chore(ce-work-beta): remove beta Codex-delegation skill#1013
tmchow merged 3 commits into
mainfrom
tmchow/ce-work-beta-removal

Conversation

@tmchow

@tmchow tmchow commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

Retires the experimental ce-work-beta skill — a beta, manually-invoked Codex external-delegation mode. It never left beta, carried disable-model-invocation, and had no downstream handoffs; keeping its shell-out orchestration correct as ce-work evolved cost more than the experiment returned. This ends the experiment rather than promoting it to stable.

What changes

  • The skill and its reference files are gone, along with the now-moot promotion checklist.
  • Upgrading installs will still sweep any leftover ce-work-beta artifacts: the name is added to STALE_SKILL_DIRS and the legacy-artifacts skills list, and loadLegacyFingerprints now seeds a prompt fingerprint from the historical-alias map when a prompt's mapped skill no longer ships.
  • The Codex token-economics learnings survive: codex-delegation-best-practices.md is reframed as a standalone retrospective. The skill-specific promotion checklist is removed.

Why the cleanup fallback

Codex prompt-wrapper cleanup is description-gated — the prompts directory is shared across plugins, so a name-only match would risk deleting another plugin's file. That fingerprint was sourced from the live skill's description, so deleting the skill silently stopped the orphaned wrapper from ever matching. The new fallback mirrors the existing LEGACY_ONLY_SKILL_DESCRIPTIONS / LEGACY_ONLY_AGENT_DESCRIPTIONS pattern for retired skills and agents, which had no prompt equivalent until now. Skill directory cleanup is unaffected — it matches by name, which is safe inside the plugin-owned skills tree.

Scope

Historical docs/plans/, docs/brainstorms/, and CHANGELOG.md entries that mention ce-work-beta are intentionally left untouched — version control holds that history.

Test plan

  • bun test: 1564 pass, 0 fail. The prompt-fingerprint fallback is covered by the existing legacy-cleanup regression that asserts a stale ce-work-beta.md wrapper is swept.
  • bun run release:validate: in sync at 0 agents, 26 skills, 0 MCP servers.

Post-Deploy Monitoring & Validation

No additional operational monitoring required — this is plugin/CLI source with no runtime service. Behavior is proven by the test suite and release:validate, and the cleanup-registry behavior is exercised by the legacy-cleanup tests. On the next plugin release, upgrading installs sweep stale ce-work-beta skill dirs and Codex prompt wrappers via the registries.


Compound Engineering
Claude Code

The experimental Codex external-delegation skill (beta,
disable-model-invocation, manually invoked, no downstream handoffs) is
retired -- ongoing maintenance of the shell-out path outweighed its
value, so the experiment ends rather than graduating to stable.

- Delete skills/ce-work-beta/ and the now-moot promotion checklist
- Add ce-work-beta to STALE_SKILL_DIRS and the legacy-artifacts skills
  list so upgrades sweep stale flat installs
- Add a retired-skill prompt-fingerprint fallback in
  loadLegacyFingerprints so the orphaned Codex prompt wrapper is still
  swept once the skill stops shipping (description-gated; the prompts
  dir is cross-plugin)
- Update README inventory (27 -> 26 skills) and the release-metadata
  test count; drop/relocate ce-work-beta test coverage
- Decouple codex-delegation-best-practices.md into a standalone
  retrospective, keeping the token-economics learnings

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d11af3b3e9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/utils/legacy-cleanup.ts
Comment thread src/utils/legacy-cleanup.ts
- Add ce-work-beta to LEGACY_ONLY_SKILL_DESCRIPTIONS so the retired skill
  dir is still swept on upgrade -- without a fingerprint, skills.get was
  undefined and isLegacyPluginOwned returned false before deleting
- Add the last-shipped ce-work-beta description to
  LEGACY_PROMPT_DESCRIPTION_ALIASES so a prompt wrapper generated from the
  final live skill isn't misclassified as foreign and left behind
- Add regression tests for both retired-artifact sweep paths

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1b62cab7af

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/data/plugin-legacy-artifacts.ts
Add ce:work-beta to EXTRA_LEGACY_ARTIFACTS_BY_PLUGIN.commands so the
retired Codex slash-prompt wrapper (~/.codex/prompts/ce-work-beta.md) is
enumerated by getLegacyCodexArtifacts. Flat installs without an install
manifest use that enumeration, not the test-only cleanupStalePrompts
helper, so the prior fingerprint/alias fixes (which gate ownership) were
never consulted for the prompt wrapper without this entry.

- Regression test: assert ce-work-beta skill and ce-work-beta.md prompt
  both appear in the Codex legacy-artifacts enumeration
@tmchow tmchow merged commit ac66926 into main Jun 26, 2026
2 checks passed
tmchow added a commit that referenced this pull request Jun 26, 2026
#1013 deleted the ce-work-beta skill entirely. During the rebase its modify/delete
conflicts were resolved by accepting the deletion, and the pure ce-work-beta port
commit was dropped. Remove the now-dangling ce-work-beta read + assertions from the
unified-plan contract test (renamed to 'ce-work is readiness-aware').
tmchow added a commit that referenced this pull request Jun 26, 2026
#1013 deleted the ce-work-beta skill entirely. During the rebase its modify/delete
conflicts were resolved by accepting the deletion, and the pure ce-work-beta port
commit was dropped. Remove the now-dangling ce-work-beta read + assertions from the
unified-plan contract test (renamed to 'ce-work is readiness-aware').
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant