Skip to content

docs: retire dogfood logging and routines, collapse agent instructions - #775

Merged
thinkclay merged 1 commit into
mainfrom
claude/repo-housekeeping-cleanup-1dd103
Sep 15, 2026
Merged

thinkclay merged 1 commit into
mainfrom
claude/repo-housekeeping-cleanup-1dd103

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

What

Housekeeping pass on the AI-instruction and docs surface. No product code changes.

  • Dogfood logging retired. The end-of-session logging mandate is gone from CLAUDE.md, along with docs/agents/DOGFOODING.md and the local /dogfood-log skill. The script, seeds, and Tasks/Logs product code are untouched.
  • Autonomous routines retired. docs/agents/ROUTINES.md (409 lines) and the one routine output doc are deleted; nothing has run since 2026-07-24. 📊 Weekly Routine Digest #394 is closed.
  • One instruction surface. .cursor/ (17 rules + a 1,600-line memory bank duplicating AGENTINFO) and .cline/ are deleted. docs/agents/CLAUDE.md is folded into the root CLAUDE.md, which is rewritten to ~50 lines: canonical pointers, the .radium/ pillar table, the working rules that were still true in the Cursor set, and the findings-go-to-Issues rule.
  • Stale references fixed in AGENTINFO.md, .radium/*, README.md, docs/README.md, and the agent runbooks: packages/scaffald-{sdk,ui} → packages/{sdk,ui}, beyond-ui gone, Tamagui and tRPC→SDK migration tables removed, Linear language reduced to a one-line historical note, pnpm gen (does not exist) removed.
  • Cold docs deleted (git history keeps them): Feb-2026 plans that never shipped (7,100 lines), May–June audit snapshots and session handoffs (29 MB of screenshots), tRPC-era strategy docs, the shipped skills-analytics PRD.
  • scripts/audit/ui-sweep.mjs defaults its output to the gitignored screenshots/ui-audit/ instead of docs/agents/audits/.

Verification

  • grep -ril dogfood CLAUDE.md AGENTINFO.md docs .radium README.md → nothing.
  • No remaining references to any deleted path outside immutable migration comments and the untouched dogfood scripts.
  • Markdown link sweep across CLAUDE.md, AGENTINFO.md, README.md, docs/**, .radium/*, scripts/README.md → no dead links (fixed four pre-existing ones in README.md and scripts/README.md on the way).
  • Pre-commit lint/typecheck and pnpm prepush pass.
  • pnpm radium:check reports the same 3 violations as main (DrawerContent useWindowDimensions, @hookform/resolvers pin); none introduced here.

🤖 Generated with Claude Code

…s to CLAUDE.md + AGENTINFO + .radium

Removes the dogfood-logging mandate, the DOGFOODING and ROUTINES specs (the
routines stopped running 2026-07-24), and the Cursor/Cline rule trees that
duplicated AGENTINFO.md and pointed at files that never existed.

Root CLAUDE.md is rewritten to ~50 lines: canonical pointers, the .radium
pillar table (folded in from docs/agents/CLAUDE.md, now deleted), the still-true
working rules from the Cursor set, and the findings-go-to-Issues rule.

AGENTINFO.md, .radium/*, README.md and the agent runbooks lose their references
to packages/scaffald-{sdk,ui}, beyond-ui, Tamagui mappings, the tRPC→SDK
migration checklist, and Linear. Cold docs (Feb-2026 plans that never shipped,
May–June audit snapshots and handoffs, tRPC-era strategy docs) are deleted;
git history keeps them. docs/README.md is rewritten against the real tree.

ui-sweep.mjs now writes to the gitignored screenshots/ dir instead of
docs/agents/audits/, since findings are filed as Issues.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@thinkclay
thinkclay merged commit ca06fe3 into main Sep 15, 2026
9 checks passed
@thinkclay
thinkclay deleted the claude/repo-housekeeping-cleanup-1dd103 branch September 15, 2026 20:41
thinkclay added a commit that referenced this pull request Sep 15, 2026
…under scripts/

REPO_ROOT was resolve(__dirname, '..') from scripts/audit/, i.e. scripts/.
The default output therefore landed in scripts/screenshots/ui-audit/ rather
than the screenshots/ui-audit/ the header (and #775's docs) name. Both are
gitignored, so nothing leaked; the path was just wrong.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
thinkclay added a commit that referenced this pull request Sep 15, 2026
)

* chore: gitignore fixes, untrack build artifacts, drop dead scripts

- .gitignore: the blanket `/plans/` line shadowed the `!/plans/prds/`
  exception (confirmed with check-ignore); removed it along with the
  duplicated `.env` and contracts lines. Added `.deno/`, `**/metro-cache/`,
  `infra/aws/dist/`, `*.bak`.
- Untracked `packages/supabase/functions/api/deno.json.bak` (a pre-#399
  copy) and the two Lambda zips under `infra/aws/dist/`, which are build
  output of `infra/aws/lambda/*/index.mjs`; nothing referenced them.
- Deleted the Linear ticket filer, the #658 repro scripts, the 2026-06-10
  audit result markdown (findings live in Issues), and the S3/CloudFront-era
  `deploy-storybook-aws.sh`, `fix-cloudfront-spa-routing.sh`,
  `setup-dev-domain.sh` plus their `storybook:deploy*` package scripts. Web
  ships only from EAS Hosting.
- scripts/README.md now lists the eight hand-run tools that are not wired
  into package.json.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* fix(audit): ui-sweep resolved the repo root one level short, writing under scripts/

REPO_ROOT was resolve(__dirname, '..') from scripts/audit/, i.e. scripts/.
The default output therefore landed in scripts/screenshots/ui-audit/ rather
than the screenshots/ui-audit/ the header (and #775's docs) name. Both are
gitignored, so nothing leaked; the path was just wrong.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
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.

1 participant