Commit Graph
312 Commits
Author SHA1 Message Date
aiongg 19bc44c35c Merge health-checks 2026-11-05 18:30:40 +00:00
aiongg 8b846d048a Health checks: keep new repos unsynced after a failed first read, re-read outage windows, harden full re-sync and outage handling, group public checks 2026-11-05 18:29:42 +00:00
aiongg b344e0af61 Stop jobs that show no progress for longer than their longest single call plus 10 min 2026-11-05 18:27:32 +00:00
aiongg 78470474d8 Stuck jobs review fixes: code-derived deadlines, graceful deadline stop, drain only from on, check history, drain blocks manual jobs, cheaper warning query
- Deadline is the larger of the registry floor and the bound from the code (model calls, check time, lint rounds, items); a stopped step waits at least 1 hour.
- At the deadline the job is told to finish its current item; its process is stopped 10 minutes later.
- pipeline drain is refused from Off; pipeline on --if-draining ends only a drain.
- Check limit history: same shape, exit 0, run time from worker claim; queue wait keeps the total cap.
- Draining starts no job, manual ones included. deadlineStops reads a bounded window; index for the median query; ack refuses unknown steps; no Draining subtitle.
2026-11-05 18:26:26 +00:00
aiongg 8834d94af0 Add health checks (warnings menu, /healthz/checks) and isolate sync failures per repo 2026-11-05 18:24:44 +00:00
aiongg 33fdd13c66 Handle long and stuck jobs: per-check limit from history, drain state, per-step job deadlines
- The check tool stops one check after 5x the repo's median recent duration of that command (5 to 15 min, 15 min without history) and logs what it was doing and the worker's last output; cargo check and test output now also streams to the task log.
- autocraft pipeline drain: no new jobs, running jobs keep their writes; the dashboard shows Draining.
- Every registry step has maxMin; the runner stops a job past it and fails it with 'stopped: ran past N min'; the header warns until acknowledged or a later run succeeds.
2026-11-05 18:13:44 +00:00
aiongg 761ffbdba5 Merge runner-stop 2026-11-05 17:47:38 +00:00
aiongg be921c5992 Runner stop: fix the slow per-repo duplicate-pairs query, clear a passed planner wake time, kill the process when the stop times out 2026-11-05 17:47:19 +00:00
aiongg 820f3b2c57 Fix migration and deployment docs after review 2026-11-05 17:38:02 +00:00
aiongg ae60b9c772 Link the deploy checklist to the migration runbook 2026-11-05 17:33:17 +00:00
aiongg 77b6842ef5 Merge container-handover 2026-11-05 17:33:11 +00:00
aiongg cb2d003be5 Migration runbook: systemd install to container, with dry-run results 2026-11-05 17:32:50 +00:00
aiongg d9062460f8 Add deployment checklist for the cluster admin 2026-11-05 17:17:52 +00:00
aiongg 397226cb01 App lanes: revoke one session's token only, queue revocations until GitHub confirms, audit advisory writes as legacy, authorize only for the answering operator, fixed exec reasons for viewers, revoke the token of a refused authorize 2026-11-05 17:07:14 +00:00
aiongg 4c93632939 App lane: installation-token writes for repos on the app identity, base-repo branches instead of forks, and a per-repo identity setting (UI and CLI) 2026-11-05 16:47:45 +00:00
aiongg 2a11cf96a1 Stop a Claude call that produces no output for 15 min (AUTOCRAFT_CALL_IDLE_MIN) and fail it 2026-11-05 15:58:28 +00:00
aiongg d4016b1fe8 Merge branch 'github-app-setup'
# Conflicts:
#	src/dash/api/admin.ts
#	src/dash/server/index.ts
#	src/schema.sql
#	web/src/api/client.ts
#	web/src/api/mock/adminMock.ts
#	web/src/api/types.ts
#	web/src/registry/index.ts
2026-11-05 15:56:50 +00:00
aiongg 6ef45198c2 Merge branch 'container-image' 2026-11-05 15:55:47 +00:00
aiongg c6cb199514 GitHub App page: Remove clears the registered app's keys so another app can be registered 2026-11-05 15:47:40 +00:00
aiongg 52f726cfb8 Container review fixes: stale lock of a reused pid, gh in the image, source commit, stop handling; Kubernetes manifest 2026-11-05 15:44:50 +00:00
aiongg 5bc99fb813 Container image for the dashboard and runner; health endpoints, bounded runner stop, container docs 2026-11-05 15:30:53 +00:00
aiongg ae47254c3b Inbox MCP review fixes: viewer gating, answering off by default, limits, via agent marks
- viewers get fix-up, verification and review states without job errors or model text (MCP list_fixups and item page)
- while answering is unavailable: no answering tokens, no answer tools or instructions, switch hidden
- MCP limits keyed by login; per-address limit counts failed authentication only
- feedback limiter passed explicitly in AppOptions
- decision_opinions and decision_comments store via; item thread and Opus includes mark posts via agent
- docs and tests updated
2026-11-05 15:30:44 +00:00
aiongg cd9966c1ab GitHub App review fixes: probe the secrets file before converting, keep user_tokens current on refresh, POST registration bound to the session, app owner, safer secrets write, docs 2026-11-05 15:22:48 +00:00
aiongg f86baa9dc8 Inbox MCP: refuse answering until user tokens exist, end tokens with sessions and demotion, share limits, frame results, clean up Connect page
- answer_decision and undo_answer refuse in one place (answering.enabled)
- session revoke and demotion from operator delete tokens; Access page lists and revokes any login's tokens
- userForLogin honours the session age cap through a shared helper
- MCP feedback shares the dashboard's limiter; list_repos and list_fixups get a per-token budget
- mcp-token-create and mcp-token-revoke are audited actions, operator-only
- option labels and writes in feedback and answer replies are inside the untrusted frame
- Connect page uses Switch, Badge and EmptyState and drops explanatory text
2026-11-05 15:19:08 +00:00
aiongg 1088ee860f Merge origin/inbox-mcp into main 2026-11-05 15:16:14 +00:00
aiongg b925b17e18 Add security deep scan dashboard: repo scan controls, findings list and finding page 2026-11-05 14:53:28 +00:00
aiongg aaeac465ac Review fixes include the edits they imply; extend our own newest fix-up comment on a further push 2026-11-05 12:29:11 +00:00
aiongg 44ca5d41ae Edit the earlier conflict note instead of posting a new one when it is the newest comment 2026-11-05 06:55:50 +00:00
David MannandClaude Opus 5.5 e9910f2a64 Inbox MCP: operators can opt a token in to answering decisions (answer_decision, undo_answer; 7-day tokens, same checks as the dashboard)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 06:13:55 +01:00
David MannandClaude Opus 5.5 e90f7454f6 Connect agent: open it from the user menu instead of the rail
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 06:09:17 +01:00
David MannandClaude Opus 5.5 3ac2c83f1c Inbox MCP server: contributors' own agents list open decisions and held fix-ups and send feedback back (POST /mcp, personal agent tokens, Connect page)
Closes #1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 05:54:01 +01:00
aiongg 2a9994d055 Token review fixes: auth-failure detection from CLI error fields only, readable-token check, flow conflicts, atomic save, sign-out removes token, live topic 2026-11-05 03:44:52 +00:00
aiongg be464bc583 Long-lived Claude token per account: setup-token flow, token env for model calls, rejection mark, Accounts page 2026-11-05 03:40:31 +00:00
aiongg 76633bfce9 Pre-approved merge: clean CHANGES items, release holds safely, bound waits, sync start stamp, wider operator file blocklist 2026-11-05 02:18:37 +00:00
aiongg df72750451 Merge branch 'preapproval-server' into prepare-round 2026-11-05 02:13:24 +00:00
aiongg 12af68288f Cancel releases the merge hold that removing a PR from its batch sets 2026-11-05 02:12:20 +00:00
aiongg 043380b726 Operator fix-up edits any unprotected file and comments its changes; own CI fix and conflict pushes continue a pre-approval; cancel removes a queued PR from its batch 2026-11-05 02:11:49 +00:00
aiongg 5c649937ad Pre-approved merge: hold only while the fix-up can run, end stale requests, data-based sync lag, own-row fix-up recording, cancel against a running merge, ask inside the hand-over transaction 2026-11-05 02:08:19 +00:00
aiongg 95059392e4 Pre-approved merge: require clean pre-merge review and sure take at hand-over, atomic hand-over and cancel, fix-up loop and stuck-state fixes 2026-11-05 02:01:23 +00:00
aiongg 4e55d785ca Merge branch 'prepare-server' into prepare-round; prepare uses applicableSteps from cards.ts 2026-11-05 02:01:02 +00:00
aiongg b2e0f43be6 Prepare review fixes: keep prepared summaries, one turn per item, stricter pick parsing, failure counting, scope filters 2026-11-05 01:59:54 +00:00
aiongg 7f6b79b041 Pipeline steps and pre-approved merge: operator fix-ups, preapprovals state machine, merge hand-over, cancel route 2026-11-05 01:49:04 +00:00
aiongg 85845e0f17 Prepare step: one judgement-model call per open decision writes summary, pick and drafted answers
Replaces decide.recommend with decide.prepare for every open decision of an item, any kind. The call reads what stopped the pipeline, the item and the PR diff, and stores an Opus turn with proposed cards plus the decision's pick, reason and summary. A PR is prepared again when its head changes. Adds Decision.preparing, the judgement-model endpoints, the Needs-you feedback count for replies to AutoCraft's own comments, and docs.
2026-11-05 01:48:14 +00:00
aiongg 42c99bc159 Web: plain step names, editable issue and fix-up drafts, preparing state, pre-approved merge row, judgement model select, mocks 2026-11-05 01:45:53 +00:00
aiongg f5b451e762 Snooze, handled answers, card drafts (replaced, stale, option), skipped steps, per-option resolutions 2026-11-05 01:14:24 +00:00
aiongg bfa08070b4 Conversation: operator chooses which maintainer posts Opus sees 2026-11-05 00:51:12 +00:00
aiongg 986c4be769 Conversation resolution cards, comment text in the trace, messages without an Opus question 2026-11-05 00:48:59 +00:00
aiongg 08a152322e Conversation cards: per-action button labels and a close card (completed or not planned) that settles the item's open decisions 2026-11-05 00:39:08 +00:00
aiongg 0f8511b701 Withdraw decision questions about closed items; add a resolve conversation card
After every sync, open scope, close, merge and duplicate questions of closed or merged items, and duplicate groups with fewer than two open members, are withdrawn with the reason recorded. A resolve card closes a decision as handled in the conversation without a GitHub write.
2026-11-04 20:31:14 +00:00
aiongg fdca562fd6 Mount the default branch's AGENTS.md and ROADMAP.md read-only for sandboxed repo calls 2026-11-04 19:37:31 +00:00