Skip to content

docs(adr): record the docs site builder #5254

Open

Description

@dan-petty

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:

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

Dependencies

Related

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 test runs the ADR rules test over docs/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 test runs the ADR rules test over the new record.
  • THEN The test passes. Each option bullet ends in chosen., rejected, because <reason>. or deferred until <condition>.. The Confirmation section 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

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 test runs 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 test runs 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

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.
  • What decision does the new record capture?: The record chooses Zensical through pages.yml. It rejects the legacy Jekyll build of main:/docs with 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]
  • 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]
  • 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.

Dependencies

#5252

Activity

  1. added
    source/agent
    on Nov 12, 2026
  2. added
    type/docs
    status/new
    value/low
    effort/medium
    on Nov 12, 2026
  3. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor
    • Scope: none. The title has the scope adr, and .github/labels.yml declares no scope/adr label. Add the label to the file to give the scope to this item.
    • Priority: P3-Low. The body states the item is optional and has low value.
    • Related: docs(adr): add MADR front matter, a Status History and the ADR rules #5225, which asks for a different change. Both work in docs/adr/; #5225 adds the MADR rules and Status History framework, while the candidate writes one specific record using that framework.
  4. added
    priority/p3-low
    on Nov 12, 2026
  5. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    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.

  6. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    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.

  7. devops-cli-service commented on Nov 28, 2026

    @devops-cli-service
    Contributor

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p3-lowsource/agentstatus/newtype/docsvalue/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions