Skip to content

uf.triage-issue: command spec documents dispatch data flows the tools do not return #735

Closed

Description

@jflowers

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_sessions plus db_read_session on 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-native workflow_verdict values said 5 NEEDS-CLARIFICATION / 2 VALID (findings present maps to NEEDS-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 carries workflow_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_runs returns the findings and proposals arrays it documents, or §2.4 points at consolidate_dispatch without provenance as the sanctioned retrieval path for the proposals array.
  • Phase 3: names its authoritative sources. Run-recorded workflow_verdict for 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions