Skip to content

Load the whole agentic-engineering plugin on kagent's Claude harness (kagent#3388) #4868

Open
0 of 1 issue completed

Description

@devantler

🤖 Generated by the Agentic Engineer (interactive Claude Code session)

Part of #4866.

Problem

kagent's Claude harness loads only the selected skills of a plugin that has both a root plugin.json and a .claude-plugin/plugin.json. It drops that plugin's agents, hooks, commands and .mcp.json servers (kagent-dev/kagent#3388). The agentic-engineering plugin ships both manifests, so the lane would run without its role definition: a partial brain, which the one-brain requirement forbids.

Acceptance criteria

🤖 Generated with Claude Code

Activity

  1. added theissue type on Nov 7, 2026
  2. moved this to 🫴 Ready in 🌊 Project Boardon Nov 7, 2026
  3. devantler commented on Nov 8, 2026

    @devantler
    ContributorAuthor

    Why the fix has to go upstream:

    • kagent's Claude harness reads a plugin's root plugin.json whenever one exists. The agentic-engineering plugin ships one for Copilot CLI and VS Code, without the Agent Plugins $schema, so kagent currently refuses the plugin outright: no skills load, not only the agents.
    • Even with a valid Agent Plugins root manifest, the harness would copy only the selected skills (at most 50, and the plugin has 87) and drop the four agents.
    • In-portfolio alternatives fall short. Deleting the root manifest breaks the Copilot CLI and VS Code consumers. A second, Claude-only copy of the plugin would split the one brain. Both would need upkeep for as long as the harness ignores the Claude manifest.

    I ran Claude Code 2.1.317 locally with the harness's exact flags and the plugin at main passed with --plugin-dir. All 4 agents, all 87 skills and the subagent tool loaded. The 12 MCP servers did not start, because the harness passes --strict-mcp-config. That gap is the first item of kagent-dev/kagent#3388 and stays separate.

    Upstream PR: kagent-dev/kagent#3570. It covers the second item of kagent-dev/kagent#3388. Its main CI waits for a kagent maintainer to approve workflow runs from a first-time contributor.

    The third acceptance criterion, a test session on the harness that shows the agent and its skills, still needs a kagent release that carries the fix, or the reviewed workaround in the second criterion.

    🤖 Generated with Claude Code

  4. devantler-tech-engineering commented on Nov 13, 2026

    @devantler-tech-engineering

    🤖 Generated by the Agentic Engineer

    Evidence for the third acceptance criterion, from the kagent lane's 2026-11-13 scheduled run on the harness:

    • The plugin's agents were available in the session: the run dispatched agentic-engineering:portfolio-surveyor as a subagent, and it completed. agentic-engineering:agentic-engineer, agent-improver and flux-troubleshooter were listed too.
    • The plugin's skills were available: the run loaded agentic-engineering:portfolio-maintenance through the Skill tool.
    • The install at /opt/agent-plugins/agentic-engineering matches the reviewed gitlink. plugin-definition-currency.sh --runtime claude --installed /opt/agent-plugins/agentic-engineering exits 0 (CURRENT, 302 pinned files match), and a direct diff -r of agents/ and skills/ against agent-plugins at the pinned commit finds no difference.

    This run did not check the first two criteria (the upstream fix and the reviewed status of the workaround).

  5. devantler-tech-engineering commented on Nov 14, 2026

    @devantler-tech-engineering

    🤖 Generated by the Agentic Engineer

    New evidence from the kagent lane's 2026-11-14 run, on the second criterion ("loads the full plugin at the reviewed gitlink"):

    The run followed the reviewed definitions it fetched at a5a0d77, as the currency check directs.

  6. devantler-tech-engineering commented on Nov 14, 2026

    @devantler-tech-engineering

    🤖 Generated by the Agentic Engineer

    New evidence from the kagent lane's second 2026-11-14 run, after devantler-tech/platform#6255 deployed:

    • Second criterion: the installed plugin now matches the reviewed gitlink a5a0d77 on 299 of 303 pinned files. The only differences are 4 files in the two Stripe skills, from the newer deployed plugin commit. No role or run-loop file drifts.
    • Third criterion: in this scheduled session, the plugin's agents (agentic-engineer, portfolio-surveyor, agent-improver, flux-troubleshooter) were offered as dispatchable agent types, and its skills (portfolio-maintenance, product-engineering, self-improvement and the rest) were invocable. The run dispatched the bundled portfolio-surveyor and it completed. The plugin loads through --plugin-dir, not through the kagent skill selector, so this is evidence for the reviewed workaround rather than for the upstream fix in [FEATURE] Plugins on the claude and codex harnesses: mcp.json, dual manifests, Claude-format on codex kagent-dev/kagent#3388.
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

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions