diff --git a/repos/worktrunk-scripts/.github/dependabot.yml b/repos/worktrunk-scripts/.github/dependabot.yml new file mode 100644 index 000000000..01eedb273 --- /dev/null +++ b/repos/worktrunk-scripts/.github/dependabot.yml @@ -0,0 +1,20 @@ +# The org's one Dependabot configuration (public-repo standard, item 5). Only the ecosystems and the extra +# major-version ignores differ by repository. The 3-day cooldown matches pnpm's minimumReleaseAge; vendored +# subtrees under repos/ are never updated in place; @systemfsoftware/* moves with the flake input. +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: weekly + day: monday + cooldown: + default-days: 3 + exclude-paths: + - "repos/**" + labels: + - "automerge" + groups: + github-actions-minor-patch: + patterns: ["*"] + update-types: ["minor", "patch"] diff --git a/repos/worktrunk-scripts/AGENTS.md b/repos/worktrunk-scripts/AGENTS.md index c62101cd9..46dd85194 100644 --- a/repos/worktrunk-scripts/AGENTS.md +++ b/repos/worktrunk-scripts/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/repos/worktrunk-scripts/CONSTITUTION-ARTICLES.md b/repos/worktrunk-scripts/CONSTITUTION-ARTICLES.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/repos/worktrunk-scripts/docs/solutions/tooling/doctrine-symlink-dangles-after-constitution-drops-a-file.md b/repos/worktrunk-scripts/docs/solutions/tooling/doctrine-symlink-dangles-after-constitution-drops-a-file.md new file mode 100644 index 000000000..072af7989 --- /dev/null +++ b/repos/worktrunk-scripts/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.