Repository navigation
Description
From the Oct 11–16 2026 Run retrospective, finding 8. Tracking issue: #721.
The evidence below is historical and attributed to the supplied report (repository snapshot 5504c97); it has not all been independently reproduced. Limited current-checkout checks were made at 53bb9c6. This is filed for maintainer triage, not automatic Pickup.
Requested outcome and validation
Add concise code-location pointers to relevant CONTEXT entries and teach agents to look up the issue's terms before reading large documents. Document rg/symbol searches and bounded ranges for large files, including the fakes' real directory layout. Keep AGENTS concise.
Extend generated-file guidance to include site/prompts/index.html and its source/generation command. In Factory TDD/domain guidance, direct agents to the relevant domain entries. In code-review guidance, prioritize changed hunks and supporting symbols; omit generated output from routine reading where the source and regeneration validation cover it, while preserving review of meaningful generated behavior.
Validate representative issue-to-code lookups and prompt regeneration instructions. Include a pointer to the existing site test runner/browser setup rather than duplicating it. This complements #701's README restructuring and does not require rewriting the README wholesale.
Current checkout check: AGENTS names only prompts/ as generated. site/tests/README.md already documents npm ci, installing Chromium with Playwright, and npm test, so the remaining site-doc task is discoverability and checking accuracy, not inventing missing instructions.
Original finding, including evidence, proposed fixes, and confidence
8. Navigation: big files read whole, and the glossary has no code map (Repo and Factory skill)
- Evidence: every session reads large files whole.
CONTEXT.md(35 KB, zerosrc/mentions) is read whole 4–7 times per Run: by the implementer, each reviewer and the Security review.skills/thirdshift-tdd/SKILL.md:10anddocs/agents/domain.mdboth say "read CONTEXT.md".- Codex shows at most ~10K tokens per call and drops the middle. A Merge run reports "review required" without trying a merge it knows will be refused #707's first multi-file
catlost 24,855 tokens and was re-read within 11 s. - README.md (158 KB) was printed whole in update https://thirdshift.app/ based on the latest which is part of thirdshift #663 (165K chars).
- The generated
site/prompts/index.html(453 KB) was diffed about 5 times by each make prompts and skills page sections fold closed and open on header click #683 reviewer. AGENTS.md's generated-files note names onlyprompts/. - Other misses:
tests/fakes.rsversustests/fakes/<tool>.rs, and site tests with no documented runner or browser. make prompts and skills page sections fold closed and open on header click #683 listed 6,020 /tmp entries hunting for Playwright.
- Fix:
- Repo: add a
_Code_:line to each CONTEXT.md entry, for example "Ticket board →src/spec_run/ticket_board.rs". - Repo: one AGENTS.md line: "rg before reading big files (CONTEXT.md, README.md, tests/fakes/gh.rs, tests/spec_run.rs); read ranges, one file per call."
- Repo: name
site/prompts/index.htmlas generated (its source issrc/prompts_page.rs), plus a site-tests line. - Factory: in tdd and domain, say "look up the issue's terms in CONTEXT.md". The code-review skill should drop generated paths from the reviewers' diff.
- Repo: add a
- Confidence: medium-high. This saves tokens more than wall-clock.
Activity
JacobStephens2 commentedon Oct 17, 2026
Agent Brief
Category: enhancement
Summary: Make domain-to-code navigation and bounded reading guidance discoverable.
Current behavior:
Domain definitions lack concise code-location pointers, agent guidance encourages reading the entire glossary, and generated-output guidance names only one of the prompt documentation outputs. Existing site browser-test setup instructions are present but not easily discovered.
Desired behavior:
Add a concise domain-to-code navigation index that maps relevant domain concepts to their owning code. Keep implementation paths and other implementation details out of glossary definitions; use the existing domain-reading instructions to make the separate index discoverable. Teach agents to search relevant terms/symbols and inspect bounded context before reading large documents, while still respecting applicable ADRs. Identify both generated prompt-documentation outputs and their actual generation source/command. Link the existing site-test setup. Update adapted Factory TDD/domain/review guidance consistently, keeping meaningful generated behavior reviewable and recording intentional exclusions from routine generated-output reading.
Key interfaces:
Acceptance criteria:
Out of scope: