Commit Graph

2 Commits

Author SHA1 Message Date
CI b84230e389 feat(P01): implement git-native architecture
---ci---
phase: 1
milestone: v0.2.0
status: execute
decisions:
  - id: D-001
    decision: Git log as primary project memory, .ci/ for long-lived references only
    rationale: Eliminates state drift, enables reconstruction from commit messages alone
    confidence: 0.95
    alternatives: [hybrid file+git, pure git with no .ci/]
  - id: D-002
    decision: ---ci--- YAML blocks in commit bodies for machine-parseable metadata
    rationale: Structured and human-readable; grep-friendly; round-trips through parser
    confidence: 0.92
    alternatives: [JSON payload, conventional-commit-only]
  - id: D-003
    decision: Phase+milestone branch naming (phase/NN-slug, milestone/vX.X-slug)
    rationale: Branch list immediately shows project state; merged equals complete
    confidence: 0.88
    alternatives: [trunk+tags, milestone-only branches]
requirements:
  covered: [ARCH-01, ARCH-02, ARCH-03, ARCH-04, ARCH-05, ARCH-06]
lessons:
  - Commit body YAML must round-trip through parser — tested before shipping
  - .ci/audit/ removal required updating 4 test suites that depended on audit files
---/ci---

New modules: commit-parser, commit-builder, git-context, git-branch, ci-files
Core rewrites: DecisionEngine, EscalationProtocol, OrchestratorAgent
Removed: .ci/audit/, .planning/ directory support
Tests: 25 suites, 218 passing (up from 20/158)
2026-05-29 12:58:31 +00:00
CI 9cf5c000d9 feat: implement CI (Continuous Intelligence) autonomous engineering harness
Implements the full PRD for CI - a fully autonomous AI-driven software
engineering harness derived from Learnship's architecture.

Core components:
- CI Orchestrator agent with autonomous pipeline (SPECIFY → CLARIFY →
  RESEARCH → PLAN → EXECUTE → VERIFY → COMPLETE)
- Decision Engine with confidence thresholds (high/medium/low)
- Clarify Phase with question budget and default acceptance
- Escalation Protocol with timeout auto-proceed
- Audit Trail system (.ci/audit/) for post-hoc review
- Error Recovery with retry, plan revision, and rollback

18 agents (all Learnship agents + Orchestrator):
- Autonomous behavioral modifications per PRD §7.1
- Agent registry with factory pattern

11 CLI commands:
- ci init, ci run, ci quick, ci debug, ci verify
- ci review, ci status, ci audit, ci clarify
- ci rollback, ci ship

4-layer verification system:
- Structural, Behavioral, Security, Code Quality

3 autonomy levels: full, supervised, guided
Compatible with Learnship artifact schemas (.planning/)
2026-05-28 23:24:42 +00:00