Skip to content

Phase 1: Core ADR-033 Gates (Session Protocol, QA Validation) #612

@rjmurillo-bot

Description

@rjmurillo-bot

Summary

Implement the foundational ADR-033 routing-level gates that enforce protocol compliance.

Parent Epic

#611 (ADR-033 Gate Implementation + Selective Skills)

Gates in Scope

Gate Trigger Prerequisite Priority
Session Protocol git commit, gh pr create Session log exists P0
QA Validation gh pr create QA report exists OR qa agent invoked P0

Why Gates, Not Skills

The qa agent already does good work when invoked. The problem is:

QA gets skipped - not that QA is done poorly.

Gates enforce that agents get invoked. They don't replace the agents.

Acceptance Criteria

  • Session Protocol Gate implemented in Invoke-RoutingGates.ps1
  • QA Validation Gate implemented in Invoke-RoutingGates.ps1
  • Hook configuration added to .claude/settings.local.json
  • Gates tested with deliberate violations
  • Clear error messages guide user to correct action

Definition of Done

  • git commit blocked without session log
  • gh pr create blocked without QA evidence
  • Bypass conditions documented (e.g., docs-only changes)
  • Integration with existing qa agent verified

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-implementerCode implementation agentagent-orchestratorTask coordination agentagent-plannerMilestone and work package agentagent-qaTesting and verification agentagent-roadmapProduct vision agentarea-infrastructureBuild, CI/CD, configurationarea-skillsSkills documentation and patternsarea-workflowsGitHub Actions workflowsautomationAutomated workflows and processesdocumentationImprovements or additions to documentationenhancementNew feature or requestgateRouting-level enforcement gate (ADR-033)priority:P0Critical: Blocks core functionality, security vulnerability, or data lossskill-conversionAgent to skill conversion workstoryStory-level work item under an epictaskTask-level work item under a story

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions