feat(policy): the npm-family rule admits allowed, and only strengthens - #62
Merged
Merged
Conversation
rldyourmnd
force-pushed
the
feat/package-policy-admits-allowed
branch
from
September 1, 2026 07:31
28fe1e2 to
150821a
Compare
The schema admitted a single value -- forbidden -- so the estate-wide base policy could not say what fixed decision 13 requires: every toolchain a project actually uses must work. The vocabulary gains "allowed" with the monotonic model intact: a base may allow, a role such as control-plane may strengthen to forbidden, and the reverse direction stays a refused weakening, covered by its own test. Claude-Session: https://claude.ai/code/session_01LsGid6U5RrQdFvJmvYdGCF
rldyourmnd
force-pushed
the
feat/package-policy-admits-allowed
branch
from
September 1, 2026 07:36
150821a to
fb97c1b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The schema's
const: forbiddenmade the estate-wide ban unfixable while fixed decision 13 requires every actually-used toolchain to work.allowedjoins the enum with the monotonic model intact (base allows, roles strengthen, weakening refused — tested both directions).https://claude.ai/code/session_01LsGid6U5RrQdFvJmvYdGCF