feat(capture): stamp redundant TSAs on deferred resolution (R-16)#41
Open
ChelseaKR wants to merge 1 commit into
Open
feat(capture): stamp redundant TSAs on deferred resolution (R-16)#41ChelseaKR wants to merge 1 commit into
ChelseaKR wants to merge 1 commit into
Conversation
Deferred-capture resolution now stamps against the same redundant authorities as the online capture path, so no packet's proof rests on a single TSA regardless of whether it was stamped at capture or resolved later. - capture.resolve_deferred(vault, tsa, extra_tsas=()) now calls the existing _stamp_additional for each queued item after the primary token is recorded. Extras are best-effort: an unreachable authority is skipped and never blocks resolution, and extras are only attempted once the primary has stamped. If the primary stamp fails the item stays deferred (unchanged error behavior). The per-item CaptureResult now carries extra_authorities. - cli._cmd_resolve wires _extra_tsas_for(vault, dev=args.dev_tsa) through to resolve_deferred, respecting the resolve subcommand's --dev-tsa flag (same helper the capture command uses). - Tests: deferred-then-resolved records the additional token and reports it in extra_authorities while skipping an unreachable extra; a packet built from a deferred-then-resolved capture reports both authorities in verified_authorities. - ROADMAP: mark "Multiple-authority redundancy by default" (R-16) shipped now that both the online and deferred paths stamp N authorities. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Deferred-capture resolution now stamps against the same redundant
authorities as the online capture path, so no packet's proof rests on a
single TSA regardless of whether it was stamped at capture or resolved
later.
existing _stamp_additional for each queued item after the primary
token is recorded. Extras are best-effort: an unreachable authority is
skipped and never blocks resolution, and extras are only attempted once
the primary has stamped. If the primary stamp fails the item stays
deferred (unchanged error behavior). The per-item CaptureResult now
carries extra_authorities.
to resolve_deferred, respecting the resolve subcommand's --dev-tsa flag
(same helper the capture command uses).
it in extra_authorities while skipping an unreachable extra; a packet
built from a deferred-then-resolved capture reports both authorities in
verified_authorities.
now that both the online and deferred paths stamp N authorities.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Backfill PR for a completed roadmap item (
roadmap/multiple-tsa-redundancy-by-default-r-16, 1 commit(s) overmain). Part of the portfolio roadmap batch.