aiworkhub_review_packet
READ-ONLY: ONE bounded review packet for a review_ready candidate.
Instructions
READ-ONLY: ONE bounded review packet for a review_ready candidate.
Every fact a manager needs to decide a candidate is already persisted -- validation rows with their declared commands and output tails, the quality gate's checks and blockers, the worker MCP gate and its receipt-conformance verdict, required outputs, destructive-diff checks, the effective tier and its per-lens status, the deduped reviewer findings, the reachability observation -- spread across six nested objects on one card. This returns them together, under a measured byte bound.
Measured over all 419 real cards carrying a quality gate: min 1,662 B, p50 6,387 B, p90 8,813 B, max 13,799 B, 0 needing truncation. It replaces per candidate 10 task-scoped calls at p50 (p90 21) and, session-wide, 1,688 hand-written Bash re-derivations (pytest 611, attempt-artifact reads 242, task_queue.sqlite scripts 250, log tails 113, git diff 155) totalling 1.45 MB.
Nothing here is a verdict: every status was decided by the gate that
recorded it, and accepting still runs the whole fold in accept_review.
The one live computation is accept_preview -- itself read-only -- which
completion_inbox cannot call because it holds no launch authority, so
it is computed here and passed in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | ||
| max_bytes | No | ||
| request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||