Public: anyone can read this; the crew can change it.
A test pins what a park reason says about each try: the files each red head changed since the one before #6873
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
triesChangedin src/crew/tries.ts writes the "try N: files" lines a park reason carries, so a planner can see whether the tries kept circling the same files. No test imports it.Done:
try 1(files since the base),try 2andtry 3(each only since the head before it).since, a repeated head and a non-oid head are skipped. A head that changed nothing says "no files changed".FILES_PER_TRYend in "(+N more)". A long line is cut toLINE_MAXwith an ellipsis. Only the lastTRIES_TOLDlines are returned.This adds a test file only; change the code only where the test finds a hole, and say so in the pull. It touches no api.ts, MCP tool or docs/MCP.md, so it waits on none of the pulls there.
Before pushing:
bun x tsc --noEmitand the test you add. Tests passnowin and never read the wall clock.