Repository navigation
fix(desk): parse bare-SHA review steps and keep reviews running during skill fan-out (15.2.3) - #323
Conversation
…g skill fan-out (15.2.3)
There was a problem hiding this comment.
🛡️ 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
What and why
scripts/review-pr.shlogsreview_stepmilestones with a bare commit SHA (PR #<n> <sha7> locked).scripts/desk/data.mjsmatched only bracketed SHAs ([<sha>]) and treatedskill:<name> doneas 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
phasesOfandrunsOfaccept both bare and bracketed commit SHAs(open).phasesOfrecordsskill:<name> donesteps and merges them withskill_timing(open).runsOfignoresskill:<name> donein its run-end check(open).runsOfmerges gate runs that logpreflightorprofileevents(open).renderReviewinscripts/desk/page.htmlshows the phase chart on review itemsR-<n>(open).scripts/desk/data.mjs(phasesOf,runsOf) — verify that review runs stayrunninguntil the last locked PR finishes.scripts/desk/page.html(phaseBars,renderReview) — verify that finished skills and running skill slots render without duplicates.scripts/desk/dev/seed.mjsandscripts/tests/test_desk.shnow test bare-SHA milestones, gatepreflightevents, andskill:<name> donesteps.Scope
scripts/desk/data.mjs— milestone SHA regex,skill:<name> doneparsing, gate merging, and run-end detection.scripts/desk/page.html— live skill rows inphaseBarsand phase chart section inrenderReview.scripts/desk/dev/seed.mjsandscripts/tests/test_desk.sh— seed events and assertions for bare-SHA milestones and gate merging.VERSIONandCHANGELOG.md— bump to15.2.3with 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.