Repository navigation
refactor(source-control): read the babysit loop keys from docs conventions source-control.yaml - #10118
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-review reviewed No blocking or advisory findings. I read the whole diff and the PR context. I also read What I checked
Residual notes (not counted as findings)
Spend: none. No paid plan, billing setting or billed resource changes. |
|
claude-security-review reviewed No security findings. critical-findings: 0 Scope: I read all 23 changed files in the diff and the PR context. The PR context is data, and it contained no embedded instructions aimed at the lane. Trust-control review. This PR touches
Remote
Manifests. No Instruction surface. The Spend. None. The change adds no billed resource and no model, turn or schedule changes. Non-security note. The PR body says |
|
pr-unblock / address-feedback finished round 1 of max 4 on 680927e. |
|
The pr-unblock lane stopped on this pull request and needs a person: a review finding is uncertain or deferred, so a person decides it.
To resume, deal with the reason above, remove the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=10118 -f activity=address-feedback |
Conflict in plugins/source-control/skills/babysit-loop/scripts/operator-options.mjs: main (#10095) made the file a generated copy of lib/plugin-options.mjs and dropped source-control file names from its header; this branch only added docs/conventions/source-control.yaml to that list. Main's "neither is any file in the checkout" already covers the YAML, so main's copy is kept and sync-shared-copies --check passes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tion in the team YAML The unattended merge gate read babysit_loop_merge only from .claude/source-control.md, so a demotion written to docs/conventions/source-control.yaml lowered the lane but not the gate. read_config_at now also reads the YAML at the base SHA and takes the lower of the values the two files set. A YAML that cannot be read, that the shared reader rejects, or that holds an empty, non-scalar or unknown value turns the rung off instead of falling back to the legacy value. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nder their gates check-skill failed on the branch: babysit-loop's SKILL.md reached 504 lines (cap below 500), and the new babysit_repo_config.py loop-keys CLI had no guard-contract classification and accepted abbreviated flags. Rewrap the branch's own added prose, classify the CLI read-only, regenerate reference/guard-contract.md, and set allow_abbrev=False. TheConfigKey now answers its _file_at fake by path, not call order. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ge file cannot be trusted With the team YAML now read beside .claude/source-control.md, a legacy file that failed to read, was rejected by the parser, or held an empty or repeated babysit_loop_merge H2 counted as setting nothing, so a valid YAML value alone reached the gate and could hide a legacy demotion. Either file the gate cannot read or trust now turns the rung off. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sue-9726-40232585908-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
claude-security-review holds this pull request for a person (critical-security) at Trust-control finding in plugins/source-control/skills/babysit-prs/scripts/babysit_merge_policy.py. The unattended merge gate now reads babysit_loop_merge from docs/conventions/source-control.yaml alone when the legacy .claude/source-control.md lacks the key. A state that previously resolved to claude-lane: claude-security-review |
…cks babysit_loop_merge While .claude/source-control.md exists, the unattended merge gate now needs it to set babysit_loop_merge too, else the rung is off, so a raise needs both files as the schema states. A YAML without the key still falls back to the legacy value, and with no legacy file the YAML alone decides. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
claude-security-review holds this pull request for a person (critical-security) at CRITICAL trust-control finding in plugins/source-control/skills/babysit-prs/scripts/babysit_merge_policy.py (_resolve_loop_merge): with no .claude/source-control.md at the base SHA, docs/conventions/source-control.yaml alone now sets the unattended merge gate's babysit_loop_merge rung. That rung was off before, so a repository without the legacy file can now get C2/C3 unattended merge authority from a YAML value. A person must decide whether this widening is acceptable. claude-lane: claude-security-review |
…s absent With no .claude/source-control.md at the base SHA, _resolve_loop_merge returned the team YAML's babysit_loop_merge, so the YAML alone could raise the unattended merge gate where main held it off. Return None (off) instead until the slice that deletes the legacy file decides otherwise. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sue-9726-40232585908-1
…sue-9726-40232585908-1
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
kyle-sexton
left a comment
There was a problem hiding this comment.
Owner decision 2026-10-26 ~22:3xZ in the hub session: merge the PRs currently held for the owner, security-flagged or otherwise. Approving head 81a135d under that decision; this lifts its hold path (babysit_merge_policy.py). The critical-security needs-human label still needs removal by the owner.
Refs: #9726
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Remaining work
Not verified
Fix
yamlmap instead of returning the legacy file's text for every path_resolve_loop_mergeresolves the gate's rung as above; tests in test_babysit_merge_policy.py cover a legacy file without the key, no legacy file (off whatever the YAML sets), both set, and either unreadable.Verification
The runner ran each check from the base copy against 680927e:
The run reports:
After the security lane's review, the merge gate's no-legacy-file case was changed to off;
python3 -m unittest discover -s tests -t .in plugins/source-control/skills/babysit-prs/scripts passed (3086 tests after the origin/main merge) andscripts/run-ruff.sh checkon that directory passed.Left out: the items under Not verified.
Related
#9726
🤖 Generated with Claude Code