You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this issue was filed, the Router Pattern (intent-level tools whose deterministic code maps a single agent intent to the required sequence of operations) has become the repo's direction of travel — #716 shipped it for /uf.unleash, and the AGENTS.md determinism gate now forbids mechanical procedural prose where an executable tool is feasible.
A skill keeps the LLM as the orchestrator: it still reads the posting protocol and executes each step (review-state fetch → CODEOWNERS probe → verdict mapping → mktemp → gh api --input → cleanup). Every one of those steps is deterministic once two judgment outputs exist: the composed review body and the human's gate decision. That makes this a tool, not a skill.
Proposed contract
post_github_review({
pr_number: number,
verdict: string, // council verdict — event mapping is internal
body: string, // LLM-composed under review-voice packs
inline_comments: [{file, line, body}], // LLM-composed under review-voice packs
gate_confirmed: boolean // MANDATORY GATE as a required parameter
})
Internal sequence (absorbed from command prose)
Existing-review state fetch (duplicate-review detection, stale-dismissal warning, requested-reviewer detection)
Refuse to post unless gate_confirmed: true — the MANDATORY GATE becomes structural instead of instructed, and a session resumed after context compression must re-supply it
mktemp (chmod 600) → gh api --input → temp-file cleanup on ALL paths (success and failure)
The inline-comment selection algorithm (severity sort → alphabetical round-robin → top 15 → overflow to body) is also a pure function currently described as prose in both commands — a candidate to absorb here or in a sibling lib function so it exists exactly once.
What deliberately stays with the LLM
Body and inline-comment composition (review-voice packs)
The gate decision itself (human question via the question tool)
Fix-branch offer logic for pre-existing CI failures
Create classify_paths plugin tool for deterministic path classification #673 (classify_paths): the classifier already exists inside review-dispatch/index.ts (the change-profile computation used by plan_review_dispatch); if a command-level consumer survives this tool, it should be a thin wrapper over that shared implementation extracted to lib/ — not a re-implementation
Retitled from "Create github-review-posting skill..." to reflect the tool direction. Acceptance criteria change accordingly: skill creation → tool creation in uf-workflow with make plugin-test coverage; the "no behavioral change" criterion is enforced by tests rather than prose assertion.
changed the title [-]Create github-review-posting skill for shared PR review mechanics[/-][+]Create post_github_review plugin tool for shared PR review posting mechanics[/+]on Oct 19, 2026
The Divisor review panel assessed this issue with six review personas; all six classify it as a valid, objective enhancement (6/6, unanimous).
Classification
Field
Value
Verdict
VALID
Category
enhancement (internal architectural consolidation — user-visible behavior unchanged by design)
Objectivity
objective
Split
not recommended
Panel analysis
The duplication claim verifies against the live sources: uf.review-council.md and uf.review-pr.md both carry the review-state fetch, the CODEOWNERS 3-path probe (.github/CODEOWNERS, CODEOWNERS, docs/CODEOWNERS), the verdict→event mapping, the mktemp + gh api --input posting sequence, and the inline-comment sorting/capping rules. The line numbers cited in the original body have drifted since filing; the near-identical prose persists.
The re-scope from skill to intent-level plugin tool follows binding governance rather than preference:
Constitution Principle VI (Deterministic Execution) and the AGENTS.md determinism gate forbid mechanical procedural prose where an executable tool is feasible.
DE-006 places judgment at the tool boundary: body, inline_comments, and gate_confirmed arrive as validated parameters, while the verdict→event mapping and the severity-sort → round-robin → top-15 capping run inside the tool as constants/pure functions.
gate_confirmed as a required parameter strengthens the MANDATORY GATE structurally: a session resumed after context compression must re-supply it, so gate enforcement no longer depends on instructed prose.
Recommendations for implementation
Pin the refusal path with an explicit negative test — gate_confirmed false or absent must refuse to post. Happy-path contract tests alone leave the gate unguarded against regression.
Preserve warn-before-post semantics for the absorbed pre-posting checks (duplicate review, stale dismissal, CODEOWNERS): fail closed with structured reasons rather than post-and-annotate.
Enumerate the characterization tests behind "no behavioral change": verdict-mapping table entries, top-15 selection/capping rules, format templates, and the CODEOWNERS multi-path probe order.
Duplicate search surfaced #671 (standalone map_verdict tool) as a similar open issue. This issue is not a duplicate of #671: #664 covers the entire posting pipeline, and the re-scope comment folds map_verdict in as an internal constant. The panel recommends treating #664 as the surviving tracker and closing #671 as absorbed when this ships.
Next steps
Route through the specification workflow before implementation (this is an agent-tooling change). The re-scoped acceptance criteria — tool creation in a decomposed uf-workflow module, make plugin-test coverage, behavioral equivalence enforced by tests — are ready to seed spec artifacts.
This triage was performed by the Divisor review panel.
Activity
jflowers commentedon Oct 19, 2026
Re-scope: skill → plugin tool
Since this issue was filed, the Router Pattern (intent-level tools whose deterministic code maps a single agent intent to the required sequence of operations) has become the repo's direction of travel — #716 shipped it for
/uf.unleash, and the AGENTS.md determinism gate now forbids mechanical procedural prose where an executable tool is feasible.A skill keeps the LLM as the orchestrator: it still reads the posting protocol and executes each step (review-state fetch → CODEOWNERS probe → verdict mapping → mktemp →
gh api --input→ cleanup). Every one of those steps is deterministic once two judgment outputs exist: the composed review body and the human's gate decision. That makes this a tool, not a skill.Proposed contract
Internal sequence (absorbed from command prose)
.github/CODEOWNERS,CODEOWNERS,docs/CODEOWNERS)map_verdictas an internal constant; the LLM never needs the tablegate_confirmed: true— the MANDATORY GATE becomes structural instead of instructed, and a session resumed after context compression must re-supply itchmod 600) →gh api --input→ temp-file cleanup on ALL paths (success and failure)The inline-comment selection algorithm (severity sort → alphabetical round-robin → top 15 → overflow to body) is also a pure function currently described as prose in both commands — a candidate to absorb here or in a sibling lib function so it exists exactly once.
What deliberately stays with the LLM
questiontool)Relationship to other issues
map_verdict): fold in as an internal function/constant of this tool — a standalonemap_verdictwould leave the agent chaining lookup calls, which is the pattern we're removingclassify_paths): the classifier already exists insidereview-dispatch/index.ts(the change-profile computation used byplan_review_dispatch); if a command-level consumer survives this tool, it should be a thin wrapper over that shared implementation extracted tolib/— not a re-implementationRetitled from "Create github-review-posting skill..." to reflect the tool direction. Acceptance criteria change accordingly: skill creation → tool creation in
uf-workflowwithmake plugin-testcoverage; the "no behavioral change" criterion is enforced by tests rather than prose assertion.[-]Create github-review-posting skill for shared PR review mechanics[/-][+]Create post_github_review plugin tool for shared PR review posting mechanics[/+]jflowers commentedon Nov 2, 2026
Issue Triage: VALID — enhancement
The Divisor review panel assessed this issue with six review personas; all six classify it as a valid, objective enhancement (6/6, unanimous).
Classification
Panel analysis
The duplication claim verifies against the live sources:
uf.review-council.mdanduf.review-pr.mdboth carry the review-state fetch, the CODEOWNERS 3-path probe (.github/CODEOWNERS,CODEOWNERS,docs/CODEOWNERS), the verdict→event mapping, themktemp+gh api --inputposting sequence, and the inline-comment sorting/capping rules. The line numbers cited in the original body have drifted since filing; the near-identical prose persists.The re-scope from skill to intent-level plugin tool follows binding governance rather than preference:
uf_unleash_branch_gate,uf_delegate_command,dispatch_review_runs).body,inline_comments, andgate_confirmedarrive as validated parameters, while the verdict→event mapping and the severity-sort → round-robin → top-15 capping run inside the tool as constants/pure functions.gate_confirmedas a required parameter strengthens the MANDATORY GATE structurally: a session resumed after context compression must re-supply it, so gate enforcement no longer depends on instructed prose.Recommendations for implementation
gate_confirmedfalse or absent must refuse to post. Happy-path contract tests alone leave the gate unguarded against regression.make plugin-testcoverage under the 94% plugin coverage floor.Related issues
Duplicate search surfaced #671 (standalone
map_verdicttool) as a similar open issue. This issue is not a duplicate of #671: #664 covers the entire posting pipeline, and the re-scope comment foldsmap_verdictin as an internal constant. The panel recommends treating #664 as the surviving tracker and closing #671 as absorbed when this ships.Next steps
Route through the specification workflow before implementation (this is an agent-tooling change). The re-scoped acceptance criteria — tool creation in a decomposed uf-workflow module,
make plugin-testcoverage, behavioral equivalence enforced by tests — are ready to seed spec artifacts.This triage was performed by the Divisor review panel.