feat: migrate View 0.3.0 to marqdo 3.0.0-rc.4 contracts
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
Replace the retired rc.2 Analysis v2/Trace v2/Execution Events v1 stack with the
single current contract family:
- Analysis v3 (ADR-0069 public boundary): one check --emit artifact carries the
exact source, Markdown AST, heading scopes (heading_span + complete span),
anchors, state-bearing references, calls, resources and diagnostics; the old
revision-3 shape is rejected with a rebuild hint.
- Observation v1: one run/call --output jsonl stream (+ atomic
--observation-file snapshot) decoded by one decoder and projected into the
reader/SSE/export layers; stale/malformed/truncated/incomplete never render
as success.
- CLI Tool revision 1: requires {api_revision:1, analysis:3, observation:1},
product range >=3.0.0-rc.3,<4.0.0, only MARQDO_BIN and
MARQDO_API_REVISION are consumed.
- Remove compatibility branches, retired flags/env vars and duplicate decoders;
re-record Analysis v3 and Observation v1 fixtures; rewrite contract,
integration and security tests (173 passing locally).
- Add check-no-legacy/check-docs/check-observation gates, rc.4 pins in the
CI pipelines, 0.3.0 Tool bundle and evidence manifest support.
See issues #4, #5 and #6; acceptance baseline is CLI source
452e9a32bd9e40dba427d4180691c58bab74449e, archive
9c3f166b5e5b8840d39d10019074e4e1c42432fc23e26c69670e64fdcf4e15d8.
This commit is contained in:
1 parent
7b34199c96
commit
a802f96b6e
109 files changed
+14000
-6461
No files matched your search
@@ -26,41 +26,6 @@
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"compatibility": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"marqdo": {
|
||||
"type": "string"
|
||||
},
|
||||
"tool_protocol": {
|
||||
"const": 1
|
||||
},
|
||||
"analysis": {
|
||||
"const": 2
|
||||
},
|
||||
"analysis_supported": {
|
||||
"const": [
|
||||
2,
|
||||
3
|
||||
]
|
||||
},
|
||||
"trace": {
|
||||
"const": 2
|
||||
},
|
||||
"markdown_profile": {
|
||||
"const": "marqdo.md.v1"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"marqdo",
|
||||
"tool_protocol",
|
||||
"analysis",
|
||||
"analysis_supported",
|
||||
"trace",
|
||||
"markdown_profile"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"core_version": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -350,13 +315,98 @@
|
||||
},
|
||||
"executed_during_export": {
|
||||
"const": false
|
||||
},
|
||||
"requires": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"marqdo": {
|
||||
"type": "string"
|
||||
},
|
||||
"api_revision": {
|
||||
"const": 1
|
||||
},
|
||||
"analysis": {
|
||||
"const": 3
|
||||
},
|
||||
"observation": {
|
||||
"const": 1
|
||||
},
|
||||
"markdown_profile": {
|
||||
"const": "marqdo.md.v1"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"marqdo",
|
||||
"api_revision",
|
||||
"analysis",
|
||||
"observation",
|
||||
"markdown_profile"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"producers": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"view": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"const": "marqdo-view"
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
},
|
||||
"binary_sha256": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"version",
|
||||
"binary_sha256"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"cli": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"version": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"binary_sha256": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"version",
|
||||
"binary_sha256"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"view",
|
||||
"cli"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema",
|
||||
"schema_version",
|
||||
"view",
|
||||
"compatibility",
|
||||
"producers",
|
||||
"requires",
|
||||
"core_version",
|
||||
"entry",
|
||||
"pages",
|
||||
|
||||
@@ -53,10 +53,6 @@
|
||||
"included": {
|
||||
"const": true
|
||||
},
|
||||
"core_run_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z0-9_-]{1,128}$"
|
||||
},
|
||||
"core_version": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -76,12 +72,13 @@
|
||||
"source_verified": {
|
||||
"const": true
|
||||
},
|
||||
"trace_status": {
|
||||
"observation_status": {
|
||||
"enum": [
|
||||
"verified",
|
||||
"invalid",
|
||||
"unavailable",
|
||||
"truncated"
|
||||
"truncated",
|
||||
"stale"
|
||||
]
|
||||
},
|
||||
"result_complete": {
|
||||
@@ -105,28 +102,32 @@
|
||||
"project"
|
||||
]
|
||||
},
|
||||
"core_protocol": {
|
||||
"capture_level": {
|
||||
"type": "string"
|
||||
},
|
||||
"contracts": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"api_revision": {
|
||||
"const": 1
|
||||
},
|
||||
"analysis": {
|
||||
"enum": [
|
||||
2,
|
||||
3
|
||||
]
|
||||
"const": 3
|
||||
},
|
||||
"trace": {
|
||||
"const": 2
|
||||
},
|
||||
"events": {
|
||||
"observation": {
|
||||
"const": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"api_revision",
|
||||
"analysis",
|
||||
"trace",
|
||||
"events"
|
||||
"observation"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"core_run_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z0-9_-]{1,128}$"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -137,13 +138,14 @@
|
||||
"status",
|
||||
"terminal_at",
|
||||
"source_verified",
|
||||
"trace_status",
|
||||
"observation_status",
|
||||
"capture_level",
|
||||
"result_complete",
|
||||
"output_complete",
|
||||
"observation_truncated",
|
||||
"parameters",
|
||||
"mode",
|
||||
"core_protocol"
|
||||
"contracts"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
@@ -171,7 +173,7 @@
|
||||
],
|
||||
"maxLength": 131072
|
||||
},
|
||||
"trace_counts": {
|
||||
"observation_counts": {
|
||||
"type": [
|
||||
"object",
|
||||
"null"
|
||||
@@ -209,7 +211,7 @@
|
||||
"value",
|
||||
"stdout",
|
||||
"stderr",
|
||||
"trace_counts",
|
||||
"observation_counts",
|
||||
"arguments"
|
||||
],
|
||||
"additionalProperties": false
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"stderr": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"trace_summary": {
|
||||
"observation_summary": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"arguments": {
|
||||
@@ -54,7 +54,7 @@
|
||||
"result_value",
|
||||
"stdout",
|
||||
"stderr",
|
||||
"trace_summary",
|
||||
"observation_summary",
|
||||
"arguments"
|
||||
],
|
||||
"additionalProperties": false
|
||||
|
||||
Reference in new issue
Block a user