Skip to content

source-control: remove the userConfig fallback for six migrated babysit keys (no earlier than 2026-12-29) #5653

Closed as not planned

Description

@kyle-sexton

Summary

The per-target-repo resolver shipped in #5537 (merged 2026-09-30). The six keys it migrated keep their userConfig value as a deprecated fallback that emits a deprecation note. Remove that fallback in a later minor release with a CHANGELOG Removed entry, no earlier than 90 days after the resolver release (about 2026-12-29).

Fix

Remove the userConfig fallback and its deprecation note for the migrated keys, per plugins/source-control/reference/config-resolution.md. The review pair (babysit_review_bot_logins, babysit_review_settle_minutes) stays userConfig-only by the owner ruling on #4572 and is not part of this removal.

Verification

Resolver tests no longer cover the fallback; CHANGELOG has a Removed entry; a grep for the removed keys' deprecation note finds nothing.

Related

Split out of #4572 (owner decision 2026-10-01, option A). Time-gated: do not start before 2026-12-29.

Activity

  1. added
    needs-triage
    on Oct 1, 2026
  2. kyle-sexton commented on Oct 2, 2026

    @kyle-sexton
    MemberAuthor

    Note for the removal date: plugins/source-control/reference/config-resolution.md:106 says the fallback goes away "no earlier than 2026-12-27", while this issue says 2026-12-29. Use the later date, or fix the doc line when this lands.

  3. kyle-sexton commented on Oct 4, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during triage.

    Agent Brief

    Type: Task
    Summary: Remove the deprecated userConfig fallback, and its deprecation note, for the babysit repository-policy keys the per-target-repo resolver migrated. Do not start before 2026-12-29.

    Current behavior:
    /source-control:babysit-prs resolves the repository-policy keys from each target repository's tracked .claude/source-control.md, and merges each key against the plugin's userConfig value (or the matching CLI flag) as a deprecated fallback that prints a deprecation note. The review keys (babysit_review_bot_logins, babysit_review_settle_minutes, babysit_review_trigger_phrase) are userConfig-only and are not deprecated.

    Desired behavior:
    For the migrated keys, only the repository declaration applies: the userConfig and CLI fallback is no longer read and no deprecation note is printed. The userConfig-only review keys and the identity and trust keys keep working exactly as they do today. The config-resolution reference documents the post-removal merge rules, including how the autopilot tier's fail-closed check on empty block labels behaves once the operator's fallback no longer counts.

    Key interfaces:

    • Fallback-merged keys: babysit_merge_block_labels, babysit_extra_dependency_manager_logins, babysit_approval_downgrade_logins, babysit_skip_downgrade_logins, babysit_merge_method, babysit_review_gate_context, babysit_ci_gateway_context

    Acceptance criteria:

    • The resolver tests no longer cover the fallback, and a test shows a userConfig value for a removed key has no effect
    • The source-control CHANGELOG has a Removed entry in a minor release dated on or after 2026-12-29
    • Searching for the removed keys' deprecation note finds nothing
    • The reference's removal date reads 2026-12-29 or is gone

    Out of scope:

    • The review keys and the identity and trust keys, which stay userConfig-only
    • The branch_issue_pattern userConfig twin, unless the owner adds it below

    Routing: human-gated

    Time gate. This must not start before 2026-12-29, and the work-items plugin has no not-before mechanism, so an agent-ready label now would let a worker pick it up early. When the date passes, flip it to agent-ready plus work-class: scoped; I propose scoped (C3).

    Open question. The title says six keys, but the resolver as merged (#5537) merges seven keys against the fallback (listed above). Which keys are in scope? Recommended: all seven, because those are the keys still carrying a fallback. Also: the reference gives a separate removal date for the deprecated branch_issue_pattern userConfig twin, 2026-12-27. Should that removal happen in this change too? Recommended: yes, in the same minor release, so one CHANGELOG Removed entry covers every fallback.

    Basis: verified. The key table in plugins/source-control/reference/config-resolution.md (lines 338-349) matches the table #5537 added (56a66d4). The branch_issue_pattern twin's date is at config-resolution.md:103-106. The #4572 owner decision says "six migrated keys".

  4. added
    needs-human
    needs-owner-decision
    and removed
    needs-triage
    on Oct 4, 2026
  5. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The owner approved applying independently verified recommendations on 2026-10-12.

    • Which keys lose their userConfig fallback? → The six deprecated keys: babysit_merge_block_labels, babysit_extra_dependency_manager_logins, babysit_approval_downgrade_logins, babysit_merge_method, babysit_review_gate_context, babysit_ci_gateway_context
      Basis: plugins/source-control/reference/config-resolution.md:490-493 (skip_downgrade fallback is the only add path, no deprecation note); :499-505 ('Each of the six keys ... prints one deprecation note ... That fallback is removed'); source-control: migrate ten babysit repository-tooling keys from userConfig to the source-control.md cascade #4572 owner decision 2026-10-01 ('six migrated keys')
    • Remove the deprecated branch_issue_pattern userConfig twin in the same release? → Yes, same minor release and one CHANGELOG Removed entry
      Basis: plugins/source-control/reference/config-resolution.md:113-116 ('deprecated ... no earlier than 2026-12-27'); judgment for bundling

    Remove the deprecated userConfig fallback and its deprecation note for the babysit repository-policy keys the per-target-repo resolver (#5537) migrated, no earlier than 2026-12-29. Triage asked whether the scope is six or seven keys and whether the branch_issue_pattern twin goes in the same release.

    Verified by an independent fresh-context check (confirmed, risk low): gh issue view 5653 (2 comments, triage proposes seven keys); origin/main plugins/source-control/reference/config-resolution.md:114-116 (branch_issue_pattern twin deprecated, no earlier than 2026-12-27), :490-493 (skip_downgrade remove-only, fallback is the only add path, no deprecation note), :499-505 (six keys print a deprecation note); origin/main plugins/source-control/skills/babysit-prs/scripts/babysit_repo_config.py:211,360-363,380 (skip_downgrade not deprecated, prints no note); babysit-prs/SKILL.md:291-304 lists the six deprecated fallbacks; gh issue view 4572: owner decision 2026-10-01 option A names 'the six migrated keys'; git log config-resolution.md: no change to the date or key set since #5537

    Admission to an agent lane stays with the work-class rules and owner ratification.

  6. removed
    needs-owner-decision
    on Oct 13, 2026
  7. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Owner batch-ratified this admission in an attended session on 2026-10-12: work-class: scoped. Rule: class C1-C3, no trust surface, the independent check confirmed the recorded decision, and no owner step remains.

  8. added
    agent-ready
    and removed
    needs-human
    agent-ready
    on Oct 13, 2026
  9. added theissue type on Oct 15, 2026
  10. 1 remaining item

  11. github-actions commented on Oct 25, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Decision comment (kyle-sexton): #5653 (comment)

    Decision recorded. The owner approved applying independently verified recommendations on 2026-10-12.

    • Which keys lose their userConfig fallback? → The six deprecated keys: babysit_merge_block_labels, babysit_extra_dependency_manager_logins, babysit_approval_downgrade_logins, babysit_merge_method, babysit_review_gate_context, babysit_ci_gateway_context
    • Remove the deprecated branch_issue_pattern userConfig twin in the same release? → Yes, same minor release and one CHANGELOG Removed entry
      [quote truncated; the full decision is at the link]

    The decision settles the earlier open questions (key scope and the branch_issue_pattern twin). This is a bounded removal of the deprecated fallback. Per the issue, work must not start before 2026-12-29.

    Automated triage, applied by the lanes App.

  12. added
    status: ready
    needs-triage
    on Oct 25, 2026
  13. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Remove the userConfig and CLI fallback and its deprecation note for the six deprecated babysit keys and the branch_issue_pattern userConfig twin, in one minor release dated on or after 2026-12-29.

    Acceptance criteria

    • babysit_repo_config.py (plugins/source-control/skills/babysit-prs/scripts) no longer merges userConfig or CLI values for babysit_merge_block_labels, babysit_extra_dependency_manager_logins, babysit_approval_downgrade_logins, babysit_merge_method, babysit_review_gate_context, babysit_ci_gateway_context, and prints no deprecation note
    • A test in test_babysit_repo_config.py shows a userConfig value for each removed key has no effect on the resolved value
    • Tests that cover the fallback merge and the once-per-key deprecation note (e.g. test_deprecation_note_once_per_key_per_process) are removed or rewritten
    • The branch_issue_pattern userConfig twin is no longer read and raises no deprecation note, with a test showing a userConfig value has no effect
    • babysit_review_bot_logins, babysit_review_settle_minutes, babysit_review_trigger_phrase, babysit_skip_downgrade_logins and the identity and trust keys behave unchanged, and their existing tests pass
    • plugins/source-control/CHANGELOG.md has one Removed entry covering all removed fallbacks, in a minor release dated on or after 2026-12-29
    • config-resolution.md documents the post-removal merge rules, including the autopilot tier's fail-closed check on empty block labels, and the removal dates at lines 103-116 and 499-505 read 2026-12-29 or are gone
    • babysit-prs SKILL.md (lines 291-321), reference/safety.md:943 and the deprecated-flag text in babysit_merge.py no longer describe the flags as a deprecated fallback
    • A grep for the string 'the userConfig value for' with 'is deprecated' across plugins/source-control finds nothing
    • The source-control test suite passes

    Dependencies

    • Time gate: do not start before 2026-12-29; the work-items plugin has no not-before mechanism, so the lane must check the date before starting.
    • #​5537 (merged 2026-09-30) shipped the resolver whose fallback is removed here.
    • #​9726, #​9725 and #​9737 (open) also change babysit config reads and drop old config files; check they have not already removed or moved the fallback code or the reference sections before starting.

    Related work

    Sources read

    • context.json comment 2026-10-13 (Decision recorded): six keys plus branch_issue_pattern twin in the same release, one CHANGELOG Removed entry
    • plugins/source-control/reference/config-resolution.md:114-116: branch_issue_pattern userConfig twin deprecated, removal no earlier than 2026-12-27
    • plugins/source-control/reference/config-resolution.md:504-516: skip_downgrade, review pair and trigger phrase are not deprecated and raise no note
    • plugins/source-control/skills/babysit-prs/scripts/babysit_repo_config.py:360-380: prints the deprecation note once per key per process
    • plugins/source-control/skills/babysit-prs/SKILL.md:291-304: lists the deprecated fallback flags
    • plugins/source-control/skills/babysit-prs/scripts/tests/test_babysit_repo_config.py:334: test of the deprecation note

    Automated refinement by the lanes App. Intake triages the issue again with it.

  14. removed
    needs-triage
    on Oct 25, 2026
  15. added
    agent-ready
    needs-human
    and removed
    agent-ready
    on Oct 25, 2026
  16. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped partway through this issue and needs a person.

    Why, in the run's own words:

    Time gate not reached. The issue says 'do not start before 2026-12-29', the recorded decision (2026-10-13) repeats 'no earlier than 2026-12-29', and the acceptance criteria need a CHANGELOG Removed entry in a minor release dated on or after 2026-12-29. Today is 2026-10-25. plugins/source-control/reference/config-resolution.md:510-516 promises users the fallback stays for at least 90 days after the resolver release, and config-resolution.md:116 plus the source-control CHANGELOG promise the branch_issue_pattern twin stays until at least 2026-12-27. Removing either now would break that published deprecation window, so nothing was edited. The issue carries agent-ready about two months early; triage asked for that label only after the date passes. Re-run on or after 2026-12-29 (check #9726, #9725 and #9737 first, since the refinement says they may touch the same resolver code), or have the owner record a decision that waives the gate.

    What the run says it did not do:

    • The whole removal: resolver code, tests, config-resolution.md, SKILL.md, safety.md, babysit_merge.py text and the CHANGELOG Removed entry. Not started because the issue's 2026-12-29 time gate hasn't passed
    • PR prep (review, build/test, lint, class audits) skipped: there is no diff

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40182263578

    To retry, remove needs-human and add agent-ready again.

  17. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    This was generated by AI.

    The owner decided this in the Backlog HITL session on 2026-10-26 (ledger row Q119 in .work/backlog-to-zero/interview-checklist.md, a local, untracked file), answering: "go with whatever the facts/data/metrics + /discovery:research says and ensure we're aligned with SOLID, DRY/SSOT principles".

    Closing as not planned now. Reopen on or after 2026-12-27, the date plugins/source-control/reference/config-resolution.md:115-116 promises the fallback stays until ("no earlier than 2026-12-27"). The one-off schedule row userconfig-fallback-removal-watch in .github/recurring-schedule.json (next_due 2026-12-27) resurfaces the removal: #10192.

    The removal scope is unchanged from the body: drop the userConfig fallback and its deprecation note for the six migrated keys, with a CHANGELOG Removed entry; the review pair stays userConfig-only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-humanstatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions