Getting started¶
Prerequisites¶
| Capability | Requirement |
|---|---|
| Deterministic phases | Python 3.8+, pyyaml, jsonschema |
| Windows runner | PowerShell 5.1+ or PowerShell 7 |
| Linux/macOS runner | Bash 4.3+ and standard POSIX utilities |
| LLM-backed phases | Authenticated GitHub Copilot CLI |
| Word output | Pandoc, optional |
| Phase-N execution portal | markdown, pymdown-extensions |
Install the common Python dependencies:
python -m pip install --upgrade pip
python -m pip install pyyaml jsonschema markdown pymdown-extensions
Validate the repository¶
python scripts/validation/check-dag-integrity.py
python scripts/validation/check-phase-order.py
python scripts/validation/check-pipeline-dag-paths.py
python scripts/validation/check-glossary-drift.py
python -m pytest -q
Run phases A-C¶
Phases A-C are the cheapest end-to-end check because they make no LLM calls.
Confirm these files exist:
docs/_shared/ORDR100.CBL/chunk-manifest.json
docs/_shared/ORDR100.CBL/facts.json
docs/_shared/ORDR100.CBL/chunks/index.json
Then use Inspect generated artifacts to verify platform classification, chunk boundaries, facts, and hashes rather than checking file presence alone.
Run the IBM i sample¶
The bundled AS400 sample contains a CLLE controller, two SQLCBLLE programs, one CBLLE audit program, and a shared copybook. Its manifest selects only the five source members:
Preview an LLM phase safely¶
Use a dry run to stage bundles and inspect dispatch commands without consuming model requests:
pwsh -NoProfile -File scripts/run-pipeline.ps1 `
-Phases D `
-Files repos/sample/COBOL/ORDR100.CBL `
-SourceRoot repos/sample `
-CopilotDocsDryRun
The equivalent Bash command uses scripts/run-pipeline.sh and the same parameter names.
Continue with End-to-end examples for bilingual output, workspace globs, retry diagnosis, and full per-file documentation.
Note
docs/, temp/, and logs/ are execution outputs and are ignored by Git. This user
portal is sourced from the tracked site-docs/ directory.