Commit Graph
256 Commits
Author SHA1 Message Date
aiongg f9b34849cf Fix review findings: tool args for viewers, check linking, bridge run id, plan history, job item bookkeeping 2026-11-04 14:20:15 +00:00
aiongg 1d8eb2fdf9 Update retention notes 2026-11-04 14:13:34 +00:00
aiongg 83d0df5478 Decide: one Opus call writes the summary and the recommendation 2026-11-04 14:07:20 +00:00
aiongg bed435e0c6 Merge branch 'lint-resume' 2026-11-04 13:57:29 +00:00
aiongg 337d8be07e Resume the patch session when the lint sends findings back within 60 minutes 2026-11-04 13:57:09 +00:00
aiongg 77fe5940ad Carry reviews in their own step that needs no model 2026-11-04 13:52:52 +00:00
aiongg aeec3ea167 Merge branch 'mainfix-lint' 2026-11-04 13:49:00 +00:00
aiongg 84257b1fef Main fix: lint the patch asynchronously and collect the result on the next run 2026-11-04 13:48:43 +00:00
aiongg af83e79ca0 Conflict resolution: clippy findings go back to the resolver, up to 2 lint rounds 2026-11-04 13:48:25 +00:00
aiongg 8ca324e16f Assignment release: conflict give-ups by bucket, ended CI fix, held merge and unapproved CI runs; keep refused merges and unpublished batches 2026-11-04 13:42:33 +00:00
aiongg fff39561d8 Assign when a stage starts work, release in the planner
Stages call claimForWork when their work on an item really starts (fix issues after triage, fix-up, conflict merge and CI fix before their model call or push, single merge before safe-merge, batch when members are put in). The planner only decides unassign: kept while the item is on the path to merge, released otherwise, including members of a batch that failed to open its PR. The step is renamed unassign; one item failing no longer fails the repo's job; a partial index serves the audit lookups.
2026-11-04 13:39:00 +00:00
aiongg b6891d4cf9 One assignment rule in the planner: assign while AutoCraft works an item, unassign when it waits on a person or a stage gave up
The planner emits assign and unassign actions from the item's assignees and the audit; one assign step carries them out with a live re-read of the assignees. The per-stage claim and release calls in fix-up, fix issues, merge and batch are removed.
2026-11-04 13:27:17 +00:00
aiongg db99c99ad6 Replace owner directions with owner memory: statements from decision notes, comments and conversations, retrieved by similarity into the reviews, conflicts instead of directions 2026-11-04 13:00:27 +00:00
aiongg d6631f7784 Add owner directions: repo_directions table and CLI, direction-aware reviews, Merge? ask for touched directions 2026-11-04 12:23:27 +00:00
aiongg bb89d46a16 Review fixes: integration PR scope and batch-tip head, batch guard checks verification, typed guard grants, fix-up source in the guard, merge command always gets --head 2026-11-04 07:50:54 +00:00
aiongg 76e31fc9bb Regenerate docs; tests for the Plan cache, closed-item act, duplicate answers 2026-11-04 07:00:59 +00:00
aiongg 239b58119a Pre-merge review: premerge.opus prompt, parser, premerge step and CLI, completeness check in review.opus 2026-11-04 05:16:00 +00:00
aiongg 8dec4f26ec Main-fix: one PR per head, own-PR proof for the red-main bypass, wait while running, optional checks 2026-11-04 04:12:04 +00:00
aiongg 1b04b51141 Merge branch 'optional-checks' 2026-11-04 04:03:45 +00:00
aiongg 1b97a801f5 Per-repo optional checks
An operator lists, per repo, checks whose failure does not stop a merge (autocraft optional-checks, the repo page, dashboard API; audited). The queue, single merges and batch PR checks read a failure of only listed checks as success; safe-merge takes --allow-failed NAME and accepts such a failure only while GitHub's merge state is not BLOCKED. Main CI shows optional for a failure of only listed checks, and CI fix leaves listed checks out. Every tracked repo starts with the SonarCloud scan on its list, once.
2026-11-04 04:03:18 +00:00
aiongg 9013e6a522 Open a fix PR for a red default branch
Each needs-fix row of an approved repo gets one attempt: skipped when main is green again or an open PR covers the failure, otherwise a patch through the shared CI fix path against the head commit, pushed to the fork on autocraft/main-ci-<check>-<sha7> and opened as a PR. The merge queue counts these PRs as our own Fix PRs.
2026-11-04 03:56:38 +00:00
aiongg cbc269ba49 Merge branch 'main-fix' 2026-11-04 03:49:42 +00:00
aiongg e7e9f0e94a Handle a red default branch: main-fix step, Fix red main repo approval, Haiku failure classifier, rerun and infra decision 2026-11-04 03:49:06 +00:00
aiongg c771698776 Merge queue waits while main CI is red (state waiting-main-ci), except main-fix PRs 2026-11-04 03:43:58 +00:00
aiongg ed2f2c8b50 Track CI on the default branch of every synced repo: main-ci step, main_ci table, state classification and dashboard API 2026-11-04 03:40:46 +00:00
aiongg 3a40fa36a1 Start every GitHub post with an AI note line added by the write wrapper 2026-11-04 03:29:35 +00:00
aiongg d460d7cc02 Flowchart: Post-merge review under Fix-up so the chart keeps six columns; regenerate the README image 2026-11-04 00:41:04 +00:00
aiongg b44234467b CI fix: base-commit build environment, pinned image rustfmt, token-stream formatting check, live changes-request check before the push 2026-11-04 00:09:08 +00:00
aiongg b26500f389 CI fix hardening: rustfmt on named files with a whitespace-only check, per-PR caps, shared changes-request gate, pushes recorded before they happen, recorded exits, stricter triage and guard 2026-11-04 00:01:35 +00:00
aiongg 6fecced1dc Merge main into ci-fix 2026-11-03 23:45:33 +00:00
aiongg 920b1592aa CI fix: read a failing gate check and fix it (formatter run, once-per-head rerun, checked model patch)
A wanted PR whose gate check fails at its reviewed head is triaged from the failed step logs.
Format-only failures are fixed from a build task's formatter diff without a model, infra failures
get one rerun per head, code failures get a Sonnet patch checked by Opus. Pushes follow the
fix-up path; closed branches get the patch as a comment where comments are approved. At most two
tries per head, recorded in ci_fixes and read by the merge queue's push chain.
2026-11-03 23:43:45 +00:00
aiongg 6ca936d43b Item icons: bold, 1.2x, larger touch target; sticky inbox headers above them 2026-11-03 23:39:52 +00:00
aiongg cc310d3daf Post-merge filing: clean unclosed fences, GH-n and every @; dedupe against recent filings; scope check for the file command 2026-11-03 23:33:06 +00:00
aiongg 16da4f2701 Harden post-merge review: record filing before the create call, never re-file for a PR with a follow-up, scope diffs to the PR, dedupe, clean public text 2026-11-03 23:29:52 +00:00
aiongg aadb0fdd0e Merge branch 'main' into post-merge-review 2026-11-03 23:14:52 +00:00
aiongg 2645b8aa14 Post-merge review stage: review merged PRs, file defects as follow-up issues 2026-11-03 23:14:52 +00:00
aiongg a995dbf782 Tighten unapplied-fix check: whole-word file match, uncut reason, fix named in risk, hold lookback, bot backfill notes 2026-11-03 23:14:17 +00:00
aiongg 33db4206da Carry unapplied take-fix fixes into the next review; bots never make a review stale 2026-11-03 23:07:33 +00:00
aiongg a0609f00e4 Unsure needs an operator's merge answer at the current head after the latest review; carry-over pushes join the chain; history backfill 2026-11-03 22:47:18 +00:00
aiongg 52a8c121c7 Unsure Opus reviews stick to the head and its pushed successors; close stale Merge? questions 2026-11-03 22:40:05 +00:00
aiongg fb7156dd8a Lint model replies and send problems back as one fix turn on the same session
A reply that parses is linted per prompt: reference mentions, verbatim quotes of
the reference pages and references to outside documentation (Jev, Haiku
fallback) in public text, and over-long summaries. Problems go back as one
follow-up message on the same sandbox session; what remains falls back to
leaving the text out or keeping the first sentence. No lint problem repeats the
whole call.
2026-11-03 22:29:45 +00:00
aiongg 1cc343fa5b Reference documentation: per-repo import, /reference mount and prompt text for the reference-behaviour calls 2026-11-03 21:57:59 +00:00
aiongg 162a60be54 dupe-compare again: compare an item's duplicate sets once more 2026-11-03 21:45:18 +00:00
aiongg 2a76704abb docs: duplicate-group rule in the Merge queue section 2026-11-03 21:32:56 +00:00
aiongg 7f3965cd30 Merge branch 'ca142-prompts' 2026-11-03 21:31:44 +00:00
aiongg 7b222214fb Decision text from the models: summary and why fields in the Opus review and duplicate compares, recommendations with a reason, open Merge?/Close? decisions refreshed 2026-11-03 21:31:01 +00:00
aiongg c5d1a1f630 Merge branch 'ca142-ui' 2026-11-03 21:29:31 +00:00
aiongg 9ea4c06572 Merge branch 'ca142-server' 2026-11-03 21:29:31 +00:00
aiongg 8c189e59e8 Dashboard: recommendation sentence, duplicate group layout, risks, 8-second undo notice 2026-11-03 21:28:59 +00:00
aiongg 02f6ad61fe README flowchart for the CI-first stages 2026-11-03 21:25:58 +00:00