aiongg
076c886144
Call Jev through Cloudflare Workers AI when configured
2026-11-21 05:01:28 +00:00
aiongg
1d1dd58527
Held follow-ups: wake the planner for rows left in filing; paced runs fail with the pacing message
...
The act lane pushes updated_at + HELD_STUCK_MS of each filing row into the planner's wake times, registered as the Act stage's 'Stopped held follow-up create' backoff. A run whose held create the write pacing held back fails with an error that starts with the pacing message, so the failure backoff skips it like other paced jobs.
2026-11-21 04:24:50 +00:00
aiongg
0cf7188de4
Held follow-ups: file when merged unless the path ended before the merge; settle stopped creates
...
A merged PR files its held issue unless the bound merge path ended before the merge time, so a pre-approval the merge itself cancels no longer drops it. Rows are bound to the press's own path: the pre-approval it created (runPipelineStep returns its id) or the decision's answer history count, so a new answer or pre-approval never revives one. createIssue treats an unsent request (failed app-token mint) as a clear failure and marks a write held back by pacing; pacing counts no try. A row left in filing is settled from its audit row. held_followups moves to its own topic outside the planner input, so row writes keep the failure backoff.
2026-11-21 04:23:03 +00:00
aiongg
8733915236
Hold follow-up issues on merge cards until the PR merges
...
A card that answers Merge, or whose fix-up merges, stores its open_issue step in held_followups instead of opening it. The Act job of the PR's repo opens it once the PR merged (same act-open-issue write and audit, counted against Act's daily limit then), and drops it when the PR closes unmerged or the merge path ends. A filing row is written before the create, so a restart never opens two. Card lines and the choices card read "After the merge: open an issue in <repo>: ..."; the item page shows the held issue and why it was dropped.
2026-11-21 04:14:30 +00:00
aiongg
9c4ce07694
Merge #27 with fixes: My tasks items, a user's Task Runners take only fast-tracked items or only the items they fast-tracked (or have queued); pools, room and limited selections see each unit's items, so a filtered runner is never handed work it refuses; batches hold only items the same filtered users take; room answers cache per repo and item key, as before when nobody filters; duplicate sets larger than one call name no items; the withdrawal reason names the takers' choice
2026-11-21 00:31:59 +00:00
aiongg
e3d3f2f353
My tasks items: room answers are cached by repo and by which filtered users take a unit; one-repo jobs cut their selection in taker order; a duplicate set compared in rounds counts only runners that take every item; a selection puts first only units a ready filtered taker takes, and batches key on ready filtered users
2026-11-21 00:29:49 +00:00
aiongg
e4dbe3cc79
Merge #29 with fixes: autorepin via a branch pins to the first commit of that branch that holds the merge, waiting without counting tries (every 15 minutes, at most 7 days); a via branch that does not exist is refused when the command is accepted; a wait clears the try count; the via branch is fetched into its own ref namespace
2026-11-21 00:22:39 +00:00
aiongg
ccef9a4900
My tasks items: pools, selections and the room ask about each unit's items, so a filtered runner counts only for units on items it takes and finds room while the other runners are busy with calls only they take; batches hold only items the same filtered users take; fast-tracked by me includes PRs the user queued with a live pre-approved merge; a withdrawn call names the takers' item choice; the docs say a repo without a matching item shows under No taker when every runner is filtered
2026-11-21 00:22:08 +00:00
aiongg
97cf92a877
Autorepin: refuse a missing via branch when the command is accepted, count only consecutive failures across waits, fetch the via branch into its own ref namespace
2026-11-21 00:13:42 +00:00
David Mann and Claude Opus 5.5
61fc6a6a36
My tasks items: each user picks whether their Task Runners take every item, fast-tracked items only, or only the items they fast-tracked; a call fits when any of its items does, a question asked before the items are known counts a filtered runner only on repos with such an item, picks and session follow-ups run either way, and the queue says when a call waits for its items
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 20:20:23 +01:00
aiongg
bf7402e6f2
Merge #24 with fixes: My tasks, each user picks which kinds of work their Task Runners take; the task counts in claims, room, takers, the planner, pools, the runner's start pass, the no-taker sweep and health mark and the queue view, so work nobody takes is never started; no task ticked takes only picks; no hint text
2026-11-20 16:00:15 +00:00
aiongg
040873990d
My tasks: room and taker questions outside a job use the step of the prompt being asked about; the runner's job starts take the pass's earlier starts off a room read later in the pass; a repo counts as taken only by a runner whose user takes some task; on My settings only the latest save sets or clears the error; calls passed over for their repo do not count as calls ahead
2026-11-20 15:59:57 +00:00
aiongg
dbd8b9b4fb
My tasks: a user with no task ticked is no room for any call, as with Manual only; All tasks can be unticked; the hint and warning lines are gone; Other covers every step outside the stages and security prompts map to their steps outside a job; Merge queue's description names the pre-merge Opus review; My repos saves run one after another like task saves; the Task Runner wait names the task
2026-11-20 15:52:58 +00:00
David Mann and Claude Opus 5.5
c5dff1335e
My tasks review fixes: the room, pool takers, job starts and the planner count a runner only for the task of the step asked about (a queued job whose repo has takers but none that takes its task says "No Task Runner takes <task> tasks on <repo>"), a call of a task no ready runner takes is not counted as a call ahead, and task saves on the Connect page run one after another with only the latest setting the boxes
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 16:44:33 +01:00
aiongg
4a8cec6087
A pre-approved merge lifts the label gate: Queue items, merge queue comments, queue_pr and fix-up then merge accept a PR whose label gets no review or has not settled, the plan reviews it while the pre-approval is live, and a label settled later does not stop it; drafts, backlog, duplicates and scope questions still refuse it
2026-11-20 15:33:21 +00:00
David Mann and Claude Opus 5.5
81e6fe9d50
Autorepin via a branch: @<app> autorepin <pull request> via <branch> pins to the first commit of that branch's first-parent history that holds the merge, waits without counting tries while the merge is only on the default branch (looked for every 15 minutes, failed 7 days after the merge), accepts a merge straight into the branch, and a branch name git would refuse makes the line no command
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 16:25:44 +01:00
David Mann and Claude Opus 5.5
2f888b38cc
My tasks: each user ticks the kinds of work (pipeline stages that make model calls, and Other) their Task Runners take from the queue, all ticked by default; unticked ones are stored so a later task starts ticked, picks and session follow-ups run either way, and the room, takers, no-taker sweep, give-way rule and the queue's why-waiting count a runner only for the tasks it takes
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 15:56:33 +01:00
aiongg
dac03f8afc
Merge #22 with fixes: @<app> autorepin <pull request> repins a PR's Cargo git dependencies to another tracked repo's merge commit once it is merged (comment re-read per command kind, lockfile keeps every existing package exactly, quiet PRs silent, off recorded, generic error text, waits registered, 3 h lockfile cap, push re-checks bound app permission, refused where the pipeline is off)
2026-11-20 14:33:38 +00:00
aiongg
4e71f32813
Autorepin: refused or failed with a reason where no build worker would take the lockfile task, drained apart from the webhook pass, waiting state registered as a wait, a crates.io package with a name the old lockfile has must be kept exactly, and a lockfile task no longer wanted is cancelled
2026-11-20 14:33:09 +00:00
aiongg
ce1e4db5c0
Autorepin: an edited comment must still name the stored pull request, a lockfile may not change the version or checksum of a package it had, an off is kept per pull request, quiet pull requests get no comment, only reasons worded by AutoCraft reach GitHub, the asker's login must stay bound to their GitHub id with write access read through the app, a lockfile task ends after 3 hours, a recorded push survives a crash, and a nested Cargo.lock is refused
2026-11-20 14:25:36 +00:00
aiongg
01089e6d36
Merge main into autorepin: comment commands keep main's checks (comment re-read, head pin, app permission, quiet), autorepin stores its pull request in github_commands and its repins drain after the commands
2026-11-20 14:25:13 +00:00
aiongg
07f5a47a1f
Merge connect-restore: the Connect page is the contributor's design again (Connect your Agents, Overview and Setup guide views, My settings first, roomier Task Runner rows, smaller switch)
2026-11-20 14:20:35 +00:00
aiongg
9553775fa9
Connect page: Connect your Agents, with Overview and Setup guide views, My settings first with Saving…/Saved, roomier Task Runner rows; a smaller switch across the dashboard
2026-11-20 14:20:17 +00:00
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
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
1421dc4c5b
Comment commands: a PR head without a check suite is unknown and the command is tried again; a failure storing a command never fails the delivery's re-read
2026-11-20 13:57:31 +00:00
aiongg
38749df162
Merge fix-20 review changes into #21
2026-11-20 13:54:45 +00:00
aiongg
36c4bcd1d6
Comment commands: app permission read, comment-time head pin, comment re-read, quiet and silent cases
...
- The commenter's write permission is read through the app installation (appPermission), which writes repo_permissions, so a
maintainer's pre-approval stays alive under refreshSettlers; an access GitHub cannot read is retried, and a command that
expires that way is answered once ("could not check your access; comment again").
- The comment's creation time is stored. A PR is pre-approved only at the head it had then: a force push, a later commit date or
a later first check suite on the head refuses it ("the PR changed after your comment; comment again"), and preapproveMerge
takes the pinned head. On an issue, the closing PR is queued only when it is older than the comment and unchanged since.
- A comment older than 5 minutes at delivery queues nothing; before acting the comment is read again by id and must exist, have
the same author and still hold the same command.
- A login never bound, a viewer, and a non-operator on a quiet PR get no answer; nothing is answered on a quiet PR. Unexpected
errors are answered with a fixed text; only an answer to someone the queue rule lets queue skips the comment approval.
- github_commands gets an index on (state, reply) and the runner prunes settled rows after 30 days; parseCommand skips indented
code and HTML comments across lines.
2026-11-20 13:54:08 +00:00
aiongg
5d9702a359
An integration batch checks a maintainer's Merge answer when it is built and right before it merges, with the write permission read again: a PR whose maintainer no longer settles is held and the batch rebuilt without it, as Remove from batch does; when GitHub cannot answer the batch waits
2026-11-20 13:48:31 +00:00
David Mann and Claude Fable 5.2
8372456a31
Autorepin: commands count in the order of their comments (a late retry never undoes a later off), the merge commit must still be an ancestor of the default branch as fetched now, only dependency tables are repinned, the lockfile is read as TOML, an unreadable Cargo.toml ends the try instead of being skipped, and a scratch folder that cannot be removed does not replace the outcome
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-20 14:47:45 +01:00
aiongg
f9cd7cd07e
A maintainer's write permission counts past its read failures for at most an hour after GitHub last confirmed it; then the pre-approval ends as before
2026-11-20 13:44:58 +00:00
aiongg
73e550584d
Merge fix-20 into #21
...
# Conflicts:
# docs/pipeline.md
2026-11-20 13:42:31 +00:00
aiongg
64854109ed
Merge #19 with fixes: autocraft setup installs what the machine lacks, asking first (restricted bwrap AppArmor profile, sudo and installer steps default to No); the Connect page install line runs setup (Task Runner 1.3.4)
2026-11-20 13:41:36 +00:00
aiongg
00e15b4b1e
Fast-track weights stay with operators: a maintainer's Queue items line or queue_pr adds an item not on the list with the default weight, never changes an existing weight and says it ignored a weight it named; the dialog and a maintainer's queue_pr take no weight
2026-11-20 13:40:58 +00:00
aiongg
d458f0b393
A maintainer's pre-approved merge outlasts their dashboard session: each tick the pipeline reads the write permission of the maintainers it acts for again through the GitHub App before it expires; while a read is under way or failing the last write permission counts, and only a fresh non-write answer (or a role or setting change) cancels
2026-11-20 13:40:58 +00:00
aiongg
828c151604
Connect page keeps main's layout; the install line runs autocraft setup, the harness step is for when setup did not pick one, Run offers autocraft work, one call and always on; docs describe setup's defaults, the AppArmor profile and how to remove it
2026-11-20 13:38:26 +00:00
David Mann and Claude Fable 5.2
7f02969357
@<app> autorepin <pull request> in a comment on a PR: once that pull request of another tracked repo is merged into its default branch, the PR gets a commit that sets the rev of its Cargo dependencies on that repo to the merge commit, with Cargo.lock updated by cargo in a build task; no model, the push has a lease on the head, and a merge pre-approved at the old head carries on to the repinned one
...
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-20 14:24:16 +01:00
David Mann and Claude Opus 5.5
a85d1cfa3a
A command reads the commenter's role and binding again after the permission read and passes that role to queueAdd, so a login demoted or bound to another account meanwhile queues nothing; the early check stays, so an unknown commenter costs no GitHub call
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 14:12:33 +01:00
David Mann and Claude Opus 5.5
4b96590569
The mirror never goes back to an older snapshot: a read that started before the one stored for an item writes nothing for it (row, comments, read time), so a command's freshness check holds until the pre-approval reads the head, whatever runs in between
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 13:53:10 +01:00
David Mann and Claude Opus 5.5
ffb76a0826
A command checks its items' read times again after the permission read, right before queueAdd with no I/O wait between the check and the pre-approval, so an older snapshot written meanwhile (a reconcile that started before the comment) makes it wait instead of queuing that head
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 13:47:35 +01:00
David Mann and Claude Opus 5.5
10f60b0497
A command counts only a read strictly after the comment (a read stamped at its instant may have started before it), and on an issue it also waits for a fresh read of every open PR that closes it, since queueAdd pre-approves the sole one at its mirrored head
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 13:43:09 +01:00
David Mann and Claude Opus 5.5
7365123cd7
A command with no read of its item since the comment, and none queued, queues a re-read itself (at most once a minute), so a failed re-read or one in the comment's own second does not leave it waiting until it expires
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 13:40:10 +01:00
David Mann and Claude Opus 5.5
b8d66de52a
item_reads.synced_at is when the read started, before its first GitHub request (the run's start for paged reads), so a read that began before a comment never passes its freshness check; docs: the weight follows "merge queue" (a weight alone is no command), and the app's answer needs Issues and Pull requests write, which a dashboard-registered app has
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 13:38:31 +01:00
David Mann and Claude Opus 5.5
8f9b4c05bc
Commands in comments, after review: a fence closes only as CommonMark closes it; a command waits until the item was read from GitHub after the comment (item_reads), since a gone sync request also follows a failed re-read; rows waiting for a read or a permission retry (tried_at, a minute) no longer fill the drain's limit, which now counts GitHub calls only
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 13:27:03 +01:00
David Mann
676f5698bd
Merge remote-tracking branch 'fork/maintainer-queue-items' into github-merge-queue-command
...
# Conflicts:
# docs/pipeline.md
2026-11-20 13:27:03 +01:00
David Mann and Claude Opus 5.5
6d49215f81
Queue items shows for maintainers only while they settle: /api/me adds maintainerSettles (maintainer_writes on and the app identity, computed by the server), so under the box identity the button no longer offers what queueAdd refuses
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 13:24:26 +01:00
David Mann and Claude Opus 5.5
a8ab84a50c
Merge queue from GitHub comments: @<app-slug> merge queue [weight] on a PR or issue queues it as a line of Queue items, as the commenter, under the same rule (settleRefusal); the webhook keeps only the comment id, item, weight and commenter in github_commands (never the text), the runner carries it out after the item's re-read with the commenter's write permission read from GitHub, and the app answers in the thread through write.ts; commenters without an AutoCraft login, or with another GitHub id than the bound one, get no answer
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 13:10:42 +01:00
David Mann and Claude Opus 5.5
8635323e6e
One rule for person-started writes: settleRefusal in src/settlers.ts (an operator needs live write access on every repo, a maintainer the canSettle rule) replaces the copies in decisions, conversation cards and choices and MCP queue_pr, and Queue items now also refuses an operator without write access on the item's repo
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 13:08:23 +01:00
aiongg
16482513f1
Bulk label writes use at most half of the GitHub write budget; a paced labels-apply job ends done and paced failures skip the failure backoff
2026-11-20 11:59:10 +00: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