disinto/docs
johba b9ba5c9250 docs: agent design principles — determinism/judgment split (#240)
Design principle for all disinto agents.

## Core idea
Split every agent into two layers:
- **Bash orchestrator (thin, deterministic):** session lifecycle, worktrees, locks, phase monitoring
- **Claude via formula (fat, judgment):** understand task, implement, handle reviews/CI/merge, adapt to novel situations

## Why
Agent scripts grow by accretion — every lesson becomes another if/else in bash. Formulas are refineable, learnable, and generalizable. Bash state machines are not.

## Includes
- Design principle with clear split criteria
- "When reviewing, ask these questions" checklist
- Current state assessment for all 5 agent types
- Risk mitigations (phase protocol as safety net)

Reviewers and planner should be aware of this principle when assessing PRs and planning work.

Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/disinto/pulls/240
Reviewed-by: Disinto_bot <disinto_bot@noreply.codeberg.org>
2026-03-19 09:56:37 +01:00
..
AGENT-DESIGN.md docs: agent design principles — determinism/judgment split (#240) 2026-03-19 09:56:37 +01:00
EVIDENCE-ARCHITECTURE.md docs: evidence architecture — sensing, integration, deployment gates (#207) 2026-03-19 07:55:21 +01:00
PHASE-PROTOCOL.md fix: feat: supervisor-poll.sh and gardener-poll.sh inject human replies into needs_human dev sessions (#81) 2026-03-17 22:33:28 +00:00