Repository navigation
fix(trail): learnings reach Claude on file open, plus setup fixes - #642
anirudhkumar-nanonets wants to merge 1 commit into
Conversation
🌱 graft blast radius5 areas changed → 2 areas can be affected. 2 dependent symbols, depth 2. flowchart TB
A0(("Workspace Grep<br/>1 symbol"))
A1(("MCP Server<br/>1 symbol"))
classDef reached fill:#D9EDF3,stroke:#3AA7C9,stroke-width:1.5px,color:#0E313C;
class A0,A1 reached;
Who knows this code — 1 person across 7 areas
Ownership is git history over each area's own files, weighted towards recent work (120-day half-life). Merge commits and bots are dropped, and you are dropped from your own PR. A name with no All 2 dependent symbols, grouped by areaWorkspace Grep — 1 symbol in 1 file
MCP Server — 1 symbol in 1 file
Test signal per changed area — 4 ✓ · 1 ✗Reached = a node under a test path has a resolved edge into the changed symbol. It undercounts anything called indirectly — through a CLI, a spawned process or a dynamic import — so read a low ratio as “look here”, never as a coverage gate.
8 test suites also reference this code8 symbols, kept out of the diagram and the table so they cannot crowd out the areas a reviewer has to look at.
Open the interactive graph → — click an area to see its dependent symbols at file:line. |
Fixes the software bugs from the 16 Oct Trail user tests.
Moves:
learnings_committed(PostHog, database 11; query indaily/project.md). Today's value isn't filled in because Metabase isn't connected in this session. Baseline 0 on 13 Oct.What changes
touchesname that file, once a session, two at most. Claude no longer has to call trail to get them. Checked in a real Sonnet session on app-to-agents-migration.touchescome from the session transcript: files edited, then files named in the note, then files read. Before, every note listed whatever untracked files sat in the repo.trail grepnames the git-ignored code it didn't search instead of saying all code was searched. The migration repo keeps the old app code in ignoredsource_models/folders.trail initrefuses the home folder. In other folders outside git it says the learnings stay on this machine, instead of saying to commit.Not changed: "skill not loaded on Sonnet" didn't reproduce. Sonnet started with
trail askin 3 of 3 runs.Testing
init-guard,ignored-code,trail-learning-on-touch, plus cases intrail-homeandtrail-note-ask. 59 pass across the touched files.npm testdeleted the user-level trail hooks and skill in~/.claude.trail check
It flags 3 to 7 conflicts (the count changes between runs), all against the "Tried and ruled out" section of the learning this PR adds. The code follows that learning's Decided section: refuse only the home folder, and no fix for Sonnet. So it ships as is, and a learning in this PR records the false match.
🤖 Generated with Claude Code