Description
Implement the deterministic core of the harness — all components that don't require a live model. This includes goal contracts, state machine, policy engine, Git repository store, SQLite event store, artifact hashing, evaluator pipeline, fake sandbox, and scripted agent.
Key Deliverables
- Goal Contract — typed YAML contract parser, validator, JSON Schema, contract hashing
- State Machine — all states, transition decisions, invalid transition prevention
- Policy Engine — path policy, command allowlist, dependency policy, approval gates
- Git Repository Store — checkpoint, restore, diff, branch, worktree management
- SQLite Event Store — SQLAlchemy models, Alembic migrations, repository pattern
- Artifact Store — SHA-256 hashing, hash chain, tamper-evident manifest
- Fake Sandbox — deterministic sandbox for unit tests
- Scripted Agent — deterministic agent for testing without a model
- Evaluator Pipeline — tiered evaluation, hard gates, evaluation vectors
- Budget Tracking — iteration, token, cost, runtime budgets
Acceptance Criteria
Depends on: #1, #2
Description
Implement the deterministic core of the harness — all components that don't require a live model. This includes goal contracts, state machine, policy engine, Git repository store, SQLite event store, artifact hashing, evaluator pipeline, fake sandbox, and scripted agent.
Key Deliverables
Acceptance Criteria
Depends on: #1, #2