Skip to content

docs(working): verification is independent, risk is never self-classified, a PR carries its evidence - #43

Merged
mergify[bot] merged 3 commits into
mainfrom
docs/risk-and-verification
Nov 30, 2026
Merged

mergify[bot] merged 3 commits into
mainfrom
docs/risk-and-verification

Conversation

@systemfsoftware-bot

@systemfsoftware-bot systemfsoftware-bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Adds three working rules:

  • SF-WRK-7: done is decided by an independent signal, never the author's self-approval.
  • SF-WRK-8: review depth scales with blast radius and reversibility. The risk tier comes from CI: a deterministic floor plus the owner's declared high-risk map, OR'd with an independent calibrated classifier, failing closed. Every behavioural change gets independent post-CI review. Untested brownfield code gets characterization tests before a refactor, and migrations happen in complete units.
  • SF-WRK-9: a behavioural PR's body states intent, decisions, raw verification evidence, test and grader changes, and its rollback or live check.

Existing IDs are unchanged; the new ones take the next free numbers.

SF-WRK-9 record (head 369fb31)

  • Non-goals: no tooling. jev-gates risk-gate implements the SF-WRK-8 risk check; this PR states only the rule.
  • Rejected alternatives: letting a reviewer's verdict stand in for the author's SF-FIN-1 proof, rejected by SF-WRK-7. Calling a change non-behavioural by file extension alone, rejected by SF-WRK-8's definition.
  • Verification: deno fmt --check passes; the repo's check CI is green on this head.
  • Tests and graders changed: none.
  • Rollback: revert the squash commit. It is docs-only, so nothing runs it until a repository re-imports WORKING.md.

…fied, a PR carries its evidence (SF-WRK-7 to 9)
@mergify

mergify Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Queue requested — the merge queue status continues in this comment ↓.

…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.
@systemfsoftware-bot

Copy link
Copy Markdown
Contributor Author

Hydrogen High review 20261130T100208Z-1b997fab: all six findings confirmed and fixed in 7eb2865.

  1. P0: non-behavioural was undefined, so an author could label anything that way. Fixed: it is defined deterministically.
  2. P0: the rule was unfollowable without CI tooling. Fixed: a repository with no risk check treats every behavioural change as high-risk.
  3. P0: types could stand in for characterization tests. Fixed: those tests must pass on the unmodified code first.
  4. P1: SF-WRK-7 conflicted with SF-FIN-1 and SF-WRK-8. Fixed: a reviewer adds to the proof and never replaces it.
  5. P1: the head binding and CI run IDs were a catch-22. Fixed: CI run IDs are added once CI has run, and the body names its head.
  6. P1: the archaeology memo had no location. Fixed: it is a committed file under docs/.

@systemfsoftware-bot

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into main as 294647d at 11:19 UTC

Less than a minute in the queue, with no time running CI.

So far

2 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main
  • any of · required by GitHub repository ruleset rule main:
    • check-success = @github-actions/check
    • check-neutral = @github-actions/check
    • check-skipped = @github-actions/check

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot added the queued label Nov 30, 2026
@mergify
mergify Bot merged commit 294647d into main Nov 30, 2026
3 checks passed
@mergify mergify Bot removed the queued label Nov 30, 2026
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