Run CoherenceOps dashboards, scoring, and local checks against sample data packs without copying files into coherence/.
The environment variable COHERENCE_ROOT controls which directory scripts and workflows read from.
| Variable | Default | Purpose |
|---|---|---|
COHERENCE_ROOT |
coherence |
Root directory for intel, decisions, drift, canon, telemetry |
TELEMETRY_OUT_DIR |
coherence/telemetry |
Where generated outputs are written |
When COHERENCE_ROOT is set to anything other than coherence, the output directory switches automatically:
TELEMETRY_OUT_DIR = telemetry_out/<sanitized_root>/
For example, COHERENCE_ROOT=sample_data/game_studio_aaa writes outputs to telemetry_out/sample_data_game_studio_aaa/.
This keeps sample data read-only and avoids polluting the sample pack with generated files.
${COHERENCE_ROOT}/intel/assumptions.yaml${COHERENCE_ROOT}/drift/*.md${COHERENCE_ROOT}/telemetry/coherence_score.json(for prior score data)
weekly_rollup.jsontop_risks.mdcoherence_score.jsoncoherence_badge.json
bin/coherence-checkReads from coherence/, writes to coherence/telemetry/.
COHERENCE_ROOT=sample_data/game_studio_aaa bin/coherence-checkReads from sample_data/game_studio_aaa/, writes nothing (check is read-only).
COHERENCE_ROOT=sample_data/game_studio_aaa bin/coherence-rootPrints resolved paths and validates that required files exist.
The following workflows accept a coherence_root input:
- Coherence Weekly Rollup (
coherence-weekly-rollup.yml) - Coherence Score (
coherence-score.yml) - Drift Auto-Detection (
drift-auto-detect.yml)
- Go to Actions > select the workflow
- Click Run workflow
- Set
coherence_roottosample_data/game_studio_aaa - Click Run workflow
gh workflow run coherence-weekly-rollup.yml -f coherence_root=sample_data/game_studio_aaa
gh workflow run coherence-score.yml -f coherence_root=sample_data/game_studio_aaaScheduled runs always default to coherence (production).
The following tools are production-only and will refuse to run in sample mode:
bin/coherence-new-dlr— creates new DLR filesbin/coherence-new-drift— creates new drift signals
These tools always write to coherence/decisions/ and coherence/drift/ respectively. If COHERENCE_ROOT is set to anything other than coherence, they print a warning and exit.
| Pack | Path | Records |
|---|---|---|
| AAA Game Studio | sample_data/game_studio_aaa |
100 (35 DLR, 25 DRIFT, 15 ASM, 10 CLM, 5 CANON, 5 TEL) |