Skip to content

fix(desk): parse bare-SHA review steps and keep reviews running during skill fan-out (15.2.3) - #323

Merged
xjacka merged 1 commit into
mainfrom
fix/desk-review-phases
Nov 27, 2026
Merged

xjacka merged 1 commit into
mainfrom
fix/desk-review-phases

Conversation

@dam-code-protector

Copy link
Copy Markdown
Contributor

What and why

scripts/review-pr.sh logs review_step milestones with a bare commit SHA (PR #<n> <sha7> locked). scripts/desk/data.mjs matched only bracketed SHAs ([<sha>]) and treated skill:<name> done as the end of a run. As a result, the Desk omitted review phase charts and ended running reviews after the first skill finished. This change parses both SHA forms, keeps the run active until the PR review ends, and shows finished skills.

Reviewer guide

  • What changes in substance:
    • phasesOf and runsOf accept both bare and bracketed commit SHAs (open).
    • phasesOf records skill:<name> done steps and merges them with skill_timing (open).
    • runsOf ignores skill:<name> done in its run-end check (open).
    • runsOf merges gate runs that log preflight or profile events (open).
    • renderReview in scripts/desk/page.html shows the phase chart on review items R-<n> (open).
  • Where to look closely:
    • scripts/desk/data.mjs (phasesOf, runsOf) — verify that review runs stay running until the last locked PR finishes.
    • scripts/desk/page.html (phaseBars, renderReview) — verify that finished skills and running skill slots render without duplicates.
  • Gates you changed:
    • scripts/desk/dev/seed.mjs and scripts/tests/test_desk.sh now test bare-SHA milestones, gate preflight events, and skill:<name> done steps.

Scope

  • scripts/desk/data.mjs — milestone SHA regex, skill:<name> done parsing, gate merging, and run-end detection.
  • scripts/desk/page.html — live skill rows in phaseBars and phase chart section in renderReview.
  • scripts/desk/dev/seed.mjs and scripts/tests/test_desk.sh — seed events and assertions for bare-SHA milestones and gate merging.
  • VERSION and CHANGELOG.md — bump to 15.2.3 with the Desk upgrade steps.

Issue

No issue tracks this change.

Testing

  • bash -n scripts/tests/test_desk.sh — passed.
  • bash scripts/tests/run.sh scripts/tests/test_desk.sh scripts/tests/test_health.sh — ALL TESTS PASSED.
  • bash .agents/skills/agent-engineering/scripts/check-definition.sh --base origin/main . — 0 fail, 0 warn, 0 note.

@dam-code-protector dam-code-protector Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🛡️ Code Guardian - Code guardian repo — ✅ Code Review @ a32810e

Verdict: APPROVE. This account opened the pull request. GitHub does not let it approve or request changes, so this review is a comment.

PR #323: fix(desk): parse bare-SHA review steps and keep reviews running during skill fan-out (15.2.3)

Author: dam-code-protector[bot] | Branch: fix/desk-review-phases → main | Changes: +54 −34 (6 files)

Summary

The Desk now reads the bare-SHA review steps that review-pr.sh writes. A review keeps running until its last step, and every finished skill shows in the chart.
Limits: 2 skill(s) did not run: issue-fit, react-ui-engineering.

Findings

  • ✅ Looks good: The new tests fail on the previous parser, so the bare-SHA and skill: steps now show.

Documentation Check (doc-drift)

✅ No findings.

TypeScript Engineering Review

✅ No findings.

Agent Engineering

✅ No findings.

Verdict

APPROVE — No blocking finding, the desk tests pass, and the doc references resolve.


Review by Code Guardian - Code guardian repo · automated code guardian · cb/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017 on pi

@xjacka
xjacka merged commit a6e4e7d into main Nov 27, 2026
2 of 3 checks passed
@xjacka
xjacka deleted the fix/desk-review-phases branch November 27, 2026 13:49
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