Repository navigation
Description
Update 2026-11-26 (infra move): tools.lock no longer exists.
Style Dictionary is a devDependency of the root package.json, and package-lock.json pins it. ADR 0024 already records this in its Status History (2026-11-20).
Problem or Motivation
Child 14 of the ADR modernization (#5233). Consolidation of #5183, which the owner merged. It is optional and has low value.
The review of each record that this item changes:
- ADR 0024 (amend (Status History and the lock change)): The Jekyll reason is stale (the site uses Zensical since feat(docs): move the docs site to Zensical with a full nav and version #5183). The outputs stay committed for the package data and the uv-only Pages build. The lock is the root
package-lock.json, and osv-scanner audits it. Google Fonts stays. - ADR 0025 (amend (Status History and the limits record)): The core holds, and the site builds with Zensical. CLI_REFERENCE.md becomes an index (docs(cli): turn CLI_REFERENCE into an index of the command group pages #5163, which the owner approved). The drift lane uses fingerprinted issues and RowMode (feat(docs): track the docs site upgrade and the docs and Pages jobs #5151), not 3 batch issues a week.
- ADR 0012 (retire): It is superseded by 0013, and it got two notes after the supersession. Its live points move: the squash settings and the release-please keys to the release record, the required checks to the merge-gate record, and its Pages note to Status History.
Proposed Solution & Architectural Design
A short record: Zensical through pages.yml (chosen), the legacy Jekyll build of main:/docs (rejected), and the other generators of the #5152 study.
Rules of the ADR process (docs/adr/README.md, #5225) that apply:
- Length: the body of a new record has 1,000 words or fewer, its title has 10 words or fewer, and its slug has 60 characters or fewer. Designs, catalogues, row tables, cutover plans, caps and measurements go to OpenSpec changes and specs, to settings or to docs, with a link under More Information.
- Use one Considered Options section. Each bullet ends with 'chosen.', 'rejected, because .' or 'deferred until .'. 'Deferred' does not match the rejected regex (adr.py:49), so the check stops refusing on a premise that changed. Each record has a Confirmation section that names its test, CI row or metric, and an optional tracker key.
- Merge ADR changes in batches. Each change of the ADR set changes adr_hash (alternatives.py:634-644, 1006) and makes every checked item due again. So all pure status changes go in docs(adr): add MADR front matter, a Status History and the ADR rules #5225, and the record PRs merge one at a time in the planned order.
- Keep the fix(roadmap): the ADRs in force fill the alternatives ADR budget #5049 budget test. A new record must fit in the tokens that the records it supersedes free. Short option bullets keep the budget, because options are 6,883 of the 8,464 tokens today.
Keep these constraints on purpose. The review found a reason for each one:
- ADR 0024, committed token outputs (the package reads them at run time) and Google Fonts (the owner accepted it on 2026-11-11, and the artifact CSP allows only that host).
- ADR 0023/0025, USD ceilings and the caps on new issues: they stop an intake flood. No progress extension applies to weekly output counts.
Target Subsystem
docs/adr/.
Existing Tool Considered
MADR 4 and the rules of docs/adr/README.md (#5225). No new tool.
Acceptance Criteria
- A short record: Zensical through
pages.yml(chosen), the legacy Jekyll build ofmain:/docs(rejected), and the other generators of the feat(docs): move the docs site to Zensical with a full nav and version #5152 study, each with its reason. - ADR 0024 and ADR 0025 get a Status History line that links it.
- The index and link tests of docs(adr): add MADR front matter, a Status History and the ADR rules #5225 pass, and the fix(roadmap): the ADRs in force fill the alternatives ADR budget #5049 budget test passes: the alternatives check fits every record in force under its cap.
Dependencies
Related
- Tracker: docs(adr): track the ADR modernization #5233. Review source:
docs/adr/at e413c40.
Source: #5233
Alternatives check of 2026-11-26: not-applicable.
Class: docs, no model call.
Tool: none found.
Proposed design
Problem statement
The ADR set has no current record for the docs site builder. ADR 0024 gives a stale Jekyll reason, and ADR 0025 does not state the Zensical build. The change adds one short MADR record and links it from those two records. The retirement of ADR 0012 goes to a new issue.
Acceptance criteria
Requirement: New docs site builder record
The change SHALL add one new MADR record under docs/adr/ that records the docs site builder decision.
Scenario: The ADR rules accept the new record
- WHEN
uv run devops ci testruns the ADR rules test overdocs/adr/. - THEN The test passes. The new record has a title of 10 words or fewer and a slug of 60 characters or fewer. Its body has 1,000 words or fewer.
Requirement: Options and confirmation sections
The new record MUST hold one Considered Options section and one Confirmation section.
Scenario: Option endings and the confirmation pass the ADR check
- WHEN
uv run devops ci testruns the ADR rules test over the new record. - THEN The test passes. Each option bullet ends in
chosen.,rejected, because <reason>.ordeferred until <condition>.. TheConfirmationsection names a test, a CI row or a metric.
Requirement: Builder outcomes
The new record SHALL name Zensical through pages.yml as chosen and the legacy Jekyll build of main:/docs as rejected, and MUST give each other generator of the #5152 study its reason.
Scenario: The builder options pass the ADR check
- WHEN
uv run devops ci testruns the ADR rules test over the new record. - THEN The test passes. The option for Zensical ends in
chosen.. The option for the legacy Jekyll build ends inrejected, because <reason>.. Each other generator of the feat(docs): move the docs site to Zensical with a full nav and version #5152 study has its reason.
Requirement: Status History links
ADR 0024 and ADR 0025 SHALL each get one dated Status History line that links the new record, with no body edit.
Scenario: The two amended records pass the ADR check
- WHEN
uv run devops ci testruns the ADR rules test after the two lines are added. - THEN The test passes. Each of the two records has one dated Status History line with a link to the new record. The body hash of each record is unchanged.
Requirement: Index and links
The ADR index MUST list the new record, and every ADR link MUST resolve.
Scenario: The index and link test passes
- WHEN
uv run devops ci testruns the index and link test of the ADR rules. - THEN The test passes. The ADR index lists the new record with its status and date.
Requirement: Alternatives token budget
The alternatives check MUST fit every record in force under its token cap.
Scenario: The #5049 budget test passes
- WHEN
uv run devops ci testruns the fix(roadmap): the ADRs in force fill the alternatives ADR budget #5049 budget test. - THEN The test passes. The alternatives check fits every record in force under its cap.
Existing Tool Considered
The alternatives check of 2026-11-26 in the issue body records verdict not-applicable for class docs and names no tool; its block holds the result. The change needs no tool. It writes one MADR 4 record with the rules of docs/adr/README.md. It builds no code, so the build cost is zero tokens and zero elapsed time.
Key questions
- Which number does the new ADR take?: The new record takes the next free number under
docs/adr/. The ADR list in force at the commit being refined ends at 0040 and holds no 0030 or 0036. The record takes 0041 unless another record merges first. (best practice) [sources: docs/adr/README.md]- Chosen: The next free number under
docs/adr/. The ADR list in force ends at 0040, and the index takes no number again. - Rejected: Record 0030. The ADR list in force ends at 0040, so 0030 is not the next free number.
- Rejected: Reuse a retired number. An accepted record keeps its number.
- Chosen: The next free number under
- What decision does the new record capture?: The record chooses Zensical through
pages.yml. It rejects the legacy Jekyll build ofmain:/docswith its reason. It gives each other generator of the feat(docs): move the docs site to Zensical with a full nav and version #5152 study its reason. (best practice) [sources: docs/adr/README.md]- Chosen: Zensical through
pages.yml. The site uses Zensical since feat(docs): move the docs site to Zensical with a full nav and version #5183, which the owner merged. - Rejected: The legacy Jekyll build of
main:/docs. The Jekyll reason is stale, and the committed outputs serve the package data and the uv-only Pages build. - Rejected: Another generator of the feat(docs): move the docs site to Zensical with a full nav and version #5152 study. The study found no better fit, and the record gives each generator its reason.
- Chosen: Zensical through
- How do ADR 0024 and ADR 0025 record the new decision?: Each record gets one dated Status History line that links the new record. The change edits no body text, so the body hash of each record stays. (best practice) [sources: docs/adr/README.md]
- Chosen: One dated Status History line. The README allows one dated line and keeps the body hash.
- Rejected: Supersede ADR 0024 and ADR 0025. Their core holds, and a supersession adds records without need.
- Rejected: Edit the body in place. An accepted record body does not change.
- How does the new record stay within the length and token limits?: Keep the body short and the option bullets short. Link the feat(docs): move the docs site to Zensical with a full nav and version #5152 study under More Information. (best practice) [sources: docs/adr/README.md]
- Chosen: Short option bullets and a link. The README caps the body at 1,000 words and sends designs and measurements to OpenSpec or docs.
- Rejected: The full feat(docs): move the docs site to Zensical with a full nav and version #5152 study table in the record. The token budget is tight, and the README sends catalogues out of the record.
- Which form does the new record use?: MADR 4, with the rules of
docs/adr/README.md. The change adds no new form and no new tool. (best practice) [sources: docs/adr/README.md]- Chosen: MADR 4. The repository checks this form in its ADR rules test.
- Rejected: A new form for the site builder. A second form adds no value and breaks the one-record rule.
- Which checks prove the ADR change?: The ADR rules test of the repository checks the record rules, the index and the links. The fix(roadmap): the ADRs in force fill the alternatives ADR budget #5049 budget test checks the token cap. [sources: docs/adr/README.md, AGENTS.md]
Fit
Fits in one pull request.
Suspected block
None.
Activity
dan-petty commentedon Nov 12, 2026
adr, and .github/labels.yml declares no scope/adr label. Add the label to the file to give the scope to this item.The body states the item is optional and has low value.Both work in docs/adr/; #5225 adds the MADR rules and Status History framework, while the candidate writes one specific record using that framework.devops-cli-service commentedon Nov 16, 2026
Alternatives check: not-applicable
Class: docs. The check makes no search and no model call for an item of this class.
Tool: none found
Checked on 2026-11-16. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 20, 2026
Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.
devops-cli-service commentedon Nov 28, 2026
Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.