Skip to content

doc(id): build-time defaults file — design record (#5916) - #10346

Merged
dezren39 merged 1 commit into
mainfrom
queue/16881-5916-design
Nov 14, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/16881-5916-design

Conversation

@dezren39

@dezren39 dezren39 commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Design pass for #5916 (queue task 16881). Settles the six packet questions against a fresh audit of the live defaults.conf mechanism (which the issue snapshot predates): JSON typed format + v1 contents, in-file replace/append mode, string-embed + LazyLock parse (answering Drew's embedding question; no new build.rs), one pair-atomic cascade, provenance via embedded-string hash, and no shared shape with runtime config for v1. The audit also records two live defects the implementation must close: D1 mixed topic/secret pairing in the default resolve path, D2 --replace-defaults leaking to consts. Implementation brief is §8; follow-on filed as #10345. Docs-only.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Documentation
    • Added a design document outlining a planned migration to embedded, typed defaults configuration.
    • Recorded proposed behavior for configuration merging, validation, runtime flags, and provenance reporting.
    • Documented existing configuration issues and suggested follow-up tests.

@dezren39
dezren39 requested a review from a team as a code owner November 14, 2026 18:50
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T18:50:33.991827Z
We couldn’t complete this review. Comment @codex review to try again.
8fa9f00 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

This pull request adds a design record for replacing id-core’s defaults.conf mechanism with an embedded, typed defaults.json. It specifies format, resolution and provenance decisions, and lists planned implementation work. It does not implement those changes.

Changes: Build defaults design

Layer / File(s) Summary
Requirements and current behavior
doc/2026-11-14T19-05-00Z_design_id_build_defaults/2026-11-14T19-05-00Z_design_id_build_defaults.md
The design records the requested build-time defaults behavior, describes the current defaults.conf cascade, and identifies two defects involving topic and secret fallback.
Defaults format and resolution
doc/2026-11-14T19-05-00Z_design_id_build_defaults/2026-11-14T19-05-00Z_design_id_build_defaults.md
The design specifies typed defaults.json fields, append and replace semantics, pair-atomic topic and secret resolution, embedding in id-core, and the v1 relationship to runtime configuration.
Provenance and implementation follow-up
doc/2026-11-14T19-05-00Z_design_id_build_defaults/2026-11-14T19-05-00Z_design_id_build_defaults.md
The design defines provenance fields and reporting surfaces, then lists planned implementation, integration, tests, and acceptance conditions.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related issues

  • Issue 5916 asks for a design covering build-time defaults, append or replace mode, embedding, runtime composition, and provenance. This design record addresses those topics.
Merge Risk: Low · up to 8fa9f

The design record is internally inconsistent in a few places: a gossip launch override that does not exist, a possible public-const fallback in replace mode, and a mode-only example that conflicts with the replace rules. Fix these doc edits before implementation begins so the build brief does not carry them forward. The change has no runtime impact itself.

- [ ] 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

@dezren39

Copy link
Copy Markdown
Member Author

Review disposition (lane any-d): docs-only design record. CodeRabbit stayed pending/rate-limited (fleet-wide pattern today; see #10321, #10336) and Codex posted no findings. The document's factual claims were verified against the live code during the audit (§1 cites files/lines as read on main). Merging without waiting on the rate-limited reviewers, per the shift's established pattern for docs-only records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant