fix(source-control): review evidence rejects completion records ending in account=fallback
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
Research direction
Read plugins/source-control/skills/babysit-prs/scripts/babysit_review_evidence.py around RECORD_RE and _record, then inspect the related cases in scripts/tests/test_babysit_review_evidence.py. Add coverage for whole and incremental records ending in account=fallback, plus a malformed trailing-text case. Done means the fallback suffix binds with the same evidence fields, while other trailing text remains rejected.
Written by the indexing model from the issue text.
Description
Problem
RECORD_RE in plugins/source-control/skills/babysit-prs/scripts/babysit_review_evidence.py (lines 55-61) anchors the completion record at $ right after scope=whole or scope=incremental since=<sha>. The lane producer adds account=fallback to the end of that record whenever the review ran on the fallback account. See melodic-software/ci-workflows .github/workflows/pr-review.yml lines 1179-1213 (read at d61aeac):
if [ "$ACCOUNT" = fallback ]; then
account=" account=fallback"
...
echo "::notice title=claude-lane-review-complete::$record findings=$FINDINGS inline=$INLINE $scope$account"
_record rejects that record as record-malformed. So a lane whose covering review, or any link in its incremental chain, was reviewed on the fallback account never binds.
Risk
The gate fails closed, so nothing merges that should not. The cost is that it stays stuck: every pull request whose review fell back to the second account after a usage limit cannot reach pr-merge until a new review runs on the primary account. Priority is low because the gate stays safe and only throughput is lost.
Fix
Accept an optional trailing account=fallback (and only that token) after the findings=… scope=… form in RECORD_RE. Treat the record exactly like a primary-account record. The skip forms carry no account suffix in the producer, so leave them unchanged.
Done when
- A record ending in
account=fallbackbinds with the same findings, inline and scope as the same record without the suffix. - Any other trailing text is still
record-malformed, and a test covers it. - Tests in
scripts/tests/test_babysit_review_evidence.pycover the whole and incremental forms with the suffix, and fail before the fix.
needs-human: this changes what the unattended merge gate accepts as review evidence, so a human reviews and merges it.
- Dominant language
- Shell
- Stars
- 22
- Forks
- 2
- Avg merge
- 7h 8m
- Merged PRs (30d)
- 874
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from melodic-software/claude-code-plugins
-
needs-human
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
melodic-software/claude-code-plugins#8405 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-human
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
melodic-software/claude-code-plugins#8374 · 1 comment ·
Maintainers usually reply within 1 day
-
priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
melodic-software/claude-code-plugins#8341 · 1 comment ·
Maintainers usually reply within 1 day
-
priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
melodic-software/claude-code-plugins#8338 · 1 comment ·
Maintainers usually reply within 1 day
-
priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
melodic-software/claude-code-plugins#8321 · 1 comment ·
Maintainers usually reply within 1 day
All issues in melodic-software/claude-code-plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CachyOS/cachyos-hooks#23 ·
-
area/cli good first issue size/S type/feature
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
lorica-labs/volant#549 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
wazuh/wazuh-installation-assistant#1147 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100