Skip to content

An agent that depends on a plugin still runs on a runtime that skips it #9964

Backlog

Description

@ascerra

What happens

A harness lists its plugins once, and each runtime loads the entries of its own kind and names and skips the rest. That suits a plugin an agent can do without. The stock code agent lists a Claude Code plugin, and on pi that plugin is skipped while the agent still does its job.

Some agents cannot work without their plugin. When an agent's prompt and tools: rely on a tool that a pi extension registers, the agent has no such tool on any other runtime. The harness does not choose the runtime, and it has no field to say which runtimes it can run on.

So when an installation sets another runtime for such an agent, nothing reports it before the run:

The person who installed the agent learns of it from a run that had none of the tools its prompt relies on.

Steps to reproduce

With fullsend 0.57.1:

mkdir demo && cd demo
printf 'version: "1"\nroles: [triage]\n' > config.yaml
fullsend agent new demo --fullsend-dir . --role triage --runtime pi --slug demo \
  --description "Answers with a tool that a pi extension registers"

mkdir -p extensions/hello
cat > extensions/hello/index.js <<'JS'
export default function (pi) {
  pi.registerTool({
    name: "hello",
    label: "Hello",
    description: "Returns a greeting",
    parameters: { type: "object", properties: {} },
    async execute() {
      return { content: [{ type: "text", text: "hello" }] };
    },
  });
}
JS
printf '\nplugins:\n  - extensions/hello\n' >> harness/demo.yaml
sed -i 's/^tools: .*/tools: [hello]/' agents/demo.md

fullsend agent set demo --runtime claude --fullsend-dir .
fullsend lint demo --fullsend-dir . --offline --strict
fullsend lock demo --fullsend-dir . --offline

All three commands succeed and print no warning about the extension.

What is needed

A way for a harness to say which runtimes it can run on, checked against the runtime the installation resolved. The check belongs in fullsend agent set, in fullsend lint, and at the start of fullsend run before the sandbox is created. This does not make the harness choose the runtime. It lets a harness refuse a runtime it cannot use.

Related

Neither blocks this.

Activity

  1. fullsend-ai-triage commented on Nov 30, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 9:55 PM UTC · Completed 9:57 PM UTC

    Commit: 695bd37 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.22

  2. added
    feature
    triaged
    on Nov 30, 2026
  3. fullsend-ai-triage commented on Nov 30, 2026

    @fullsend-ai-triage

    Thanks for the detailed report and reproduction. Checking the repository confirms the gap: the harness has a plugins list but no way to declare compatible runtimes, the Claude runtime only prints a skip line for pi extensions, and neither agent set, lint nor lock compares the resolved runtime with the harness's plugins. No open duplicate or in-flight PR was found. #7804 (model/runtime pairing in config.yaml) is related but does not cover plugins.

    Suggested direction

    • Add an optional harness field listing allowed runtimes (absent = any), validated in internal/harness.
    • Enforce it in fullsend agent set, fullsend lint, and at the start of fullsend run before sandbox creation.
    • Update the runtime docs.

    Open questions for maintainers (design choices, not for the reporter): field name and inheritance through base/overlays, how it interacts with schema_version, whether this needs an ADR or an amendment to ADR 0094, and whether the allowed runtimes could instead be inferred from plugin kinds.

    Proposed test case

    Harness declares runtimes: [pi] and lists a pi extension plugin.
    - agent set --runtime claude -> fails, config unchanged; --runtime pi -> succeeds
    - lint -> error when the agent resolves to claude, clean for pi
    - run -> exits before sandbox creation on a non-listed runtime
    Edge cases: field absent (unchanged behaviour), runtime cleared (default is checked),
    field inherited/overridden via base and overlays, unknown runtime name rejected.
    

    This is a feature (new harness capability), so it is not auto-promoted for implementation and is left for maintainer review.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
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

    featuretriaged

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions