Commit graph

285 commits

Author SHA1 Message Date
75cb110ee6 docs(backlog): fix relative paths to plans (../plans → ./plans)
The three "Implementatieplan" links for M9/M10/M11 used `../plans/…`,
which from `docs/backlog.md` resolves to `<repo>/plans/…` — a path that
does not exist. Plans live at `docs/plans/…`, so the correct relative
prefix is `./plans/…`. `scripts/check-doc-links.mjs` now reports clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 12:49:37 +02:00
7a9d5600c9 docs(claude): remove manual Track B — MCP is the single workflow entry point 2026-05-03 03:35:41 +02:00
fcff3fd0fa docs(data-model): sync schema gaps — sprint dates, task verify_required/repo_url, product auto_pr, claude_jobs pr_url/retry_count, PBI notify trigger 2026-05-03 03:31:23 +02:00
152ed44e84 docs: add ADR-0009 and M12 three-phase pipeline planning docs 2026-05-03 03:29:50 +02:00
422df4f9fb Merge remote-tracking branch 'origin/main' into pr-61
# Conflicts:
#	.gitignore
#	AGENTS.md
#	CLAUDE.md
#	README.md
#	docs/API.md
#	docs/MD3_Color_Scheme_Documentation.md
#	docs/api.md
#	docs/api/rest-contract.md
#	docs/architecture.md
#	docs/backlog.md
#	docs/backlog/index.md
#	docs/backlog/product-historical.md
#	docs/decisions/agent-instructions-history.md
#	docs/design/styling.md
#	docs/functional.md
#	docs/md3-color-scheme.md
#	docs/patterns/claude-question-channel.md
#	docs/patterns/dialog.md
#	docs/patterns/qr-login.md
#	docs/personas.md
#	docs/plans/M10-qr-pairing-login.md
#	docs/plans/M11-claude-questions.md
#	docs/plans/M9-active-product-backlog.md
#	docs/plans/ST-1114-copilot-reviews.md
#	docs/plans/tweede-claude-agent-planning.md
#	docs/product-backlog.md
#	docs/qa/api-test-plan.md
#	docs/scrum4me-backlog.md
#	docs/scrum4me-functional-spec.md
#	docs/scrum4me-personas.md
#	docs/scrum4me-product-backlog.md
#	docs/scrum4me-test-plan.md
#	docs/solo-paneel-spec.md
#	docs/specs/functional.md
#	docs/specs/personas.md
#	docs/styling.md
#	docs/test-plan.md
2026-05-03 03:20:28 +02:00
Janpeter Visser
289bcf9bf0
Phase 3 — Move docs into topical folders (#60)
* docs(taxonomy): scaffold topical folders under docs/

Create empty folder structure: architecture/, specs/, specs/dialogs/,
design/, api/, runbooks/, decisions/, backlog/, qa/, assets/ — each
with a .gitkeep so git tracks the directories.

* docs(taxonomy): add placeholder comment to .gitkeep files
2026-05-03 03:01:06 +02:00
Janpeter Visser
e10f8f81bc
Phase 2 — Normalize file naming (#59)
* docs(naming): drop scrum4me- prefix from doc filenames

Rename 10 docs/scrum4me-*.md files to unprefixed kebab-case names.
Update every internal link in docs/, CLAUDE.md, AGENTS.md, README.md.

* docs(naming): lowercase API.md and MD3 filenames

Rename docs/API.md → docs/api.md and
docs/MD3_Color_Scheme_Documentation.md → docs/md3-color-scheme.md.
Update all internal links across 7 files.

* docs(naming): rename plan file to kebab-case ASCII

Rename "docs/plans/Tweede Claude Agent — Planning Agent.md"
→ docs/plans/tweede-claude-agent-planning.md. No external links needed updating.

* docs(naming): rename middleware.md to proxy.md (next 16)

docs/patterns/middleware.md → docs/patterns/proxy.md following
the Next.js 16 proxy.ts rename. Update link in CLAUDE.md.

* docs(naming): polish CLAUDE.md doc-index after renames

Fix doubled scrum4me-scrum4me-mcp repo references (cascade from
prior sed) in CLAUDE.md, docs/architecture.md, backlog.md,
agent-instruction-audit.md, and plans/ST-1109. Update
'Middleware' label to 'Proxy middleware' in patterns table.
2026-05-03 03:00:47 +02:00
564efc2a2b docs(links): fix broken cross-references after restructure 2026-05-03 01:16:42 +02:00
ffc24f7477 ci(docs): block merge on broken doc links 2026-05-03 01:16:38 +02:00
d7039b60ef chore(docs): wire docs:check-links and docs npm scripts 2026-05-03 01:16:27 +02:00
822db9472b feat(docs): add doc-link checker script 2026-05-03 01:16:22 +02:00
f07e40be31 docs(readme): link INDEX + glossary + agent instructions 2026-05-03 01:13:47 +02:00
b082d79700 chore(docs): regenerate INDEX.md in pre-commit hook 2026-05-03 01:13:32 +02:00
cd68886953 docs(glossary): add docs/glossary.md 2026-05-03 01:12:43 +02:00
f6c67ed37a docs(index): regenerate after ADR 0001-0008 2026-05-03 01:11:20 +02:00
1439bdd209 docs(adr): add 0008-agent-instructions-in-claude-md + update README index 2026-05-03 01:11:15 +02:00
eb9c843b6e docs(adr): add 0007-claude-question-channel-design 2026-05-03 01:11:12 +02:00
b77d84db5a docs(adr): add 0006-demo-user-three-layer-policy 2026-05-03 01:11:12 +02:00
c3afe767ed docs(adr): add 0005-iron-session-over-nextauth 2026-05-03 01:11:09 +02:00
f7d5d06376 docs(adr): add 0004-status-enum-mapping 2026-05-03 01:11:08 +02:00
98db4d6376 docs(adr): add 0003-one-branch-per-milestone 2026-05-03 01:11:05 +02:00
93499a1664 docs(adr): add 0002-float-sort-order 2026-05-03 01:11:05 +02:00
833236ce76 docs(adr): add 0001-base-ui-over-radix 2026-05-03 01:11:02 +02:00
d469b4018a docs(trim): extract MCP integration into runbook 2026-05-03 01:03:55 +02:00
df649ee1bd docs(trim): extract branch/commit rules into runbook 2026-05-03 01:02:43 +02:00
0342498f63 docs(split): merge md3-color-scheme into design/styling 2026-05-03 01:00:01 +02:00
5b0b8d5b7e docs(split): merge solo-paneel-spec into specs/functional.md 2026-05-03 00:59:23 +02:00
481e0c65cd docs(split): break architecture.md into 6 topical files 2026-05-03 00:58:35 +02:00
bdc52a4066 docs(taxonomy): move agent-instruction-audit into decisions/ 2026-05-03 00:56:23 +02:00
90ee122641 docs(taxonomy): move design/api/qa/backlog/assets into folders 2026-05-03 00:56:03 +02:00
2e47bda28e docs(taxonomy): move spec files into docs/specs/ 2026-05-03 00:55:11 +02:00
e56a038b4d docs(taxonomy): scaffold topical folders under docs/ 2026-05-03 00:54:18 +02:00
30f9b1afe7 docs(naming): polish CLAUDE.md doc-index after renames 2026-05-03 00:37:42 +02:00
61a6ce634f docs(naming): rename middleware.md to proxy.md (next 16) 2026-05-03 00:35:05 +02:00
ac23b33d17 docs(naming): rename plan file to kebab-case ASCII 2026-05-03 00:34:23 +02:00
1b81f66fa6 docs(naming): lowercase API.md and MD3 filenames 2026-05-03 00:33:07 +02:00
f5ff3673e2 docs(naming): drop scrum4me- prefix from doc filenames 2026-05-03 00:32:32 +02:00
6c49a5013d docs(index): regenerate INDEX.md after front-matter pass 2026-05-03 00:30:58 +02:00
739e631313 docs(front-matter): add YAML front-matter to plans + agent files 2026-05-03 00:30:36 +02:00
6beed46311 docs(front-matter): add YAML front-matter to patterns/ 2026-05-03 00:29:25 +02:00
f106af9ab4 docs(front-matter): add YAML front-matter to docs/ root 2026-05-03 00:25:54 +02:00
83262e20bb docs(junk-cleanup): archive .Plans/ to docs/plans/archive/ 2026-05-03 00:21:40 +02:00
0982640ade docs(junk-cleanup): remove stub patterns/test.md 2026-05-03 00:20:07 +02:00
8ff118bdd6 docs(plans): add PBI bulk-create spec for docs-restructure
Machine-parseable spec for an executor that calls the scrum4me MCP
(create_pbi → create_story → create_task) to seed the docs-restructure
work into the DB.

- Section 1 (Context) is the PBI description; serves as task-context
  via mcp__scrum4me__get_claude_context.
- Section 2 lists the 6 resolved decisions (English, MD3+styling
  merged, solo-paneel merged, .Plans archived, Nygard ADR default,
  node index script).
- Section 3 records what already shipped on this branch so the
  executor doesn't duplicate the ADR scaffolding or index generator.
- Section 4 carries the structured YAML graph: 1 PBI, 8 stories
  (one per phase), 39 tasks. product_id is REPLACE_ME — fill before
  running.
- YAML validated with PyYAML; field schema sanity-checked.
2026-05-02 21:41:18 +00:00
d9dbdb1946 chore: ignore Obsidian vault and personal sidecar files
Add .obsidian/ (Obsidian vault config) and _*.md (personal sidecar
notes) to .gitignore so the docs/ tree can serve as canonical source
of truth while still being usable as an Obsidian vault for personal
authoring. The docs index generator already excludes the same _*.md
pattern from INDEX.md.
2026-05-02 21:25:43 +00:00
eea5c86886 feat(docs): add docs index generator + initial INDEX.md
scripts/generate-docs-index.mjs walks docs/**/*.md, parses YAML
front-matter (or first H1 fallback) and a Nygard-style ## Status
section, then writes docs/INDEX.md with grouped tables for ADRs,
Specs, Plans (with archive subsection), Patterns, and Other.

Pure Node 20 (no external deps); idempotent — running it twice
produces byte-identical output. Excludes adr/templates/, the ADR
README, INDEX.md itself, and any *_*.md sidecar file.

Wire-up:
- package.json: docs:index → node scripts/generate-docs-index.mjs

Initial run indexed 35 docs across the existing structure; the
generated INDEX.md is committed so the table is reviewable in the
PR before hooking generation into a pre-commit step.
2026-05-02 21:25:35 +00:00
8a7d419972 docs(adr): add ADR scaffolding (templates, README, meta-ADR)
Set up docs/adr/ as the canonical home for architecture decisions:

- templates/nygard.md — default four-section format (Status, Context,
  Decision, Consequences) for one-way-door decisions.
- templates/madr.md — MADR v4 with YAML front-matter and explicit
  Considered Options for decisions where rejected alternatives matter.
- README.md — naming convention (NNNN-kebab-case), template-selection
  guidance (Nygard default; MADR for auth, queue mechanics, agent
  integration), status lifecycle, and ADR roster.
- 0000-record-architecture-decisions.md — meta-ADR establishing the
  practice itself, in Nygard format.

Backfilling existing implicit decisions (base-ui-over-radix, float
sort_order, demo-user three-layer policy, etc.) is fase 6 of the
docs-restructure plan.
2026-05-02 21:25:26 +00:00
6e0827399a docs(plans): add docs-restructure plan for AI-optimized lookup
Audit of existing 39 doc files (~10.700 lines) and a phased restructure
proposal aimed at minimising the tokens an AI agent has to read to find
the right reference. Captures resolved decisions on language (English),
ADR template (Nygard default with MADR escape-hatch), index generator
(node script), and folder taxonomy. Proposal status — fase 1 to follow.
2026-05-02 21:25:17 +00:00
dc3832ad54
feat(schema): add notify_pbi_change trigger so PBI INSERT/UPDATE/DELETE emits NOTIFY on scrum4me_changes (#58)
Co-authored-by: Scrum4Me Agent <30029041+madhura68@users.noreply.github.com>
2026-05-02 21:10:03 +02:00
6375ed6949
End-to-end smoke-test: PBI/Story/Task verschijnen zonder refresh (#57)
* fix(backlog-store): make INSERT handlers idempotent to prevent duplicate entries on duplicate SSE-events

* docs(realtime-smoke): add manual smoke-checklist for PBI/Story/Task realtime end-to-end verification

---------

Co-authored-by: Scrum4Me Agent <30029041+madhura68@users.noreply.github.com>
2026-05-02 21:09:37 +02:00