Study files

study/RUBRIC.md

18 KB · View on GitHub →

Grading rubric (Stage E)

This rubric was written before any runtime was graded. It converts the evidence in agent-runtime-comparison.md into per-column levels for the primary use case: an application that embeds persistent, programmable assistants behind its own interface.

What a level means

A level measures how much the runtime provides and enforces for that column, as shown by its source. It is not a measure of quality, performance or task success. None of those were measured.

Higher is not always preferable. A level-4 mechanism can cost more to run, add services or constrain the host. Read every level together with its table cell and notes.

Marks per cell

Each cell gets three marks, written D/B c:

  • D: Default. The level in the default deployment, as defined in the report: release build, default config, default backend.
  • B: Best supported. The highest level reachable through a supported, labelled configuration of the same audited component.
    • Counts toward B: [opt: …] and [alt: …] items in the report, and features that exist only in dev builds (label them).
    • Does not count: example code, things "possible via arbitrary host code", and anything outside the audited component.
    • If B > D, the configuration that reaches B must be named, e.g. 1/3 s [opt: rollout_budget].
  • c: Confidence.
    • s: the deciding facts are [S] (source-verified).
    • d: at least one deciding fact is [D] (documented only) or [T] (test only).

Rules

  1. Evidence cap. A level resting on [D] or [T] facts alone cannot exceed 2.
  2. Deciding facts only. Grade from the report's cells, notes, ledger and verification logs. Graders may re-read cited code in the checkouts to settle a level. They must not grade from reputation or from anything not in the report or the code.
  3. Lowest unmet anchor wins. A level is reached only when every condition of that level, and of the levels below it, is met. If a runtime meets part of level 3 and all of level 2, it is level 2.
  4. Not applicable. Use n/a only with a stated reason, for example "no subagents exist, so continuation of subagents is n/a". If capability is missing, use 0, not n/a.
  5. Cite. Every mark cites one to three ledger IDs, for example 3/3 s [X149][X150].
  6. No aggregation. Levels are never summed, averaged or ranked across columns or runtimes. No column is weighted.
  7. Neutral wording. Grades say what is provided ("default-on, pre-call, tree-wide"), never who is best.

Anchors per column

1. Programmable capabilities

Capability interface: how tools are exposed and discovered.

Level Anchor
0 Fixed built-in tools only. No way to add tools
1 Tools can be added only by modifying or recompiling the runtime, or via example code
2 One supported extension mechanism (MCP client or plugin API or host-supplied tools)
3 Two or more supported mechanisms (e.g. MCP plus plugins/host tools), with per-agent or per-session filtering of the visible tool set
4 Level 3, plus host-supplied tools whose calls are executed by the embedding host through a supported interface, and large catalogs can be deferred or searched (e.g. tool_search, code mode)

Reusable computation: programs or workflows kept and reused across runs.

Level Anchor
0 Nothing persists between runs except the transcript
1 Reuse only as prose instructions (skills or prompts without executable parts) or in-memory state within one session
2 Persisted executable artifacts (skills with scripts, saved programs) rediscovered in later sessions, but no way to invoke them as a unit with inputs
3 Level 2, plus a supported way to re-run a stored program or workflow as a unit (recipe, scheduled action, saved script by path, granted program)
4 Level 3, plus typed parameters and a recorded result or journal per run, and scheduled or triggered execution

Capability transfer: what moves to a fresh agent.

Level Anchor
0 Nothing transfers; a fresh agent must be reconfigured by hand
1 Capability files can be copied by hand; no supported install or export path
2 Supported install from a path or registry (skills, plugins), with no dependency checking
3 Level 2, plus declared dependencies that are checked (refuse, disable or offer install), and an explicit choice of whether conversation state transfers (fork vs fresh)
4 Level 3, plus one operation that packages a capability closure (definition, programs, dependencies) for a fresh agent while explicitly excluding transcript and memory

2. Evidence and memory

Durable evidence: what survives, how long, with what mutability.

Level Anchor
0 Default deployment keeps nothing after the process exits
1 Final messages persist, but tool calls/results or intermediate steps do not
2 Full transcript including tool calls persists by default, with no stated retention policy and freely rewritable records
3 Level 2, plus an explicit retention policy (configurable, or "never pruned" stated in code) and revert/compaction keep the originals (new record or hidden row), not destructive rewrite
4 Level 3, plus records the agent itself cannot alter (enforced), or tamper-evidence (hashing/signing)

Context recovery: finding evidence after compaction.

Level Anchor
0 Evidence that leaves the prompt is gone, or never stored
1 Only an in-prompt summary; originals not stored, or stored but unreachable by the agent
2 Originals stored, reachable only through generic means (re-reading files, temp-file paths named in the summary) or through a retrieval tool that is off by default
3 Default-on retrieval tool or command over stored transcript/memory (search plus read)
4 Level 3, plus automatic relevance-based injection of stored evidence or stable references (ids/paths) that survive restart and compaction

Memory maintenance: consolidation, correction, retry.

Level Anchor
0 No learned-memory facility
1 Memory is files or notes that the agent edits with ordinary tools, prompted by instructions only
2 Dedicated memory tools or store (write, recall, forget), but no consolidation process
3 A consolidation process exists (background or idle job that merges, archives or supersedes), on by default or opt-in
4 Level 3 on by default, plus failure handling (retry or backoff, or a recorded failure state) and a correction path (versioning or restore, loss guard)

3. Specialist collaboration

Specialist definition: how specialists are configured and scoped.

Level Anchor
0 No subagents or specialists
1 Subagents exist only as example code, or as ad hoc spawns with task text and no definition
2 Built-in subagents configurable by prompt or model, but tool and permission scope cannot be set per specialist
3 Declarative definitions (file or config) set prompt, model and tool scope per specialist
4 Level 3, plus an enforced rule that a child cannot exceed the parent's authority (permissions/sandbox intersect or inherit-only), with no default path that widens it

Continuation: what survives follow-ups, parent turns, restarts.

Level Anchor
0 No subagents (or n/a with reason)
1 Child is one-shot: its result is returned and its context is discarded
2 Child can receive follow-ups within the same process
3 Child persists as a durable record and can be resumed after a process restart
4 Level 3, plus messages addressed to a child while it is unloaded or busy are queued durably

Coordination: scheduling, messaging, cancellation, depth.

Level Anchor
0 No subagents
1 Children spawn but there is no depth limit, no concurrency cap, and no cancellation
2 A depth limit or a concurrency cap is enforced, but cancellation does not propagate to running children
3 Depth limit and concurrency cap enforced, and parent cancellation reaches running children
4 Level 3, plus parent–child or sibling messaging and a resource limit (budget or time) counted across the tree

4. Execution controls

Confinement: enforced restriction of effects.

Level Anchor
0 No restriction: tools run as the user with no approval or policy by default
1 Policy or approval layer only (allowlists, approval prompts, reviewer model). No OS boundary
2 An OS/container boundary exists but is opt-in, or is default-on only for a subset of effect paths, leaving the main shell/file tools unconfined
3 Default-on OS-enforced boundary for the main shell and file effects (filesystem writes restricted)
4 Level 3, plus network restricted by default and children and auxiliary processes (MCP stdio, hooks, cron) confined at least as tightly

Credential handling: whether agent-run code can read secrets.

Level Anchor
0 Full environment inherited, credentials stored in plaintext readable by agent code, no filtering
1 Some protection (keychain option, redaction of output, per-command secret injection), but the full environment is still inherited by default
2 Default denylist filtering of the environment, but known provider keys or credential files remain reachable by agent code
3 Default cleared environment plus allowlist for agent processes; credential stores may still be readable on the same filesystem
4 Level 3, plus provider credentials held outside the agent's reach (separate process or broker) and auxiliary processes (MCP stdio) also get an allowlisted environment

Budget enforcement: units, scope, admission, settlement.

Level Anchor
0 No limits of any unit, and no usage reporting
1 Usage or cost reported only, or only coarse safety caps (retry counts, iteration ceilings ≥1000, wall-clock timeouts ≥ hours)
2 An enforced work limit (turns/steps/iterations at a practical default) or a $/token limit checked after each step, per run
3 A $ or token limit checked before the model call (admission) for a run, or a post-step $ limit covering descendants
4 Pre-call admission across the whole delegation tree, with stated settlement of in-flight calls

5. Product integration

Embedding interfaces: libraries, protocols, events.

Level Anchor
0 Interactive UI only
1 Non-interactive CLI with text or JSON output only (scraping)
2 One supported programmatic interface (library or protocol) with an event stream, marked experimental or covering only part of the session lifecycle
3 Supported programmatic interface with typed events and session lifecycle control (start, follow-up/steer, interrupt, resume)
4 Level 3, plus host callbacks for approvals or host-executed tools and two or more transports or bindings (e.g. in-process plus network protocol)

Declarative configuration: config and validation.

Level Anchor
0 Configuration only through code or flags
1 Config file(s), no validation: unknown keys and wrong types silently ignored
2 Config file(s) with type validation, but unknown keys ignored or warning only by default
3 Schema-validated config where unknown keys are rejected, or strict mode available and documented
4 Level 3 by default, plus semantic checks (limits, references) and a published machine-readable schema

Durable execution: disconnects, retries, restarts, concurrency.

Level Anchor
0 State in memory only; a restart loses sessions
1 Sessions persist, but an in-flight turn is lost on restart and concurrent requests on one session are not serialized (dropped or racing)
2 Sessions persist and concurrent input is serialized (queue, steer or reject), but an interrupted turn is lost or must be resent by hand
3 Level 2, plus an interrupted turn is detected after restart and either closed out with a recorded error or resumed
4 Level 3, plus turns survive client disconnect and automatic resume or replay with an explicit idempotency rule (request ids, replay-safe declarations, at-least-once documented)

6. Operations and verification

Service dependencies: categorical, not ordinal. Record a footprint class and do not level it.

Class Meaning
E Embedded: in-process library or one CLI process; nothing runs when idle
O On demand: a helper process or daemon starts when needed and exits when idle
R Resident: a long-running service (gateway/server) in the default deployment
X External server required: the default deployment depends on a separately operated server (beyond the model API)

Combine classes where needed, e.g. E (+R opt).

Execution records: who writes, what can alter them, how failures are recorded.

Level Anchor
0 No records beyond console output
1 Logs or partial transcript; failures not recorded as structured events
2 Structured transcript/events including tool calls and errors, written by the runtime; freely mutable
3 Level 2, plus failures and aborts recorded as structured events, and optional structured telemetry (OTel or similar)
4 Level 3, plus records protected from the agent (enforced) or tamper-evident

Result checks: what validates results, what happens on failure.

Level Anchor
0 No result checks
1 Structural checks only (schema on tool args/output, or structured final output), with no hook for result checks
2 Owner-defined checks available (Stop/finalize hooks, check scripts), but on failure the answer is released after a cap or fails open
3 Owner-defined checks where failure either blocks release with an error or re-prompts with a stated cap and records the outcome
4 Level 3, plus checks available by default (a built-in verifier or default check) and retry/release policy configurable per check

Errata (issued after grading, before adjudication)

The six graders reported these ambiguities. Each decision below applies to every runtime, not only to the cell that raised it. Cells that the graders had agreed on were re-checked against each erratum, and any changes are listed in the report's adjudication log.

# Ambiguity Decision
R1 Default (D) vs best supported (B) for features that are not bracket-labelled Something available with no configuration change counts at D. That includes per-call parameters of a default-available API or tool (e.g. spore --keep, openclaw session mode, letta Workflow maxCostUsd). A setting that must be changed in a config key, env var or flag counts toward B, as long as the report names it (e.g. codex shell_environment_policy, opencode steps)
R2 Example-only or off-by-default subagents Specialist definition follows its own anchors (example code = 1). Continuation and Coordination are 0 at D when no subagents are available by default. A supported opt-in (e.g. OpenHands enable_sub_agents) is graded at B. Example code never counts toward B
R3 Budget: wall-clock and rate limits An enforced wall-clock budget or tool-call rate limit at a practical default counts as a level-2 work limit. Ceilings of 1000 or more iterations, or multi-hour timeouts, stay at level 1
R4 Budget: "covering descendants" Descendant spend counts only if it is included while children run. Child cost merged into the parent only after the child finishes does not meet level 3
R5 Coordination: "parent cancellation reaches running children" Means a cascade: cancelling or interrupting the parent stops running children. A per-child cancel tool alone does not meet it. Per-call fan-out width counts as a concurrency cap only when it is enforced by the runtime
R6 Memory maintenance level 3: "on by default or opt-in" At D, only consolidation active by default counts. Opt-in consolidation counts toward B. Age-based archiving or purging that does not merge or supersede content is not consolidation
R7 Context recovery with partial storage If tool calls or results are never stored, the level is capped at 2, whatever retrieval exists over the stored parts. Enabling a supported opt-in retrieval tool can raise B to 3
R8 Capability interface: equivalent mechanisms and in-process hosts Plugins that add programs run through a fixed exec tool count as one extension mechanism. MCP delivered through that plugin system does not count as a second one. For in-process libraries, tools registered by the embedding host through the SDK API count as host-supplied, host-executed tools. The word "experimental" lowers a level only where an anchor says so (Embedding interfaces level 2)
R9 Result checks: overlap of levels 2 and 3 Level 3 requires that a failed check does not release the answer as a success. It must either block with an error, or re-prompt up to a cap and then record the outcome as failed. Releasing the answer normally after the cap is level 2
R10 Embedding interfaces level 4: "two or more transports or bindings" Transports and bindings shipped in the audited component count at D, even if the host picks which one to use. Choosing a transport is part of embedding, not a configuration change
R11 Declarative configuration: "published machine-readable schema" A schema the runtime exports, as a file or via an RPC or CLI method, counts
R12 Execution records: persistence and telemetry Records that exist only in memory in the default deployment are capped at 1 for D. Graders may credit optional telemetry found in cited in-tree code even if the report does not mention it, if they record the path
R13 Durable execution: interrupt-on-new-input Interrupting the current turn when a new message arrives counts as serialized handling for level 2
R14 Service dependencies notation Write the default class first, then options in brackets, e.g. E (+R opt). "B" is not used for this column