Milestone 1 measured: assignment wakes Pi, task ran end to end; no worktree because isolated workspaces are off

This commit is contained in:
Sam
2026-11-10 11:03:05 +11:00
parent b6f0cb572b
commit a60a4a3067
3 changed files with 150 additions and 25 deletions

View File

@@ -4,21 +4,29 @@ Tick each line. Nothing after the first unchecked line should be started early.
## Before you start
- [ ] Paperclip answers: `curl -s -H "Authorization: Bearer $PAPERCLIP_BOARD_KEY" http://127.0.0.1:3100/api/health`
- [ ] Go is installed: `go version`
- [ ] You are using the **user** key (`PAPERCLIP_BOARD_KEY`), not the agent key.
- [x] Paperclip answers: `curl -s -H "Authorization: Bearer $PAPERCLIP_BOARD_KEY" http://127.0.0.1:3100/api/health` → 200.
- [ ] Go is installed: `go version` → **still not installed** (checked 2026-11-10). Needed before Milestone 2.
- [x] You are using the **user** key (`PAPERCLIP_BOARD_KEY`), not the agent key.
## Milestone 1 — one task, really run (no interface)
## Milestone 1 — one task, really run (no interface) — PASSED 2026-11-10
- [ ] Read `docs/ENVIRONMENT-FACTS.md` for the company id, agent ids and toolchain facts.
- [ ] Make a sandbox project (payload in `docs/PAPERCLIP-API-NOTES.md`) with two tasks, the second blocked by the first.
- [ ] Assign the first task to `Builder` and force a wake with `POST /api/agents/{id}/heartbeat/invoke`. **Unproven** — if no run appears, record the response and stop.
- [ ] Watch: the task goes `todo` → `in_progress` → `done`.
- [ ] Confirm a comment written by Pi holds what it did.
- [ ] Confirm the cost appears: `GET /api/issues/{id}/cost-summary`.
- [ ] Confirm Paperclip made a git worktree for the task, and where it put it.
- [x] Read `docs/ENVIRONMENT-FACTS.md` for the company id, agent ids and toolchain facts.
- [x] Make a sandbox project (payload in `docs/PAPERCLIP-API-NOTES.md`) with two tasks, the second blocked by the first.
→ `spike-2026-11-10`, `AUD-159`, `AUD-160` (`AUD-160` blocked by `AUD-159`).
- [x] Assign the first task to `Builder`. The assignment alone woke it in 0.1 s;
`heartbeat/invoke` was not needed. → wake `source=assignment`, run `aae77e89-…`.
- [x] Watch: the task goes `todo` → `in_progress` → `done` (00:01:25 → 00:01:53).
- [x] Confirm a comment written by Pi holds what it did. → commit `b093301`, comment `822f2924-…`.
- [x] Confirm the cost appears: `GET /api/issues/{id}/cost-summary`. → 1 cent, run count 1.
- [x] Confirm where the work happened. → **No worktree.** Paperclip ran it in
`/tmp/pc-sandbox-2026-11-10` on `main`, because `enableIsolatedWorkspaces` is off on
this instance. See `docs/ENVIRONMENT-FACTS.md`.
Stop here if any line fails. Write down what you saw. Do not start the screens.
PASSED, with one correction to the plan: the per-task worktree is not free — it needs an
instance-wide experimental flag turned on by the person.
The second task was left `todo` and unassigned. The `issue_blockers_resolved` wake has not
been measured.
## Milestone 2 — task tree and reply box