Commit evidence from a completed Rules review
commit_backtest_rules_reviewCommit the conversational Agent's already-completed, per-Rule evidence review for one exact terminal backtest and revision. This tool never analyzes a Rule or retrieves evidence. Before calling it, independently read the exact rules.json and main.py revision, define the evidence needed by each Rule, and inspect the relevant backtest artifacts, logs, metrics, trades, indicators, orders, and position state. Submit exactly one verdict for every active Rule. The rules array length must equal the number of unique active Rule ids. Duplicate Rule ids are rejected, including a complete verdict array accidentally appended twice. Node derives and stores the exact content SHA-256 digests from the immutable revision. Optional digest inputs are integrity assertions only; omit them instead of manually copying hashes. The write fails if a supplied digest is stale, if the backtest is not terminal, or if any active Rule is missing a verdict. Evidence references must identify real artifacts or exact code locations. Artifact and metric evidence use the same label key as get_backtest_artifact. Code evidence supplies path and lines; Node attaches the already-validated digest for that exact file. Artifact evidence requires label, query and rowCount; log evidence requires query, matchedLines, startTime and endTime from the actual log query; metric evidence requires label, metric and observedValue; code evidence requires path and lines. Include detail for every reference. Zero rowCount/matchedLines and null observedValue are valid observed values, not omitted fields. Each unknown Rule verdict requires its own missingTelemetry object with artifactOrField and reason; one Rule cannot borrow another Rule missingTelemetry. This commit never edits Rules, Python, backtests, orders, or deployments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| overall | Yes | ||
| backtestId | Yes | ||
| codeDigest | No | ||
| revisionId | Yes | ||
| rulesDigest | No |