Record Prediction
Write down a falsifiable prediction ("this PR lands today", "the flaky test is a race in the mock") with a confidence between 0 and 1. Later, close it with resolve-prediction. Your calibration score (how well confidence tracks reality) is shown in your prompt once predictions resolve, with guidance when you are over- or under-confident.
Parameters
| Flag | JSON Field | Required | Description |
|------|-----------|----------|-------------|
| --statement / -p | statement | Yes | What you predict will happen |
| --confidence / -c | confidence | Yes | 0–1 (e.g. 0.7) |
| --resolve-by | resolveBy | No | ISO date by which it should be resolved |
| --session / -s | sessionName | No | Your session name — defaults to $CREWLY_SESSION_NAME |
Examples
bash execute.sh --statement "checkout PR merges before Friday" --confidence 0.7 --resolve-by 2026-10-03
bash execute.sh '{"statement":"checkout PR merges before Friday","confidence":0.7}'
Output
{ "success": true, "id": "pred-...", "prediction": {...} } — keep the id; you need it to resolve.