Skip to content

Document /uf.address-feedback Section 1.4 PR diff producer (from #811) #814

Open

Description

@jflowers

Context

Originating change: #811 / branch quick/address-feedback-diff-path-producer

Follow-up to #763: the /uf.address-feedback §2.3.4 input-list
correction documented diff_path: path to the saved immutable diff file, but no step produced that file. This change adds the producing
step.

What changed

  • /uf.address-feedback Phase 1 gains Section 1.4, the producing step
    for the diff_path input Section 2.3.4 requires. Section 1.4 calls
    the registered fetch_pr_review_context review-dispatch tool once
    to fetch and save the PR diff; Section 2.3.4 passes the returned
    diff_path (0600 file / 0700 directory permissions, structured
    error envelopes on fetch failure).
  • Former sections 1.4–1.6 renumbered to 1.5–1.7 (Determine Reviewer
    Authority, Filter and Group, Cache Check).
  • New STOP conditions surfaced from the tool layer: diff fetch
    failure (rate_limited / api_error / timeout envelopes) and diffs
    exceeding the dispatch tool's 2 MiB read limit (structured
    prompt_size_exceeded).
  • Mirrored in the scaffold asset
    internal/scaffold/assets/opencode/commands/uf.address-feedback.md
    (deployed by uf init).
  • CHANGELOG.md Unreleased entry added under this change name.

Documentation needed

  • Note the new Phase 1 diff-producer step in any user-facing docs
    describing the /uf.address-feedback workflow.
  • Document that §2.3.4's diff_path is produced by the
    fetch_pr_review_context tool (single deterministic call, no shell
    choreography, tool-enforced size limits).
  • Note the renumbered Phase 1 sections for readers cross-referencing
    the former 1.4–1.6.

Labels

documentation

Activity

  1. added
    documentation
    on Oct 23, 2026
  2. added
    enhancement
    on Nov 2, 2026
  3. jflowers commented on Nov 2, 2026

    @jflowers
    ContributorAuthor

    Triage: VALID — enhancement (documentation follow-up)

    The Divisor review panel assessed this issue across five personas (adversary, architect, curator, guard, SRE) and reached a unanimous verdict: VALID, classified as an enhancement on objective, file-verifiable evidence. The duplicate search found no matching open issues.

    What the panel verified

    Recommended next steps

    1. Document the new Phase 1 diff-producer step in the user-facing docs describing /uf.address-feedback (docs/usage.md, docs/architecture.md).
    2. Record that §2.3.4's diff_path comes from the single deterministic fetch_pr_review_context call, including the structured failure envelopes (rate_limited / api_error / timeout) and the 2 MiB prompt_size_exceeded cap.
    3. Include the §1.4–1.6 → §1.5–1.7 renumbering map for readers cross-referencing the former sections.

    The panel recommends the enhancement label. No split is recommended — this issue is a single, well-bounded documentation task.

    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

    documentationenhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions