Repository navigation
Adopt ten records for design rulings, with the four orders between them - #451
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Adopted principles and precedence policy/principles.toml |
The [decide] section adds eleven adopted principles and four ordered preference rules. Each includes a stated rationale. |
Priority:
Estimated code review effort: 1 (Trivial) | ~4 minutes
Change: Other
Possibly related issues
HackingGate/uphold#429— The policy adopts records used in the hook-matcher ruling and orders psychological acceptability over complete mediation. The PR states that Q5 will be ruled again.HackingGate/uphold#450— The adopted principles and precedence rules cover the unresolved hook questions about default refusal, standing down, and routine refusal. The PR states that Q1 and Q3 will be ruled again.
Merge Risk: 
Minimal · previous review 4149d
-
The decision policy is consistent with the inspected configuration contract and catalog conflicts. No merge-blocking issue was identified.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
-
Finishing Touches: 💡 1
-
🛠️ Fix failing CI checks: 💡
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
uphold-reviewWalkthroughThis pull request adds a
Each order has a I checked each
The four orders cover exactly the conflicting adopted pairs in the catalog's Changes
❌ uphold rules: uphold's rules refuse this · this repository's policy at ccb8795Rule output✅ uphold reviewThe review document asked about 33 of uphold's records; this change violates none of them. Reviewed with uphold 1.38.0 by uphold-review 0.3.1 · aabb562 · claude-opus-5-5 · 47 s · $0.19 list |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #451 +/- ##
=======================================
Coverage 94.95% 94.95%
=======================================
Files 55 55
Lines 28054 28054
=======================================
Hits 26640 26640
Misses 1414 1414 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
uphold's own design questions had nothing to be ruled from: `[decide]` was absent, so the rulings on #429 and #450 used the whole catalog and escalated every conflict. Adopt the records this repository's code and docs already argue from by id, plus the three those rulings turned on, and order the four adopted pairs that conflict, each by a choice this repository has already made. Claude-Session: https://claude.ai/code/session_01BHpLckRt4BNGCdFG9vLyEP
4149d58 to
aabb562
Compare
Adds
[decide]to this repository's policy, so uphold's own design questions are ruled from adopted records and not from the whole catalog. Until now the rulings on #429 and #450 escalated every conflict, because nothing ranked the records.Adopted (10). Seven of these are the records this repository's code and docs already cite by id as a reason:
explicit-unknownparameterize-do-not-enumerateenforcement-needs-a-triggerpsychological-acceptabilitysingle-authoritative-sourcemechanism-policy-separationleast-powerThe other three decided the #429 and #450 rulings:
complete-mediation,fail-safe-defaultsandeconomy-of-mechanism. The rest of the review list inAGENTS.mdis left out, because nothing in the design argues from those records.Orders (4), one per adopted pair that conflicts, each taken from a choice this repository already made:
unresolved = "refuse"is the shim's default;"run"is the opt-out (docs/REFERENCE.md, the shim table)docs/REFERENCE.md, "What runs where there is no policy")[stop] runis argv with no shell, and a pipeline names a script (src/config.rs,Stop)Checks.
uphold checkexits 0 and lists the 10 records and 4 orders.After merge. #429 Q5 and #450 Q1 and Q3 are ruled again from the adopted set.
https://claude.ai/code/session_01BHpLckRt4BNGCdFG9vLyEP
Summary by CodeRabbit
[stop] runcommands.