feat(agent): ship output channels, ContextPackV2, and effect ledger
Open AgentOutputV1/ContextPackV2 capability bits and add EffectLedgerRecordV1 so CheckpointV2 write auto-resume only unlocks on a safe watermark. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
4683f2e067
commit
6bd90bb2d0
9 files changed
+1577
-18
No files matched your search
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "marqdo://contracts/EffectLedgerRecordV1",
|
||||
"title": "EffectLedgerRecordV1",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema",
|
||||
"schema_version",
|
||||
"operation_id",
|
||||
"idempotency_key",
|
||||
"args_digest",
|
||||
"effect_class",
|
||||
"state"
|
||||
],
|
||||
"properties": {
|
||||
"schema": { "const": "EffectLedgerRecordV1" },
|
||||
"schema_version": { "const": 1 },
|
||||
"operation_id": { "type": "string" },
|
||||
"idempotency_key": { "type": "string" },
|
||||
"args_digest": { "type": "string" },
|
||||
"resource_scope": { "type": ["string", "null"] },
|
||||
"expected_revision": { "type": ["string", "null"] },
|
||||
"effect_class": {
|
||||
"type": "string",
|
||||
"enum": ["read", "write", "execute", "external_write", "none"]
|
||||
},
|
||||
"result_ref": { "type": ["string", "null"] },
|
||||
"state": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"prepared",
|
||||
"started",
|
||||
"committed",
|
||||
"failed_no_effect",
|
||||
"unknown",
|
||||
"reconciled_committed",
|
||||
"reconciled_no_effect",
|
||||
"needs_input"
|
||||
]
|
||||
},
|
||||
"logical_run_id": { "type": ["string", "null"] },
|
||||
"step_id": { "type": ["string", "null"] },
|
||||
"attempt_id": { "type": ["string", "null"] }
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
Reference in new issue
Block a user