CVM Operator
Run the pipeline through deterministic scripts, not ad-hoc command sequences.
Workflow
- Select input mode.
- Use
realmode when the user provides a client CSV folder and mapping JSON. - Use
demomode when no client data is available.
- Run the orchestrator script.
- From repo root:
bash skills/cvm-operator/scripts/run_cvm_flow.sh --mode <real|demo> --use-case <churn|cross_sell|reactivation> --top-n 200 - For all use-cases in one run:
bash skills/cvm-operator/scripts/run_cvm_flow.sh --mode <real|demo> --all-use-cases --top-n 200
- Return fixed deliverables.
- Pipeline summary JSON from
outputs/latest_run_summary*.json - Top customers CSV from
outputs/<use_case>_top<N>.csv - If
realmode: mapping report fromoutputs/client_mapped_raw/mapping_report.json
Required Inputs
For real mode, require:
--client-dirpath--mapping-filepath
For demo mode, optional:
--raw-dirpath (if omitted, synthetic data is generated automatically)
Output Contract
Follow references/output-contract.md.
Notes
- Keep
CVM_ENABLE_FEAST=0andCVM_ENABLE_MLFLOW=0by default for fast local runs. - Keep
CVM_ENABLE_SIGNALS=1by default so explanations are meaningful. - If reason quality gate fails, rerun once with
CVM_SIGNALS_REQUIRE_REASON_QUALITY_GATE=0and report that override explicitly.