Vai al contenuto principaleVai al footer
Governato

Allineamento confermato con la doctrine.

Agent Architecture Review, Snapshot di validazione

Valutato il 7 maggio 2026 rispetto alla doctrine di AI Design Blueprint

Production-ready

Stato: Allineato

100/100

Voto A

10 allineati

Blueprint Readiness misura l'allineamento alla doctrine, non la runtime correctness. Un verdetto production-ready significa che l'architettura incarna i 10 principi; non esegue i tuoi test o i tuoi tipi. Affiancala alla tua test suite, non sostituirla.

Verdetti per principio

The submission is an autonomous agentic workflow and is broadly doctrine-aligned. It uses load-bearing governance primitives rather than superficial wrappers: a typed policy envelope, a durable run_id lifecycle, SQLite-backed run state, explicit state transitions, hash-chained audit events, scoped tool dispatch, approval gates bound to action digests, and a pause/resume/abort steering plane.

Certified production-readyTentativo 1/3

The first-pass production_ready verdict is confirmed: the visible code provides governed entrypoints with typed policy validation, durable SQLite state/audit lifecycle, scoped tool dispatch, approval binding, and pause/resume/abort steering without an evident missed production-blocking crash, silent-wrong-result path, or trust-boundary bypass.

Findings per principio

10 principi valutati. Verdict, severity, evidenza e raccomandazione per ognuno.

P1

Allineato

Design for delegation rather than direct manipulation

Delegation is expressed through `GovernedPolicy` fields such as `task`, `instructions`, `max_turns`, `timeout_seconds`, `permitted_action_scope`, and `approval_gates`. Execution is only started through `start_governed_run` / `run_governed`, and the package exposes `pause_run`, `resume_run`, and `abort_run` as explicit controls rather than requiring users to manually perform each browser/form action.

P2

Allineato

Ensure that background work remains perceptible

Background work remains perceptible through the durable `runs` table, hash-chained `events`, immediate `run_id` creation in `start_governed_run`, and read-side `status()` / `timeline()` functions. `GovernedRunHooks._checkpoint` emits `heartbeat` events according to `policy.heartbeat_every_n_turns`, preserving continuity across sessions via SQLite.

P?

Allineato

Align feedback with the user’s level of attention

Feedback is calibrated by channel: `status()` returns a concise current state and latest message, `timeline()` exposes detailed event history, and CLI `_stream_attention_required` escalates only attention-worthy states such as `AWAITING_APPROVAL`, `PAUSED`, `FAILED`, and `TIMED_OUT`. Routine progress is represented by heartbeat events rather than constant foreground interruption.

P4

Allineato

Apply progressive disclosure to system agency

The observability surface uses progressive disclosure: `RunStatus` exposes the primary state, terminal flag, latest message, final output, and failure reason, while `timeline()` provides detailed per-event inspection and `verify_audit()` provides deeper integrity verification. This cleanly separates summary status from diagnostic history.

P5

Allineato

Replace implied magic with clear mental models

The code replaces implied magic with explicit operating rules: `RunState` defines a closed lifecycle, `VALID_TRANSITIONS` defines legal state movement, `GovernedPolicy._require_unconditional_approval_for_submission_capable_scope` refuses submission-capable actions without unconditional approval gates, and `_build_governed_agent` sets `handoffs=[]` while `GovernedRunHooks.on_handoff` fails explicitly if a handoff occurs.

P6

Allineato

Expose meaningful operational state, not internal complexity

Operational state is exposed through user-relevant states such as `initialised`, `in_progress`, `awaiting_approval`, `paused`, `complete`, `failed`, `aborted_by_user`, and `timed_out`. `status()` reports these states and the latest actionable message, while lower-level hashes, event data, and diagnostics are reserved for `timeline()` and `verify_audit()`.

P7

Allineato

Establish trust through inspectability

Inspectability is backed by a concrete audit primitive: `append_event` creates a per-run hash chain using `prev_hash` and `entry_hash`, `run_genesis` commits the canonical policy digest, tool dispatch logs `tool_call_started`, `tool_call_completed`, and `tool_call_failed`, and `verify_audit()` recomputes the chain and reconciles terminal `final_output` / `failure_reason` commitments against the `runs` row.

P8

Allineato

Make hand-offs, approvals, and blockers explicit

Approvals and blockers are explicit. `wait_for_decision` transitions the run to `RunState.AWAITING_APPROVAL`, records the matched `rule_ids`, `rule_descriptions`, `action_payload`, and `action_digest`, then blocks until `resume` or `abort`. Scope violations, unsupported handoffs, approval binding mismatches, timeouts, and aborts all transition to explicit terminal or blocked states with recorded reasons.

P9

Allineato

Represent delegated work as a system, not merely as a conversation

Delegated work is represented as a structured system rather than a chat transcript: there is a persistent `runs` record, an `events` timeline, a `steering_commands` control plane, a closed `RunState` graph, and a single governed tool dispatcher. `agent.py` centralises the only `Runner.run` call site and separates execution state from conversational/model output.

P10

Allineato

Optimise for steering, not only initiating

The system supports steering after initiation through durable `abort_run`, `pause_run`, and `resume_run` commands stored in `steering_commands`. `GovernedRunHooks._drain_steering` checks commands at agent/tool boundaries, prioritises aborts in `claim_next_steering_command`, moves paused runs to `RunState.PAUSED`, waits for resume or abort, and approval gates require operator resume before executing submission-capable actions.

Aggiungi al tuo README

Due varianti embeddabili: una piccola e una a card più ricca.

Score card (consigliata)

Blueprint Readiness Score card
[![Blueprint Readiness Score card](https://aidesignblueprint.com/api/badge/run/ba704930-2f44-48db-bb8e-c0788e5e2fc1/card.svg)](https://aidesignblueprint.com/en/readiness-review/ba704930-2f44-48db-bb8e-c0788e5e2fc1)

Badge piatto

Blueprint Readiness Score badge
[![Blueprint Readiness Score](https://aidesignblueprint.com/api/badge/run/ba704930-2f44-48db-bb8e-c0788e5e2fc1.svg)](https://aidesignblueprint.com/en/readiness-review/ba704930-2f44-48db-bb8e-c0788e5e2fc1)

Inizia qui, parte 3 di 3

Guarda come nascono questa pagina e il suo badge, dal primo run al README.

Dettagli baseline e iterazione
Rubric: 2026-05-04

ID del run: ba704930-2f44-48db-bb8e-c0788e5e2fc1

La review di questo artefatto rispetto alla doctrine al momento del run, non un audit di sicurezza né una garanzia sul runtime.

Cosa copre una review e come vengono trattati i dati

Run by agents. Governed by humans. Validated by the AI Design Blueprint.