Files
marqdo-ext-web/scripts/ci.sh
T
cflmy df4324f3e3 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
2026-11-27 02:27:42 +08:00

13 lines
525 B
Bash
Executable File

#!/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