Repository navigation
Add agent guardrails for tool fallbacks, mutation bounds, logging, and branch safety - #17
Open
achatainga wants to merge 1 commit into
Open
achatainga wants to merge 1 commit into
achatainga wants to merge 1 commit into
Conversation
…d push safety Why: Prevent autonomous coding agents from stalling on missing companion binaries, looping infinitely on equivalent mutants, exhausting the context window with in-thread logs, deleting untracked secrets, or pushing directly to protected main branches. What changed: - Added an escalation rule between Laziness Protocol and Redesign From First Principles. - Added fallback guidance when crapper, dryer, or mutator are absent from PATH, capped Mutator retries at 3 passes for equivalent mutants, and aligned Mutator with the TDD impracticality clause. - Directed Keep a Log to an external gitignored log file to align with Guard the Context Window. - Added a dry-run/secrets check to Worktree Cleanup and defaulted Commit and Push to the working branch unless main-line push is explicitly authorized. Proof: - Verified minimal diff and clean formatting via git diff --check and confirmed all edits preserve existing headings and imperative style.
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.
Why
When running
ub-modewith autonomous coding agents, a few terse rules can trigger predictable execution failures:crapper,dryer, ormutatorare not on$PATH, agents stall or fabricate scores. Without a retry cap, agents loop indefinitely trying to kill mathematically equivalent mutants.What Changed
Minimal, style-matched updates to
SKILL.mdonly (preserving existing structure,*bullet formatting, and voice):## Laziness Protocolwhen minimal edits duplicate state or violate Boundary Discipline.$PATHfallbacks forcrapper,dryer, andmutator, alignedMutatorwith the TDD impracticality clause, and capped mutation passes at 3 per module to handle verified equivalent mutants.Keep a Logto an external gitignored file (e.g.,.ub-mode.log) while keeping only the summary in the main thread.Worktree Cleanup, and defaultedCommit and Pushto the working branch unless pushing directly to the main line is explicitly authorized.