Commit Graph
8 Commits
Author SHA1 Message Date
aiongg e8bffa8f39 Dashboard SQL on both dialects: decisions and needs builders take the handle, JSON idioms through portable helpers, index hints and NOCASE through helpers, RETURNING for new ids, test upserts 2026-11-21 18:53:18 +00:00
aiongg 20061c88d9 Apply async codemod: node scripts/codemod-async.ts over the program 2026-11-21 17:00:38 +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
David MannandClaude 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
David MannandClaude Opus 5.5 5547b2b77f MCP queue_pr for maintainers who answer decisions: a maintainer's answering token is offered queue_pr (not set_weight or cancel_queued) and the call takes the Queue items rule on the repo; the CLI's refusal line says who may approve merges
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:41:26 +01:00
aiongg d31e8386f3 Merge queue MCP tools: queue_pr and cancel_queued need an answering token and write access, audit rows carry via mcp, viewers get no batch summary, finished queue rows skip the queue page 2026-11-20 01:32:45 +00:00
David MannandClaude Opus 5.5 124ccab22c MCP queue tools: set_weight decides and writes with no await between; list_merge_queue leaves out every queue row and pages pre-approvals
set_weight checks the repo first and then adds or changes the weight in one synchronous step, so a queue_pr of the same item
meanwhile cannot keep its weight in place of the one asked for (the fast-track route keeps its old body). The pre-approvals
before review leave out a PR that is a queue row on any page, and page on with a two-part cursor `<offset>:<last id>`.
The demotion test changes the role under the same session after tools/list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:21:01 +01:00
David MannandClaude Opus 5.5 38c9988e3e MCP: an operator's agent queues, weights and withdraws merges with the Queue page's own handlers; any token reads the merge queue
queue_pr (Queue items: pre-approve at the head and fast-track with a weight), set_weight (change, add without approving, or remove)
and cancel_queued (withdraw a pre-approved merge) are offered while the token's login is an operator, checked again on every call;
list_merge_queue (the Merge tab, plus pre-approvals not yet in it) is offered to every token. The fast-track add route takes a weight.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:02:35 +01:00