Repository navigation
docs: read the policy section as one thing again - #58
Merged
Merged
Conversation
Three features landed in sequence, each appending its own block, and the result was chronological rather than logical: "first matching rule allows" sat below the deny rules that changed it, and a reader met maxItems before learning how a decision is reached at all. Restructured under headings, decision procedure first — any matching deny refuses whatever the order, otherwise the first matching allow grants, otherwise defaultDecision — with each matcher and its caveat in its own section, and the config example carrying all of them so the shapes are visible in one place. Also: the four v1.12 defaults get their entries in defaults.md, including the one that is deliberately not the safest option available. serverInitiatedDecision defaults to allow because the traffic flowed before the check existed, and that reasoning belongs in the frozen-defaults record rather than only in a design doc. And operations.md documents the audit fields these releases added — the direction field, the warned outcome, the new method strings, and what an absent ruleId on a denial actually tells you. Roadmap item 8 is marked shipped, with the two things implementation decided that the design record had left open. Phase 4 of docs/design-policy-depth.md, which completes it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.
Phase 4 of
docs/design-policy-depth.md— the docs pass, which completes it. Follows #55, #56, #57.Three features landed in sequence, each appending its own block to the README's
policysection, and the result had gone chronological rather than logical: "first matching rule allows" sat below the deny rules that changed it, and a reader metmaxItemsbefore learning how a decision is reached at all.Restructured under headings, decision procedure first — any matching
denyrefuses whatever the order, otherwise the first matchingallowgrants, otherwisedefaultDecision— then one section per matcher with its caveat kept next to it: deny-wins, argument constraints and the visible-but-conditional asymmetry,toolKindand the hygiene-not-a-boundary warning,maxItems, the reverse direction, and principal matching. The config example now carries all of them, so the shapes are visible in one place instead of scattered across five snippets.defaults.mdgets the four new entries. Including the one that is deliberately not the safest available option:serverInitiatedDecisiondefaults toallowbecause that traffic flowed before the check existed, and that reasoning belongs in the frozen-defaults record rather than only in a design doc.operations.mddocuments what these releases added to the audit trail — thedirectionfield, thewarnedoutcome, the new method strings (upstream/definitionChanged), and what an absentruleIdon a denial tells you: that nothing granted the call, as distinct from a rule refusing it.Roadmap item 8 marked shipped, with the two things implementation decided that the design had left open.
Docs only.
make checkpasses — includinggolangci-lint, which I can now run locally after installing the version CI pins, so the class of failure that bounced #57 gets caught before the push.🤖 Generated with Claude Code