Skip to content

Agent2 v0.4.0

Latest

Choose a tag to compare

@duozokker duozokker released this 30 Apr 01:00
· 10 commits to main since this release

Agent2 v0.4.0 — Brain Clone Pipeline Upgrade

Single source of truth, operational learnings, and repo hygiene.

Added

  • Operational learnings system (shared/learnings.py): auto-logs low-confidence results, clarification patterns, and rejections after each agent run. The 3 most recent learnings are injected into the next run's prompt context.
  • /agent-qa skill for end-to-end testing of deployed agents with schema validation and health reporting
  • Skill routing rules in CLAUDE.md for proactive skill invocation across all AI coding tools
  • scripts/sync-skills.sh to keep all 5 host directories (.claude, .agents, .codex, .gemini, .github) in sync from a single canonical source
  • Brain Clone SKILL.md upgrades: anti-sycophancy rules, forcing questions with pushback pattern tables, Phase 2.5 (Premise Challenge), Phase 6.5 (Scope Decision), Phase 7.5 (Architecture Review), 8-dimension agent quality rating (/80), agent slop detection (10 anti-patterns), interview session persistence, and completion status protocol

Changed

  • CLI interview prompt now loads dynamically from SKILL.md instead of maintaining a hardcoded copy — SKILL.md is the single source of truth for interview phases, anti-sycophancy rules, and forcing questions
  • Phase labels updated from "X/6" to "X/8" including half-phases
  • _detect_phase and _detect_phase_number unified into shared keyword table
  • Generator produces 5 tests (complete, clarification, rejected, before_run, resume) instead of 1
  • Generator mock_result now covers all 3 outcomes including rejected
  • Generator before_run always sets _instructions for learnings injection
  • Generator config.yaml adds knowledge_mcp capability when collections exist
  • Richer Promptfoo eval datasets generated from all example cases

Fixed

  • Learnings read AND write gated behind AGENT2_DISABLE_LEARNINGS env var to prevent test pollution
  • Skills synced across all host directories (previously .codex/.gemini/.github were missing skills)
  • Stale "v0.3" references in README and docs
  • Removed 12 tracked .playwright-mcp/ session logs, unreferenced logo (615KB), and extended .gitignore