Skip to content

feat(protocol): Ship Step 6a file-based enforcement#9

Open
d-wwei wants to merge 2 commits into
masterfrom
feat/ship-6a-enforcement
Open

feat(protocol): Ship Step 6a file-based enforcement#9
d-wwei wants to merge 2 commits into
masterfrom
feat/ship-6a-enforcement

Conversation

@d-wwei

@d-wwei d-wwei commented Apr 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Convert iteration summary compliance from flow check to file-based enforcement
  • Step 6a writes .apex/iteration-summary.md, Step 6b checks file exists before push prompt
  • Exit Gate S8 verifies file + section scan (replaces unreliable conversation flow check)
  • Follows Push > Pull pattern: block the action until prerequisite artifact exists

Test plan

  • Diff review: 4 edits in ship.md, all self-contained
  • Enforcement chain: 6a writes → 6b checks → S8 verifies
  • Cleanup in Completion section
  • CI passes

🤖 Generated with Claude Code

d-wwei and others added 2 commits April 14, 2026 23:29
…meline

Dashboard adaptation for Plan Agent architecture:

- types/state.ts: add orchestration_events to SessionPipeline
- event-log.ts: handle orchestration.event in materializePerSession,
  pass orchestration_events through to pipeline payload
- cli.ts: re-register orch subcommand (lost in branch switch)
- frontend/app.js: detect orchestrate: prefix sessions, render with
  ORCH_STAGES circles in purple, show event timeline with action icons
- frontend/styles.css: .orch .active/.completed purple theme,
  .orch-session border, .orch-timeline layout, .orch-event styling

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…mary

Convert iteration summary compliance from a flow check (unreliable — sub-agents
can't verify conversation history) to a file check (reliable — file exists or not).

- Step 6a: write summary to .apex/iteration-summary.md after outputting to user
- Step 6b: pre-condition checks file exists before issuing push prompt
- Exit Gate S8: verify file existence + section scan (replaces flow check)
- Completion: cleanup removes temp artifacts

Follows Push > Pull enforcement pattern — blocks the action (push) until the
prerequisite (summary file) exists, rather than relying on agent compliance.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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