Skip to content

docs: governed-layer correction sweep - #147

Merged
chrispezza merged 1 commit into
masterfrom
docs/governed-layer-sweep
Sep 30, 2026
Merged

chrispezza merged 1 commit into
masterfrom
docs/governed-layer-sweep

Conversation

@chrispezza

Copy link
Copy Markdown
Collaborator

Closes #142. Phase 1 of the 2026-09-30 docs health plan: every item is a verified fact fix in README, CLAUDE.md, .claude/*, the personalization and design-system guides, and CHANGELOG. One code removal: the dead internal/database/fixtures package.

Highlights

  • README Quick Start no longer fails on step two (task db:test:setup applies the auth.uid() stub before migrating); CLI prerequisites listed; budgets table states Enforced vs Monitored per ADR-000.
  • Phantom internal/cache/ removed from README, engineering.md, and two guides.
  • CLAUDE.md rules 1 and 2 fold in ADR-033 (append-only ADRs, guard hook) and ADR-029 (role tokens); still ten rules.
  • stack.md: 35 ADRs, ADR-027…034 listed, check:adr, test:mutation, db:test:setup added.
  • workflow.md: role links resolve from the generated AGENTS.md (its only three broken links); scope table gains the append-only row, the fly.toml exception, and the graduation-log exception; ci commit type.
  • personalization guide: PUBLIC_BASE_URL is required; full brand-string and test-assertion list; seed migrations to strip.
  • CHANGELOG: Unreleased filled (fix(deploy): stamp the continuous-deploy image with the git describe version #140/fix(health): report the stamped build version on deployed instances #141), 0.9.0 duplicate headings merged, 0.1.0 year fixed, [0.2.0]/[0.3.0] links point at the untagged 0.2.0 release commit.

task ci green locally (11 ADR checks pass, binary 14.0MB, JS 32.9KB, CSS 7.8KB gzipped). Relative-link check: 0 broken across 74 files.

🤖 Generated with Claude Code

README: Quick Start bootstraps vanilla Postgres with `task db:test:setup`
(the auth.uid() stub CI uses) instead of a bare db:migrate:up that fails
on the RLS migrations; CLI prerequisites with pinned install lines;
DATABASE_URL encoding note where it bites; `task ci` legs listed in full;
check:adr / asset-budgets / db:test:setup rows; project tree drops the
phantom internal/cache/ and gains scripts/, checks/, sql/demo, sql/test,
workflows, fly.toml, versions.json; budgets table carries the ADR-000
Enforced/Monitored class instead of claiming everything is enforced.

CLAUDE.md: rule 1 folds in ADR-033 (existing ADRs are append-only; the
PreToolUse guard), rule 2 folds in ADR-029 (role tokens, no raw palette
or dark: variants). Ten rules, per the ADR-018 ceiling.

.claude/: engineering.md drops `cache`, names log/slog (ADR-026), the
token rule, and how to run the DATABASE_URL-gated integration suites;
stack.md counts 35 ADRs, adds ADR-027/028/029/032/033/034, adds
check:adr, test:mutation and db:test:setup, fixes the fmt description
and the budgets paragraph; workflow.md links roles via ../.claude/ so the
generated AGENTS.md resolves them (its only three broken links), adds
scripts/, checks/, CLAUDE.md and .claude/ to modify-freely, an
append-only row for existing ADRs, the ADR-025 fly.toml exception, the
ADR-033 graduation-log exception to docs/ read-only, and the `ci` commit
type; reviewer role and code-reviewer agent check check:generated,
ADR-029 and ADR-033; launch.json gains a plain `go run` config beside
the op run one.

docs/: personalization guide lists PUBLIC_BASE_URL as required, every
brand-string site and the five tests that assert on it, the seed
migrations a forker must strip, and "next ADR is 035"; design-system
adds danger-emphasis and border-input, names tokens_contrast_test.go and
stops claiming rules 3-4 are machine-checked.

CHANGELOG: Unreleased carries #140/#141; 0.9.0's duplicate Added/Fixed
headings merged; 0.1.0 dated 2026; [0.2.0]/[0.3.0] compare links point at
the 0.2.0 release commit (90ed61b) since v0.2.0 was never tagged.

Removes internal/database/fixtures: hand-written, imported by nothing,
and inside the sqlc-generated path the ADR guard protects.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Performance Budget Check ✅

Binary Size: 14.91 MB / 20 MB

@chrispezza
chrispezza merged commit 10808c9 into master Sep 30, 2026
2 checks passed
@chrispezza
chrispezza deleted the docs/governed-layer-sweep branch September 30, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: governed-layer correction sweep (README Quick Start, phantom cache/, stale counts, CHANGELOG)

1 participant