prompt: stale reasons carry their own remedy (filed + shipped) - #315
Merged
Conversation
A STALE board offers nothing copyable that closes the gap: every stale reason gets the same generic "/health re-run the stale evidence: <text>" prompt from _reason_item(), and reason rows carry no command at all. The prompt specifies keying a remedy table off the readiness gate key, so each evidence gap offers the command that actually re-runs its check. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WY6Q2fZquoDQijLD6PXtAT
Both legs built from this prompt on claude/pyautoheart-stale-r4swxg (PyAutoHeart + PyAutoBrain), including the two deliberate deviations: the README strip stays one line for STALE, and the deep PyPI leg keeps a prompt but no command rather than inventing a verb. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WY6Q2fZquoDQijLD6PXtAT
The prompt shipped the day it was filed and never passed through active/ (no issue), so the record is written straight from lifecycle.py record and the draft removed in the same change. Regenerates complete/index.md and the dashboard pages, which the PR's refresh check requires. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WY6Q2fZquoDQijLD6PXtAT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Mind record for the work in PyAutoLabs/PyAutoHeart#177 and PyAutoLabs/PyAutoBrain (companion branch): a STALE board offered nothing copyable that closed a gap.
Two commits: the prompt as filed (
draft/feature/pyautoheart/stale_reasons_carry_their_own_remedy.md— the problem, the remedy table keyed off the readiness gate key, the acceptance criteria), then the record of what shipped from it, including the two deliberate deviations from the spec:skew_pypi_unknownkeeps a prompt but no command rather than inventing apyauto-heartverb for the deep PyPI leg.dashboard.mdis left todashboard_refresh.ymlto regenerate on merge.🤖 Generated with Claude Code
https://claude.ai/code/session_01WY6Q2fZquoDQijLD6PXtAT
Generated by Claude Code