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
@@ -289,8 +289,8 @@ function localHostOnly(url) {
|
||||
check("run panel visible", await page.locator("#mq-run-panel").isVisible());
|
||||
check("run chips anchored", (await page.locator(".mq-run-chip").count()) > 0);
|
||||
check(
|
||||
"observed chips carry trace provenance",
|
||||
(await page.locator('.mq-run-chip[data-annotation-source="trace"]').count()) > 0
|
||||
"observed chips carry observation provenance",
|
||||
(await page.locator('.mq-run-chip[data-annotation-source="observation"]').count()) > 0
|
||||
);
|
||||
check(
|
||||
"static statement anchors carry analysis provenance",
|
||||
@@ -313,7 +313,7 @@ function localHostOnly(url) {
|
||||
}))
|
||||
);
|
||||
check(
|
||||
"trace event list rendered",
|
||||
"observation event list rendered",
|
||||
(await page.locator("#mq-run-events li").count()) > 0
|
||||
);
|
||||
check(
|
||||
@@ -366,14 +366,14 @@ function localHostOnly(url) {
|
||||
await page.click('[data-action="run-confirm"]');
|
||||
await page.waitForSelector('body[data-run-state="succeeded"]');
|
||||
check("installed tool displays the real double(5) result",
|
||||
await page.locator("#mq-run-summary").innerText().then((text) => text.includes("返回值:Int(10)")));
|
||||
await page.locator("#mq-run-summary").innerText().then((text) => text.includes("返回值:10")));
|
||||
|
||||
await page.click('.mq-tabs [data-action="functions"]');
|
||||
await call("format_arguments").click();
|
||||
await page.fill('[data-param-name="label"]', '"浏览器 "');
|
||||
await page.fill('[data-param-name="items"]', '["列表", 7]');
|
||||
await page.click('[data-action="run-confirm"]');
|
||||
await page.getByText("返回值:Text(浏览器 列表 · 7)", { exact: true }).waitFor();
|
||||
await page.getByText("返回值:浏览器 列表 · 7", { exact: true }).waitFor();
|
||||
check("CLI round-tripped Unicode Text and a List through the form", submittedRuns === 2);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user