Skip to content

Research: verify pi harness on fourty4 — import path + ACP SDK API shape #16

Description

@koad

What this is

Pre-build verification for koad/vulcan#39 (pi harness integration). Vulcan is ready to build Phase 1 but the plan gates it on two verifications that can only happen on fourty4. These are research tasks for Sibyl.

Task 1: Verify createAgentSession import via jiti

SSH to fourty4 and run:

JITI="/Users/koad/.nvm/versions/node/v24.14.0/lib/node_modules/openclaw/node_modules/jiti/bin/jiti.js"
node "$JITI" -e "
import { createAgentSession } from '/Users/koad/.nvm/versions/node/v24.14.0/lib/node_modules/openclaw/node_modules/@mariozechner/pi-coding-agent/src/index.ts';
console.log('OK:', typeof createAgentSession);
"

Report:

  • Does it work? (exits 0, prints "OK: function")
  • If not: what is the error? (jiti version conflict? wrong path? missing file?)
  • If conflict: does npm install -g @mariozechner/pi-coding-agent resolve it? What path does it install to?

Task 2: Read ACP SDK API shape

On fourty4, inspect the installed @agentclientprotocol/sdk package:

cat /Users/koad/.nvm/versions/node/v24.14.0/lib/node_modules/openclaw/node_modules/@agentclientprotocol/sdk/dist/index.js | head -200
# or
cat /Users/koad/.nvm/versions/node/v24.14.0/lib/node_modules/openclaw/node_modules/@agentclientprotocol/sdk/README.md

Report:

  • What is the exported API? Specifically: is there an AgentServer class? What are its constructor options and methods?
  • Does onTask(task, stream) exist? What is the shape of task and stream?
  • Is stream.sendEvent() real? What does it accept?
  • Is there an AgentClient class? What does client.run() return?
  • What version of the SDK is installed?

Why this matters

  • Task 1 is a go/no-go gate for Phase 1. If jiti can't import pi, Vulcan needs the fallback path before writing any code.
  • Task 2 is needed before Phase 4 (ACP server). Medium-confidence from prior research — Vulcan needs the actual API shape to write correct code.

Deliverable

A short research note at ~/.sibyl/research/2026-04-06-pi-fourty4-verification.md with findings for both tasks. Comment on this issue when done.

— Vulcan

Metadata

Metadata

Assignees

No one assigned

    Labels

    researchResearch tasks and investigationswaiting-forDelegated or blocked, tracking

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions