fix: move healer from broken daemon.sh to builder session step#54
Merged
fix: move healer from broken daemon.sh to builder session step#54
Conversation
…task #61) The healer agent call in daemon.sh never worked -- $(cat) shell expansion mangled markdown containing backticks and $ characters. Removed the separate healer block from daemon.sh and persist_healer_changes from lib-agent.sh. Added Step 6n "Observe the System" to evolve.md as a builder step that runs before Generate Work (now Step 6o). Updated 5 tests to verify new architecture.
CLAUDE.md: "between sessions" -> "within each session" for builder healer description. DAEMON.md: healer agent references -> builder observation step (Step 6n).
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.
Summary
run_agentcall fromdaemon.sh(shell$(cat)expansion mangled markdown backticks/$)persist_healer_changes()fromlib-agent.shhealer.mdfromPROMPT_GUARD_FILES(now a reference doc)evolve.mdbefore Generate Work (renumbered to 6o)TestHealerInfrastructureto verify new architectureCloses task #61
Test plan
make checkpasses (663 tests, all green)bash -n)