From 27f08af9b3d22d4a06a88802c9c87a3381ed1d26 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 6 Dec 2026 10:07:57 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi --- ...26-a-plugin-package-is-not-an-install-root.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/adr/0026-a-plugin-package-is-not-an-install-root.md b/docs/adr/0026-a-plugin-package-is-not-an-install-root.md index 1903136..0b23332 100644 --- a/docs/adr/0026-a-plugin-package-is-not-an-install-root.md +++ b/docs/adr/0026-a-plugin-package-is-not-an-install-root.md @@ -2,6 +2,22 @@ **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 `/plugins/: not found +in lockfile`, for root `apm.yml`'s own entry and a name that starts alphanumeric and holds no `..`; +`plugins//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 `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