Most agents work fine with state files and a clear scope chain. Recursive agents — agents that spawn sub-agents, delegate tasks across boundaries, or operate within strict resource budgets — need a stronger guarantee. The Advanced tier adds a machine-readable binding contract that defines exactly who is running, what they are authorized to do, how many resources they may consume, and when they must stop. Every binding is finite. Every authorization is explicit. Every checkpoint is logged. This page covers the three Advanced tier files, the full binding lifecycle, and theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/bitwikiorg/continuity/llms.txt
Use this file to discover all available pages before exploring further.
BINDING.schema.json field reference.
What a binding is
A binding is a finite authorization for a computation. It answers five questions before any work begins:- Who is running — the agent’s name, role, and parent agent (if delegated)
- What they are doing — the objective and the criteria that define success
- What tools they may use — an explicit allowlist; anything not listed is forbidden
- What budget they have — seconds, tokens, turns, recursion depth, disk space
- When to stop — explicit stop conditions that terminate the binding regardless of progress
Binding lifecycle
Every binding moves through a fixed sequence of phases:POTENTIAL
The binding exists as a declared intent. The contract is written but execution has not begun. Budget and tool constraints are stated; the agent has not yet acted on them.
BIND
The agent accepts the contract. Identity, objective, allowed tools, and budget are locked. Any action outside these constraints is a violation detectable by
INIT.md validation.RECURSE
The agent may delegate sub-tasks to child agents. Each child receives its own binding — a narrower authorization derived from the parent.
max_depth in the budget limits how deep delegation can go.COMPOSE
Sub-agent results are assembled. Outputs from child bindings flow back to the parent’s context. Composition is explicit — the parent binding declares what it expects from each child via
success_criteria.VERIFY
The checkpoint gate fires. Evidence is checked against
evidence.required_evidence. If the checkpoint type is manual, a human approves. If scripted, automated checks run. If evidence, output must meet a quality threshold.PERSIST
Verified outputs are written back to state files according to the
writeback declaration. STATE.md, ARTIFACTS.md, or any other target receives the result in the declared format.The three Advanced tier files
The Advanced tier adds exactly three files to the Full tier. Together they form the runtime contract system:CHECKPOINT.md
The approval gate. Defines when to pause before irreversible actions. Three gate types:
manual (human approval required), scripted (automated structural checks), evidence (output must meet quality threshold). Every trigger and result is logged to logs/events.jsonl.AGENT_ACTIONS.md
The action reference. Documents the conceptual action vocabulary the agent uses — what each action class is, what preconditions it requires, and what post-conditions it produces. Serves as a contract between the agent’s reasoning and its execution layer.
BINDING.schema.json
The machine-readable binding contract. JSON Schema (draft 2020-12) that validates every binding before execution begins. Fields are documented in full below. Runtime validators use this schema to detect constraint drift, dangling edges, and budget violations before they cause silent failures.
BINDING.schema.json field reference
The schema requiresbinding_id, who, what, budget, allowed_tools, and stop_conditions. The checkpoint, evidence, and writeback objects are optional but recommended for any binding that involves irreversible actions or multi-agent delegation.
Top-level fields
Unique identifier for this binding instance. Used in logs, audit trails, and cross-binding references. Format is operator-defined; UUIDs or slugs both work.
Explicit allowlist of tools this agent may use during the binding. Any tool not listed here is forbidden for the duration. Examples:
["read_file", "write_file", "run_tests"]. An empty array means no tools are permitted.Conditions that terminate the binding immediately, regardless of progress. Evaluated after every action. Examples:
["budget.max_tokens exceeded", "checkpoint failed", "parent binding unbound"].who object
Identifies the agent accepting this binding.
what object
Declares the objective and success criteria for this binding.
budget object
Resource limits for this binding. All sub-fields are integers. The binding enters
stop_conditions evaluation as soon as any limit is reached.checkpoint object
Configures the checkpoint gate that fires at the
VERIFY phase.evidence object
Declares what evidence must exist before the binding can proceed to
PERSIST.writeback object
Declares where and how the binding’s output is written back to state files at the
PERSIST phase.Example binding
A complete binding for a backend sub-agent delegated to run database migration tests:When to use the Advanced tier
The Advanced tier is designed for recursive multi-agent systems. You do not need it for single-agent workflows.- Use Advanced tier when…
- Skip Advanced tier when…
- Your agent spawns sub-agents and needs to bound their resource usage
- Actions are irreversible and require a formal checkpoint before proceeding
- Multiple agents write to shared state and you need ownership boundaries enforced
- You want CI-level validation that detects constraint drift before it causes failures
- Delegation depth needs a hard limit to prevent runaway recursion
The Full tier already includes
WARNING.md and CHECKPOINT.md is available as a standalone safety gate. The Advanced tier adds BINDING.schema.json and AGENT_ACTIONS.md for teams that need machine-readable contracts and recursive delegation discipline. Most agents do not need this. Add it when your agent actually loops across agent boundaries.Nesting
How scope chains work — the foundation that binding authority flows through.
Vector Retrieval
Schema validation at the mesh level: CI checks, drift detection, and semantic search.
Binding Schema Reference
Full JSON Schema source for
BINDING.schema.json.Core Tiers
Minimum, Standard, Full, and Advanced — which files belong to each tier.