A session-local hunk review board for Hunk. It records which hunks you have visited and lets you mark the selected hunk approved, investigate, or blocked with an optional rationale.
Run it directly from this checkout:
bun run packages/hunk/src/main.tsx -- diff --extension ./examples/extensions/review-triageOr copy the directory to your Hunk extensions directory and keep its package.json; its manifest makes the folder a single review-triage extension.
Open Extensions → Toggle review triage (Y). The right pane lists each visible file's hunks; click a hunk to navigate the review stream. Use Extensions → Mark selected hunk… (x) to choose a status and enter an optional rationale. Center current review line, Set review focus…, and Clear triage decisions are menu-only commands.
The board intentionally keeps state only for the running Hunk session. Reloading reconciles decisions against the newly parsed hunks and drops entries that no longer match, rather than silently transferring a decision to changed code.
registerPanerenders public file/hunk summaries and navigates with pane actions.registerCommandsupplies the Extensions-menu items and user-remappable defaults;ctx.commands.executedelegates the dedicated centering action to Hunk's public semantic command.dialogs.select,dialogs.input, anddialogs.confirmimplement the review decision and clear flows.- Lifecycle handlers track changeset loads, reloads, selection, viewed hunks, Hunk notes, filters, and pending watch reloads through a
useSyncExternalStorebridge. hunk.eventspublishes decisions and listens forreview-triage:open, so another extension can reveal the board without importing its state.