Skip to content

ENH-001-S1: Core Workflow Enforcer (3 pts) #13

@wtthornton

Description

@wtthornton

User Story

As a developer, I want my direct code edits to be intercepted before execution, so that I can be reminded to use workflows for better quality.

Acceptance Criteria

  • ✅ All Write tool invocations are intercepted before execution
  • ✅ All Edit tool invocations are intercepted before execution
  • ✅ File creation operations are intercepted
  • ✅ Interception latency <50ms (p95)
  • ✅ User intent is captured from context (prompt, file path, operation type)
  • ✅ Enforcement decision is made (block, warn, allow)
  • ✅ Configuration loaded from .tapps-agents/config.yaml

Tasks

  • Task 1.1: Create WorkflowEnforcer class (4 hours)
  • Task 1.2: Hook into file operations (4 hours)
  • Task 1.3: Write unit tests (4 hours)

Files to Create

  • tapps_agents/workflow/enforcer.py (250 lines)

Integration Points

  • ImplementerAgent (tapps_agents/agents/implementer/agent.py)
  • CLI (tapps_agents/cli.py)

Dependencies

Reference

Estimated Effort

12 hours (3 story points)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions