Skip to content

docs(agents): add T2 plan review and engineering-workflow suggestion - #15

Merged
daniel-tsx merged 1 commit into
mainfrom
docs/t2-plan-review
Oct 26, 2026
Merged

daniel-tsx merged 1 commit into
mainfrom
docs/t2-plan-review

Conversation

@daniel-tsx

Copy link
Copy Markdown
Owner

What and why

Close the one gap in the normal T2 flow: design errors were only caught after code existed, because codex-review reviewed code, not plans. T2 changes to schema, money semantics, locking or idempotency now get a plan of at most 200 lines, a codex-review design review and the user's approval before implementation. Large T2 tasks (several checkpoints, a migration plus runtime changes, or likely interruption) get a one-line recommendation to use engineering-workflow, and the agent asks first instead of starting it.

Review guide

  • Read carefully: the two new sentences at the end of the Planning bullet in AGENTS.md (the only change). Check that the trigger conditions are narrow enough that ordinary T2 tasks are not asked every time.
  • Skim: nothing else changed.
  • Least confident about: whether "money semantics" is clear enough for agents to classify consistently; it will show up in the first real T2 tasks.
  • Tests removed, weakened or skipped: none.

Task size

T0: rule wording in AGENTS.md; no code, no T2 paths (Review signals: no T2-area files).

Checks

Result Command Scope / notes
PASS git diff --check one-line change
PASS node scripts/check-engineering-workflow.mjs local skills unchanged and mirrored
PASS node scripts/sync-agent-skills.mjs --check vendored skills unchanged
PASS node scripts/check-pr-review-signals.mjs origin/main HEAD no T2-area or guard files
NOT RUN hosted CI runs on this PR

Unverified boundaries

Agent behavior under the new rule is untested until the next T2 task that changes schema, money semantics, locking or idempotency.

Review

T0: author re-read the diff.

Docs and temporary files

AGENTS.md is the owning document. Local .tmp/t2-plan-review/ (worktree and transfer bundle) stays until merge.


Generated by Claude Code

- T2 changes to schema, money semantics, locking or idempotency get a
  plan of at most 200 lines, a codex-review design review and the
  user's approval before implementation, so design errors surface
  before code is written.
- For T2 tasks spanning several checkpoints, combining a migration with
  runtime changes, or likely to be interrupted, the agent recommends
  engineering-workflow in one line and asks; it never starts it alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015v69WpyGF25M7eMDxFThpE
@daniel-tsx
daniel-tsx merged commit f623df0 into main Oct 26, 2026
5 checks passed
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