Skip to content

hr-code-review: generate the panel recommendations catalog from a board snapshot, a source spec and sanitized own results - #671

Merged
bompus merged 8 commits into
mainfrom
hr-panel-recs-generator-20261121
Nov 21, 2026
Merged

bompus merged 8 commits into
mainfrom
hr-panel-recs-generator-20261121

Conversation

@bompus

@bompus bompus commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Makes the panel recommendations catalog generated, so it follows its evidence instead of being edited by hand.

  • skills/hr-code-review/scripts/refresh-recommendations.mjs builds references/panel-recommendations.json from three committed files: a source spec (panel-recommendations.sources.json: which board rows each entry uses, plus the route, limits and advice no board states), a snapshot of the public Bug Hunt board (panel-board-snapshot.json, current rows only) and optional own results (panel-recommendations.own.json).
  • --fetch reads the board over https (no redirects, size cap) and rewrites the snapshot. --from-file sanitizes a maintainer's own results into plain fields (model, effort, found of total, false share, minutes, a short cohort line, provenance) and requires --deny-file, a list of names this repository must not carry, matched ignoring case and punctuation. --check is offline, with no clock and no network, and fails when the catalog is not what the committed files generate.
  • The CLI is strict: unknown, repeated, empty or conflicting options exit 2; several outputs are written together or not at all.
  • The one-time refresh moves the Opus, Sonnet and Muse entries to the board's current rows and adds GPT-6.2 Astra and Gemini 4 Neon. Entries gain a kind (board or own-evaluation). The rationale line is computed from the rows: a saving is stated only when it is one, and a gap inside the board's run-to-run spread is said to be no difference.
  • The three generated JSON files are excluded from the formatter so the generator's output is canonical.
  • Tests: generated catalog equals committed files; superseded rows dropped, newest row and run count tie-break; sanitizer refusals (paths, links, addresses, credentials, long free text, bad dates, deny names in any spelling); strict CLI; all-or-nothing writes; --from-file and --check round trip.

Reviewed locally with the pinned read-only reviewer: one blocker (private names in a test, fixed before the first push) and several smaller points, fixed. Not covered: nothing checks the snapshot against the live board except --fetch itself.

bun run check and bun test skills/hr-code-review pass.

…rd snapshot, a source spec and sanitized own results

scripts/refresh-recommendations.mjs builds panel-recommendations.json. --fetch rewrites the committed board snapshot from the public Bug Hunt board; --from-file sanitizes a maintainer's own results (fixed plain fields, no paths, links, addresses or credentials, and a required deny file for names this repository must not carry) into the own file; --check fails offline when the catalog is not what the committed files generate. Arguments are strict, conflicting or repeated options are refused, and several outputs are written together or not at all.

The one-time refresh moves the Opus, Sonnet and Muse entries to the board's current rows and adds GPT-6.2 Astra and Gemini 4 Neon. Entries gain a kind (board or own-evaluation). The generated JSON files are excluded from the formatter so the generator's output is canonical.
@bompus bompus added the author:anthropic Pull request written by a anthropic model label Nov 21, 2026

@bompus-ai-review bompus-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bompus AI Review (GPT-6.2 Astra, medium reasoning; Gemini 4 Neon, high reasoning): 10 finding(s).

…ation-owned staging, byte-level check, refresh lock, input selection by mode, streamed fetch cap, spread-aware rationale

@bompus-ai-review bompus-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bompus AI Review (GPT-6.2 Astra, medium reasoning; Gemini 4 Neon, high reasoning): 9 finding(s).

Review 2: findings below high are posted only within 3 lines of a change since 4091336.

…d public model/harness vocabulary, one strict snapshot schema and canonical layout, measurement domains, per-string deny matching, race-safe refresh lock, backups outside the skill folder, canonicalizing plain run, controlled test fixtures

@bompus-ai-review bompus-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bompus AI Review (GPT-6.2 Astra, medium reasoning): 5 finding(s).

Review 3: only high findings and above are posted from here on.

…acts kept only in the catalog (one-file import), tool-owned transaction reclaim, serialized stale-lock recovery, controlled test fixtures, doc paragraph under the ceiling

@bompus-ai-review bompus-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bompus AI Review (GPT-6.2 Astra, medium reasoning): 3 finding(s).

Review 4: only high findings and above are posted from here on.

…ot and whole catalog, obsolete own file refused, own facts recovered by any marker, lock ownership read from content (Windows inode numbers are not reliable)

@bompus-ai-review bompus-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bompus AI Review (GPT-6.2 Astra, medium reasoning): 4 finding(s).

Review 5: only high findings and above are posted from here on.

…e the skill folder (symlinks included), repeated JSON keys refused before any own fact is read, deny check covers the spec and Unicode names, script split under the line limit

@bompus-ai-review bompus-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bompus AI Review (GPT-6.2 Astra, medium reasoning): 4 finding(s).

Review 6: only high findings and above are posted from here on.

@bompus-ai-review bompus-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bompus AI Review limit: this pull request has had 6 reviews, so no more will be posted. Findings above that are still open stay open. A maintainer can still review by hand.

…er validated before use, member names screened, full case folding, saved board location-checked, references folder inventory in the spec enforced by --check

@bompus-ai-review bompus-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bompus AI Review limit: this pull request has had 6 reviews, so no more will be posted. Findings above that are still open stay open. A maintainer can still review by hand.

@bompus bompus closed this Nov 21, 2026
@bompus
bompus merged commit 5c06cb8 into main Nov 21, 2026
2 checks passed
@bompus
bompus deleted the hr-panel-recs-generator-20261121 branch November 21, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author:anthropic Pull request written by a anthropic model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant