Commit Graph
1670 Commits
Author SHA1 Message Date
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 0f505615ca Merge svc-linger: service install and doctor warn when lingering is off; the migration lock is released before the old unit stops 2026-11-20 03:38:07 +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 000d947342 Merge int2: Task Runner 1.3.1 encodes reply bodies and retries proxy-blocked submits, a call lost repeatedly counts once toward cool-off, runner credentials with agent and answer scopes, the autocraft CLI calls the server's tools 2026-11-20 03:32:10 +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 f358c37234 Merge cli-server: Task Runner credential scopes for the agent CLI and answering
# Conflicts:
#	docs/operations.md
#	src/dash/api/runners.ts
#	src/remote/device-login.ts
#	web/src/api/client.ts
#	web/src/api/http.ts
#	web/src/api/mock/mcpMock.ts
#	web/src/modules/connect/Runners.tsx
2026-11-20 03:26:27 +00:00
aiongg fefd4d4a43 Merge waf-fix: runner 1.3.1 request envelopes behind a web application firewall 2026-11-20 03:25:43 +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 6a34eb4ad4 Merge rs-int: MCP Connector / Task Runner split with device login, Task Runner CLI autocraft (1.3.0, protocol 4), long-polling claims, model call queue with Run on my Task Runner and Manual only, admin CLI autocraft-server 2026-11-20 02:46:06 +00:00
aiongg 03299f17b5 Tests keep the diff cache in their own scratch directory, so concurrent test processes stop reading and dropping each other's cached diffs 2026-11-20 02:45:27 +00:00
aiongg f36de0b9c7 Task Runner credentials carry scopes: Agent access opens /mcp, answering adds the answer tools; set at approval and on each runner row of the Connect page 2026-11-20 02:37:02 +00:00
aiongg 82a906f01b A pick stops counting while its picker is cooling off or at their Max calls at once, in the claim order, leaseCall and picks alike 2026-11-20 02:32:51 +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 f67faa875f Task Runner logins: start limit and pending cap per address (IPv6 by its /64) with a high global backstop; approving a login from another address requires otherMachine 2026-11-20 02:30:33 +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 e66087033b A claim leases nothing once shutdown or its client's leaving answered it, even with a try in flight; the client's leaving is watched before the body is read 2026-11-20 02:28:32 +00:00
aiongg 4cf2985a4f Keep the remote_calls_queued index for one release, so the previous release's claims still find it during a rollout 2026-11-20 02:28:32 +00:00
aiongg f3243f3291 Merge rs-t6: the admin CLI is autocraft-server; docs for MCP Connector, Task Runner, long polling and the model call queue 2026-11-20 02:18:08 +00:00
aiongg c77b23a302 Rename the server admin CLI to autocraft-server; document the MCP Connector, Task Runner login, long-polling claims, model call queue and Manual only 2026-11-20 02:17:48 +00:00
aiongg f7a58d0604 A held claim leases nothing once its runner credential is removed, expired or its user's role changed; long-poll test uses the kind-aware createToken 2026-11-20 02:17:23 +00:00
aiongg 970cfa8e8e Merge rs-t3: long-polling claims 2026-11-20 02:15:44 +00:00
aiongg bbbbe23ef3 Long-polling claims: a protocol 4 claim with nothing to take waits up to its hold for a call, woken by the remote-queue topic; shutdown answers held claims before closing; X-Held-Ms; rig scenario 7 2026-11-20 02:15:04 +00:00
aiongg 71b7e7795f Protocol header names the Task Runner autocraft; queue view counts runners on autopilot 2026-11-20 02:13:51 +00:00
aiongg 174cd835d4 Merge rs-t5: Connect page, Task Runners and model call queue in the web client 2026-11-20 02:12:06 +00:00
aiongg ca956c2e5e Merge rs-t4: model call queue, picks and Manual only
# Conflicts:
#	src/dash/api/admin.ts
#	src/dash/api/index.ts
#	src/dash/api/user-settings.ts
#	src/health-checks.ts
#	src/remote/calls.ts
#	src/remote/room.ts
2026-11-20 02:12:06 +00:00
aiongg 2013dc030a Merge rs-t2: Task Runner autocraft 1.3.0 2026-11-20 02:11:20 +00:00
aiongg 479d882e94 Merge rs-t1: MCP Connector and Task Runner credentials 2026-11-20 02:11:17 +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 c2436690f9 Model call queue view, Run on my Task Runner picks and per-user Manual only: claim order with picks, compare-and-set picks with a pick-minutes setting, room and health checks without Manual only runners, remote-manual check, waits and audit entries 2026-11-20 02:07:32 +00:00
aiongg 0309fe857d Connect page with the MCP Connector, Task Runners and their device-login approval, and Manual only; model call queue with picks for the user's Task Runner; token kind on Access 2026-11-20 02:06:14 +00:00
aiongg a9bb9fb6f3 MCP Connector and Task Runner credentials: kind-aware tokens, device login for runners, /api/runners session routes, connector tokens refused on runner routes and runner credentials on /mcp, MCP server named autocraft 2026-11-20 02:04:55 +00:00
aiongg ccc8c21eba Runner split foundation: protocol 4 shapes and device-login types, token kind and runner_logins schema with the one-time token split, remote-queue topic, API types 2026-11-20 01:52:38 +00:00
aiongg e37049e913 Merge PR #17: a red integration batch is worked out without a model (red on main, trace, one rerun after CI finishes, then split) 2026-11-20 01:34:31 +00:00
aiongg c3417353c9 Merge PR #16: MCP merge-queue tools for operators' agents, with answering-token gating, via mcp audit rows and staff-only batch summaries 2026-11-20 01:34:31 +00:00
aiongg bd5a7ab063 Batch page shows one event per batch rerun: the batch-rerun row with its counts 2026-11-20 01:34:25 +00:00
aiongg 5622b7d2ea Batch rerun waits for in-progress CI runs and skips the wait when refused; register the waits; show batch-rerun and batch-blame; drop and red respect an operator-stopped batch 2026-11-20 01:33:35 +00:00
aiongg abaf3be660 list_merge_queue: later pre-approval pages say what they list instead of an empty queue total 2026-11-20 01:33:11 +00:00
aiongg d31e8386f3 Merge queue MCP tools: queue_pr and cancel_queued need an answering token and write access, audit rows carry via mcp, viewers get no batch summary, finished queue rows skip the queue page 2026-11-20 01:32:45 +00:00
aiongg 269383d152 Merge branch 'rb-repolist': My repos as an alphabetized checkbox list 2026-11-20 00:08:44 +00:00
aiongg 860eec1bfc Load rig: per-scenario time scale, scenario 6 at 0.5 in its own process with calls queued over 25 s, scenario 5 gives the failing helper 5 slots, scenario 3 checks that no requeued lease's reply is accepted; claims take a leased call out of the cached queue order instead of rebuilding it 2026-11-20 00:08:10 +00:00
aiongg 96dabecf96 My repos lists every repo without a scroll box 2026-11-20 00:00:02 +00:00
aiongg cea8a3ce5b My repos picker on the Connect page is an alphabetized checkbox list in a scrollable box 2026-11-19 23:54:03 +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 b51b53470e Merge branch 'rb-fix': review fixes 2026-11-19 23:48:43 +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