Commitment report
log10x_commitment_reportGenerates a CFO-ready weekly savings report against an existing commitment record, applying a Bayesian prior and rendering markdown for sharing. Requires a prior configure_engine apply.
Instructions
CFO-facing weekly aggregate against a previously-opened commitment record. Applies a Bayesian Beta(2,2) prior to realized-savings estimates and renders a markdown summary suitable for sharing. REQUIRES a commitment record opened by a prior configure_engine apply; without one there is no baseline to report against.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | cfo_md=executive markdown with weekly chart and forward confidence; summary=typed envelope only; json=full structured data; weekly_digest=7-day operational digest from the recurring tick audit trail. | cfo_md |
| period | No | Reporting window. 30d=last 30 days, 90d=last 90 days, ytd=since Jan 1 of current year. | 90d |
| service | No | Service name to resolve a commitment by — used when commitment_id is omitted. When both are present, commitment_id wins. | |
| environment | No | Environment nickname; defaults to the active env. | |
| history_path | No | Override path to the recurring-tick JSONL audit trail (default: $LOG10X_RECUR_HISTORY_PATH or /tmp/log10x-recur-history.jsonl). Used only when format=weekly_digest. | |
| commitment_id | No | Commitment record id (created by log10x_configure_engine on PR-merge). If omitted, resolves the most recent commitment for the active service. | |
| action_intent_path | No | Override path to data/action-intent.json (relative to the gitops repo root or absolute). Used only when format=weekly_digest. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| tool | Yes | ||
| view | No | summary | |
| images | No | ||
| actions | No | ||
| summary | Yes | ||
| warnings | No | ||
| truncated | No | ||
| next_cursor | No | ||
| render_hint | No | ||
| generated_at | Yes | ||
| schema_epoch | Yes | ||
| schema_version | Yes |