18 lines
749 B
Bash
Executable File
18 lines
749 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
export PYTHONPATH="$ROOT/src${PYTHONPATH:+:$PYTHONPATH}"
|
|
OUT_DIR="${1:-$ROOT/.run/application-core-mock}"
|
|
|
|
rm -rf "$OUT_DIR"
|
|
python3 -m claridoc run \
|
|
--brief "$ROOT/examples/briefs/application-core-spring-di-blog.json" \
|
|
--source-root "$ROOT/examples/corpus/llm-wiki-mini" \
|
|
--config "$ROOT/config/pipeline.mock.json" \
|
|
--output "$OUT_DIR"
|
|
|
|
printf '\nGolden reader-facing example:\n%s\n' "$ROOT/examples/golden/application-core-spring-di-boundary.md"
|
|
printf 'Retrieved evidence and mock provenance:\n%s\n' "$OUT_DIR/final/provenance.md"
|
|
printf 'Note: the mock draft validates pipeline mechanics; the golden file is the curated prose example.\n'
|