Skip to content

Give the task-end advice a finding code, and record its words - #2872

Merged
max-sixty merged 2 commits into
mainfrom
diagnose-stale-leaf-pages
Oct 14, 2026
Merged

max-sixty merged 2 commits into
mainfrom
diagnose-stale-leaf-pages

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

leaf task end … done advises moving a finished element out of the open work (#2855). Its words were an inline string in cli.task_end; they are now the finished-in-view advice finding, so they sit in findings._TEXT with every other check's words and carry a code and the element as values. The command still prints them on stderr, after the record.

The test now records the advice as a regtest snapshot, as tests/AGENTS.md asks of agent-facing text, rather than matching a fragment of it.

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 2 commits October 14, 2026 10:08
`leaf task end … done` advises moving a finished element out of the open
work. Its words were an inline string in `cli.task_end`; they are now the
`finished-in-view` advice finding, so they live in `findings._TEXT` with every
other check's words and carry a code and the element as values. The command
still prints them on stderr after the record.

The test now records the advice as a regtest snapshot, as tests/AGENTS.md asks
of agent-facing text, rather than matching a fragment of it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit b5f7ac1 into main Oct 14, 2026
3 checks passed
@max-sixty
max-sixty deleted the diagnose-stale-leaf-pages branch October 14, 2026 18:39
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.

2 participants