Files
dance-lessons-coach/adr/0010-agent-configuration-relationship.md
Gabriel Radureau b391534f2d 🤖 feat: implement trunk-based CI/CD with local testing
- Designed trunk-based development workflow with branch protection
- Added workflow validation job to prevent main branch breaks
- Integrated act (GitHub Actions runner) for local Gitea workflow testing
- Created unified CI/CD script interface (scripts/cicd.sh)
- Added YAML lint configuration with practical limits (400 chars)
- Organized all CI/CD scripts under scripts/cicd/ directory
- Confirmed Gitea/GitHub Actions compatibility via local testing
- Updated ADR 0017 with implementation details and test results
- Enhanced documentation with local development workflow

See ADR-0017 for complete trunk-based development workflow documentation.
See ADR-0016 for CI/CD pipeline design.
2026-04-05 23:07:32 +02:00

3.9 KiB

10. DanceLessonsCoachProgrammer Agent Configuration

Status: Active
Date: 2026-04-04
Deciders: Arcodange Team
Purpose: Document agent configuration for team sharing

Agent Configuration

Location: /Users/gabrielradureau/Work/Vibe/.mistral/dancelessonscoachprogrammer-agent.toml

Complete Configuration:

# DanceLessonsCoachProgrammer Custom Agent Configuration
# Respects Mistral Vibe specification format

# Basic agent identification
active_model = "devstral-2"
system_prompt_id = "cli"

# Project-specific prompt customization
[system_prompt_overrides]
role = "DanceLessonsCoachProgrammer"
goals = [
    "Follow BDD practices",
    "Use Gitmoji commits",
    "Respect ADR process",
    "Ask before adding dependencies",
    "Document all architectural decisions"
]

# Knowledge base integration
[knowledge]
project_root = "/Users/gabrielradureau/Work/Vibe/DanceLessonsCoach"
sources = [
    "${project_root}/AGENTS.md",
    "${project_root}/pkg/bdd/README.md", 
    "${project_root}/.vibe/skills/bdd_testing/SKILL.md",
    "${project_root}/.vibe/skills/commit_message/SKILL.md",
    "${project_root}/AGENT_CHANGELOG.md"
]

# Self-improvement through documentation learning
[self_improvement]
enabled = true
method = "documentation_learning"
scope = "project_patterns"

# Tool configuration
[tools.bash]
permission = "always"  # Needed for running test scripts
denylist = [
    "git add",
    "git commit", 
    "git push",
    "git rebase",
    "git merge"
]

[tools.read_file]
permission = "always"  # Needed for accessing knowledge base

[tools.search_replace]
permission = "default"

[tools.write_file]
permission = "default"

# Enable web tools for research
disabled_tools = []

# Workflow constraints
[workflow]
always_ask_before = [
    "adding libraries",
    "adding frameworks",
    "major architectural changes"
]

check_before_implementation = [
    "adr folder for existing decisions",
    "roadmap for feature alignment",
    "bdd scenarios for new features"
]

Usage

Starting a Session

cd /Users/gabrielradureau/Work/Vibe/DanceLessonsCoach
vibe start --agent dancelessonscoachprogrammer

Agent Capabilities

  • Knowledge: Access to AGENTS.md, BDD docs, and skills
  • Tools: bash (restricted), read_file, web_search, web_fetch
  • Workflow: Follows BDD practices, Gitmoji commits, ADR process
  • Constraints: Cannot git add/commit/push/merge/rebase

Decision Making Process

  1. Before adding dependencies: Agent asks for approval
  2. Before architectural changes: Agent checks ADR folder and asks
  3. Before new features: Agent verifies roadmap alignment
  4. All decisions: Documented in AGENT_CHANGELOG.md

Workflow Constraints

Always Ask Before

  • Adding libraries/frameworks
  • Major architectural changes
  • Breaking changes to existing features

Always Check

  • ADR folder for existing decisions
  • Roadmap for feature alignment
  • BDD scenarios for new features
  • Test coverage for all changes

Always Document

  • New architectural decisions in adr/
  • Feature implementations in AGENT_CHANGELOG.md
  • Test scenarios in features/
  • API changes in AGENTS.md

Examples

Adding a Library

🤖 "Need to add github.com/golang-jwt/jwt v5.0.0 for authentication. Approve?"
👤 "Yes, create ADR first"
🤖 Creates adr/00XX-jwt-authentication.md
🤖 Implements with BDD scenarios
🤖 Commits with ✨ feat: add JWT authentication

Implementing a Feature

🤖 "Feature X not in roadmap. Should I implement?"
👤 "No, focus on roadmap item Y"
🤖 Updates backlog
🤖 Continues with roadmap item Y

References