Commit Graph
1819 Commits
Author SHA1 Message Date
aiongg ded4e07234 Planner: labels-apply waits while the repo's GitHub write budget is used up
A labels job whose writes the pacer refuses labels nothing and was queued
again on every input change. The labels lane reads the same budget the
writer checks (pipelineWriteWait, the read-only half of tryBegin) and
leaves out a repo whose label writes would wait past the writer's bound;
the planner wakes when the window frees and the stage says until when.
2026-11-21 08:31:09 +00:00
aiongg 643b750765 Planner: global model lanes count only items a job can work now
A job of classify-new, prioritize, dupes, decide or referee serves every
repo, and in the user-local mode it skips the Claude calls no Task Runner
takes. The lanes counted every planned item, so with no runner for the
items' repos (or for the step's task) the planner queued jobs that
handled nothing, and queued them again on every change of their input.
The lanes now count an item only when a Task Runner takes its repo for
the step, or its action needs no Claude call: Jev while Jev may be
called, a new scope decision, a duplicate scan or group question. With
nothing left the stage names the wait.

jevUsable answers jevAvailable's question without writing, for the
planner.
2026-11-21 08:27:39 +00:00
aiongg c6dbe5bd00 Merge CA-198 step 1: the planner pass reads each fact table once (171k statements to ~300-770 per pass, about half the time on SQLite); identical plans on a prod copy 2026-11-21 07:27:05 +00:00
aiongg 84d50f41b2 App slugs are recorded from a fresh read; pass snapshot comments name the other writers 2026-11-21 07:22:26 +00:00
aiongg 0267b1faaf Planner pass: duplicate canonical facts parse each merged PR's closing issues once; the decision lock check scans cards only for settling decisions 2026-11-21 07:06:21 +00:00
aiongg 98c6e50fb9 Merge main into planner-sets
Main CI texts take main's set-based autocraftTexts; main-fix approvals read through the pass-scoped settings reads (settings() for many keys). blockersLoader reads through blockerReads, the batch read blocksIndex uses. limits.ts imports the pipeline switch keys from autopilot.ts.
2026-11-21 06:51:08 +00:00
aiongg 2d5665ece1 Planner pass: read job limits, today's usage, latest job ends and active jobs once per pass; main CI texts, open PRs of every repo, own commits, fix-up candidates' reviews and conflict rows and waiting PRs' update times in one read each 2026-11-21 06:46:21 +00:00
aiongg 28d9fc5de9 PR facts: read fix-up attempts, repo rows, CI presence, long-lived branches and carried review sources once per load; review gate walks our pushes from one reading; item facts read authors with the items 2026-11-21 06:44:00 +00:00
aiongg a44c5acf8f Item facts and duplicate groups: read item texts, stored comparisons, answered group keeps and open group members once; review holds read their blockers in one batch 2026-11-21 06:40:25 +00:00
aiongg 2320fea0d4 Planner pass: serve settings from one reading per pass; read conflict merges, carries, fix-up and CI fix rows, author permissions and post-merge follow-ups once
A pass-scoped settings snapshot (src/settings-read.ts) answers every settings read of the
synchronous part of detectAutopilot; writes made during the pass go through writeSetting and
deleteSetting, which keep it current. The snapshot is dropped when the pass ends.
2026-11-21 06:37:02 +00:00
aiongg abd6ac41b0 Merge Jev through Cloudflare Workers AI as an optional backend 2026-11-21 06:31:36 +00:00
aiongg 631309695c Merge CA-198 step 3: dashboard pages read each table once per page (first home 26k statements to ~100, inbox 1.1k to ~30, Now feed ~20); identical responses on a prod copy 2026-11-21 06:31:36 +00:00
aiongg d416d16fd0 Item fingerprint skips decision ids whose decision row is gone 2026-11-21 06:31:28 +00:00
aiongg 3514de10dc Duplicate groups: answer pilot scope and backlog holds of members from the member query 2026-11-21 06:26:03 +00:00
aiongg 7412333f26 Health checks read the inference mode once per pass 2026-11-21 06:24:18 +00:00
aiongg d6ff4417de PR facts: read lint rows, stacked-on heads, review comments and push chains once per load 2026-11-21 06:23:26 +00:00
aiongg 1be1393085 Item page and Home read decisions, pushed commits, review calls and stamp values in sets 2026-11-21 06:22:50 +00:00
aiongg 578bced735 Duplicate groups: read member rows, canonical facts and close marks once per pass 2026-11-21 06:22:42 +00:00
aiongg e13d81d6b1 PR and item facts: read carries, pushes, run approvals, merges, open questions, unsure heads, pre-merge reviews, stale marks and decision heads once per load 2026-11-21 06:20:26 +00:00
aiongg b35d9240cd Dashboard reads lists in sets: settled table in one insert, Now feed, health, home and decision inbox read each table once per response 2026-11-21 06:20:10 +00:00
aiongg 3933c0c30b Review holds: read reviews, review counts, preapprovals, checks and failure marks once per pass 2026-11-21 06:17:28 +00:00
aiongg 1131d6fdfb PR facts: read push outcomes, verifications, decisions and classifications once per load 2026-11-21 06:16:02 +00:00
aiongg 1b260fea99 Planner pass: read trips, item sort keys and fast-track scores once per pass 2026-11-21 06:12:45 +00:00
aiongg 076c886144 Call Jev through Cloudflare Workers AI when configured 2026-11-21 05:01:28 +00:00
aiongg fe3a696ddd Merge remote-tracking branch 'origin/main' 2026-11-21 04:28:19 +00:00
aiongg 8fc40e5992 Merge CA-162: a follow-up issue on a merge card is held when the card is pressed, filed once after the PR merges (by anyone), and dropped when its own merge path ends first or the PR closes unmerged; each hold is bound to its answer or pre-approval; unsent or paced creates count no try; a create cut off part-way is settled from its audit row 2026-11-21 04:25:14 +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
Dylan M. Taylor 87a8dd7bb9 Pin workflow, base images, and k8s manifest; harden runner securityContext 2026-11-20 23:16:03 -05: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 28a8afc5ad My tasks items: batches key on every user with a stored item choice, connected or not, and room answers on the users of ready runners; fix-up picks and conflict asks are cut in taker order 2026-11-21 00:31:46 +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 MannandClaude Opus 5.5 45b99c0bbe Autorepin: a try writes nothing once an off or a newer command has replaced its request (the wait, a retry, an end), and queues no lockfile task and pushes nothing for it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 23:50:22 +01:00
David MannandClaude Opus 5.5 e988e5f848 My tasks items review fixes: a user who takes only fast-tracked items and has none open is no room; a question about a task counts a filtered runner only on a fast-tracked item's repo it takes; the queue's why-waiting checks repo access without the items, so a call held back by them says so; Items saves on the Connect page run one after another with only the latest setting the control
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 20:46:15 +01:00
David MannandClaude 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
aiongg 8109eb6a0a Merge #25 with fixes: a PR added with Queue items shows at once on the Merge queue board in a Queued group until its take review (live on pre-approval and plan changes, counted in the header, bar and Merge tab, same scope as the view's rows, no hint text) 2026-11-20 15:49:48 +00:00
aiongg 992747f925 Merge queue: queued PRs update live, count in the Merge badge and header, follow the view's scope, sit in a Queued group without hint text, and show in the mock board 2026-11-20 15:49:34 +00:00
David MannandClaude 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 MannandClaude Opus 5.5 aad97a2d61 Merge queue: a PR added with Queue items or pre-approved shows at once, in a Review group before Verify, while it waits for its fix-up or a take review at its head; it leaves the group when the review makes it a queue row
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:31:28 +01:00
aiongg 2ffbbd232c Queue items refused for a PR that gets no code review names why: backlog, duplicate, draft, an open scope question, a label that gets no review, or a classification that has not settled yet 2026-11-20 15:28:22 +00:00
David MannandClaude 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 MannandClaude Opus 5.5 f88bf0477c My tasks: each task has a tip on hover and keyboard focus with what it does (the first sentence of its stage's description) and the Claude models its calls ask for, also given to screen readers as the checkbox's description; Other's models come from the security and Discord prompts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:04:03 +01:00