Skip to content

feat(harness-ops): read per-project plugin enablement from the CLI instead of settings.json #8555

Closed as not planned

Description

@kyle-sexton

Problem

#7891 lets harness-ops converge read one key of a project's checked-in .claude/settings.json (with the Read tool) to tell whether a plugin is enabled there, as a sanctioned exception to the plugin's rule that fleet-state.sh is the only reader of plugin state. That exception is meant to go away when #7458 moves pin updates into sync.

A CLI source may make the exception unnecessary sooner: claude plugin list --json may report a projectEnabled field. UNVERIFIED: the field, its meaning, and the Claude Code version that added it (a peer session cited 2.1.285 or later; not read this session).

Ask

  • Verify against the current Claude Code plugins reference or the CLI's own output whether claude plugin list --json reports per-project enablement, and from which version.
  • If it does, read true entries from it in fleet-state.sh (the documented source), keep the current safe default when it is absent, and drop the settings.json read from converge Step 2.

Acceptance

  • The source is cited to the docs section or a recorded probe, with an as-of date and recheck trigger (.claude/rules/skill-bodies-state-current-rules.md).
  • converge no longer reads .claude/settings.json when the CLI field is available; the existing eval cases for missing, untracked, non-git, committed-false and local rows still pass.

Refs: #7891, #7458

Activity

  1. added
    needs-triage
    on Oct 20, 2026
  2. github-actions commented on Oct 20, 2026

    @github-actions
    Contributor

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Proposed work class: work-class: scoped
    Basis: automated intake triage; a maintainer confirms or changes it.

    Automated triage. A maintainer reviews it.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 20, 2026
  4. kyle-sexton commented on Oct 22, 2026

    @kyle-sexton
    MemberAuthor

    Duplicate of #7458. claude plugin list --json reports projectEnabled false both for an explicit false and for no entry, and converge's committed-false eval case (plugins/harness-ops/skills/plugins/evals/evals.json:128) needs that distinction. So the settings.json read stays until #7458 lands.

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-human

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions