Distillation gate
gateEvaluate whether a project passes its distillation gate based on baseline, treewidth delta, and completed work thresholds, then append a gate record to the audit journal without unlocking state.
Instructions
Report whether the project passes the distillation gate: baseline, treewidth delta, work items done since baseline and what would distill (thresholds theta default 0 and n default 5). Appends a gate record to the audit journal but never mutates state.lock; distill is the worksheet and archive is the action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | done-count threshold (default 5) | |
| theta | No | surface overflow threshold (default 0) |