Commit Graph

515 Commits

Author SHA1 Message Date
Trevin Chow 267a3fd8bf Address PR review feedback (#721)
- Forward parsed review target (PR number/URL/branch) from
  $ARGUMENTS to the harness's built-in code review in the Quick
  Review Short-Circuit. Without forwarding, callers like
  `ce-code-review quick 123` would silently review the current
  branch instead of PR 123. Each per-harness sub-bullet now shows
  the target-present syntax and the bare-call fallback. Exemption
  (no built-in -> Tier 2) and programmatic-caller bypass unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 12:11:10 -07:00
Trevin Chow ab2e6c956a feat(ce-work): add Claude-Code-only Simplify step before code review
Phase 3 now has a required Simplify pass at step 2 (renumbering Code
Review to step 3, Residual Work Gate to 4, Final Validation to 5,
Prepare Operational Validation Plan to 6). The pass is scoped to
Claude Code (where /simplify exists as a unique skill) and triggers
for changes of >=30 changed lines, with a carve-out for purely
mechanical diffs (formatting, dep bumps, lint fixes, generated
artifacts) where simplification has no useful yield.

Running /simplify before code review yields a smaller, cleaner diff
for the reviewer. After implementation has landed, this
bigger-picture pass typically yields more than the incremental
"Simplify as You Go" cleanups during Phase 2; both passes coexist
intentionally.

Mirrored to ce-work-beta. Updated the Phase 4 "see Phase 3 Step 5"
cross-reference to step 6, and updated tests/pipeline-review-contract
to assert the new positions plus the Claude-Code-only scope.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 11:56:06 -07:00
Trevin Chow 2e7e22a952 Address PR review feedback (#721)
- Add Tier 1 capability fallback: when the harness has no built-in
  code review command or skill, escalate to Tier 2 because Tier 1
  cannot run. Preserves the "Every change gets reviewed" invariant
  and mirrors the "no built-in code review exists" exemption in
  ce-code-review's Quick Review Short-Circuit.

Applied to Phase 3 Step 2 and the bottom Code Review Tiers summary
in both ce-work and ce-work-beta shipping-workflow.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 09:56:07 -07:00
Trevin Chow c25631aa11 feat(ce-code-review): add quick review short-circuit
When $ARGUMENTS indicates the user wants a quick, fast, or light
code review, redirect to the harness's built-in code review tool
(/review in Claude Code; equivalent on Gemini and other harnesses)
instead of dispatching the multi-agent flow. If the harness has no
built-in code review tool, fall through to the full multi-agent
review (Tier 2). Programmatic callers (mode:autofix, mode:report-only,
mode:headless) bypass the short-circuit -- their orchestrator owns
user-facing routing.

The agent announces the chosen path before doing work so the user
sees which review is running.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 01:06:58 -07:00
Trevin Chow 5ad05f323b fix(ce-work): switch shipping code review to risk-based tiering
Replace the four-criteria purity gate (purely additive, single
concern, pattern-following, plan-faithful) with risk-based
escalation. Default to Tier 1 -- harness-native code review (e.g.
/review in Claude Code). Escalate to Tier 2 (ce-code-review) only
on concrete signals: sensitive surface (auth, payments, migrations,
crypto/secrets, security config, public APIs, dependency manifests),
large+diffuse change (>=400 changed lines AND >3 directories or 2
subsystems), very large change (>=1,000 lines), or an explicit
plan/task request. The old gate over-routed low-risk changes into
the expensive multi-agent review.

Mirrored to ce-work-beta. Also renamed the Phase 3-4 heading from
"Quality Check and Ship It" to "Quality Check and Finishing Work"
(the phase doesn't strictly ship anything).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 01:06:48 -07:00
github-actions[bot] e5b397c9d1 chore: release main (#719)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-28 21:53:53 -07:00
Trevin Chow 09fa18bcc1 fix(ce-code-review): comment-gate previous-comments persona to skip empty PRs (#720)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 21:53:03 -07:00
Trevin Chow 5ac1a063a9 fix(ce-code-review): mandate walkthrough.md load on walk-through entry (#718) 2026-04-28 20:39:20 -07:00
github-actions[bot] 3803e8ab3d chore: release main (#717)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-28 13:11:22 -07:00
Trevin Chow d69a772bb8 fix(review): queue reviewers when subagent slots fill (#716) 2026-04-28 13:01:10 -07:00
github-actions[bot] 48e83d9340 chore: release main (#703)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-28 12:44:22 -07:00
Matt Van Horn 0c515c06fe fix(ce-plan): inline post-generation menu routing so option 1 actually starts /ce-work (#715)
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
2026-04-28 10:33:11 -07:00
Trevin Chow 9751d1a30a fix(ce-code-review): restate model override at dispatch point (#681) 2026-04-28 01:11:29 -07:00
Trevin Chow e806522caa fix(ce-compound-refresh): check inbound links before deletion (#713) 2026-04-28 01:08:06 -07:00
Trevin Chow 1f0a77bcc1 fix(skills): replace shell antipatterns blocked by permission check (#711)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 00:14:27 -07:00
Trevin Chow 41e7f72ab6 feat(ce-brainstorm,ce-plan): surface agent's scope synthesis before doc-write (#705)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 20:34:30 -07:00
Trevin Chow cd2fc67c3f fix(commit-push-pr): branch from fresh remote base to prevent stale-base contamination (#708)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 16:39:17 -07:00
Trevin Chow 4b5f28da97 fix(ce-work-beta): defer model and reasoning effort to Codex config (#704)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 21:32:13 -07:00
Trevin Chow dd080943e0 fix(ce-doc-review): tighten suggested_fix and why_it_matters rules (#702) 2026-04-26 14:39:01 -07:00
github-actions[bot] 179612039e chore: release main (#684)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-26 14:23:32 -07:00
Trevin Chow 5952b20d7f fix(skills): replace case statements blocked by permission check (#701)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 14:22:20 -07:00
Trevin Chow e8c118e28f refactor(ce-commit-push-pr): merge ce-pr-description into ce-commit-push-pr (#700)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 02:23:59 -07:00
Trevin Chow a91270ccd2 fix(session-historian): cap deep-dives, add keyword filter primitive, tighten dispatch (#699)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 23:37:30 -07:00
Trevin Chow 053c1db255 fix(ce-work): codify worktree isolation for parallel subagent dispatch (#698) 2026-04-25 23:22:49 -07:00
Trevin Chow 7eea2d1cfe feat(ce-compound): add frontmatter parser-safety validator (#697) 2026-04-25 21:37:57 -07:00
Trevin Chow ad9577e732 fix(ce-code-review): tighten autofix_class rubric for safe_auto/gated_auto boundary (#695)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 21:03:43 -07:00
Trevin Chow bd72818609 fix(ce-resolve-pr-feedback): add declined verdict for harmful suggestions (#694)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 20:04:39 -07:00
Trevin Chow e21156eeb7 fix(ce-debug): default to commit-and-PR and tighten learning offer (#693) 2026-04-25 19:27:09 -07:00
Trevin Chow 50bf65e88c fix(ce-doc-review): rename LFG path to best-judgment to avoid /lfg collision (#691)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 19:04:31 -07:00
Trevin Chow f30404e57b fix(ce-demo-reel): wait for network idle and reject blank frames (#692) 2026-04-25 18:59:40 -07:00
Trevin Chow 85e9a2073b fix(ce-code-review): move run artifacts from .context/ to /tmp per AGENTS.md (#690)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 18:19:40 -07:00
Trevin Chow 9ba41a14ca fix(ce-code-review): replace LFG with best-judgment auto-resolve (#685)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 18:12:09 -07:00
Trevin Chow 1284290af2 fix(ce-debug): delegate commit/PR and add branch check (#683) 2026-04-24 20:54:06 -07:00
github-actions[bot] ea8721eb21 chore: release main (#680)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-24 15:16:49 -07:00
Trevin Chow 304a975d02 feat(ce-brainstorm): probe rigor gaps with prose before Phase 2 (#677)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 15:13:35 -07:00
Trevin Chow bc8ae1a6b5 fix(main): recover version drift, fix stale test, document learnings (#678)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 15:07:49 -07:00
Kieran Klaassen 47350c3e4e fix(ce-test-browser): skip headed/headless question in pipeline mode
Agents spawned from LFG were blocking forever at the AskUserQuestion
prompt with no user present to respond. In mode:pipeline, default to
headless and skip step 2 entirely.

Bump 3.0.6 -> 3.0.7

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 13:17:07 -07:00
Kieran Klaassen 22d493b192 feat(ce-test-browser): gate port scan and auto-start on pipeline mode
- Port scan (find_free_port) only runs when PIPELINE_MODE=1
- Dev server auto-start only runs in pipeline mode; manual invocations
  print a help message and stop
- LFG step 6 now passes mode:pipeline to ce-test-browser so parallel
  agents claim non-colliding ports automatically
- Bump version 3.0.5 -> 3.0.6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 12:59:50 -07:00
Kieran Klaassen f8720da3d1 feat(ce-test-browser): free-port scan and auto-server start
- Always verify preferred port is free; scan upward until finding one
- Auto-start dev server (bin/dev / rails server / npm run dev) on the
  claimed port if nothing is listening — no more "please start your server"
- Pass PORT= explicitly so parallel agents on the same machine never
  collide on 3000

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 12:56:31 -07:00
Kieran Klaassen 1f20c3842d feat(lfg): add ce-commit-push-pr step and remove ralph-loop
- Add ce-commit-push-pr as step 7 so LFG ends with a pushed branch and open PR
- Remove optional ralph-loop step (step 1) -- simplifies the pipeline
- Renumber all steps and fix cross-references accordingly
- Bump version 3.0.3 -> 3.0.4

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 12:18:26 -07:00
github-actions[bot] bc3709fc53 chore: release main (#675)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-24 07:24:56 -07:00
Trevin Chow f0433d9150 fix(ce-ideate): sharpen bug intent, surprise-me dispatch, and drop authoring refs (#672) 2026-04-24 02:21:21 -07:00
github-actions[bot] 6b5da46ccd chore: release main (#661)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-24 02:06:18 -07:00
Trevin Chow 6514b1fce5 feat(ce-ideate): subject gate, surprise-me, and warrant contract (#671)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 02:04:21 -07:00
Trevin Chow 494313e8eb fix(ce-brainstorm): enforce Interaction Rules in universal flow (#669) 2026-04-23 23:56:35 -07:00
Trevin Chow c33bf70f46 fix(skills): plan is a decision artifact; progress comes from git (#666) 2026-04-23 23:12:12 -07:00
Trevin Chow 9ddcd22aee fix(ce-demo-reel): prevent secrets in recorded demos (#664)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 21:52:52 -07:00
Trevin Chow 75cf4d603d feat(ce-commit-push-pr): skip evidence prompt when judgment allows (#663) 2026-04-23 16:59:53 -07:00
Trevin Chow 351d12ec5b fix(ce-update): compare against main plugin.json, not release tags (#660) 2026-04-23 14:36:58 -07:00
github-actions[bot] 5e6ec41b95 chore: release main (#657)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-22 20:15:57 -07:00