From dcc9dfefd54d90264fdcd68536e55da114bcfdf7 Mon Sep 17 00:00:00 2001 From: Karibhou <157208370+Karibhou@users.noreply.github.com> Date: Sat, 17 Oct 2026 23:26:05 +0200 Subject: [PATCH] =?UTF-8?q?feat(sync):=20sync=20Hive=20ADRs=200018?= =?UTF-8?q?=E2=80=930024=20to=20the=20docs=20site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the ADRs that exist on hivecommons/hive v5 after 0017 to the sync list so they are hosted under /docs/hive/adr/ instead of linking out to GitHub. v5 has no ADR 0021 and ADR 0020 is named 0020-spek-continuous-convergence.md, so the list is the six real files. Hive-Run: hivecommons/docs#358 Hive-Plan: add missing ADR entries to sync-hive-docs.ts Hive-Spec: sync-hive-docs#adr-list Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Lv7WuWSM3PssHEeaQoyjZT Signed-off-by: Karibhou <157208370+Karibhou@users.noreply.github.com> --- changelog.d/added-358-sync-adr-0018-0024.md | 2 ++ scripts/sync-hive-docs.main.test.ts | 2 +- scripts/sync-hive-docs.ts | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 changelog.d/added-358-sync-adr-0018-0024.md diff --git a/changelog.d/added-358-sync-adr-0018-0024.md b/changelog.d/added-358-sync-adr-0018-0024.md new file mode 100644 index 0000000..1ef39f7 --- /dev/null +++ b/changelog.d/added-358-sync-adr-0018-0024.md @@ -0,0 +1,2 @@ +- ADRs 0018–0020 and 0022–0024 from hivecommons/hive v5 are now synced to the docs site + (`/docs/hive/adr/…`) instead of linking out to GitHub (hivecommons/docs#358). diff --git a/scripts/sync-hive-docs.main.test.ts b/scripts/sync-hive-docs.main.test.ts index 76375ac..32b0eca 100644 --- a/scripts/sync-hive-docs.main.test.ts +++ b/scripts/sync-hive-docs.main.test.ts @@ -65,7 +65,7 @@ async function runSync(): Promise<{ out: string; err: string }> { () => { const done = exitSpy.mock.calls.length > 0 || - joinCalls(logSpy).includes("adr/0017-podman-quadlet-lifecycle.md"); + joinCalls(logSpy).includes("adr/0024-provider-credential-lifecycle.md"); if (!done) throw new Error("sync still running"); }, { timeout: 5_000, interval: 5 } diff --git a/scripts/sync-hive-docs.ts b/scripts/sync-hive-docs.ts index dfbf50c..dc508b0 100644 --- a/scripts/sync-hive-docs.ts +++ b/scripts/sync-hive-docs.ts @@ -75,6 +75,12 @@ const files: Array<{ source: string; target?: string; route?: string }> = [ { source: "adr/0015-csp-style-src-scope.md" }, { source: "adr/0016-csp-script-src-scope.md" }, { source: "adr/0017-podman-quadlet-lifecycle.md" }, + { source: "adr/0018-dashboard-design-tokens.md" }, + { source: "adr/0019-escalation-over-stalling.md" }, + { source: "adr/0020-spek-continuous-convergence.md" }, + { source: "adr/0022-opt-in-earned-codex-reset-redemption.md" }, + { source: "adr/0023-trusted-author-automerge.md" }, + { source: "adr/0024-provider-credential-lifecycle.md" }, ]; const localHiveDocs: Array<{ source: string; target?: string }> = [