docs(adr): amend ADR-0026 for the unlanded-plugin root waiver

ADR-0026 said the root manifest is never waived. Since the rtk routing
hook landed it has one narrow waiver: ref-consistency for a plugin not
yet on origin/main. The amendment records the waiver's conditions, the
re-run of the full 15-check root set on a scratch copy with those
plugins' entries removed, and that the waiver lapses once the follow-up
lock PR lands.

Refs: #179

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-12-06 10:07:57 +00:00
1 parent e14fca123d
commit 27f08af9b3
1 file changed
+16
@@ -2,6 +2,22 @@
**Status:** Accepted (2026-09-20) **Status:** Accepted (2026-09-20)
*Amended 2026-12-06 ([rtk routing hook](https://git.rkdr.net/Mortis/Holocron/issues/179)): "the root
manifest is never waived" below now holds for `lockfile-exists` only. The root has one narrow
waiver: `ref-consistency` for a plugin not yet on `origin/main`. Root `apm.yml`'s first-party
dependencies resolve from the remote's `main` (ADR-0019), so the lock cannot record a plugin before it
lands. `check-executables-allow-sync` meanwhile requires a hook- or bin-shipping plugin's git+path
entry before it can be pushed, so without the waiver such a plugin could never land. The waiver applies
only when all of these hold: the output reads `1 of 3 check(s) failed` and its one failing row is
`ref-consistency`; the details block appears exactly once and every line in it is `<identity>/plugins/<name>: not found
in lockfile`, for root `apm.yml`'s own entry and a name that starts alphanumeric and holds no `..`;
`plugins/<name>/apm.yml` is in the working tree and absent from the local `origin/main`, which must
resolve. On apm 0.39.3 a failing `ref-consistency` stops the root run after three checks, so the hook then
re-runs `apm audit --ci` on a scratch copy of the tree with those plugins' `dependencies.apm` entries
removed, and the push passes only if that run reports `All 15 check(s) passed`. The working tree is
never written. The waiver lapses for each plugin once it is on `origin/main`, when the follow-up PR that
records it in the lock is required.*
*Amended 2026-12-02 (holocron#272): re-verified on apm 0.39.3 in a scratch copy of *Amended 2026-12-02 (holocron#272): re-verified on apm 0.39.3 in a scratch copy of
`plugins/mattpocock`. Without a package lock, the same line and `1 of 1 check(s) failed` appear, so `plugins/mattpocock`. Without a package lock, the same line and `1 of 1 check(s) failed` appear, so
the waiver is unchanged. With one from `apm lock`, the rest of the root set arms (fourteen more the waiver is unchanged. With one from `apm lock`, the rest of the root set arms (fourteen more