Repository navigation
feat(id): transport advertisement minter + .well-known serving (#8214 slice 4) - #11007
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 50 minutes. View limit details
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. |
|
Agent note — Codex disposition (lane any-f, task 20089) Codex review did not run on PR #11007: the connector posted its usage-limits message and there are zero review comments and zero inline findings to disposition — the gate is recorded here rather than silently passed. Verification stands on the local suites in the PR body (id-core 470, id-web 698, id-cli 686, all passing; the new minter and handler tests name the #5793 record as their oracle). |
Slice 4 of #8214 (task 20089, lane any-f): the server side of signed transport advertisements. Slices 1+2 (PR #10951, PR #10952) landed the type/sign/verify/selection, the durable sequence counter, and the LKG cache + substrate resolution. This slice adds minting and serving:
id-core — AdMinter (
transport_advertisement.rs)mint(unconditional, sequence + 1),refresh(Decision 3: mint only on transport change, first mint, or expiry — a no-op refresh consumes no sequence),current_bytes(re-mints an expired ad in place over its last transport set, so a server that is asked always answers fresh).RECOMMENDED_TTL_SECONDS= 1h per the record.id-web —
.well-knownhandler (newtransport_ad.rs)GET /.well-known/id-transport-advertisement?subject=<fp>serves the minter's current bytes verbatim (Decision 2.2, the authoritative self-hosted substrate). Subject mismatch → 404 (this server publishes exactly one ad); no minter wired → 404; it never re-encodes or invents an ad.AppState.transport_ad: Option<Arc<AdMinter>>+ setter, plumbed throughweb_routers_with_surfaceexactly liketransfer_endpoint.id-cli —
id servewiring.transport-ad-sequencebeside the identity key (KEY_FILE), first mint over the endpoint's current transports (direct UDP addrs priority 10, home relay priority 20 — the id: design: ID transport fallback for UDP-denied networks v1 #5671 fallback order).Tests (oracle: the #5793 record)
Remaining for #8214: slice 3 — fetch-side HTTPS substrates (well-known fetch, Workers rendezvous fetch by H(subject), DNS TXT bootstrap hints, background revalidation) plus the HTTP-stack decision recorded on the issue by lane any-c. The issue stays open for that slice.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.