Skip to content

feat(policy): the npm-family rule admits allowed, and only strengthens - #62

Merged
rldyourmnd merged 1 commit into
mainfrom
feat/package-policy-admits-allowed
Sep 1, 2026
Merged

feat(policy): the npm-family rule admits allowed, and only strengthens#62
rldyourmnd merged 1 commit into
mainfrom
feat/package-policy-admits-allowed

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

The schema's const: forbidden made the estate-wide ban unfixable while fixed decision 13 requires every actually-used toolchain to work. allowed joins the enum with the monotonic model intact (base allows, roles strengthen, weakening refused — tested both directions).

https://claude.ai/code/session_01LsGid6U5RrQdFvJmvYdGCF

@rldyourmnd
rldyourmnd force-pushed the feat/package-policy-admits-allowed branch from 28fe1e2 to 150821a Compare September 1, 2026 07:31
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
rldyourmnd force-pushed the feat/package-policy-admits-allowed branch from 150821a to fb97c1b Compare September 1, 2026 07:36
@rldyourmnd
rldyourmnd merged commit c19d274 into main Sep 1, 2026
7 checks passed
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