docs: governed-layer correction sweep - #147
Merged
Merged
Conversation
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>
Contributor
Performance Budget Check ✅Binary Size: 14.91 MB / 20 MB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 deadinternal/database/fixturespackage.Highlights
task db:test:setupapplies theauth.uid()stub before migrating); CLI prerequisites listed; budgets table states Enforced vs Monitored per ADR-000.internal/cache/removed from README, engineering.md, and two guides.check:adr,test:mutation,db:test:setupadded.fly.tomlexception, and the graduation-log exception;cicommit type.PUBLIC_BASE_URLis required; full brand-string and test-assertion list; seed migrations to strip.[0.2.0]/[0.3.0]links point at the untagged 0.2.0 release commit.task cigreen 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