Closes the two registry gaps noted in the S0 stage check (section 8).
First releases are management's (A2 §1): an authority for r1.release_d01 or r1.release_d02 must name Management. Otherwise the save is refused with 400 first_release_management. Until now only the portal enforced this. The registry pinned only the R1-D02 update (B8).
External-only decides nothing (BM-4): a function held only outside the company (External == ExternalOnly, currently the external cybersecurity provider) is refused as the deciding function. It returns 400 external_decides in both the authority and the immediate authority. The portal no longer offers it since #114/#116.
There is no migration and no API shape change. A stored dataset that already holds such an entry would have every later save refused until that entry is corrected. Prod has no S0 data, and the portal has not offered either option since #114/#116.
Tests: TestValidate_whoDecides covers both codes, an unknown immediate function and a positive case. go vet and go test ./... pass, with roles coverage at 74.3 %.
Closes the two registry gaps noted in the S0 stage check (section 8).
- **First releases are management's (A2 §1):** an authority for `r1.release_d01` or `r1.release_d02` must name Management. Otherwise the save is refused with 400 `first_release_management`. Until now only the portal enforced this. The registry pinned only the R1-D02 update (B8).
- **External-only decides nothing (BM-4):** a function held only outside the company (`External == ExternalOnly`, currently the external cybersecurity provider) is refused as the deciding function. It returns 400 `external_decides` in both the authority and the immediate authority. The portal no longer offers it since #114/#116.
There is no migration and no API shape change. A stored dataset that already holds such an entry would have every later save refused until that entry is corrected. Prod has no S0 data, and the portal has not offered either option since #114/#116.
Tests: `TestValidate_whoDecides` covers both codes, an unknown immediate function and a positive case. `go vet` and `go test ./...` pass, with roles coverage at 74.3 %.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
Two rules the portal already keeps, now in the registry too:
- authority for r1.release_d01 and r1.release_d02 accepts only management
(A2 §1), code first_release_management;
- a function held only outside the company is no deciding function, in
authority or immediate authority (BM-4), code external_decides.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
sharang
merged commit 5fff4dd581 into main2026-10-28 16:13:09 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes the two registry gaps noted in the S0 stage check (section 8).
r1.release_d01orr1.release_d02must name Management. Otherwise the save is refused with 400first_release_management. Until now only the portal enforced this. The registry pinned only the R1-D02 update (B8).External == ExternalOnly, currently the external cybersecurity provider) is refused as the deciding function. It returns 400external_decidesin both the authority and the immediate authority. The portal no longer offers it since #114/#116.There is no migration and no API shape change. A stored dataset that already holds such an entry would have every later save refused until that entry is corrected. Prod has no S0 data, and the portal has not offered either option since #114/#116.
Tests:
TestValidate_whoDecidescovers both codes, an unknown immediate function and a positive case.go vetandgo test ./...pass, with roles coverage at 74.3 %.🤖 Generated with Claude Code
https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf