docs: a handoff note for the next agent, and the worktree feed trap
CI / Typecheck, test, feed (push) Successful in 17s
CI / Build site (push) Successful in 7s
CI / Container image (push) Successful in 16s

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Lucas Winther
2026-10-16 06:46:53 +02:00
co-authored by Claude Opus 5.5
parent 256ea71cc0
commit ee413892ff
2 changed files with 34 additions and 0 deletions
+4
View File
@@ -128,6 +128,10 @@ cycle:
- **Read text with `textContent`.** Eyebrows are uppercased in CSS, so `innerText` returns
`TODAY'S DAILIES` and a wait for `Today's dailies` never ends.
- **Keep total capture scale at or below about 3×**; above it sticky panes rasterise blank.
- **A fresh git worktree has no feed.** `public/data/` is git-ignored, so a worktree's app shows
"Events unavailable — Feed request failed (404)". Copy `public/data/` from the main checkout (or
run `bun run build:feed`, which builds from snapshots and fixtures) before serving. A worktree
also needs its own `bun install`.
**`build:js` passes `--production`, and that flag is load-bearing.** Without it Bun bundles React's
*development* build: 566 KB rather than 344 KB (164 KB vs 103 KB gzipped), every element creation
+30
View File
@@ -1,5 +1,35 @@
# TODO
## Handoff — state on 2026-10-16
For an agent picking this up with no prior conversation. Everything below is in the repo; this
note only says where to start.
- **Done today, all on `main` and pushed:** the owner's "usual repeatable events" request, in three
sub-projects — built-in weekly/monthly routines with per-item tracking
([spec](docs/superpowers/specs/2026-10-14-built-in-routines-design.md)), every-N-days cycles for
tasks and built-ins ([spec](docs/superpowers/specs/2026-10-16-cycle-routines-design.md)), and
battle pass windows as feed events ([spec](docs/superpowers/specs/2026-10-16-pass-windows-design.md),
see its § Outcome). Plans are beside them in `docs/superpowers/plans/`. Nothing is in flight: no
open branches or worktrees.
- **No next task has been chosen.** The open items below are the candidates; the owner decides.
The ones that need the owner in the game first are marked as checks.
- **How the owner works** (their standing instructions, also in their personal Claude settings):
once they approve a design, carry it through spec → plan → execution with no extra review stops,
and report the decisions made at the end. Built-in figures are verified by the owner in game
before they are relied on (§ the "Confirmed in game" rule in `src/shared/routines.ts`); the
owner chose on 2026-10-16 to merge the cycle built-ins ahead of their checks and keep the checks
here. Ask before anything outward-facing; push to `origin` (Gitea) only.
- **Practical notes from this session:** the `adapter-author` agent (`.claude/agents/`) adds one
source per run and correctly stops when a host's `robots.txt` answers Fandom's challenge (403) —
the owner then reads the file in a browser and the reading is recorded in the source's comment
(AGENTS.md § Scraping conduct); scheduled refreshes run with `--assume-robots-on-403` for every
host. endfield.wiki.gg disallows `/api.php` for `*`, so only its `/wiki/` pages are open. A
fresh worktree needs `bun install` and a copy of `public/data/` (AGENTS.md § Looking at the
built app).
## Open items
- [ ] Make it clear which game each *This week & month* chip belongs to (owner, 2026-10-16: "it can
become a bit unclear"). With built-ins for seven games, that row now holds many chips whose
titles do not name their game — "Weekly Routine", "Weekly Challenge", "City Stamina",