docs: agent failure modes — validated catalogue + structural mitigations#131
Merged
Conversation
…ons (#130) Design deliverable for the build-chain campaign (PyAutoBuild#155 Phase 5): the 2026-07-15 A-E catalogue validated by measurement and enlarged out-of-sample with this campaign's own errors (F1-F5, incl. the shared-index sweep repeated x3 with a same-morning memory note about it); taxonomy compressed to two root causes; the refusals-vs-informs hypothesis tested and sharpened (informs include the agent's own live self-awareness) with a measured refusal false-positive cost; six ranked mitigations led by pipefail-as-default and a Mind commit guard; memory verdict (consult-on-purpose yes, tripwire no); first estimate of the unnoticed-error set. Docs only; each mechanism is its own future PR. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
Design deliverable for #130 (build-chain campaign PyAutoBuild#155, Phase 5 — deliberately last):
docs/agent_failure_modes.md. Docs only; each proposed mechanism lands as its own PR behind its own plan.What it contains, beyond the brief:
set -o pipefailas the agent-shell default (deletes F2's class outright, one line) and a Mind commit guard (the E1/F1 four-incident class, converted from the memory note that failed).Parallel PR from main (docs/ only; no file overlap with any active claim). Shipped under the human-authorized corrective-PR exception for Heart RED (standing this session). PR-open only; merge stays human.
API Changes
None — documentation only.
Test Plan
Generated by the PyAutoLabs agent workflow.