From 542e282216c99d60068c1bef87564c544f4ca1d1 Mon Sep 17 00:00:00 2001 From: systemfsoftware-bot <318394648+systemfsoftware-bot@users.noreply.github.com> Date: Mon, 30 Nov 2026 04:49:51 -0500 Subject: [PATCH 1/3] docs(working): verification is independent, risk is never self-classified, a PR carries its evidence (SF-WRK-7 to 9) --- WORKING.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/WORKING.md b/WORKING.md index e55b627..fe145d2 100644 --- a/WORKING.md +++ b/WORKING.md @@ -22,5 +22,23 @@ 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 is decided by an + independent signal (compiler, deterministic tests, CI, or a fresh-context + reviewer blind to generation), never by the author's self-approval. +- **SF-WRK-8** Scale review depth to blast radius and reversibility, never by + the authoring agent's self-classification. Determine a change's risk tier + monotonically in CI from a deterministic structural floor plus the owner's + declared high-risk map in the repository, OR'd with an independent calibrated + semantic classifier over the diff; fail closed to high-risk on uncertainty or + classifier failure. Every behavioural change receives independent post-CI + review; only deterministically verified non-behavioural changes clear on + automated gates alone. In brownfield or untested modules, lock current + behaviour with types or independent characterization tests before + refactoring, save non-trivial read-only archaeology as a durable memo on disk, + and migrate in complete units, removing the legacy path in the same PR. +- **SF-WRK-9** Give every behavioural PR a body bound to its current head that + states intent and non-goals, load-bearing decisions and rejected + alternatives, raw verification evidence (commands or CI run IDs), the test + and grader changes, and its rollback or live post-deploy check. - **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. From 7eb286507c1b2ff1d7324e0146800db5e9dd5d42 Mon Sep 17 00:00:00 2001 From: systemfsoftware-bot <318394648+systemfsoftware-bot@users.noreply.github.com> Date: Mon, 30 Nov 2026 05:03:55 -0500 Subject: [PATCH 2/3] docs(working): define non-behavioural, make the risk tier followable without a risk check, require baseline-green characterization tests Hydrogen High review 20261130T100208Z-1b997fab: three P0 and three P1, all confirmed. Non-behavioural is now defined deterministically; a repo without a risk check treats every behavioural change as high-risk; characterization tests must pass on the unmodified code first; a reviewer verdict adds to SF-FIN-1 proof and never replaces it; the PR body names the head it describes; archaeology is a committed docs/ file. --- WORKING.md | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/WORKING.md b/WORKING.md index fe145d2..1c29cf7 100644 --- a/WORKING.md +++ b/WORKING.md @@ -22,23 +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 is decided by an - independent signal (compiler, deterministic tests, CI, or a fresh-context - reviewer blind to generation), never by the author's self-approval. +- **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. Determine a change's risk tier - monotonically in CI from a deterministic structural floor plus the owner's - declared high-risk map in the repository, OR'd with an independent calibrated - semantic classifier over the diff; fail closed to high-risk on uncertainty or - classifier failure. Every behavioural change receives independent post-CI - review; only deterministically verified non-behavioural changes clear on - automated gates alone. In brownfield or untested modules, lock current - behaviour with types or independent characterization tests before - refactoring, save non-trivial read-only archaeology as a durable memo on disk, - and migrate in complete units, removing the legacy path in the same PR. -- **SF-WRK-9** Give every behavioural PR a body bound to its current head that - states intent and non-goals, load-bearing decisions and rejected - alternatives, raw verification evidence (commands or CI run IDs), the test - and grader changes, and its rollback or live post-deploy check. + 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. From 369fb31733e5f1ec84b137aa066d45607af60500 Mon Sep 17 00:00:00 2001 From: systemfsoftware-bot <318394648+systemfsoftware-bot@users.noreply.github.com> Date: Mon, 30 Nov 2026 05:04:19 -0500 Subject: [PATCH 3/3] style(working): deno fmt --- WORKING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WORKING.md b/WORKING.md index 1c29cf7..83f117e 100644 --- a/WORKING.md +++ b/WORKING.md @@ -23,9 +23,9 @@ narrow these rules, never loosen them. 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. + 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