Skip to content

review-packet: explain the change completely before evidence and calls - #29

Merged
nadaverell merged 3 commits into
mainfrom
review-packet-context-first
Oct 17, 2026
Merged

nadaverell merged 3 commits into
mainfrom
review-packet-context-first

Conversation

@nadaverell

@nadaverell nadaverell commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

A review packet opened with the calls for the reviewer, then the evidence. A reader new to the change met dilemmas and proof before knowing what the change was, how it worked, or why it was built that way, so the evidence got skimmed and the calls got guessed at.

What changes

  • Two rules instead of one: explain before you prove or ask, then keep every claim beside its evidence.
  • Every packet explains first, in a fixed order: orientation (with reading paths when long), the problem with real before-behavior, the idea, terms, one case walked from input to output, where the code lives (code vs test sizes), why this design, alternatives with what settled each, costs and drawbacks, behavior in each operating context and how each was checked, and how to review it (reading order, and whether a large change splits, verified by building the split).
  • Evidence follows, then the open calls, each argued where the reader already has the context. The orientation may link to the calls for returning readers.
  • Consider a diagram wherever seeing is faster than reading: data or call flow, states and transitions, a before/after grid over a set of items, a layer map, a race timeline. Drawn in HTML/CSS or Mermaid with real names, captioned with what to notice, and skipped when prose or a table is as clear (one to three per packet, not one per section).
  • This applies to all packets, not only large ones: a small change gets the same order at a smaller scale.
  • The cold-reader check covers the whole page (nothing used before it is defined, including call numbers). Components gain the explanation's building blocks (walk-through, glossary, dependency map, alternatives, costs, operating contexts, reading order). Anti-patterns and the hand-over line match.
  • The Codex skill's description and the README describe the new order. Publishing mechanics (Artifact, Sites, local HTML) are unchanged.

Tested: bash -n scripts/install-codex.sh and python3 -m unittest discover -s tests pass (9 tests). The new order was used for the radar #2042 review packet.

A packet opened with the calls for the reviewer and then the evidence, so a
reader new to the change met dilemmas and proof before they knew what the
change was, how it worked, or why it was built that way. Every packet now
explains first, in a fixed order scaled to the change: orientation, the
problem, the idea, terms, a walk-through, where it lives, why this design,
alternatives with what settled them, costs and drawbacks, behavior in each
operating context, and how to review it. Evidence follows, and the open calls
come last, each argued where the reader already has the context. A small
change gets the same order at a smaller scale.

The cold-reader check now covers the whole page, the components list gains the
explanation's building blocks, and the Codex skill and README describe the new
order.
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Make review packets explain the change before evidence and decisions

📝 Documentation ✨ Enhancement 🕐 10-20 Minutes

Grey Divider

AI Description

• Require every review packet to explain the change before presenting evidence or open calls.
• Add a fixed, scalable explanation order and a whole-page cold-reader check.
• Align the README and Codex skill introduction with the new review flow.
Diagram

graph TD
  A["Packet request"] --> B["Change explanation"] --> C["Claim evidence"] --> D["Open calls"] --> E["Reviewer judgment"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Keep decisions first with a short primer
  • ➕ Returning reviewers could reach open calls immediately.
  • ➖ A brief primer would leave new readers to interpret decisions before the full design and evidence.

Recommendation: Keep the context-first order and use orientation links for returning readers. Before merging, reconcile the unchanged Codex instruction to put decisions at the top, which contradicts the new canonical flow. The reported nine passing tests cover installation, not packet ordering.

Files changed (3) +128 / -63

Enhancement (1) +122 / -58
review-packet.mdDefine the new canonical packet structure +122/-58

Define the new canonical packet structure

• The command now requires an ordered explanation for packets of any size, followed by evidence and then argued decision boxes. It expands the cold-reader check, component guidance, document navigation, anti-patterns, and handoff wording without changing publishing mechanics.

plugins/skyhook-skills/commands/review-packet.md

Documentation (2) +6 / -5
README.mdDescribe the context-first review packet +1/-1

Describe the context-first review packet

• The command overview now says packets explain the problem and design first, present evidence beside claims, and finish with reviewer calls. Publishing routes remain unchanged.

README.md

SKILL.mdUpdate the Codex skill introduction +5/-4

Update the Codex skill introduction

• The skill description and opening now advertise explanation before evidence and calls. An unchanged instruction later in the file still says to put decisions at the top, contrary to the new order.

codex/skills/review-packet/SKILL.md

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Codex packets can still put calls first ✓ Resolved
Description
The updated Codex skill says to explain the change first and put calls last, but its remaining
instruction tells the agent to put the reader's decisions at the top. Codex and Cursor use this
adapter alongside the canonical command, so following that instruction produces the ordering this
change is meant to replace.
Code

codex/skills/review-packet/SKILL.md[R10-12]

+Package work so review is easy to *do*: explain the change completely first, then
+put the evidence beside each claim and the open calls at the end, in a document the
+reviewer can open.
Evidence
The changed adapter introduction requires calls at the end, while a later instruction in that same
adapter still requires decisions at the top. The canonical command also places calls after evidence,
and the adapter is installed for Cursor.

codex/skills/review-packet/SKILL.md[10-16]
codex/skills/review-packet/SKILL.md[33-37]
plugins/skyhook-skills/commands/review-packet.md[107-113]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The Codex adapter's unchanged decision-at-top instruction contradicts its new calls-last guidance and the canonical command.
## Fix Focus Areas
- codex/skills/review-packet/SKILL.md[10-12]
- codex/skills/review-packet/SKILL.md[33-34]
## Recommended Fix
Replace the decision-at-top instruction with guidance to put open calls after the explanation and evidence, retaining the verdict-at-bottom rule.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Settled work can still become a packet ✓ Resolved
Description
The revised no-decision instruction says to note that nothing needs deciding rather than switch to a
report. When a review is fully settled, the canonical procedure can continue to packet publication,
contrary to the Codex adapter's report-only instruction and the review-loop guidance to skip a
packet.
Code

plugins/skyhook-skills/commands/review-packet.md[R113-115]

+the reader already has the context. Use the actual number of decisions; approval
+of the change can be the only call. Do not invent dilemmas to fill a quota. If
+nothing needs deciding, say so.
Evidence
The changed instruction permits stating that there are no calls without exiting the packet workflow.
The Codex adapter explicitly requires a short report in that case, and review-loop directs agents to
skip packets for fully settled changes.

plugins/skyhook-skills/commands/review-packet.md[107-115]
codex/skills/review-packet/SKILL.md[33-34]
plugins/skyhook-skills/commands/review-loop.md[232-236]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The canonical procedure now allows a packet with no decision, conflicting with the Codex adapter and settled-review workflow.
## Fix Focus Areas
- plugins/skyhook-skills/commands/review-packet.md[113-115]
- codex/skills/review-packet/SKILL.md[33-34]
## Recommended Fix
Direct agents to write a short report instead of building or publishing a packet when there is no open decision.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Tip of the day
💡 Did you know, you can see how risky a PR is at a glance with blast radius labels

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread codex/skills/review-packet/SKILL.md Resolved
@nadaverell
nadaverell merged commit 5e7694e into main Oct 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant