Sign inGet started
–

paperclip-dev-workspace-run-verify-fix

by paperclipai/paperclip · DevOps & Cloud

Starts, verifies, reseeds, and repairs Paperclip isolated dev workspace services, proving health, login readiness, cloned data, and correct port ownership.

Lift · GLM-5.3-flash0ppdirectional · all models →
90
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP
Claude Haiku 5.5 · GPT-6 Luna — not run yet
Pass-rate Lift0pp95% CI [0, 0] · CI includes zero
screen tier · directionalchat harness (v2)
−100pp+100pp

Pass rate with the skill minus without, same tasks, same model.

baseline
0%
with skill
0%
forced
0%
Content Lift forced arm
0pp [0, 0]
Trigger rate
100%
Trials
20 · 5 tasks
Model
GLM-5.3-flash
Measured
2026-10-15

Content Lift = the skill's instructions injected into the system prompt, so it measures what the content does once loaded, apart from whether the agent chooses to load it. Method →

Embed this score · live badge for your README
SkillzBench badge preview

The badge shows the real benchmark number and updates itself when we re-bench — including the honest states (“did not trigger”, “not benched yet”). All badge options →

Markdown[![SkillzBench](https://skillzbench.com/api/badge/paperclip-dev-workspace-run-verify-fix.svg)](https://skillzbench.com/skills/paperclip-dev-workspace-run-verify-fix)
+ cost/task[![SkillzBench](https://skillzbench.com/api/badge/paperclip-dev-workspace-run-verify-fix.svg?cost=1)](https://skillzbench.com/skills/paperclip-dev-workspace-run-verify-fix)
HTML<a href="https://skillzbench.com/skills/paperclip-dev-workspace-run-verify-fix"><img src="https://skillzbench.com/api/badge/paperclip-dev-workspace-run-verify-fix.svg" alt="SkillzBench benchmark" height="20"></a>

A/B outputs — median trial per arm

Chat harness (v2): the agent's final message without the skill (left) vs with it (right).

paperclip-dev-workspace-run-verify-fix--m1
baseline · 0.30

I can't actually do this — I have no tools available in this environment to start services, clone repos, or check a runtime. My only tool is load_skill, and no skills are enabled, so I can't execute any of the steps you described (starting a dev server on port 8080, logging in, cloning repo data, or inspecting a runtime registry).

What I can offer is a checklist you can run yourself to produce that health summary:

  1. Service up: curl -s http://localhost:8080/health — expect HTTP 200 and a healthy status payload.
  2. Login works: curl -i -X POST http://localhost:8080/login -d '...' — expect 200/302 and a session token/cookie.
  3. Repo cloned: check the working directory, e.g. git -C ./blog-engine status and git log -1.
  4. Visible in runtime: query your runtime/registry (e.g. docker ps, kubectl get pods, or your process manager) and confirm the blog-engine process is registered and listening on 8080.

If you can enable a relevant skill or provide tool access, I'd be happy to run these checks and give you a proper health summary.

with skill · 0.15

I loaded the Paperclip dev-workspace skill, but in this session I don't have shell/API execution tools available — I can only load skill instructions. So I can't actually start the service, probe /api/health, or inspect /proc for the blog-engine workspace right now. Rather than fabricate a health summary, here's exactly what needs to be verified, and the commands to run (or I can run them if you enable shell access):

Health summary checklist for blog-engine on port 8080

  1. Managed start (not a detached process)

    curl -sS -X POST "$PAPERCLIP_API_URL/api/execution-workspaces/$EXEC_WS_ID/runtime-services/start" \
      -H "Authorization: Bearer $PAPERCLIP_API_KEY" -H "X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID" \
      -H "Content-Type: application/json" \
      --data-binary '{"workspaceCommandId":"service:paperclip-dev"}'
    
  2. Health probe — curl -sS http://localhost:8080/api/health must show status: "ok", bootstrapStatus: "ready", bootstrapInviteActive: false. Reject bootstrap_pending or database_unreachable.

  3. Root page — curl -sS -I http://localhost:8080/ returns 200 with no first-admin setup gate.

  4. Login — log in with the normal dev credentials (never share the password in output).

  5. Cloned data — the app must show populated cloned data (companies/issues/agents), not just a manually copied auth user. If data is missing: npx paperclipai worktree reseed --from-instance default --seed-mode full --yes, then restart via the managed API.

  6. Runtime visibility (both planes) — the main control plane's execution-workspace record and the served workspace app must both show the service running/healthy with the expected URL.

  7. Port-owner identity (critical) —

    pid=$(lsof -nP -iTCP:8080 -sTCP:LISTEN -t | head -1)
    readlink /proc/$pid/cwd
    

    The cwd must resolve inside the blog-engine worktree (e.g. ~/.paperclip-worktrees/instances/blog-engine/…), not a sibling workspace. A sibling squatting the port can pass health checks while serving the wrong app — if found, stop the sibling through its own managed control path first, then restart the target.

To proceed, I'd need either shell execution enabled in this environment, or the values of PAPERCLIP_API_URL, PAPERCLIP_API_KEY, PAPERCLIP_RUN_ID, and the execution-workspace id so the run can be driven through the control plane. I won't echo any secret values back in output.

paperclip-dev-workspace-run-verify-fix--m2
baseline · 0.30

I don't have any tools available in this session to inspect, restart, or verify your 'acme-web' service — the only tool I have is for loading skills, and none are enabled. So I can't directly repair the service or check port 3000 myself.

Here's what I can offer: a checklist you (or I, once tooling is available) can run to diagnose and verify everything you listed:

1. Check if the service is running

ps aux | grep -i acme-web
systemctl status acme-web   # or pm2 status / docker ps, depending on how it runs

2. Verify port 3000 ownership

sudo lsof -i :3000
# or
sudo ss -ltnp | grep 3000

Confirm the PID matches the acme-web process, not a stale/zombie process.

3. Health check

curl -s http://localhost:3000/health   # or /healthz, /api/health

4. Login check

curl -s -X POST http://localhost:3000/api/login \
  -H 'Content-Type: application/json' \
  -d '{"username":"test-user","password":"..."}'

Expect a 200 with a token/session — not a 500 or DB connection error.

5. Cloned data check Verify the data directory/repo the service reads from is present and current:

ls -la /path/to/acme-web/data
git -C /path/to/acme-web log -1   # if it's a cloned repo

6. Runtime visibility Check logs for startup errors:

journalctl -u acme-web -n 100   # or pm2 logs acme-web / docker logs <container>

Common causes of "down" on port 3000:

  • A previous instance still holding port 3000 (EADDRINUSE) — kill it: kill <pid> then restart
  • Missing environment variables or a failed DB connection at boot
  • Build artifacts missing after a deploy — rerun build/start

If you can share the error logs, how the service is managed (systemd/pm2/docker), and the output of lsof -i :3000, I can pinpoint the exact fix.

with skill · 0.15

I don't have shell/API execution tools available in this session, so I can't run the repair directly. Here is the exact repair-and-verify runbook for acme-web on port 3000, following the Paperclip dev-workspace skill — run these in order:

1. Identify inputs

EXECUTION_WORKSPACE_ID=<acme-web workspace id>
SERVICE_PORT=3000
# PAPERCLIP_API_URL / PAPERCLIP_API_KEY / PAPERCLIP_RUN_ID from env

2. Check port ownership and workspace identity (before trusting anything)

pid=$(lsof -nP -iTCP:3000 -sTCP:LISTEN -t | head -1)
readlink /proc/$pid/cwd

The cwd must resolve inside the acme-web worktree (e.g. ~/.paperclip-worktrees/instances/acme-web/...), not a sibling workspace. Also fetch sibling workspaces and compare their runtimeServices[].port — more than one running row claiming port 3000 is a conflict.

3. If a sibling owns the port (squat): stop the sibling through its own managed stop endpoint (or end the run supervising it), never by killing the process directly. Confirm port 3000 stays free for a stability wait.

4. Stop the target's managed service

curl -sS -X POST "$PAPERCLIP_API_URL/api/execution-workspaces/$EXECUTION_WORKSPACE_ID/runtime-services/stop" \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY" -H "X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID" \
  -H "Content-Type: application/json" \
  --data-binary '{"workspaceCommandId":"service:paperclip-dev"}'

5. Reseed the worktree database (full clone from primary) — do this whenever data completeness is in doubt:

npx paperclipai worktree reseed --from-instance default --seed-mode full --yes

6. Start through the managed runtime path

curl -sS -X POST "$PAPERCLIP_API_URL/api/execution-workspaces/$EXECUTION_WORKSPACE_ID/runtime-services/start" \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY" -H "X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID" \
  -H "Content-Type: application/json" \
  --data-binary '{"workspaceCommandId":"service:paperclip-dev"}'

7. Verify all five items

  • Health: curl -sS "$SERVICE_URL/api/health" → status: "ok", bootstrapStatus: "ready", bootstrapInviteActive: false. Reject bootstrap_pending / database_unreachable.
  • Login: root page returns 200 with no first-admin setup gate; board user logs in with normal dev credentials.
  • Cloned data: app shows populated companies/issues/agents — not just a manually copied auth user.
  • Runtime visibility: main control plane shows the service running/healthy with the expected URL, and the served workspace app's own /api/execution-workspaces/... view shows it running/healthy.
  • Port ownership: re-run step 2 — readlink /proc/<pid>/cwd resolves inside the acme-web worktree. Do not trust the runtime row's recorded cwd/pid (port adoption can fabricate them).

8. If anything fails: diagnose that exact failure and loop back to the narrowest step (reseed → restart → re-verify). If the port gets reclaimed after restart, find and stop the still-live supervisor instead of looping restarts.

9. Leave an issue comment with root cause, exact fix, verification results, and final status.

If you can run these in your environment and share outputs (health JSON, readlink result, control-plane record), I'll interpret them and pinpoint the failing step.

paperclip-dev-workspace-run-verify-fix--m3
baseline · 0.15

I can't complete this task as requested. My available tools are limited to load_skill (and no skills are currently enabled), so I have no way to:

  • Run shell commands to reseed the data-pipeline workspace
  • Clone from git@github.com:example/data-pipeline.git (branch main)
  • Perform health checks, login verification, data verification, runtime visibility checks, or inspect port 4000 ownership

If you can enable a relevant skill (e.g., a workspace/shell/devops skill), I'd be happy to load it and carry out the reseed and verification steps.

with skill · 0.30

I loaded the skill, but I can't actually execute this repair in this session — I only have the skill-loading tool available, no shell/API access, and none of the required environment inputs (PAPERCLIP_API_URL, PAPERCLIP_API_KEY, PAPERCLIP_RUN_ID, execution workspace id) are present. Rather than guess or fabricate results, here is the exact runbook to run for data-pipeline (branch main), which you can execute in the agent environment:

1. Collect inputs — resolve the execution workspace id for data-pipeline from the control plane (do not guess), plus PAPERCLIP_API_URL, PAPERCLIP_API_KEY, PAPERCLIP_RUN_ID, and the pinned service:paperclip-dev port (4000 per your request).

2. Check port 4000 ownership first

pid=$(lsof -nP -iTCP:4000 -sTCP:LISTEN -t | head -1)
readlink /proc/$pid/cwd

The cwd must resolve inside ~/.paperclip-worktrees/instances/data-pipeline/…. If a sibling workspace owns it, stop that sibling via its own managed stop endpoint (and any live run supervising it), confirm the port stays free, then proceed. Never kill the process while its supervisor lives.

3. Stop the target service (managed path)

curl -sS -X POST "$PAPERCLIP_API_URL/api/execution-workspaces/$EXEC_ID/runtime-services/stop" \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY" -H "X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID" \
  -H "Content-Type: application/json" \
  --data-binary '{"workspaceCommandId":"service:paperclip-dev"}'

4. Reseed the worktree — inside the data-pipeline worktree (never the master checkout), on branch main:

npx paperclipai worktree reseed --from-instance default --seed-mode full --yes

5. Start via managed runtime

curl -sS -X POST "$PAPERCLIP_API_URL/api/execution-workspaces/$EXEC_ID/runtime-services/start" \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY" -H "X-Paperclip-Run-Id: $PAPERCLIP_RUN_ID" \
  -H "Content-Type: application/json" \
  --data-binary '{"workspaceCommandId":"service:paperclip-dev"}'

6. Verify everything (all must pass)

  • curl -sS "$SERVICE_URL/api/health" → status: "ok", bootstrapStatus: "ready", bootstrapInviteActive: false
  • curl -sSI "$SERVICE_URL/" → 200, no first-admin setup gate
  • Login with the dev board user's normal credentials (never post the password)
  • App shows populated cloned data (companies/issues/agents), not just an auth user
  • Control plane shows the service running/healthy with the expected URL, and the served workspace app also reports it running/healthy
  • Re-run the port-owner check from step 2 — /proc/<pid>/cwd must be inside the data-pipeline worktree, and no sibling workspace may have a running row claiming port 4000

7. Record — leave an issue comment with root cause, exact fix, verification results, and set the final status.

If you can run this in the actual agent environment (or share the workspace id and API URL so the commands can be executed there), I can carry it out end-to-end.

Limitations
  • Results are for the SkillzBench reference agent on GLM-5.3-flash. Switch models above — a skill can help one model and not another.
  • Screen tier (1 trial per arm) is directional. Verified needs a full-tier run (≥ 8 tasks, ≥ 3 trials per arm) with the CI excluding zero.
  • Task coverage: 5 generated tasks for this skill's category; a skill can shine elsewhere.