Commit Graph
506 Commits
Author SHA1 Message Date
aiongg 23fed70104 Task Runner 1.4.2: a Claude login near its end takes every call that ends before its refresh point
Claims name the longest timeout that fits (Claim.maxTimeoutSeconds) and the server offers only such calls, so the Task Runner stays ready up to the refresh point instead of stopping 25 minutes before the login ends. A call that no longer fits once its files are ready goes back without a hold. When no call fits, the Task Runner reports the new readiness login-refresh until the refresh point; a server without it gets harness-missing with the same reason.
2026-11-23 20:59:08 +00:00
aiongg 53b99f1ef9 Discord settings: channels and offered repos collapse behind a disclosure button; channels the bot cannot view are hidden 2026-11-23 20:45:16 +00:00
aiongg 85326ad25c Discord bot: operators can hide tracked repos from its repo select (Offered in Discord switches, discord offer command) 2026-11-23 19:48:30 +00:00
aiongg be19f3e36d Filing-only repos: tracking refuses their names, usage links them on GitHub, lost app access told apart from GitHub failures, at most 10 2026-11-23 19:37:39 +00:00
aiongg 6952697f0c Filing-only repos for the Discord issue bot: public repos of any owner the bot files into as the GitHub App without tracking them 2026-11-23 19:30:23 +00:00
aiongg 6a41e5140a Discord page: usage of the public issue bot (flow counters, prompt costs, filed issues, Task Runner capacity) 2026-11-23 19:16:37 +00:00
aiongg 100307879b Workspaces page: metadata-only call list with incremental live refresh, output on demand, one visibility rule, viewers see header only 2026-11-23 15:44:04 +00:00
aiongg 5fe1f712b5 Add the Workspaces page: list, sessions and call log with output and screenshots 2026-11-23 15:37:41 +00:00
aiongg 7427f33d99 Caches report on the Build environments page and in envs caches
The runner's pod launcher stores its warm status, placement and crate mirror
allowlist reads in the settings row warm_report (bumping the envs topic only).
GET /api/envs/caches and autocraft-server envs caches combine it with the warm
tasks, default-branch heads and warm targets: the warm state per repository,
what each node holds and has pending, where each key is placed and whether the
placed nodes hold its newest version, and the mirror's git allowlist.
2026-11-23 06:52:53 +00:00
aiongg f10fee2d72 Merge branch 'env-slots'
# Conflicts:
#	web/src/modules/envs/views.tsx
2026-11-23 04:52:06 +00:00
aiongg 10f743caf9 Merge branch 'feature-switches'
# Conflicts:
#	src/dash/api/admin.ts
2026-11-23 04:51:37 +00:00
aiongg 8d0219e7e9 Environments: each environment lists the tasks in its busy slots with the step running now; the task detail marks the running step 2026-11-23 04:49:06 +00:00
aiongg 9a202905bd Build features: Screenshots and Nightly checks show while an enabled environment can run them
Screenshots shows while an enabled build environment reports a display, Nightly checks while
one reports a nightly check's toolchain. The repo page follows environment changes live. The
mock Kubernetes environment gets the display setting.
2026-11-23 04:43:19 +00:00
aiongg 5e6842b3fe Build mock has the display setting 2026-11-23 04:40:20 +00:00
aiongg b48acccf05 Merge main into feature-switches 2026-11-23 04:39:41 +00:00
aiongg 93f235c8f2 Build features: one switch per repo on the repo page, only for features the build pods run
featureOn reads only the repo switch; a one-time migration keeps a repo on only where the
global switch was on too, then removes the global rows (scan-tests keeps its instance-wide row).
The repo page shows Tests before push, Build batches and Implement queued issues with one line
each; operators and maintainers with write permission flip them. Screenshots, Nightly checks,
Build pull requests and scan tests keep their code and stored state without a switch. The
Build environments page drops its Build features section.
2026-11-23 04:39:13 +00:00
aiongg bd1cc7e7b0 Build pods: display setting reports the display capability and gives steps the software-render env; libegl1 in the toolchain image 2026-11-23 04:28:18 +00:00
aiongg d3302ace2e Maintainers with write access switch a repo's Implement feature 2026-11-23 00:42:57 +00:00
aiongg b67d053609 Interactive Task Runner slots: a per-user setting and claim lane that only interactive (Discord) calls use 2026-11-22 23:46:24 +00:00
aiongg d920d4c757 Merge areas-ui 2026-11-22 21:22:25 +00:00
aiongg 14c66b340d Areas on the repo page and in the Items list: view and edit a repo's area list, its proposals and history; filter items by area (none for items without one) and group them by area 2026-11-22 21:09:34 +00:00
aiongg dd493609b3 Integration batches by area: a new batch takes the top-ranked PR, then the other ready PRs of its area, then the rest in rank order; the merge queue shows each batch's areas 2026-11-22 21:02:44 +00:00
aiongg b690bb98f1 Merge batch2: implementation PR follow-ups (AUTO-29 T6), maintainer UI for implementations (T7), fixissue retired (T8), refusal retry on another runner (AUTO-23), with the review fixes; implement stays off
# Conflicts:
#	src/schema.pg.sql
2026-11-22 20:40:56 +00:00
aiongg c5353e099d Merge impl-t7 2026-11-22 20:22:16 +00:00
aiongg 400db3c9af Merge impl-t8 2026-11-22 20:22:16 +00:00
aiongg 9d63c805ea Implement: show implementations to maintainers
Item page: an Implementation panel for issues (state, plan, questions with
answers, model calls with their agent runs and tool-call counts, check rounds,
the change, screenshots, the PR, cost) and one history line per round, with
the implementation's model calls on those lines. Screenshots are served to
staff from the artifact directory, through the runner's internal API when the
dashboard has no runner disk. Viewers get the state, the PR, the change size,
the check outcomes and the cause of a stuck attempt only.

Queue: queued issues under way show the attempt's state and what it waits
for, including the queuer's Task Runner; Implement next steps fall under the
Fix tab. Needs you: stuck implementations and plan questions for maintainers
are Stopped rows that link to their decisions. Now: implement jobs show their
issue while they run and name their bucket; the implement step records its
outcome as a job item.
2026-11-22 20:18:48 +00:00
aiongg 29c2cc44e4 Merge cap-sizing
# Conflicts:
#	src/schema.pg.sql
2026-11-22 20:15:38 +00:00
aiongg 1bb7ad4a14 Build pod sizing: per-repo step memory raised after OOM kills, small app pods, build priority class, node affinity for placed runs, capacity settings; build_pod_runs gets node, reservation and disruption columns 2026-11-22 20:14:43 +00:00
aiongg c90efe51fd Retire the fix-again operator action: fix attempts are replaced by implementations
Removed the fixAgain action, its route, the RELEASE_STEPS entry, the item-menu entry and the Fix again button.
The fix-again audit name stays in the display list. Test edited: operator-actions (the fixAgain steps and its
fix_attempts row); no test deleted.
2026-11-22 20:08:30 +00:00
aiongg fd66c582a5 PR status comment: one comment per PR, edited in place as it moves through review, the merge queue and batches
A per-repo switch (Repos page, GitHub writes; operators and maintainers with write), off by default. The pr-status step
posts once the PR is past triage and edits the same comment when its status line changes: the step from the public status
layer, the place in the merge queue (exact up to 10) or the merge batch, and the batch it merged with. A history of steps,
and a Details for maintainers line linking the item page and the merge queue. Bulk-paced writes, 500 a day, no timer; a
comment whose record was lost is found on GitHub by its marker and edited.
2026-11-22 19:39:59 +00:00
aiongg df3489a8a8 Merge impl-merge: implement queued issues (AUTO-29 T3 plan and questions, T4 session and checks, T5 diff to PR) with the review fixes; the feature stays off
# Conflicts:
#	src/cli.ts
2026-11-22 19:21:26 +00:00
aiongg 9cc0a4172a Merge warm-producer: warm writer environments build default-branch heads and publish signed warm versions; publishes recheck blobs the nodes found bad 2026-11-22 18:55:36 +00:00
aiongg 42bb195500 Merge warm-sync: node warm-sync agent with signed version sync, rollback floor, status heartbeat and Warm row
# Conflicts:
#	docs/operations.md
#	src/cli.ts
2026-11-22 18:52:17 +00:00
aiongg 37393e6d7a warm-sync: review fixes (free version names, status heartbeat, cap planning, disk checks, bad-blob classes, persisted rollback floor, node errors, label selector, grace period of 3.5 h) 2026-11-22 18:51:24 +00:00
aiongg 5dae55458c Implement: plan and questions (implement.plan in a workspace on the queuer's Task Runner, author comment or maintainer decision, queue label and scope take, implement run --plan-only) 2026-11-22 17:24:34 +00:00
aiongg d75e05f30f Warm producer: warm writer environments build default-branch heads with compile-cache writes and publish the warm store; crate mirror network for build steps 2026-11-22 17:08:24 +00:00
aiongg 30deeeff2a warm-sync agent: per-node warm dirs from the warm store, status ConfigMaps, runner warm status 2026-11-22 17:00:24 +00:00
aiongg 0ecd142e8b Implement stage foundation: implementations tables, the implement planner action and a stub step
Queued issues (a fast_track row by someone who settles on the repo) get the
implement action with bucket plan, build or revise, behind the repo's fix-issue
approval (Issue implementations) and the new repo-scoped Implement build feature.
The planner no longer plans fixissue or fixissue-collect; fix attempts still in
retry, testing or passed are marked failed. The push breaker stage fixissue
becomes implement. The implement step checks approval, switch and queuer and
does nothing else yet.
2026-11-22 16:47:23 +00:00
aiongg ea7c58e95d Merge repo-breakers: push breakers trip per repo, with an instance-wide tier 2026-11-22 16:15:41 +00:00
aiongg 14c686cd86 Push breakers: an instance-wide tier per stage beside the per-repo one
Broken pushes of a stage from 2 or more repos among its last 10 pushes trip the bare
<stage> breaker, which pauses the stage on every repo until an operator resumes it.
Items, planner pauses, the Next page, Needs, Now and the Pipeline page see it as one
row for all repos. The split of stage-wide rows runs once (settings marker), names
each row's repo in its reason, keeps existing per-repo rows unless an active split row
replaces an inactive one, and leaves the stage rows inactive, resumed at the split.
2026-11-22 16:12:45 +00:00
aiongg 93a205ff4f Push breakers trip per repo: a repo's broken pushes or merges stop that stage on that repo only
Breaker keys are <stage>:<repo> for fixup, cifix, fixissue and merge. The breaker counts
one repo's pushes since that key's last resume; red main CI after our merge and post-merge
defects trip merge:<repo> on every repo. Planner facts carry each item's own repo trips,
the planner skips a tripped repo's candidates while the step runs for other repos, and
Act is not gated by push breakers (it writes no commit). A maintainer with write access
to the repo resumes its trip. Needs, Now, Home and the Pipeline page show one row per
tripped repo. A migration on SQLite and Postgres splits stage-wide rows into per-repo
rows and carries each stage's last resume to the repos with earlier pushes or merges.
2026-11-22 15:59:12 +00:00
aiongg e8243a092f Merge dash-split: the dashboard runs apart from the runner, as several replicas
# Conflicts:
#	src/runner/jobs.ts
#	src/schema.pg.sql
2026-11-22 15:53:24 +00:00
aiongg 2976f7e700 Merge conv-maintainers: maintainers talk to the model on their own Task Runner
# Conflicts:
#	docs/dashboard-spec.md
#	docs/pipeline.md
#	src/dash/api/index.ts
#	src/db.ts
#	src/db/types.ts
#	src/remote/calls.ts
#	src/schema.pg.sql
#	test/conversations.test.ts
#	worker/autocraft.mjs
2026-11-22 15:51:57 +00:00
aiongg de71c62cee Registering a GitHub App over unreadable stored keys needs an explicit confirmation 2026-11-22 15:49:56 +00:00
aiongg f196556994 Maintainers' turns: own-lane leases, lease turnover input, withdraw, short bound lint check
A Task Runner with an own lane says so on its slots' claims, and those
slots leave calls bound to its user to the lane; older Task Runners take
them in a slot, where they count like any call. Only own-lane leases
(remote_calls.own_lane) are left out of slots and Max calls at once.
The maintainers' lane watches each waiting maintainer's lease count and
newest lease time, so a turnover that keeps the count still wakes it, and
an operator or the maintainer who wrote it can withdraw a waiting
maintainer's message. Maintainer turns no longer run one at a time first,
and their reference check waits briefly and counts as no answer when
their runner offers no small tier or takes nothing.
2026-11-22 15:27:12 +00:00
aiongg 49f56f0a67 GitHub App keys: every process reads the store, unreadable keys are reported
openDb() opens the process's app-key store with its database, so job
processes and commands read the stored keys too, and the planner thread opens
its own; readAppSecrets and the minter no longer fall back to the secrets file,
which is read only for the one-time import. Stored keys the session_key cannot
open are logged once and shown on the GitHub App page; a new registration may
replace them. The webhook-secret copy updates only the same app's readable row.
A dev server seals with its secrets file's session_key when it has one.
2026-11-22 15:25:52 +00:00
aiongg 9e2763b6b4 Merge scan-maintainers: maintainers start and continue deep scans with a spend cap 2026-11-22 15:07:57 +00:00
aiongg 8b8c70df1e Maintainers with write start and continue security scans with a spend cap; uncapped scans stay operator-only 2026-11-22 15:07:41 +00:00
aiongg 616432061c Maintainers' conversation turns: own step, own lane, bound lint check and refusals
Maintainers' messages are answered by their own step, without a daily
limit and outside the operators' count. Calls bound to a login count
toward no slot or Max calls at once; the Task Runner claims them in an
own lane beside its slots, and a turn none of its runners takes within
two minutes waits for a later job. The reference check of a maintainer's
turn is bound to them too, and a bound call's taker must offer its tier.
A maintainer's message to Opus is refused while the pipeline is off or
the step is paused. The prompt frames a maintainer's turn as a request
that does not change its instructions. Choices record whose message led
to them, shown beside Opus's pick, and maintainers keep the Feedback box.
2026-11-22 15:05:22 +00:00
aiongg 48304b9c1f Merge perm-items: maintainers run decisions, items, the merge queue, outside holds and areas on their repos
# Conflicts:
#	docs/dashboard-spec.md
2026-11-22 15:04:38 +00:00