Skip to content

feat(harness-ops): split plugins audit into its own model-invocable skill #8206

Description

@kyle-sexton

Refs: #7455

Summary

Make the read-only audit action of /harness-ops:plugins model-invocable, and keep sync and converge user-only. disable-model-invocation applies to a whole skill, so audit moves to its own skill (for example /harness-ops:plugins-audit). The existing skill keeps disable-model-invocation: true and points to the new one.

Why

The owner re-decided D25 on 2026-10-18 with D26 (#7458) in view. D26 makes sync update committed plugin pins in every repository on disk with no per-repository confirm, so a model-started sync could change settings in repositories the user is not working in. Only the read-only action is safe for the model to start.

Related

This was generated by AI during backlog shaping.

Activity

  1. added
    needs-triage
    on Oct 18, 2026
  2. github-actions commented on Oct 18, 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

    Understood: move the read-only audit action of /harness-ops:plugins into its own model-invocable skill. sync and converge stay in the existing user-only skill, which points to the new one. The recorded decision settles the scope and the done-when list, so nothing is open. I found no duplicate among the open issues.

    Automated triage, applied by the lanes App.

  3. added
    needs-human
    and removed
    needs-triage
    on Oct 18, 2026
  4. added
    status: confirmed
    and removed
    needs-human
    on Oct 19, 2026
  5. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    The split is still to do: at origin/main, /harness-ops:plugins holds sync, audit and converge in one skill marked disable-model-invocation: true (plugins/harness-ops/skills/plugins/SKILL.md:2-5). Moving audit into its own skill relocates it rather than deleting it, so the skill-criteria rule on cuts (plugins/playbooks/skills/skill-authoring/reference/skill-criteria.md:19-22) does not apply and no paid eval run is needed. Agents decided this on evidence under standing direction §1.

    Done when

    • A new harness-ops skill (for example plugins/harness-ops/skills/plugins-audit/SKILL.md) carries the read-only audit action, with disable-model-invocation: false.
    • plugins/harness-ops/skills/plugins/SKILL.md keeps sync and converge, keeps disable-model-invocation: true, and points to the new skill for audit.
    • check-skill.sh passes on both skills, and scripts/check-changelog-fragments.sh --check passes with a harness-ops fragment.
  6. removed
    status: confirmed
    on Oct 31, 2026
  7. added
    status: ready
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Oct 31, 2026
  8. melodic-automation-lanes commented on Oct 31, 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: Move the read-only audit action of /harness-ops:plugins into a new model-invocable skill plugins-audit, leaving sync and converge in the user-only plugins skill, which points to the new one.

    Acceptance criteria

    • plugins/harness-ops/skills/plugins-audit/SKILL.md exists with frontmatter disable-model-invocation: false and a description naming the read-only audit.
    • The new skill carries the audit behavior now under 'Action: audit' at plugins/harness-ops/skills/plugins/SKILL.md:211-241, and runs sync-run.sh with --audit and never --allow-downgrade.
    • The new skill states that it never mutates state and that sync and converge stay in /harness-ops:plugins, which the user starts.
    • The new skill reaches the shared scripts and context files by a path that resolves from its own directory, for example ${CLAUDE_PLUGIN_ROOT}/skills/plugins/scripts/sync-run.sh, with no copy of the scripts.
    • plugins/harness-ops/skills/plugins/SKILL.md keeps disable-model-invocation: true at line 5, and its sync and converge actions are unchanged.
    • plugins/harness-ops/skills/plugins/SKILL.md no longer defines audit as one of its own actions: the argument-hint, the description, the Action Router table row and the 'Action: audit' section point to /harness-ops:plugins-audit.
    • Any audit argument in the old skill's router sends the reader to /harness-ops:plugins-audit instead of running it.
    • grep for plugins audit and /harness-ops:plugins audit in plugins/ and docs finds no stale reference that implies audit is user-only, and a reference that remains names the new skill.
    • plugins/skill-quality/scripts/check-skill.sh exits 0 on both plugins/harness-ops/skills/plugins and plugins/harness-ops/skills/plugins-audit.
    • scripts/check-changelog-fragments.sh --check exits 0 with a new harness-ops changelog fragment describing the split.

    External state: none

    Dependencies

    • No blocking dependency: #​7455 (D25) and #​7458 (D26) are context for the decision and are not prerequisites for this change.

    Related work

    Sources read

    • plugins/harness-ops/skills/plugins/SKILL.md:2-5: the single skill has disable-model-invocation: true and an argument-hint covering sync, audit and converge.
    • plugins/harness-ops/skills/plugins/SKILL.md:90-94: the Action Router table lists sync, audit and converge together.
    • plugins/harness-ops/skills/plugins/SKILL.md:211-241: the 'Action: audit' section holds the read-only dry-run behavior to relocate.
    • plugins/harness-ops/skills/plugins/SKILL.md:101-118: sync and audit share one sync-run.sh call, with audit using --audit.
    • plugins/harness-ops/skills/plugins/evals/evals.json: the existing skill has evals that may mention audit.
    • plugins/skill-quality/scripts/check-skill.sh: the skill checker exists.
    • scripts/check-changelog-fragments.sh: the changelog fragment checker exists.
    • context.json comment by kyle-sexton: Decision recorded, with a done-when list of three items and no paid eval run needed.

    Automated refinement by the lanes App. Admission counts only criteria a listed human wrote: to confirm these, post them as your own comment whose first line is **Decision recorded.**, which sends the issue back through intake.

  9. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
  10. github-actions commented on Oct 31, 2026

    @github-actions
    Contributor
    No description provided.
  11. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded.

    This supersedes the "no paid eval run is needed" line in the record above, which was incomplete. That record read only the cut rule. plugins/playbooks/skills/skill-authoring/reference/skill-criteria.md:161-162 also says a new skill gets its evals written first and a baseline measured, and this issue creates a new skill whose model invocation is new. The three criteria in that record and the refinement's criteria stand. The criterion below adds the eval move, and the measured run is a tracked host-run item on #9966, because the issue lane cannot run the claude CLI. Agents decided this on evidence under standing direction §1.

    Done when

    • Eval cases 2, 5 and 13 move from plugins/harness-ops/skills/plugins/evals/evals.json to plugins/harness-ops/skills/plugins-audit/evals/evals.json, reworded to invoke the new skill, and no audit case stays in the old file.
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

    agent-readystatus: ready

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions