Skip to content

harness-ops: recheck the concurrent plugin CLI registry gotcha against 2.1.330 #17827

Description

@kyle-sexton

Refs: #17713

Context

Item 1 of the 13 handoffs the v2.1.330 changelog apply run filed as #17713, split one issue per item under the owner's decision on that issue ("Go with recommendations.", 2026-11-21).

Route: an edit item, for the issue lane. Probe first, as the item says.

Owner surface: plugins/harness-ops/skills/plugins/context/gotchas.md
Lens: correct
Items: 2.1.330-027
Range: 2.1.330..2.1.330

Required sentence: Component says concurrent claude plugin CLI writes lose each other's registry entries while still exiting 0 (false per 2.1.330); the release says plugins no longer go missing from the installed list when several claude plugin commands run at the same time (true).

Why a handoff (unverified): Condition 2: no docs page states the true half (changelog only). Condition 3: verification level light, no local verifier ran. The 2.1.310 probe symptom (lost updates) differs from the release's (missing plugins): re-run the probe before editing.

Repo evidence (unverified, verification: skipped (light)): gotchas.md:125-140 (recheck trigger at :139 names a release adding locking or atomic registry writes)
Recheck trigger: changelog item 2.1.330-027; plugins CLI reference page

Done when

  • The concurrent claude plugin registry probe is re-run on Claude Code 2.1.330 or later and its result is recorded on this issue
  • plugins/harness-ops/skills/plugins/context/gotchas.md:125-140 states the behaviour the probe shows, and its recheck trigger names changelog item 2.1.330-027

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: one gotchas.md section (lines 125-140) in the harness-ops plugin's plugins skill context; read by agents loading that skill.
    Reversible: yes; revert the doc edit.
    Open questions: none
    Understood: re-run the concurrent claude plugin registry probe on Claude Code 2.1.330 or later, record the result here, then correct gotchas.md:125-140 to match what the probe shows. Its recheck trigger should name changelog item 2.1.330-027. The issue says the 2.1.310 symptom (lost updates) differs from the release's (missing plugins), so the probe has to run before any edit. No open issue duplicates this, and no merged pull request in the recent list covers it. #17713 is the parent handoff.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: its done-when asks for what an unattended lane run cannot perform: item 1 (tracker-output: "The concurrent claude plugin registry probe is re-run on Claude Code 2.1.330 ..."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (host-run). Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  5. melodic-automation-lanes commented on Nov 21, 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: gotchas.md:125-140 is rewritten to state what the re-run probe shows on Claude Code 2.1.330 or later, and its recheck trigger names changelog item 2.1.330-027.

    Related work

    Open questions

    1. The doc edit depends on the probe outcome, which no unattended run can know in advance. Should the edit wait until the probe result is recorded on this issue?
      RECOMMENDED: Yes. Hold the edit until a person records the probe result on 2.1.330 or later. Then the lane states that result in gotchas.md:125-140 and names 2.1.330-027 in the recheck trigger. Basis: plugins/harness-ops/skills/plugins/context/gotchas.md:132-140
    2. If the probe shows no lost updates, should the serial-sweep rationale be kept as a precaution or dropped from gotchas.md?
      RECOMMENDED: Keep the sweep serial and rewrite the section to say the loss no longer reproduces on 2.1.330. Do not make the sweep parallel without a separate decision. If the probe still shows losses, keep the section and add the 2.1.330 result. Basis: judgment

    Sources read

    • plugins/harness-ops/skills/plugins/context/gotchas.md:124-140: says concurrent plugin CLI writes lose registry entries while exiting 0, probed on 2.1.310 (issue #​6309); the recheck trigger is a release adding locking or atomic registry writes, or a multi-plugin update

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  6. kyle-sexton commented on Nov 22, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI.

    Probe re-run on this host: claude --version prints 2.1.330 (Claude Code), Linux (WSL2), 2026-11-21. No concurrent claude plugin write lost a registry record.

    Method, same as #6309: a fresh scratch CLAUDE_CONFIG_DIR per repetition and a local git marketplace probe-mkt of 12 plugins. For update, all 12 are installed at 1.0.0 at user scope, the marketplace moves to 2.0.0 (claude plugin marketplace update probe-mkt), then N distinct claude plugin update pN@probe-mkt -s user calls launch at once. For install and uninstall, N distinct calls launch at once against the fresh or fully installed registry. The check reads installed_plugins.json for each called id: 2.0.0 after update, 1.0.0 after install, absent after uninstall. The real ~/.claude/plugins/installed_plugins.json and known_marketplaces.json hold no probe-mkt entry afterwards.

    call N at once repetitions registry writes lost calls that exited non-zero
    update -s user 1 (serial control) 1 0 of 1 0
    update -s user 8 10 0 of 80 0
    update -s user 12 10 0 of 120 0
    install -s user 8 10 0 of 80 (8 of 8 records present every time) 0
    uninstall -s user 8 10 0 of 80 (4 of 12 records left every time) 0

    On 2.1.310 the same update probe lost 36 of 80 at N=8. Not re-probed: uninstall -s project (the run was refused by this host's permission classifier), so the docs keep that row at its 2.1.310 result.

    The gotcha in plugins/harness-ops/skills/plugins/context/gotchas.md is corrected by the linked PR; the sweep stays serial, since a parallel sweep is its own decision under #6309.

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

    No labels
    No labels

    Type

    Fields

    Work status

    needs-owner-decision

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions