Skip to content

audit speckit-testreview command for dispatch data-flow accuracy #756

Open

Description

@jflowers

Summary

Follow-up from fix-triage-issue-dispatch-docs (spec: openspec/changes/fix-triage-issue-dispatch-docs/, design Open Questions). The change corrected the dispatch data-flow documentation in the four dispatch-driving commands (/uf.triage-issue, /uf.review-council, /uf.address-feedback, /uf.review-pr):

  • dispatch_review_runs returns a counts-only summary — findings/proposals never reach the calling model from it
  • consolidated data arrives via the single sanctioned no-provenance consolidate_dispatch retrieval call
  • lesson proposals carry the validated shape {agent, information, tag, category} (no reference field)

speckit-testreview was verified out of scope for THIS change only because it does not consume the proposals array (no proposals references in its command file). Its remaining dispatch data-flow prose has not been audited against the same output-contract corrections.

What to audit

  • Every dispatch_review_runs reference: does the command document consuming arrays that the tool does not return?
  • Every consolidate_dispatch reference: provenance vs no-provenance mode, exactly-once scoping, retrieval placement
  • Any lesson-proposal or findings-consumption prose: shape, sourcing, Dewey storage steps
  • Apply the same corrections as tasks 1.5-1.7 if false claims are found, with scaffold mirror sync

Context

Activity

  1. added
    bug
    on Nov 2, 2026
  2. jflowers commented on Nov 2, 2026

    @jflowers
    ContributorAuthor

    Divisor Triage: VALID — bug

    Classification: bug (documentation-accuracy audit), objective. Panel consensus 4/4 VALID — divisor-adversary, divisor-architect, divisor-curator, and divisor-guard all assess the issue as valid; divisor-sre and divisor-testing were scope-skipped and the three content personas do not assess.

    Evidence:

    • The audit target exists: .opencode/commands/speckit.testreview.md carries the speckit-testreview command identifier at its finalizer call (§3.7).
    • The exclusion premise holds on inspection: the file contains zero dispatch_review_runs and zero consolidate_dispatch references. It drives dispatch via plan_review_dispatch → per-run invoke_agent → child submit_review_findings → parent deduplication → finalize_review_dispatch.
    • The real audit surface is the third checklist item: §3.5 prescribes findings deduplication without naming the data source, and §3.6 carries the lesson-proposal/Dewey-storage prose. Checklist items 1–2 resolve as null checks.
    • Provenance checks out: this issue tracks task 5.4 of the completed openspec/changes/fix-triage-issue-dispatch-docs/ change, and the four sibling commands now carry the corrected counts-only/retrieval language.

    Recommendations:

    1. Proceed with the audit. Expect corrections in the shape of the corrected uf.review-pr §5a/5b pattern (name the retrieval mechanism for consolidation inputs) rather than the proposals-array re-sourcing from tasks 1.5–1.7.
    2. Scope note for the implementer: speckit.testreview.md has no in-repo scaffold mirror — internal/scaffold/assets/opencode/commands/ mirrors only the 13 uf.* commands, and the file carries a scaffolded by gaze v1.4.6 provenance marker. The "scaffold mirror sync" clause resolves to a cross-repo sync in the gaze repository, not an in-repo mirror update.

    Duplicate candidates: #760 shares the dispatch topic but reports a different defect class (review-dispatch plugin runtime behavior — correlation-ID reuse — versus command-markdown accuracy), so the panel does not classify this issue as a duplicate.

    This triage was performed by the Divisor review panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions