- The code is wrong: Requirements did not change, but the implementation misses confirmed acceptance criteria;
- Requirements changed: Product adjusts user-visible behavior, thresholds, or edge cases;
- Manual edits happened mid-flight: Someone edited docs or code directly during Build, Verify, or pre-Archive;
- A new out-of-scope idea surfaced: Unrelated to the current change and able to ship separately.
session-timeout) to walk through each stage.

Classify the change first
The rule of thumb is straightforward: did user-visible behavior or acceptance criteria change?During Shape: add or adjust freely
Before Shape is confirmed, no application code has been written yet, so you can refine or rethink freely:- The Agent updates goals, scope, decisions, and acceptance criteria in
brief.md, along with target Specs (anddelta.yamlwhen linked to an existing capability); - If new details introduce ambiguity, the Agent asks focused questions on the new gaps;
- If you decide to unlink an existing capability, tell the Agent “Disassociate this capability”—the Agent disassociates it through the Runtime and re-prepares Shape in the background; do not delete
capability-association.yamlmanually; - The workflow will not enter Build until you explicitly confirm the complete Shape.
During Build: requirements change mid-implementation
Suppose halfway through Build, stakeholders add a new requirement: “When a user signs out, invalidate all sessions for that account on other devices immediately.” Because this changes user-visible behavior, it is a requirement change:- State the change in chat: Describe the added or modified behavior directly.
- Return to Shape to update docs: The Agent pauses coding, returns to Shape in the background, and updates
brief.md, target Specs, and acceptance criteria. - Preserve existing code: Code already written in the workspace is never discarded—it stays intact for the next Build round.
- Review the diff, then reconfirm: The Agent summarizes added, removed, and changed behaviors relative to the last approved plan—plus what stays valid and what needs rework—before presenting the complete updated Shape. Build resumes only after you confirm.
During Verify: code fix vs. requirement change
1. Code falls short: implementation revision
Suppose round 1 of Verify finds the timeout is still 60 minutes while the confirmed criterion requires 30 minutes. Requirements did not change—only the code has a defect:- When the Verifier submits
failbelow the failure limit, the Runtime automatically sends the failed items back to Build; - If Verify already passed and you spot an implementation detail to refine during review, tell the Agent “Requirements are unchanged; polish this implementation detail”, and the Agent calls
--revise-implementationin the background to return to Build:
2. Requirements changed: requirement revision
If product changes the timeout from 30 minutes to 2 hours during Verify, the earlier verification premise no longer holds. Once you state the new requirement in chat, the Agent runs--revise-requirements in the background:
- Returns to Shape while keeping current workspace code;
- Automatically invalidates earlier passing verdicts and archive readiness so old test results cannot endorse new requirements;
- Updates
brief.md, target Specs, and acceptance criteria, showing a change summary plus the complete current Shape; - Returns to Build after reconfirmation to update the code and re-verify.
verification.md is only a readable view generated by the Runtime from structured results. Hand-editing that Markdown file cannot alter verdicts or bypass reconfirmation.
Just before Archive: revisions are still allowed
After verification passes and while waiting for final archiving (before archive writes succeed), you can still revise requirements in chat:- Earlier passing verdicts and archive approval are invalidated automatically;
- Workspace code stays intact;
- After reconfirming the updated Shape, finishing code updates, and passing Verify again, Archive proceeds.
What happens when you edit files manually during Verify or pre-Archive
Rather than rigidly kicking every single-byte edit back to Build and wiping all tests, Native defaults (native.document_writes: allow) to Agent-assessed diff impact:
- Inspect the actual diff: The Agent reviews the Git diff, edited files, and affected call paths—batching consecutive saves instead of prompting on every save.
- Proceed by impact category:
- Comments, formatting, or wording tweaks only (no change to code behavior or acceptance meaning): Keeps the Run, current stage, approvals, and valid checks, and continues directly.
- Edits affecting code logic, test inputs, or runtime environment: Runs affected platform checks along the current flow, or enters implementation revision to submit a new candidate and re-verify.
- Edits exceeding confirmed requirements or acceptance criteria: Returns to Shape to reconfirm the affected decisions within the complete plan.
- Latest failures win: If rerun checks produce a new failure, timeout, or unknown outcome, the latest result always takes precedence—never overwritten by an older pass.
native.document_writes: revert in .comet/config.yaml.
Out-of-scope ideas: create a separate Change
If near wrap-up you want to add an “admin active-session monitoring dashboard”, it can ship independently ofsession-timeout and shares no joint acceptance boundary. Split it cleanly into two independent Changes:
authentication Spec, Archive merges delta.yaml by Requirement ID and pauses to guide reconciliation and re-verification if a structural conflict occurs. See Advancing multiple independent Native Changes in parallel.
How the background prevents stale confirmations from overwriting progress
Whenever you confirm an implementation or requirement revision, the Agent attaches concurrency guards (--expected-state-version, --expected-action, and --proposal-hash bound to the active wait). If another session advanced the state, the action no longer matches, or the instruction came from an old chat turn, the Runtime rejects the write and instructs the Agent to read the latest state first.
Summary of what stays valid vs. what invalidates
Underlying command reference (normally run by the Agent; no manual entry required)
Underlying command reference (normally run by the Agent; no manual entry required)

