Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions WORKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,28 @@ narrow these rules, never loosen them.
of the task—such as an independent research path, parallel work in a fresh
context, or a review blind to its author—returning a compact result to the
main loop.
- **SF-WRK-7** Separate generation from verification. Done needs the concrete
proof `SF-FIN-1` names, produced by something other than the author (compiler,
deterministic tests, CI); a fresh-context reviewer's verdict adds to that
proof and never replaces it, and the author's self-approval never counts.
- **SF-WRK-8** Scale review depth to blast radius and reversibility, never by
the authoring agent's self-classification. A change is non-behavioural only
when every file it touches is documentation other than instruction files
(`AGENTS.md`, `CLAUDE.md`, this constitution, skills, review and coding
standards), or when the repository's risk check classifies it so; every other
change is behavioural. Read the risk tier from the repository's risk check,
which combines a deterministic structural floor and the owner's declared
high-risk paths with an independent calibrated classifier and fails closed;
where a repository has no risk check, every behavioural change is high-risk.
Every behavioural change receives independent review after its checks pass.
Before refactoring brownfield or untested code, commit characterization tests
that pass against the unmodified code; record non-trivial read-only
archaeology as a committed file under `docs/` in the same PR; and migrate in
complete units, removing the legacy path in the same PR.
- **SF-WRK-9** Give every behavioural PR a body that states intent and
non-goals, load-bearing decisions and rejected alternatives, raw verification
evidence (commands, and CI run IDs once CI has run), the test and grader
changes, and its rollback or live post-deploy check. Update the body whenever
the head changes what it says, and name the head SHA it describes.
- **SF-FIN-1** Never claim a task is done, blocked, or broken without concrete
proof, such as a passing command, compiler error, or observed system state.