Repository navigation
Description
What happens
The uf.triage-issue command markdown documents data flows that do not match the dispatch tools' actual outputs. Four gaps, in the order an executing agent hits them:
1. dispatch_review_runs does not return the arrays §2.3/§2.4 promise. §2.3 states the tool "returns status, runs_completed, runs_failed, runs_skipped counters, consolidated findings, proposals for lesson processing, and any warnings." §2.4 depends on that: "The proposals array returned by dispatch_review_runs contains validated proposals already submitted by child agents via submit_lesson_proposal." Observed output from a 7-run triage dispatch:
dispatch_review_runs: ok — 7 completed, 0 failed, 3 skipped, 6 findings, 6 proposals
Counts only. No findings array, no proposals array, no warnings. The input §2.4 requires is never in the caller's hands.
2. dispatch_status returns counts only. Per-run status and finding/proposal counts, no verdicts, no categories, no assessment content. It cannot fill the gap above.
3. Phase 3 names no data source. §3.1 requires consolidating "successful model-run verdicts" per persona, then "category, objectivity, reasoning, and split recommendations once from its successful runs." No tool is named as their source. The values exist in exactly two places: the child session transcripts (assessment prose) and the dispatch store's run records (workflow_verdict), the latter surfaced only by consolidate_dispatch.
4. §4.6 frames consolidate_dispatch as finalization-only. "Call consolidate_dispatch exactly once per finalization attempt, with provenance as its only argument" positions it as the workflow's last call. Its no-provenance retrieval mode (returns the raw payload with run verdicts, findings, and the proposals array) is documented only in the tool schema, not in the command. Following the command linearly, no sanctioned step reads dispatch results before finalization, even though §2.4 already needs the proposals array back in Phase 2.
Observed consequences
From triage of fullsend-ai/fullsend#8465 (7 runs, 3 content-persona skips):
- The agent improvised retrieval:
list_sessionsplusdb_read_sessionon all seven child sessions to recover assessment fields, before discovering the retrieval mode from the tool schema. - The two verdict sources disagree, and the command does not say which governs Phase 3. All seven child text assessments said
VALID; the run-recorded kind-nativeworkflow_verdictvalues said 5NEEDS-CLARIFICATION/ 2VALID(findings present maps toNEEDS-CLARIFICATION). The agent had to infer the run-recorded source from §4.6's finalizer-authoritative clause. That is a correctness risk, not just a convenience gap. - The transcript reads are not fully avoidable:
consolidate_dispatch's payload carriesworkflow_verdict/findings/proposals but not category, objectivity, reasoning, or split fields, which §3.1 also requires.
What should happen
- §2.3/§2.4:
dispatch_review_runsreturns the findings and proposals arrays it documents, or §2.4 points atconsolidate_dispatchwithout provenance as the sanctioned retrieval path for the proposals array. - Phase 3: names its authoritative sources. Run-recorded
workflow_verdictfor verdict resolution; the child assessment contract for category, objectivity, reasoning, and split. - §4.6: documents
consolidate_dispatch's dual mode (no provenance = payload retrieval for §2.4 and Phase 3; provenance = finalization), so "exactly once per finalization attempt" does not read as prohibiting the earlier retrieval call.
Context
- Triggering run: triage of Machine-checkable sandbox env-var contract (manifest of exported/reserved sandbox variables) fullsend-ai/fullsend#8465. All phases completed; the improvised ordering worked, but the verdict-source judgment call was the hardest step of the run.
- Related: docs: document one-call consolidate_dispatch finalization and kind-native run verdicts #717 tracks documentation for
dispatch-finalize-determinismand already notes the dual mode ("called without provenance it returns the raw payload for external assembly"), but does not cover these command-markdown gaps. - Ancestor work: feat: Fan out review council agents across multiple models with verdict consolidation #635 (verdict consolidation fan-out), Extract shared agent executor to lib and add deterministic dispatch_agent_run tool #680 (deterministic
dispatch_agent_run).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
fix(commands): document actual review-dispatch data flows
fix(commands): document actual review-dispatch data flows
fix(commands): document actual review-dispatch data flows
fix(commands): document actual review-dispatch data flows
task 2.3: pin the unbound-force#735 dispatch_review_runs output contract
test: pin seam-verification test layers and DE-007 pack rule
task 2.3: pin the unbound-force#735 dispatch_review_runs output contract
task 2.3: pin the #735 dispatch_review_runs output contract