Add the candidate-input closed loop unlocked by marqdo-cli#24 (CLI afea4f9): the program selects the unit/anchor outline with document.outline, reads the exact knowledge section with document.read, feeds that exact source text to ai.classify and returns the structured identity/result. The default component CI image still ships a CLI without document.*, so this is a separate candidate lane (scripts/candidate_document_cycle.sh + MARQDO_AI_CASES_DIR); the default scripts/ci.sh and 39-case suite are unchanged and stay green. Fixture server gains a deterministic valid_yes scenario. STATUS updates AI-U1 resolved, C01/C03 candidate PASS, I08 PARTIAL (select->read->classify->structured result closed; compute/explain and real model continue). Evidence: docs/evidence/2026-11-30-ai-u1-document-cycle.md. No release, no new cross-repo dependency, no CLI/other component change.
16 lines
752 B
Bash
Executable File
16 lines
752 B
Bash
Executable File
#!/bin/sh
|
|
# Candidate-input AI-U1 closed-loop case.
|
|
#
|
|
# Requires a CLI candidate that provides `document.outline`/`document.read`
|
|
# (marqdo-cli#24, merged as afea4f9) and the matching Bundle. The default
|
|
# component CI image still ships an older CLI, so this case is a separate
|
|
# candidate lane: it never runs implicitly from `scripts/ci.sh` and never turns
|
|
# an unavailable capability into a default-suite failure.
|
|
set -eu
|
|
: "${MARQDO_BIN:?set MARQDO_BIN to the CLI candidate with document.* builtins}"
|
|
: "${MARQDO_STDLIB_DIR:?set MARQDO_STDLIB_DIR to the verified Bundle}"
|
|
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
MARQDO_AI_CASES_DIR="$ROOT/tests/cases-candidate"
|
|
export MARQDO_AI_CASES_DIR
|
|
exec python3 "$ROOT/scripts/run_cases.py" "$@"
|