Skip to content

investigation(run): verify a skills-only plugin view loads phase skills without hooks or MCP (ADR-0012 follow-up 1) #1397

Open

Description

@admarble

Follow-up 1 of ADR-0012 (#1388, PR #1392). This gates follow-ups 2–4.

Why

ADR-0012 picks option (a): phase agents load skills from the installed package through a skills-only plugin view. That is a generated directory with .claude-plugin/plugin.json (named sequant) and skills/ pointing at the package's plugin/skills/, with no hooks and no .mcp.json. #1388's spike proved the whole plugin/ loads, but passing it double-fires hooks and starts an MCP server outside #936. Nobody has run the skills-only view yet.

Acceptance Criteria

  • AC-1: A spec phase run with plugins: [{ type: "local", path: <skills-only view> }] in a repo with no .claude/skills/ posts a spec comment with SEQUANT_PHASE and SEQUANT_SPEC markers, and the orchestrator's fix(run): spec runs in the main checkout, which the skills pre-flight never checks — a stale checkout silently degrades spec (#933 regression) #1193 marker check passes. Evidence: the phase transcript excerpt and the run summary, in a comment.
  • AC-2: That run's system/init shows the sequant plugin with all sequant:* skills, no plugin hook firing (a probe log stays empty for the plugin), and no source: "plugin" MCP server. Evidence: the init excerpt and probe log, in a comment.
  • AC-3: Records whether skills/ works as a symlink into node_modules/sequant/plugin/skills, or needs a copy, and where the generated view lives (for example .sequant/ or the OS temp dir). Evidence: one line per variant tried, with its result.

How

Reuse #1388's spike harness: an unmerged driver change behind an env var, and launchctl submit outside any Claude session (#856). No merge needed.

Non-Goals

  • Shipping the driver change (follow-up 2).
  • Any edit under plugin/, .claude/skills/ or templates/skills/ (plugin freeze).

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions