From b66bf4220eb824136e5ddcba898db51d45c4a94c Mon Sep 17 00:00:00 2001 From: systemfsoftware-bot <318394648+systemfsoftware-bot@users.noreply.github.com> Date: Fri, 13 Nov 2026 02:21:38 -0500 Subject: [PATCH] fix(docs): drop the dangling CONSTITUTION-ARTICLES.md link --- AGENTS.md | 3 +- CONSTITUTION-ARTICLES.md | 1 - ...dangles-after-constitution-drops-a-file.md | 28 +++++++++++++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) delete mode 120000 CONSTITUTION-ARTICLES.md create mode 100644 docs/solutions/tooling/doctrine-symlink-dangles-after-constitution-drops-a-file.md diff --git a/AGENTS.md b/AGENTS.md index c62101c..46dd851 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -16,7 +16,6 @@ Load docs on-demand when triggers fire; do not perform eager multi-spec reads at | ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | `CONSTITUTION.md` | architecture changes, rule authoring, or design disputes | | `repos/constitution/ENFORCEMENT.md` | building or changing an instrument that grades work (lint gates, stream rules, CI checks, thresholds, rubrics, advisors); situational read only | -| `CONSTITUTION-ARTICLES.md` | editing source files (pure core, types, boundaries, testing) | | `docs/solutions/tooling/bash-to-deno-port-semantics.md` | modifying path mapping, git command wrappers, or cross-platform Deno CLI semantics | | `subtrees.toml` | updating or adding vendored git subtrees | @@ -37,7 +36,7 @@ Load docs on-demand when triggers fire; do not perform eager multi-spec reads at ## Directory Map -Root doctrine files `CONSTITUTION.md`, `CONSTITUTION-ARTICLES.md`. +Root doctrine file `CONSTITUTION.md`. | Directory | What it is | Governance | | -------------- | --------------------------------------------------------- | ----------------- | diff --git a/CONSTITUTION-ARTICLES.md b/CONSTITUTION-ARTICLES.md deleted file mode 120000 index 5f15994..0000000 --- a/CONSTITUTION-ARTICLES.md +++ /dev/null @@ -1 +0,0 @@ -repos/constitution/CONSTITUTION-ARTICLES.md \ No newline at end of file diff --git a/docs/solutions/tooling/doctrine-symlink-dangles-after-constitution-drops-a-file.md b/docs/solutions/tooling/doctrine-symlink-dangles-after-constitution-drops-a-file.md new file mode 100644 index 0000000..072af79 --- /dev/null +++ b/docs/solutions/tooling/doctrine-symlink-dangles-after-constitution-drops-a-file.md @@ -0,0 +1,28 @@ +--- +title: A root doctrine symlink dangles after the vendored constitution drops the file it points to +date: 2026-11-13 +category: tooling +problem_type: broken_reference +severity: low +symptoms: + - CONSTITUTION-ARTICLES.md at the repository root is a symlink to repos/constitution/CONSTITUTION-ARTICLES.md, which does not exist + - Repositories that vendor this one get a dangling symlink inside repos/worktrunk-scripts +tags: + - subtree + - symlink + - constitution +--- + +# A root doctrine symlink dangles after the vendored constitution drops the file it points to + +## Problem + +The constitution removed `CONSTITUTION-ARTICLES.md` (systemfsoftware/constitution 26a527c0, "restore the single resident document"). This repository still carried a root symlink to `repos/constitution/CONSTITUTION-ARTICLES.md`, and AGENTS.md still routed to it. Once the subtree update landed, the link pointed at nothing. It also dangled inside every repository that vendors worktrunk-scripts, where the subtree import has to replace it with an empty file. + +## Fix + +Delete the symlink and its AGENTS.md routing row. `CONSTITUTION.md` is the only root doctrine file. + +## Prevention + +When a subtree update removes a file, look for root symlinks and AGENTS.md rows that name it, and change them in the same update.