Commit Graph

103 Commits

Author SHA1 Message Date
Trevin Chow 1d92821d02 Revert "refactor(ce-work-beta): rename delegate:codex to mode:codex"
This reverts commit 4c5da217588da4d19cf267b06a63fd2ed13b699f.
2026-04-08 14:14:24 -07:00
Trevin Chow 763bcf819b refactor(ce-work-beta): rename delegate:codex to mode:codex
Shorter, more natural. Users think in terms of "codex mode" not
"delegate to codex." The mode: prefix is generic enough for future
delegates. Deactivation becomes mode:local.

Fuzzy activation phrases unchanged (use codex, codex mode, etc.).

Updated across: SKILL.md, contract tests, requirements, and plan docs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 14:14:24 -07:00
Trevin Chow cad749e202 refactor(ce-work-beta): normalize settings to work_delegate_* namespace
Renames for consistency across all delegation settings:
- work_codex_consent  -> work_delegate_consent
- work_codex_sandbox  -> work_delegate_sandbox
- work_delegation_decision -> work_delegate_decision

All four settings now share the work_delegate_* prefix:
  work_delegate, work_delegate_consent,
  work_delegate_sandbox, work_delegate_decision

Updated across: SKILL.md, delegation workflow reference, example
local.md, best practices doc, requirements, plan, and contract tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 14:14:24 -07:00
Trevin Chow 06ed99418f docs(ce-work-beta): expand Token Economics section with full eval data
Adds actual token counts from all iterations (not just percentages),
wall clock time comparison, test coverage cost, and the iteration
evolution table showing the body-size regression and recovery. The
economics section now tells the complete story with raw numbers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 14:14:24 -07:00
Trevin Chow 2d9d1efeb5 docs(ce-work-beta): rename to Codex Delegation Best Practices
The doc covers economics, architecture, prompt engineering, plan quality,
safety model, and user choice — not just economics.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 14:14:24 -07:00
Trevin Chow 4c3337fb25 docs(ce-work-beta): explain delegated verify + circuit breaker safety net
Expands the "delegate verify to Codex" pattern with the reasoning:
trust the delegate's self-report, protect against systematic failure
with the circuit breaker (3 consecutive failures -> standard mode),
and verify the whole at Phase 3 before shipping. Three layered catches
replace the redundant per-batch orchestrator verification.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 14:14:24 -07:00
Trevin Chow f1e2508751 docs(ce-work-beta): add plan quality section to delegation economics
Documents how plan structure directly enables delegation decisions —
file lists enable batching rules, test scenarios feed Codex prompts,
verification commands enable Codex's self-check loop. Delegation works
with unstructured plans but makes conservative choices without signals.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 14:14:24 -07:00
Trevin Chow dc759b0d92 docs(ce-work-beta): document Codex delegation orchestration economics
Compounded learning from 6 iterations of delegation evals covering
token crossover points, batching strategy, prompt engineering, skill
body size as multiplicative cost driver, and user choice considerations.

Key findings: delegation breaks even at ~5-7 units and becomes cheaper
at 10+. Skill body size dominates cost (multiplicative across all tool
calls). Extract conditional content >50 lines to reference files.

Also fixes verify section line break in contract test assertion.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 14:14:24 -07:00
Trevin Chow 08dc22b9f1 fix(ce-work-beta): keep codex delegation beta-only
Restore stable ce:work as the non-delegating execution path during the
Codex beta rollout and move the active delegation contract back to
ce:work-beta.

Also add a promotion checklist doc covering the workflow and contract
changes required when ce:work-beta is later promoted to stable.
2026-04-08 14:14:24 -07:00
Trevin Chow 5997c26fda feat(ce-work): add Codex delegation mode for plan execution
Adds optional `delegate:codex` mode to ce:work that delegates code
implementation to the Codex CLI (`codex exec`) using concrete bash
templates. Replaces ce-work-beta's prose-based delegation which caused
non-deterministic CLI invocations.

Key additions:
- Argument parsing with `delegate:codex`/`delegate:local` tokens and
  resolution chain (argument > local.md > default off)
- Pre-delegation gates: environment guard, availability check, one-time
  consent flow with sandbox mode selection (yolo/full-auto)
- XML-tagged prompt template following gpt-5-4-prompting best practices
- Multi-signal result classification (CLI fail/task fail/partial/verify
  fail/success) with rollback-to-HEAD safety
- Circuit breaker: 3 consecutive failures -> standard mode fallback
- Serial execution enforced, swarm mode mutual exclusion
- Frontend Design Guidance ported from ce-work-beta
- ce-work-beta delegation section marked superseded
- `Execution target: external-delegate` removed from ce:plan

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 14:14:24 -07:00
Trevin Chow 320a045241 feat(ce-plan,ce-brainstorm): universal planning and brainstorming for non-software tasks (#519)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 23:53:13 -07:00
Trevin Chow b3960ec64b feat(slack-researcher): add Slack organizational context research agent (#495)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 18:39:25 -07:00
Trevin Chow 4fdbdc4ac3 docs(skill-design): document research agent pipeline separation and refresh stale refs (#510)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 11:20:44 -07:00
Trevin Chow 7b8265bd81 feat(resolve-pr-feedback): add cross-invocation cluster analysis (#480)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 12:15:25 -07:00
Trevin Chow c56c7667df feat(cli-readiness-reviewer): add conditional review persona for CLI agent readiness (#471)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 19:19:54 -07:00
Trevin Chow 9bf3b07185 fix(ce-compound): require question tool for "What's next?" prompt (#460)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 16:25:26 -07:00
Trevin Chow 44e3e77dc0 feat(git-commit-push-pr): add conditional visual aids to PR descriptions (#444)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 14:13:25 -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 a301a08205 feat(resolve-pr-feedback): add gated feedback clustering to detect systemic issues (#441)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 12:40:55 -07:00
Trevin Chow 4c7f51f35b feat(ce-plan): add conditional visual aids to plan documents (#440)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 12:18:31 -07:00
Trevin Chow 1f499482bc fix(git-commit-push-pr): quiet expected no-pr gh exit (#439) 2026-03-29 11:45:27 -07:00
Trevin Chow bd02ca7df0 feat(ce-brainstorm): add conditional visual aids to requirements documents (#437)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 11:13:19 -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 f83305e22a fix: harden git workflow skills with better state handling (#406)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 01:04: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 5e6cd5c909 feat: add adversarial review agents for code and documents (#403) 2026-03-26 20:34:49 -07:00
Trevin Chow b30288c44e feat: add project-standards-reviewer as always-on ce:review persona (#402) 2026-03-26 19:20:15 -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 1bd63c2c89 fix: consolidate local dev README and fix shell aliases (#396) 2026-03-26 12:34:55 -07:00
Trevin Chow 13aa3fa846 feat: add CLI agent-readiness reviewer and principles guide (#391) 2026-03-26 12:24:54 -07:00
Trevin Chow e09a7426be feat: add branch-based plugin install for worktree workflows (#395) 2026-03-26 11:01:56 -07:00
Trevin Chow 27b9831084 feat: add new onboarding skill to create onboarding guide for repo (#384) 2026-03-25 21:30:09 -07:00
Trevin Chow 7c5ff445e3 feat: promote ce:review-beta to stable ce:review (#371) 2026-03-24 21:00:38 -07:00
Trevin Chow 2612ed6b3d feat: rationalize todo skill names and optimize skills (#368) 2026-03-24 18:35:09 -07:00
Trevin Chow 169996a75e feat: promote ce:plan-beta and deepen-plan-beta to stable (#355) 2026-03-24 10:18:14 -07:00
Trevin Chow 65e5621dbe refactor: consolidate todo storage under .context/compound-engineering/todos/ (#361) 2026-03-24 09:54:30 -07:00
Trevin Chow 18d22afde2 feat: redesign document-review skill with persona-based review (#359) 2026-03-24 01:51:22 -07:00
Trevin Chow e932276866 feat: add ce:review-beta with structured persona pipeline (#348) 2026-03-23 21:49:04 -07:00
Trevin Chow 4aa50e1bad feat: improve feature-video skill with GitHub native video upload (#344) 2026-03-22 21:27:59 -07:00
Trevin Chow 423e692726 feat: rewrite frontend-design skill with layered architecture and visual verification (#343) 2026-03-22 18:55:58 -07:00
Trevin Chow 0e6c8e8221 docs: refresh stale target list and release component references (#339) 2026-03-22 11:19:59 -07:00
Trevin Chow 5c1452d4cc feat: integrate claude code auto memory as supplementary data source for ce:compound and ce:compound-refresh (#311) 2026-03-18 11:55:19 -07:00
Trevin Chow eaaba1928b feat: add claude-permissions-optimizer skill (#298) 2026-03-18 01:18:27 -07:00
Trevin Chow 78971c9027 fix: make GitHub releases canonical for release-please (#295) 2026-03-17 18:40:51 -07:00
Trevin Chow f508a3f759 docs: capture release automation learning (#294) 2026-03-17 18:11:15 -07:00
Trevin Chow f47f829d81 feat: migrate repo releases to manual release-please (#293) 2026-03-17 17:58:13 -07:00
Trevin Chow a83e11e982 fix: review fixes — stale refs, skill counts, and validation guidance
- Fix -plan.md → -beta-plan.md in ce:plan-beta post-generation question
- Remove stale brainstorm doc reference from solutions doc
- Update plugin.json and marketplace.json skill counts (42 → 44)
- Add generic beta skill validation guidance to AGENTS.md and solutions doc
2026-03-17 10:39:02 -07:00
Trevin Chow 72d4b0dfd2 fix: add disable-model-invocation to beta skills and refine descriptions
Beta skills now use disable-model-invocation: true to prevent accidental
auto-triggering. Descriptions written as future stable descriptions with
[BETA] prefix for clean promotion. Updated solutions doc and AGENTS.md
promotion checklist to include removing the field.
2026-03-17 10:33:01 -07:00
Trevin Chow 7a81cd1aba docs: add beta skills framework pattern for parallel -beta suffix skills 2026-03-17 10:33:01 -07:00