feat(protocol): extend Evidentiary Discipline to Plan and Review stages#7
Open
d-wwei wants to merge 2 commits into
Open
feat(protocol): extend Evidentiary Discipline to Plan and Review stages#7d-wwei wants to merge 2 commits into
d-wwei wants to merge 2 commits into
Conversation
Reviewed 13-section spec for Plan Agent orchestration architecture.
Fixed 3 blocking issues (P0) and 4 important issues (P1):
- P0-1: Rename orchestration daemon CLI to `apex orch` (avoid collision
with existing `apex daemon` for Dashboard launchd)
- P0-2: Define spawnUnblockedTasks — daemon spawns via `apex worker spawn`
CLI, reads meta.json for WindowHandle tracking
- P0-3: Clarify Section 6.2 (agentStartCommand) is in-scope, narrow
Section 13 未覆盖 list accordingly
- P1-1: Replace broken autoIntegrate shell script with temporary worktree
- P1-2: Add autoMerge definition (git merge --ff after integrate passes)
- P1-3: Fix lock file TOCTOU with atomic writeFileSync({flag:'wx'})
- P1-4: Specify daemon as M&C exit condition detector
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add evidence tagging ([已验证]/[假设]) hard gates to Plan and Review stages, matching the pattern already enforced in Brainstorm. Each stage gets stage-specific violation types: - Plan: file existence claims, API capability claims, approach feasibility, dependency availability — all must be verified or tagged [假设] - Review: "not an issue" dismissals, behavioral claims, edge case assumptions, security claims — all must be verified or tagged [假设] Exit gate substance prompts added: - Plan Q3: decisions' rationale tagged with evidence basis - Plan Q4: file manifest paths verified against actual codebase - Review Q3: dismissals backed by [已验证] evidence - Review Q4: behavioral claims verified with file:line evidence Requirements: docs/brainstorms/evidentiary-discipline-expansion-requirements.md Plan: docs/plans/evidentiary-discipline-expansion-plan.md Review: docs/reviews/evidentiary-discipline-expansion-review.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changed Files
skill/stages/plan.md— EVIDENTIARY DISCIPLINE block + Q3/Q4 exit gate promptsskill/stages/review.md— EVIDENTIARY DISCIPLINE block + Q3/Q4 exit gate promptsdocs/— Requirements, plan, review artifactsTest plan
🤖 Generated with Claude Code