You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Schema top-level is now additionalProperties:false (unknown keys rejected, catches drift);
additive/experimental fields go under a documented `metadata` object hatch (emitted as {}).
- bean-run fails CLOSED on a trace-write failure: prints the outcome to stderr and exits 3
(infra/load error, distinct from any convergence outcome) instead of reporting a clean run.
- Conformance asserts metadata present + no unknown top-level keys; docs note the stability
rules and that sample-trace fixtures belong in test/fixtures/traces/, never under the ignored
.bean/runs/.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
"description": "Stable post-run record emitted by bean-run to .bean/runs/<run_id>.json. v0 is an EMIT-ONLY artifact: it lets future tooling analyze runs without scraping transcripts. It does NOT make bean learn across tasks — no memory mutation, prompt rewriting, or cross-run optimization.",
5
+
"description": "Stable post-run record emitted by bean-run to .bean/runs/<run_id>.json. v0 is an EMIT-ONLY artifact: it lets future tooling analyze runs without scraping transcripts. It does NOT make bean learn across tasks — no memory mutation, prompt rewriting, or cross-run optimization. The top-level shape is FIXED: unknown top-level keys are rejected; additive/experimental fields go under `metadata`.",
6
6
"type": "object",
7
7
"required": [
8
8
"schema_version",
@@ -20,7 +20,7 @@
20
20
"residuals",
21
21
"artifacts_changed"
22
22
],
23
-
"additionalProperties": true,
23
+
"additionalProperties": false,
24
24
"properties": {
25
25
"schema_version": { "const": "trace/v0" },
26
26
"run_id": {
@@ -89,6 +89,11 @@
89
89
"type": "array",
90
90
"description": "Files the run changed, when available. v0 does not track this yet; emitted as [] for shape stability.",
91
91
"items": { "type": "string" }
92
+
},
93
+
"metadata": {
94
+
"type": "object",
95
+
"additionalProperties": true,
96
+
"description": "Documented extension hatch. The top-level shape is fixed; additive or experimental fields go here so adding them never breaks v0 validation. Emitted as {} by default."
0 commit comments