Skip to content

ENH-001-S4: Configuration System (1 pt) #10

@wtthornton

Description

@wtthornton

User Story

As a developer, I want to configure enforcement behavior via .tapps-agents/config.yaml, so that I can customize enforcement for my project.

Acceptance Criteria

  • ✅ Loads configuration from .tapps-agents/config.yaml
  • ✅ Supports enforcement mode (blocking, warning, silent)
  • ✅ Supports confidence threshold (0-100%, default: 60%)
  • ✅ Validates configuration structure
  • ✅ Provides clear error messages for invalid config
  • ✅ Uses defaults when config missing
  • ✅ Supports per-project overrides

Tasks

  • Task 4.1: Create EnforcementConfig class (2 hours)
  • Task 4.2: Write unit tests (2 hours)

Files to Create

  • tapps_agents/core/llm_behavior.py (150 lines)

Reference

Estimated Effort

4 hours (1 story point)

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