aiongg
5bda74195b
Join GitHub writes to items: audit rows carry the job id, comments keep their URL, PR commits keep their headline, and a read module lists an item's writes
2026-11-07 04:20:51 +00:00
aiongg
1e9e254239
Write pacing: legacy is one key, owner from ':' targets, labels paced below the budget, cleanup on a paced batch
2026-11-06 23:50:24 +00:00
aiongg
39e6ce6723
Pace GitHub writes per identity and repo owner, with a pause after secondary-limit failures
2026-11-06 23:45:12 +00:00
aiongg
e097c97ef5
Security advisories: set the affected version range on the draft and before publishing
2026-11-06 02:01:35 +00:00
aiongg
d8fc1f3743
Issues closed by the Act step get GitHub's close reason: DUPLICATE with the kept issue for duplicates, NOT_PLANNED for out-of-scope; a rejected DUPLICATE is retried as NOT_PLANNED
2026-11-05 23:57:26 +00:00
aiongg
1c3feece5f
A claim comment posted by the app's bot is ours to delete
2026-11-05 22:36:03 +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
dc57337320
Merge app-user-lane
2026-11-05 16:55:25 +00:00
aiongg
010fa29e51
GitHub App user lane: answered actions run as the answering operator with their user token, waiting states on decisions, Retry and an 'act as you' authorization
2026-11-05 16:50:52 +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
e6e38b2563
GitHub App: user-token vault (CAS refresh, shared refresh pair, removal revokes) and identity map on grants and audit rows
2026-11-05 16:21:13 +00:00
aiongg
ce22d0604a
Merge branch 'security-fix-land'
...
# Conflicts:
# src/github/write.ts
2026-11-05 15:57:00 +00:00
aiongg
6b5202758b
Security fix and landing: address review findings (own-PR handling, wording guard before push, build scope, viewer hiding, advisory resume, exits from awaiting-admin)
2026-11-05 15:46:01 +00:00
aiongg
311eee2982
GitHub App org setup link: one-time links for an org owner (create, list, revoke), standalone setup page, app-manager grant through write.ts
2026-11-05 15:28:43 +00:00
aiongg
611c87d432
Security deep scan: private fixes, quiet-PR landing, advisory route and publish
...
The fix step writes a patch on the scan's pinned commit, builds and tests it in the worker container, has Opus review it and keeps it as a local commit that is never pushed. Land opens a plain pull request through write.ts; urgent findings can take the advisory route with a private fork. Merges are found by polling. Publish releases the advisory with an optional CVE request.
2026-11-05 15:27:43 +00:00
aiongg
5c81199095
Make the GitHub owner a per-repo property so AutoCraft can track repos outside storytold
2026-11-05 14:55:06 +00:00
aiongg
0363b300ad
Conversation steps: review fixes (Act usage, frame safety, label swap, owner prefix, order rules, issue action name)
2026-11-05 01:51:26 +00:00
aiongg
fc31128041
Conversation cards: validate and run unlabel, reopen, open_issue, transfer, assign, request_reviewers, review and fixup steps
2026-11-05 01:44:51 +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
120b06dd9e
Fix issue: delete the claim comment when an attempt ends without a PR
2026-11-04 16:36:36 +00:00
aiongg
3a46d15288
Push outcomes: a new branch's baseline is the CI of its base commit
2026-11-04 13:50:59 +00:00
aiongg
b69e9fe290
Record the required-check outcome of every push of ours and trip a stage after repeated breakage
...
push_outcomes records the required-check result before and after each fix-up, conflict, CI fix and fix-issue push.
A push that turned the checks red makes the CI fix work on the pushed head first. A push stage pauses itself when
2 of its last 10 pushes broke a check; the merge path pauses when main CI turns red because of a merge of ours or a
post-merge review finds a defect. An operator resumes a stage with autocraft pipeline resume or the Pipeline page.
2026-11-04 12:44:29 +00:00
aiongg
6da40dba4e
Lint model patches before the push: store the fix-up and CI-fix patch, queue the lint task, collect it through a lint Plan action (fold format, retry with findings, requeue once)
2026-11-04 12:30:27 +00:00
aiongg
e2ddcd6ed3
Tighten six guard, usage, runner and dupe-group edge cases
...
Item and repo writes no longer accept a PR grant; a push refuses an ask or rerun grant. Claude steps write a usage row only when a call answered. The runner checks the group and claims the job in one transaction. A duplicate close computes a missing text hash and skips when the text changed. A batch PR with no members is not in scope. safe-merge refuses an empty --head.
2026-11-04 11:56:47 +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
3cea41a476
Guard item and repo writes: item gates, guardItem and guardRepo, every write takes a grant
2026-11-04 06:34:59 +00:00
aiongg
df653e52be
Guard PR writes: gates and guard, Guarded argument on merge, push, review, ask comment and CI run writes, merge pinned to the reviewed head
2026-11-04 06:25:21 +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
3a40fa36a1
Start every GitHub post with an AI note line added by the write wrapper
2026-11-04 03:29: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
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
2645b8aa14
Post-merge review stage: review merged PRs, file defects as follow-up issues
2026-11-03 23:14:52 +00:00
aiongg
2474c8ba88
Approve waiting CI runs of reviewed outside PRs
...
The checks job records Actions runs held for approval at reviewed heads; the queue shows them as ci-approval. A new ci-approve step approves them for repos an operator allowed, with a daily limit of 30 PRs.
2026-11-03 18:01:37 +00:00
aiongg
4dd4d93800
Rename remaining craft-auto names to autocraft (command, env vars, paths, key label)
2026-11-03 16:48:10 +00:00
aiongg
3a590404c9
Fix-up: repost an ask comment by editing the one we posted (craft-auto fixup repost)
2026-11-03 14:11:25 +00:00
aiongg
114e0f8c84
GitHub activity review fixes: allow-list visibility, owner in CLI merge rows, landed-after-error merges, scope gate for labelling steps, live UPDATE topic, wider write scan
2026-11-03 13:32:22 +00:00
aiongg
bf2e999458
Record each GitHub write before the call and finish the row after; unknown outcome for rows left started
2026-11-03 13:23:56 +00:00
aiongg
02ce593174
GitHub activity page: API, live topic, web page, docs, tests
2026-11-03 13:22:22 +00:00
aiongg
bd57674e5d
Route every GitHub write through src/github/write.ts, which records it; static test enforces the boundary
2026-11-03 13:19:07 +00:00