test(web): probe the real Analysis contract for WEB-00
Add scripts/risk-probe.py and scripts/ci.sh: consume only the verified CLI's public Analysis 3 for the research-workspace entry, its two component targets and two negative fixtures. Verify the exact Knowledge H2 anchor/spans, the GFM component table AST/header/cell links, references with candidate_path/fragment, target anchor resolution with source digests, and that ordinary links and missing anchors stay distinguishable facts. The local candidate passes with no gaps, so WEB-DESIGN's Analysis dependency needs no correction; no new CLI syntax/private field is requested. Record the CLI/root identities, commands and unverified scope in the evidence document. Refs cflmy/marqdo#6, cflmy/marqdo-ext-web#1
This commit was merged in pull request #3.
This commit is contained in:
1 parent
f70095d60a
commit
df4324f3e3
4 files changed
+457
-1
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# WEB-00 independent component entry: explicit verified CLI in, evidence out.
|
||||
set -eu
|
||||
: "${MARQDO_BIN:?set MARQDO_BIN to the verified marqdo executable}"
|
||||
out_dir="${MARQDO_WEB_EVIDENCE_DIR:-$PWD/out}"
|
||||
mkdir -p "$out_dir"
|
||||
args=(--cli "$MARQDO_BIN" --out "$out_dir/web00-analysis-probe.json")
|
||||
if [[ -n "${MARQDO_CLI_SHA256:-}" ]]; then
|
||||
args+=(--expected-cli-sha256 "$MARQDO_CLI_SHA256")
|
||||
fi
|
||||
python3 scripts/risk-probe.py "${args[@]}"
|
||||
git rev-parse HEAD > "$out_dir/component-sha.txt" 2>/dev/null || true
|
||||
Reference in new issue
Block a user