Repository navigation
docs(adr-003): drop the stale capability renewal wording - #2374
Merged
Merged
Conversation
Capability registration is write-once per (poolId, signer), so the protocol has no renewal. Reword the expiry line in Capability delegation and point the Revocation and Attack Vectors bullets at the write-once rule. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Drop the line in Capability delegation that repeated the new-key rule. Split the Revocation and Attack Vectors sentences so expiry retires the key and write-once registration stops any later capability extending it. Align the ADR 005 SpendingCapExhausted row, the --capability help text, and a test doc comment: a registered signer's cap never rises, so the remedy is a capability for a new signer key. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Code Coverage OverviewLanguages: Rust Rust / code-coverage/cargo-llvm-covThe overall line coverage in commit 8aebfb0 in the Show a line coverage summary of the most impacted files.
|
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.
Closes #2373.
ADR 003 § Capability delegation said the
expiryretires a key "when the owner does not renew it", but the next paragraph states the write-once rule: the protocol has no capability renewal.expiryretires the key. The new-key rule stays in one place, the write-once paragraph.SpendingCapExhaustedrow: "until the cap rises" becomes "until a fresh capability arrives", matching theCapabilityExpiredrow.decdn fetch --capabilityhelp text and a test doc comment: a re-issued higher-cap capability does nothing for a registered key, so the remedy is a capability for a new signer key.Docs and doc comments only. The pre-commit gate passes, including markdownlint, ADR reference hygiene, clippy and cargo doc.
🤖 Generated with Claude Code