-
-
Notifications
You must be signed in to change notification settings - Fork 9
docs(governance): document trust-based compliance antipattern #686
Copy link
Copy link
Closed
Labels
agent-architectDesign and ADR agentDesign and ADR agentagent-memoryContext persistence agentContext persistence agentagent-qaTesting and verification agentTesting and verification agentagent-retrospectiveLearning extraction agentLearning extraction agentarea-promptsAgent prompts and templatesAgent prompts and templatesarea-skillsSkills documentation and patternsSkills documentation and patternsarea-workflowsGitHub Actions workflowsGitHub Actions workflowsdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P1Important: Affects user experience significantly, high business valueImportant: Affects user experience significantly, high business value
Milestone
Metadata
Metadata
Assignees
Labels
agent-architectDesign and ADR agentDesign and ADR agentagent-memoryContext persistence agentContext persistence agentagent-qaTesting and verification agentTesting and verification agentagent-retrospectiveLearning extraction agentLearning extraction agentarea-promptsAgent prompts and templatesAgent prompts and templatesarea-skillsSkills documentation and patternsSkills documentation and patternsarea-workflowsGitHub Actions workflowsGitHub Actions workflowsdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P1Important: Affects user experience significantly, high business valueImportant: Affects user experience significantly, high business value
Summary
Document the trust-based compliance antipattern in architecture governance to prevent future protocol design errors.
Background
From PR co-mingling retrospective (PR #669): Trust-based compliance ("agent should remember to check branch") failed, while verification-based enforcement ("tool output MUST appear in transcript") succeeds.
Priority: P1 (Prevents future design errors)
Specification
Skill ID: protocol-014
Atomicity: 94%
Category: Architecture governance
Antipattern Definition
Trust-Based Compliance: Protocol requirements that rely on agent memory/behavior without verification.
Failure Mode: Agents forget, context limits cause omission, instructions drift over time.
Success Rate: ~0% for non-trivial protocols
Replacement Pattern
Verification-Based Enforcement: Protocol requirements that generate observable artifacts that can be verified.
Success Indicators: Tool output in transcript, files on disk, API responses, git history.
Success Rate: 90%+ when properly designed
Documentation Location
Create or update:
.agents/governance/PROTOCOL-ANTIPATTERNS.mdProposed Content Structure
Implementation
.agents/governance/PROTOCOL-ANTIPATTERNS.mdTesting
Related
Acceptance Criteria
Impact
Prevents future protocol design errors by documenting failure patterns and providing replacement patterns with evidence.