Run sentinel cycle (agent loop)
run-sentinel-cycleScores every contract's clause risk, flags contracts needing attention (deadline, high risk, unreviewed), and updates statuses with recommended actions. Run on demand or schedule.
Instructions
Run the autonomous Contract Sentinel agent loop over the entire tracked portfolio: perceive every contract, score its clause risk with full evidence, decide whether it needs action (deadline close, high risk score, or never reviewed), then act by setting status to needs_attention and recording a recommended action (renew as-is / renegotiate with talking points / let lapse). Designed to run on a schedule in production; runnable on demand here. Renders the contract-board widget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | When true, score and decide but do not write status changes back to the portfolio | |
| onlyContractId | No | Restrict the cycle to a single contract id instead of the whole portfolio |