Skip to content

docs: ADR-0082 verify the build provenance of omarchy-apps - #239

Merged
bketelsen merged 4 commits into
mainfrom
lucilla/adr-0082-omarchy-attested
Nov 13, 2026
Merged

bketelsen merged 4 commits into
mainfrom
lucilla/adr-0082-omarchy-attested

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Core ADR-0060 and ADR-0066 record frostyard/omarchy-apps as attested=no. The apt-publisher registers it as build.yml@refs/heads/main since its ADR-0004 (frostyard/apt-publisher#28, merged 2026-11-03), and config/producers.tsv holds that row. So the org record shows a weaker provenance rule than the writer runs.

This PR adds ADR-0082, which records the stricter check: the writer verifies a build-provenance attestation from omarchy-apps/.github/workflows/build.yml on refs/heads/main for each .deb. It amends ADR-0060 and ADR-0066 in part.

  • docs/adr/0082-verify-the-build-provenance-of-omarchy-apps.md: new ADR, Accepted.
  • ADR-0060 and ADR-0066: only the existing Amended in part by: reference line gets the ADR-0082 link (link-only maintenance, ADR-0033).
  • docs/README.md: index line.
  • Plan 0009, omarchy-apps entry: the registration line now says attested from build.yml@refs/heads/main, and links ADR-0082.
  • Guard for the review's blocking points (no test can check what an ADR means): 1 rule in AGENTS.md (Working conventions) and 1 sentence in the write-adr skill's "Amend in part" step: a partial amendment lists every statement of the old ADR that it makes false, reasons and sub-items included, before it says the rest stands. 1 line in .memory/corrections.jsonl (promoted_to: AGENTS.md). ADR-0081 keeps .memory/corrections.jsonl in use until core moves to .memory/corrections/.

Reported by frostyard/apt-publisher#43 (sweep). That issue's other part (docs/org-adrs.md in apt-publisher) belongs to a PR in apt-publisher.

Evidence for the ADR's last Context fact: on 2026-11-13, both .deb files of release main-20261102170521-31f199e pass
gh attestation verify FILE --repo frostyard/omarchy-apps --signer-workflow frostyard/omarchy-apps/.github/workflows/build.yml --source-ref refs/heads/main --deny-self-hosted-runners.

Out of scope: Plan 0009's bootc-debian and incus entries also say attested=no as of their port; apt-publisher ADR-0004 attests them too. No core ADR records those registrations.

Number: ADR-0081 is #238 (merged), so this is ADR-0082. main (e1fe209) was merged into this branch; the only conflict was the index line in docs/README.md, resolved as 0081 then 0082.

Risk tier

Risk tier: 1 — docs only (an ADR, link lines, an index line and a plan entry). No gate, workflow or organization authority changes.

Docs housekeeping

  • New docs started from their category's TEMPLATE.md
  • Every new doc indexed in docs/README.md
  • Cross-links added in both directions (ADR ↔ design ↔ spec ↔ plan)
  • New significant decision recorded as an ADR first, in this PR
  • New/edited ADRs are fact-only (context, decision, consequences) — no
    narration of who asked, who was consulted, or the author's process;
    that goes here, in this description
    (ADR-0051)
  • Conformance aliases (ADR-0029) untouched — canonical targets edited
    instead

Verification

  • node scripts/check-docs.mjs green (make verify: 753 tests pass, 0 fail)
  • node scripts/check-corrections.mjs: ok, 38 lines

Cross-review

  • Reviewer openai/gpt-6.1-sol; coder anthropic/claude-opus-5-5. Revert test: exempt (docs and instructions only, no behavior).
  • Initial review at 0fdfbf6 (merge-base c11b327): Not ready. Finding 1 (medium, blocking): ADR-0082 did not amend ADR-0060's reason "The build provenance names refs/heads/main, not the release tag that the writer checks". Fixed in 137e406.
  • Merge of main e1fe209 in 783fb34: the diffs of the PR's 4 other files are byte-identical before and after (cmp <(git diff c11b327 0fdfbf6 -- F) <(git diff e1fe209 783fb34 -- F)); the reviewer repeated this and found ADR-0081 compatible.
  • Re-review 1 at 137e406: finding 1 resolved. Finding 2 (medium, blocking): the guard must be an AGENTS.md rule, not only a skill rule. Fixed in 0bb298f.
  • Re-review 2 at 0bb298f: Ready, Blocking: none.

ADR-0060 and ADR-0066 record omarchy-apps as attested=no. The
apt-publisher registers it as build.yml@refs/heads/main since its
ADR-0004 (frostyard/apt-publisher#28), so the writer verifies the build
provenance of each .deb. ADR-0082 records the stricter check and amends
both ADRs in part; they get only a link line (ADR-0033). Plan 0009's
omarchy-apps entry follows.
@github-actions github-actions Bot added the level:L3 Skim label Nov 13, 2026
ADR-0060 gives the reason for attested=no: the provenance names
refs/heads/main, not the release tag that the writer checks. For
omarchy-apps the writer now checks the branch ref, so ADR-0082 lists
that reason among the amended statements.

Guard: the write-adr skill now says to list every statement the new
decision makes false before "everything else stands", with a
corrections line.
A blocker that no test can catch gets an AGENTS.md rule. The
corrections line now points to it.
@bketelsen
bketelsen merged commit 38a2ddd into main Nov 13, 2026
6 checks passed
@bketelsen
bketelsen deleted the lucilla/adr-0082-omarchy-attested branch November 13, 2026 18:20
bketelsen pushed a commit to frostyard/apt-publisher that referenced this pull request Nov 13, 2026
… the tool list (#49)

- The canary downloads each new package and installs nothing. README,
  design and operations say so; ADR-0005 amends ADR-0001 in part. An
  install step is #48.
- The audit counts only the producer's registered component.
- ADR-0006 gives the reason for the incus signer ref and amends ADR-0004
  in part, which kept process detail (core ADR-0051).
- The development runbook names every system tool tests/run.sh checks.
- org-adrs.md lists core ADR-0060, ADR-0061 and ADR-0066; the core record
  of the attested omarchy-apps registration follows in frostyard/core#239.

Fixes #42
Fixes #43
Fixes #44
Fixes #45
Fixes #46

Co-authored-by: frostyard-machines <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L3 Skim ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants