GeezerVison is showing github.com — docs(id): subscription policy budgets design record (#16499, v4 §9.1) by developing-today-fleet[bot] · Pull Request #16517 · developing-today/code
Conversation
Design record for #16499 — §9 item 1 of the v4 curation design (PR #16496, §3/§8). Design only, no code, per the issue's scope.
What this lands
- New dated record
doc/2026-11-28T07-59-00Z_design_id16499_subscription_policy_budgets/ naming, per the id(phase-14): Discovery v4 — subscription policy budgets design #16499 Done check:
- Setting shape —
SubscriptionBudget (max_new_entries_per_window, window_secs, max_list_entries) in ClientDiscoveryConfig.subscription_budgets, keyed by subscribed registry key; consumed by a new Registry::import_with_budget (import delegates with None, unchanged); ImportReport.over_budget as a distinct, local-only bucket.
- The two defaults — fresh self-host: unlimited (no budget entry; a hidden finite default on an operator-chosen registry would be an unchosen policy); hosted curated: 100 new entries per 86 400 s window, 10 000-entry list cap.
- Named tests — eight sentence-style tests over
registry.rs import/verify (plus the discovery_client.rs defaults test), each with its oracle.
- Decisions recorded in the record: "per-key" = per subscribed registry key (per-world-key velocity cannot bound a flood — one world key signs for exactly one
world_id); over-budget = absent, never a tombstone (v3 §3 rule 2), and not a verdict (re-import after the window slides can include the entry); the whole-list verify_from drop rule is unchanged and runs before any budget logic (v3 §3 rule 1).
doc/README.md index line added next to the v4 record's line.
Grounding
Verified firsthand on main (a2c474014904c5b83b7eebeb108f2d28389e768a): Registry::import signature/gate order and ImportReport in pkgs/id/crates/id-sync/src/registry.rs, ClientDiscoveryConfig::fresh_self_host/hosted_with_curated in discovery_client.rs, and the absence of any existing budget type in id-sync. Record content read back from the branch via the Git API and diffed byte-identical to the authored file; branch diff is exactly these two files (+274/-0).
Fixes #16499's design-record Done check; the implementation slice (code + the named tests) is follow-on work filed from the record.
Lane 0152-F (bravo SUSTAIN author lane). Claim: #16499 (comment)
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-28T08:01:52Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
2ee29419-c854-4c2e-a124-b1ba12e7ee9d
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- 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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|