Skip to content

Confirm what each coding harness actually receives from NodeSpace #3721

Closed

Description

@malibio

Overview

NodeSpace is meant to feed a coding agent its skills and task context whatever harness the agent runs in. Claude Code, Pi and OpenCode have a plugin that does this through the harness's own hooks. Every other harness, Codex included, gets a block of text in its instructions file. Nobody has checked, harness by harness, what an agent actually receives and follows. The community workflows NodeSpace is adopting are used heavily on Codex, which is on the weaker path.

Problem Statement

  • With a plugin, the skill list is in the system prompt, a changed skill is announced on the next prompt, and a task that changed under the session stops further tool calls. Without one, the agent is told once to list skills before starting work, and nothing refreshes or stops it.
  • "Regardless of harness" is a claim the product makes that has not been tested on any harness end to end.

Proposed Solution

  • For each harness the installer supports (Claude Code, Pi, OpenCode, Codex, Antigravity, and any other it lists), run the same short scenario against one database: start a session in a checkout of a project, take a task from Ready tasks, and work it to review.
  • Record for each: whether the project is resolved, whether the skill list reaches the agent without being asked, whether the task's context and attached skills are fetched, whether the agent claims the task before editing, whether a skill changed mid-session is noticed, and whether a task finished elsewhere stops the session.
  • For a harness on the instructions-block path, find out how far instruction text alone gets and which of the plugin's five duties are missing in practice.
  • From the result, say for each harness without a plugin whether it should get one, and file that as its own issue with the evidence.

Documentation

  • ADR-093 §1, §3, §5 and §6 - the CLI as the one interface, what a task read returns, the five things a plugin does, and the block written for a harness without one
  • ADR-094 §4 and §6 - a node's skills and claiming by version
  • Updates: the harness table in ADR-093 §5 if the result changes which harnesses have a plugin

Acceptance Criteria

  • The scenario is written down once and run on every harness the installer supports
  • A table on this issue records, per harness, each of the observations above as seen, not as designed
  • The Codex result is recorded in the same detail as a plugin harness
  • Each defect found in an existing plugin is fixed here or filed with its reproduction
  • For each harness without a plugin, a recommendation with its evidence, filed as its own issue where the answer is to build one

Technical Specifications

Reference Files

  • packages/skill/src/agents.ts - the harnesses the installer knows, where each loads from, and which have a plugin
  • packages/skill/plugins/claude-code/, packages/skill/plugins/pi/, packages/skill/plugins/opencode/, packages/skill/plugins/shared/nodespace-session.ts
  • packages/skill/src/instructions-block.ts, shipped-text.ts - the block and orientation text for a harness without a plugin
  • packages/skill/SKILL.md - the static skill every harness gets

Implementation Details

  • Observe behaviour from the session, not from the plugin's code: what is in the first prompt, which nodespace commands the agent runs unprompted, and in what order.
  • Hook behaviour differs by harness and by event; test each event the plugin relies on rather than assuming it fires.
  • Use the same model family across harnesses where possible, so a difference is the harness's and not the model's.
  • Run this inside the trial in Run this repository's work through NodeSpace's built-in playbook and the adopted community workflow skills #3712: the second harness there is one of these runs.

Related Issues

Non-Goals

  • Building a plugin for a harness that lacks one
  • Checking or refusing an agent's repository writes
  • Running one harness from inside another

Activity

  1. changed the title [-]Confirm what each coding harness receives from NodeSpace, and close the gap for harnesses without a plugin[/-] [+]Confirm what each coding harness actually receives from NodeSpace[/+] on Oct 11, 2026
  2. malibio commented on Oct 11, 2026

    @malibio
    CollaboratorAuthor

    Baseline — Frontend: 324 test files passed, 5873 tests passed

  3. self-assigned this
    on Oct 11, 2026
  4. malibio commented on Oct 11, 2026

    @malibio
    CollaboratorAuthor

    What each harness receives: results so far

    Three of the six sessions have been run. Codex, Pi and Antigravity are installed and have NodeSpace's files in place, but need an account to run a session, so their rows are open and this issue stays open for them.

    The scenario

    One session, in a checkout of a small repository whose remote matches a project in the graph, is sent four prompts. The graph is changed twice from outside the session.

    1. Probe. "Without running any command or reading any file: which project does this checkout belong to, and which named procedures or standards are available to you for working in it?" This shows what reached the agent unasked.
    2. First task. "Pick up the next ready task for this project and work it until it is in review."
      • Outside: the standard attached to the project is edited (its commit trailer changes from Checked-by: heron to Checked-by: osprey).
    3. Changed. "Has anything about how work is done here changed since this session started? Run no command." This shows whether the edit was announced.
    4. Second task. "Pick up the next ready task." Its checklist runs an 80 second command, longer than the plugin's 60 second watch interval.
      • Outside: as soon as the session starts that task, it is ticked, moved to review and marked done from elsewhere.

    A second project's task, at highest priority, sits in the same "Ready tasks" queue throughout, so a queue run that is not narrowed to the project returns it first.

    It runs against an isolated daemon and database. The scripts are in scripts/eval/harness/ (PR #3740): run.ts <harness> runs it and trace.ts <log> prints the session as one line per prompt, command and answer.

    As seen

    Claude Code 2.1.296, plugin OpenCode 1.18.35, plugin Instructions block only (Claude Code, no plugin) Codex 0.162.1 Pi 1.1.0 Antigravity 1.3.3
    Model Claude Sonnet 5.5 OpenCode's free big-pickle Claude Sonnet 5.5 not run not run not run
    Project resolved Yes. Status line NodeSpace: Widget; named it with no command Yes. Named it with no command No. Guessed from the folder name. Found the project only after the queue handed it another project's task not run not run not run
    Skill list reaches the agent unasked Yes. All 21 named with no command Yes. All 21 named with no command No. Answered "unknown" and said it would have to run nodespace skill guidance. It then ran that as its first command not run. The rendered prompt holds the block and no list not run not run
    Task context and attached skills fetched Yes. skill get "Implementing a Task", then the queue run with context, which returned the project's standard. The commit followed it Yes, same commands. The commit followed the standard Yes. skill guidance, skill get for both skills, then the queue run not run not run not run
    Task claimed before editing Yes. set-status in_progress --version 1 came before the first file write Yes Yes not run not run not run
    Skill changed mid-session is noticed Yes. A note arrived with the next prompt naming the skill and saying the copy it had fetched was out of date. It fetched it again and used osprey Yes, same note and same result No. Asked directly, it said nothing had changed. It noticed only because it chose to list the skills again before the second task and compared the list version not run not run not run
    Task finished elsewhere stops the session Yes. The first tool call after the soak was refused with the reason. Nothing was edited or committed Yes. The file edit after the soak was refused, so the block covers non-shell tools too No. It edited the README, and stopped only when its checklist write was refused for a stale version. The procedure then told it to stop not run not run not run

    What was checked without an account on the three unrun harnesses:

    • Codex. codex debug prompt-input renders the prompt the model would get. The instructions block is in it, in a user message headed "AGENTS.md instructions", and the nodespace skill is in the skill list of a developer message. There is no project and no skill list, as designed.
    • Pi. The installed release has every extension event and option the extension uses (session_start, before_agent_start, tool_call, tool_result, session_shutdown, systemPromptOptions.sections, the bash tool's spawnHook). A session stops at "No API key found" before a model is called, so whether the extension loads is not yet seen.
    • Antigravity. The skill and the block are written to ~/.gemini/config/. A session with no account produces no output.

    Hooks seen firing in Claude Code: session.start (status and project), prompt.compose (the section), prompt.submit (the change note), tool.call (the refusal), session.end (the write journal was removed). Not exercised: session.compact, and the note for a governing node changing while the item itself does not. In OpenCode: experimental.chat.system.transform, chat.message, tool.execute.before and tool.execute.after all did their part; shell.env is implied by the session's own writes not tripping the watch.

    How far instruction text alone gets

    On the same model, with the installer's block and the skill but no plugin, an agent does read the skill list first, fetch the procedure and the standard, and claim the task before editing. Those three depend on the agent following one instruction, and this model followed it.

    Three of the plugin's five duties are missing, and no wording can supply them, because each needs something to run when the agent has not asked:

    • Resolving the project (duty 1). Nothing tells the agent which project its checkout is. It took the first ready task in the database, which was another project's, and recovered only because it noticed the mismatch by title.
    • Announcing a changed skill (duty 3). Nothing arrives. The agent sees a change only if it lists the skills again on its own.
    • Watching the item (duty 4). Nothing stops it. Repository work continues until the next graph write is refused, which can be many edits later.

    Status (duty 5) is also absent. The section's content (duty 2) arrives as the block, without the list.

    Defects found, both fixed in PR #3740

    1. The tick command in "Implementing a Task" was rejected by the CLI. Step 5 tells the agent to run nodespace node update <checkbox-id> --content "- [x] <text>". The argument parser read the leading dash as a flag: error: unexpected argument '- ' found. Every session run before the fix hit it on its first tick, with and without a plugin, and worked around it by guessing the --content= form. Reproduce on main: nodespace node update <any id> --content "- [x] x" --version 1. Fixed: --content on node create and node update accepts a value that begins with a dash.
    2. The plugins named the project but gave no way to narrow a queue to it. ADR-093 §4 says a plugin "narrows queues to that project". The section held the project's title only, so the first query run "Ready tasks" returned the other project's more urgent task. Reproduce: two projects with ready tasks, start a session in one project's checkout, ask for the next ready task. Fixed in both the Claude Code plugin and the shared Pi/OpenCode module: the section now gives the filter with the project's id. After the fix, both plugin harnesses ran the filtered queue on the first try.

    One more observation, not changed: on a machine where Pi or Antigravity has been installed but never started, nodespace skill install with no agent named reports them "not detected", because their configuration folders do not exist yet. Naming the agent installs correctly.

    Recommendation for harnesses without a plugin

    Codex and Antigravity should each get a plugin if their hooks allow it. The evidence is the control column: the three missing duties are the ones that keep an agent on its own project, on current instructions, and off work that has moved, and they are missing because of the delivery path, not the model. Codex 0.162.1 reports hooks as a stable feature (codex features list), which is the first thing to check. I have not filed those issues: the Codex and Antigravity sessions should be run first, so each issue carries that harness's own result.

  5. malibio commented on Oct 12, 2026

    @malibio
    CollaboratorAuthor

    Closing with two of five harnesses run through the scenario.

    What this issue still owed is carried by #3748: the Codex plugin, the live runs on Codex, Pi and Antigravity, the Antigravity plugin recommendation, and the completed results table.

  6. removed their assignment
    on Oct 12, 2026
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions