diff --git a/docs/INDEX.md b/docs/INDEX.md index 5c4dd21..13adeb8 100644 --- a/docs/INDEX.md +++ b/docs/INDEX.md @@ -42,10 +42,7 @@ Auto-generated on 2026-05-11 from front-matter and headings. | [PBI Bulk-Create Spec — Docs-Restructure for AI-Optimized Lookup](./plans/docs-restructure-pbi-spec.md) | done | 2026-05-03 | | [Plan: model + mode-selectie per ClaudeJob-kind](./plans/job-model-selection.md) | — | — | | [Verbeterplan load/render Product Backlog, Sprint en Solo](./plans/load-render-improvement-plan-2026-05-10.md) | draft | 2026-05-10 | -| [M11 — Claude vraagt, gebruiker antwoordt](./plans/M11-claude-questions.md) | active | 2026-05-03 | | [M12 — Idea entity + Grill/Plan Claude jobs](./plans/M12-ideas.md) | planned | — | -| [M9 — Actief Product Backlog](./plans/M9-active-product-backlog.md) | active | 2026-05-03 | -| [PBI-79: Product Backlog workflow — sprint-membership via vinkjes](./plans/PBI-79-backlog-sprint-workflow.md) | — | — | | [Queue-loop verplaatsen van Claude naar runner](./plans/queue-loop-extraction.md) | — | — | | [Sprint MCP-tools — create_sprint & update_sprint](./plans/sprint-mcp-tools.md) | draft | 2026-05-11 | | [Advies - SprintRun, PR en worktree lifecycle als state machines](./plans/sprint-pr-worktree-state-machines.md) | draft | 2026-05-06 | diff --git a/docs/adr/0000-record-architecture-decisions.md b/docs/adr/0000-record-architecture-decisions.md index 12e6dd7..25750fb 100644 --- a/docs/adr/0000-record-architecture-decisions.md +++ b/docs/adr/0000-record-architecture-decisions.md @@ -61,6 +61,6 @@ that supersedes the old one rather than editing the original. not enforced through review. - Backfilling existing decisions requires writing 5–8 retrospective ADRs for choices that were never recorded (planned in fase 6 of - [`../plans/docs-restructure-ai-lookup.md`](../plans/docs-restructure-ai-lookup.md)). + [`../old/plans/docs-restructure-ai-lookup.md`](../old/plans/docs-restructure-ai-lookup.md)). - Two templates means a per-decision choice about which to use. Mitigated by making Nygard the explicit default in `README.md`. diff --git a/docs/glossary.md b/docs/glossary.md index 44c8014..e81cca1 100644 --- a/docs/glossary.md +++ b/docs/glossary.md @@ -41,7 +41,7 @@ Synonym for **ClaudeJob** — used in agent-facing docs because Claude Code cons ## PBI (Product Backlog Item) -The second level of the work hierarchy: `Product → PBI → Story → Task`. A PBI groups related stories under a single theme or capability. Status enum: `READY | BLOCKED | FAILED | DONE`. Has a stable `code` (`PBI-N`) per product. Do not use "Epic", "Feature", or "Issue" as synonyms. See [backlog index](./backlog/index.md). +The second level of the work hierarchy: `Product → PBI → Story → Task`. A PBI groups related stories under a single theme or capability. Status enum: `READY | BLOCKED | FAILED | DONE`. Has a stable `code` (`PBI-N`) per product. Do not use "Epic", "Feature", or "Issue" as synonyms. ## Solo Panel diff --git a/docs/plans/M11-claude-questions.md b/docs/old/plans/M11-claude-questions.md similarity index 100% rename from docs/plans/M11-claude-questions.md rename to docs/old/plans/M11-claude-questions.md diff --git a/docs/plans/M9-active-product-backlog.md b/docs/old/plans/M9-active-product-backlog.md similarity index 100% rename from docs/plans/M9-active-product-backlog.md rename to docs/old/plans/M9-active-product-backlog.md diff --git a/docs/plans/PBI-79-backlog-sprint-workflow.md b/docs/old/plans/PBI-79-backlog-sprint-workflow.md similarity index 100% rename from docs/plans/PBI-79-backlog-sprint-workflow.md rename to docs/old/plans/PBI-79-backlog-sprint-workflow.md diff --git a/scripts/check-doc-links.mjs b/scripts/check-doc-links.mjs index b2c1512..a88661f 100644 --- a/scripts/check-doc-links.mjs +++ b/scripts/check-doc-links.mjs @@ -14,8 +14,16 @@ import { fileURLToPath } from 'url'; const __dirname = dirname(fileURLToPath(import.meta.url)); const ROOT = resolve(__dirname, '..'); +// Directories under docs/ that are archived and may contain stale links by design. +// Their original-as-written paths are kept for historical reference, but the +// targets have since moved/been deleted. Skip them from link-checking. +const EXCLUDE_DIRS = new Set([ + resolve(__dirname, '..', 'docs', 'old'), +]); + // Collect all .md files under a directory recursively function collectMd(dir) { + if (EXCLUDE_DIRS.has(dir)) return []; const results = []; for (const entry of readdirSync(dir)) { const full = resolve(dir, entry);