aiongg
97753a0857
Task Runner 1.3.5: in the last 4 minutes of a Claude login the Task Runner runs the user's own claude once, outside the sandbox with the login's config directory or default Keychain item, so Claude Code refreshes the login under its own lock; the Task Runner never refreshes it itself
2026-11-20 14:20:13 +00:00
aiongg
8c950f250c
Merge #20/#21 follow-up: autocraft queue remove names its own refusal for maintainers
2026-11-20 14:02:16 +00:00
aiongg
b07948bc3e
Merge #20 and #21 with fixes: maintainers who settle decisions may use Queue items (permission refreshed through the GitHub App, default weight only, re-checked in batches); @<app> merge queue comments queue items, pinned to the head at comment time
2026-11-20 13:57:45 +00:00
aiongg
18c51a0162
autocraft setup: Ubuntu's bwrap-userns-restrict AppArmor profile instead of an unconfined bwrap; sudo and installer steps default to no and typed-ahead input never answers a prompt; apt-get update before install, pacman -Sy; the macOS Keychain item is checked without reading it; a stored setup-token is replaced through harness claude; the Claude installer is downloaded whole before it runs
2026-11-20 13:37:20 +00:00
David Mann and Claude Opus 5.5
a10913acee
autocraft queue remove gets its own refusal line: withdrawing an approved merge stays with operators, so a maintainer's answering token is told that instead of how maintainers approve merges
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 14:21:01 +01:00
David Mann and Claude Opus 5.5
e5c5f1e678
CodeRabbit follow-ups: the AppArmor profile is written to a temporary file and hard-linked into place (never overwrites, never leaves a partial one, removes only its own on a load failure), tested by running the script; macOS's git stub is found through symlinks; Saved belongs only to the latest change and Saving… lasts until every save is done
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 12:43:32 +01:00
David Mann and Claude Opus 5.5
5547b2b77f
MCP queue_pr for maintainers who answer decisions: a maintainer's answering token is offered queue_pr (not set_weight or cancel_queued) and the call takes the Queue items rule on the repo; the CLI's refusal line says who may approve merges
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 12:41:26 +01:00
David Mann and Claude Opus 5.5
2ea70ed92a
CodeRabbit on setup and Connect: setup offers curl and bash before Claude's installer, removes an AppArmor profile that does not load, signs in with the claude it found (and the runner's config directory), offers a fresh sign-in for a configured login that gives no token, treats macOS's git stub as missing, logs in to the dashboard it was given when the saved login is another's, and always names the PATH line; Connect: a new write or an edit clears Saved, the switch keeps a 60x40 tap area, the start hint sits outside the row button in a live region, and the mock keeps room to approve a login (extra states behind ?states=1)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 12:31:53 +01:00
David Mann and Claude Opus 5.5
ef44959def
Task Runner 1.3.4: autocraft setup finds what the machine lacks and installs it, asking first
...
setup checks the platform, bubblewrap, git and tar, whether a sandbox starts (with a
bwrap-only AppArmor profile when Ubuntu restricts user namespaces), Claude Code (native
installer; the snap and VS Code's own copy are named but cannot be mounted), its login,
the harness login and the dashboard login. Each fix is shown with its command and runs
only after a yes (--yes: all); without a terminal it only lists them. It ends with doctor,
which now names setup when a check fails. The Connect page's install line runs setup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 11:24:51 +01:00
aiongg
2c70dab4e5
Shorter autocraft help: the groups and two lines; details in help --all
2026-11-20 04:16:10 +00:00
aiongg
1719a72d9a
Task Runner 1.3.3: commands in groups (setup, runner, inbox, queue, calls) mapped to server tools, raw access through call; MCP tools list_model_calls, pick_model_call and unpick_model_call
2026-11-20 04:15:10 +00:00
aiongg
3315192ee1
Task Runner 1.3.2: service install and doctor note when lingering is off; the migration lock goes before the old unit's stop and a dead process's lock is taken over
2026-11-20 03:37:52 +00:00
aiongg
db610a270d
Envelope detection needs a known encoding; repeated proxy blocks on claim back off; the CLI names a proxy's HTML refusal of /mcp; viewers cannot grant agent access
2026-11-20 03:32:00 +00:00
aiongg
b1f6c583b8
Worker LoginStart typedef carries scopes; agent commands and login scopes in the Task Runner command docs; usage example names a real tool; address-check test sends the approval scopes
2026-11-20 03:27:51 +00:00
aiongg
7299202bc7
Merge cli-worker: Task Runner CLI for the agent tools, login scopes
2026-11-20 03:26:27 +00:00
aiongg
3017ca64ee
Task Runner 1.3.1 sends POST bodies gzip+base64-encoded when the server lists the encoding, retries HTML 4xx replies from a proxy as outages; the server accepts encoded bodies on every runner route; a call lost repeatedly counts once toward a login's cool-off
2026-11-20 03:17:25 +00:00
aiongg
d39e92a16c
Task Runner CLI: the server's agent tools as commands (tools, guide, help, call, <tool>), login scopes
2026-11-20 02:32:27 +00:00
aiongg
0c8d05929b
Runner migration starts the new autocraft unit before it disables and removes the old one; a failed start leaves the old unit as it was
2026-11-20 02:28:32 +00:00
aiongg
8fcf84bb23
Task Runner autocraft 1.3.0: rename from autocraft-task with a shim at the old path, device login, long-poll claims with protocol 3 fallback, migration of 1.2.0 installs
2026-11-20 02:10:06 +00:00
aiongg
cbb212fde7
Merge branch 'rb-timescale' into rb-int
...
# Conflicts:
# src/remote/calls.ts
# worker/autocraft-task.mjs
2026-11-19 23:52:03 +00:00
aiongg
2b28a23aa4
Test-only time scale for the user-local mode (AUTOCRAFT_REMOTE_TIME_SCALE) and a --time-scale option in the load rig
2026-11-19 23:50:40 +00:00
aiongg
d0a85d75cd
Review fixes for the user-local robustness batch
...
- A tarball archive is cached only when the copy was written in full.
- Claim permission reads use the helper routes' short busy timeout.
- A 404 from the app's permission check falls back to the session
instead of counting as no permission.
- The load rig reads cool-offs per login and the helper's last error.
- A lease that never had a heartbeat is no drop toward the cool-off;
the helper resends a claim's request id after a failure in transit.
- A reply whose lease ended during the submit is answered 410.
- The fast lane is not counted as planner room.
- A follow-up waits on the helper that ran its parent call.
2026-11-19 23:46:06 +00:00
aiongg
9ca70c7478
Merge branch 'rb-t5-sched' into rb-int
...
The cached queue order ranks by claimClass when it is built; fast-lane
claims filter the cached order; a lease from the capped claim path drops
the cache; room keeps the stamp cadence and reads the queued calls
through the queued index; one capacity.slots (N plus the fast lane) set
by work; remote_helpers slots and busy defined once.
2026-11-19 23:34:54 +00:00
aiongg
fbc89eeeba
Merge branch 'rb-t10-vis' into rb-int
...
Heartbeat failures and recoveries are recorded in the heartbeat loop;
status reports retry through withRetry; deleted tokens' statuses go with
pruneRemote; an unaudited harness version holds as harness-missing in a
run as in readiness; a too-old helper names the update command; docs for
update, the status report's slots, busy and last error, and the
remote-starved checks.
2026-11-19 23:31:32 +00:00
aiongg
e703c30a42
User-local scheduling: gating calls first and small calls aged across classes, a fast-lane slot per helper, follow-ups wait while the session's helper is busy, room by free slots, per-user Max calls at once
2026-11-19 23:28:38 +00:00
aiongg
b6a682bc8b
Integration of the robustness tracks: helper 1.2.0 required, a finished reply's submit outlasts a dashboard outage, protocol 3 fields in the web mock, readiness and helper retry docs
2026-11-19 23:25:58 +00:00
aiongg
32e389eafe
Merge branch 'rb-t3-super' into rb-int
...
# Conflicts:
# docs/operations.md
# worker/autocraft-task.mjs
2026-11-19 23:21:05 +00:00
aiongg
4d2d9af58d
Helper visibility: the helper keeps and reports its last error and logs server failures, an update command, stored slots/busy/last error shown on the Connect page, a health check for calls starved in a tier, readiness docs matched to the code
2026-11-19 23:20:38 +00:00
aiongg
e4bec39d8a
Helper supervision: SIGTERM and SIGHUP stop like Ctrl-C, leases of dead runs are given back on start, service install runs work under systemd or launchd, a run's stop holds claims instead of ending the process, failed calls back off and hold as failing, one git fetch per bare repo across processes, bare repos and trees pruned by age and size, the harness output kept compacted, the canary retried in its own scratch slot, and a crashed helper's macOS harness group stopped before its slot is reused
2026-11-19 23:18:23 +00:00
aiongg
8ebd21df09
Merge branch 'rb-t1-net'
2026-11-19 23:12:14 +00:00
aiongg
a76b360f2b
Helper network layer: one retry wrapper for the claim and every lease route, heartbeats from the claim with phases, preparation errors release the call, a finished reply is never turned into a failure
2026-11-19 23:11:29 +00:00
aiongg
042f0bccfd
Helper usage reads: one fetch at a time per machine, last good reading while a read fails, jittered hold re-check, login expiry in readiness
2026-11-19 23:06:11 +00:00
aiongg
aaa9fae512
Protocol 3: claim request ids and the fast lane, heartbeat phases, helper slots, busy count and last error, the per-user call limit
2026-11-19 23:02:45 +00:00
aiongg
f0fa4f4c63
review.opus and cifix.patch allow 40 turns; a run that uses them all fails as a turn limit, by name
2026-11-19 22:17:14 +00:00
aiongg
a0864ae34c
Helper comment names config.toml among the files removed from the Codex home
2026-11-19 21:05:25 +00:00
aiongg
59514ab617
Merge branch 'ul-cooloff' into ul-int; a cool-off is a helper readiness
2026-11-19 20:59:37 +00:00
aiongg
938d71fe68
User-local helpers keep a per-user plan-usage reserve: readers for Claude and Codex usage, pause and refusal holds, readiness reported to the server and counted by the planner's room
2026-11-19 20:56:00 +00:00
aiongg
d78b32c860
User-local mode: six-hour cool-off for a token whose leases are lost three times in two hours, and a minimum effort per tier that a claim must declare
2026-11-19 20:46:11 +00:00
aiongg
7561257d60
macOS helper: Claude Code's temp dir inside the slot, and the Keychain item recorded at harness time
2026-11-19 20:36:21 +00:00
aiongg
c43d0447f5
Merge branch 'ul-macos' into ul-int
...
# Conflicts:
# src/remote/calls.ts
# test/autocraft-task.test.ts
# worker/autocraft-task.mjs
2026-11-19 19:07:51 +00:00
aiongg
ebde14d6c2
The user-local helper runs on macOS: sandbox-exec with a deny-by-default profile, one slot per parallel run whose path root the claim names, a canary before the first claim, Claude Code's Keychain login as an option, and a try command with a bundle script for testing
2026-11-19 18:59:00 +00:00
aiongg
15eaa6992b
Remote runs record their tool uses: the helper reports them from the Claude stream or the Codex rollout, the server stores them on the run
2026-11-19 18:58:52 +00:00
aiongg
fd1e6539ff
Merge branch 'ul-codex2' into ul-int
2026-11-19 18:55:18 +00:00
aiongg
589b4feab8
Codex runs only on audited versions, and a call that used an unexpected tool fails
...
The helper refuses Codex versions outside 0.170.x (the lease is released without using an attempt; claim and
doctor say why). Each run is stopped at the first tool item in the --json stream other than an MCP call to the
call's own servers, and after the run the thread's rollout, which records every tool call, may hold only those
MCP tools and view_image; otherwise the call fails and its reply is not submitted.
2026-11-19 18:40:47 +00:00
aiongg
143d638663
Helper status files are private and lease files older than a day are pruned
2026-11-19 18:38:33 +00:00
aiongg
36019fcd7b
The helper can use the login of a Claude config directory, read at each call and only while it outlives the call
2026-11-19 18:35:06 +00:00
aiongg
a1f1e02468
Merge branch 'ul-codex' into ul-int
2026-11-19 18:27:07 +00:00
aiongg
be01c2ba19
Codex adapter for the user-local helper
...
codex exec runs in the helper's bubblewrap sandbox with its own CODEX_HOME login (harness codex), its shell and
the other tools that reach past the task turned off, and reads through read-only file tools that the helper
serves to the run over localhost MCP, confined to the mounts. One Codex call at a time per helper, so refreshes
of its login never race. Codex has no tier defaults: the config names its models.
2026-11-19 18:26:29 +00:00
aiongg
7fa065f41e
Per-lease tools of remote calls: item, reference and check tools over HTTP and MCP, the tarball and helper routes, and the helper's tool command
2026-11-19 18:07:11 +00:00
aiongg
482f498563
Helper follows the merged wire format; the harness's cost reaches the run
...
The helper keeps a session when the bundle's keepSession says so, submits
usage per model id (explorer included) and the CLI's total cost, and gives a
lease back through the release route when the fault is its own: too old,
wrong platform, missing harness or token, file setup failure, or stopped by
the user. The work loop stops when it can take no call and pauses after a
release. Submit carries costUsd; the server stores it with the call's usage
and records it as the run's cost.
2026-11-19 17:54:45 +00:00