Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
277 commits
Select commit Hold shift + click to select a range
7ca1636
fix(backend): retire again every retired team VM paused before the fe…
lawrencecchen Oct 9, 2026
8f276ac
crash (assume_isolated): the off-main post in VideoMainDeliveryTests …
lawrencecchen Oct 9, 2026
45da8ca
cmux-next sidebar: red test, a pin dropped on Home goes after the bui…
lawrencecchen Oct 9, 2026
6ae33b0
cmux-next sidebar: a pin dropped in the top rows goes after the built…
lawrencecchen Oct 9, 2026
2b7137d
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
e5ad906
test(acpmux): a fork holds its turns' ends (red, cx-f4sk)
lawrencecchen Oct 9, 2026
3be3daf
test(optchat, acpmux): turns and compactor load no user settings, MCP…
lawrencecchen Oct 9, 2026
6662232
test(cmux-next): status icon sets and OSC 7501 blocked kind (red)
lawrencecchen Oct 9, 2026
ccb8f5c
fix: the folder picker's separator is an hr
teamleaderleo Oct 9, 2026
cb4e182
feat(cmux-next): status icon candidate sets with a live Debug switcher
lawrencecchen Oct 9, 2026
81f33da
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
d6e3a88
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
4aa642c
fix(optchat, acpmux): turns and compactor run with no user settings, …
lawrencecchen Oct 9, 2026
3ca7be3
feat(cmux-next): workspace groups look and work like Chrome tab group…
lawrencecchen Oct 9, 2026
2f55751
fix(acpmux): a fork copies its turns' starts and ends (cx-f4sk)
lawrencecchen Oct 9, 2026
60baee2
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
781b494
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
bf33fb1
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
4003894
fix(cmux-next): restore baseline checks and app FFI pin (#18563)
teamleaderleo Oct 9, 2026
0375892
test: Choose folder… survives WebKit's press blurring the folder field
teamleaderleo Oct 9, 2026
876b97f
fix: Choose folder… keeps the folder field's focus on press
teamleaderleo Oct 9, 2026
366c5cc
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
f37f2b2
crash: fonts on render threads are held per size and nil-checked; rat…
lawrencecchen Oct 9, 2026
5d33611
crash: fonts on render threads are held per size and nil-checked; rat…
lawrencecchen Oct 9, 2026
3f007f5
next: compact model picker, starred models on top, one harness on the…
teamleaderleo Oct 9, 2026
f5b29b1
crash ratchet: an enum case or member named unowned is not an unowned…
lawrencecchen Oct 9, 2026
dca9d8b
crash: ban MainActor.assumeIsolated without a main-proof (123 -> 0; H…
lawrencecchen Oct 9, 2026
b09688a
test(optchat): sessions without the user setting source keep the user…
lawrencecchen Oct 9, 2026
72a8cc2
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
ac1cd6c
fix(optchat): sessions without the user setting source keep the user'…
lawrencecchen Oct 9, 2026
1665ca3
style(optchat): rustfmt
lawrencecchen Oct 9, 2026
0a5d45d
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
27dedda
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
e295f50
fix(cmux-next): group editor landing-review fixes (pending edits whil…
lawrencecchen Oct 9, 2026
f0a43e1
test(optchat, acpmux): a turn offers an allowlist of built-in tools (…
lawrencecchen Oct 9, 2026
46c4b34
plans(cmux-next): team-vm lane note for the retired VM fence (cx-009a)
lawrencecchen Oct 9, 2026
45ca2f1
Merge remote-tracking branch 'origin/feat-cmux-next' into hq39-tvm-re…
lawrencecchen Oct 9, 2026
77ea60b
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
8456a18
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
6b109cb
Home text layout: property tests, random Markdown, runs that do not f…
lawrencecchen Oct 9, 2026
65db2f8
Home text layout: a run or line that does not fit its text is skipped…
lawrencecchen Oct 9, 2026
cc3a595
optchat-chief: red test, the last turn's cache mark is lost across a …
lawrencecchen Oct 9, 2026
92a3cfe
fix(optchat, acpmux): a turn offers only an allowlist of built-in tools
lawrencecchen Oct 9, 2026
5130e3f
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
5afc9b2
test(CmuxNextCloud): the Mac app registers a mac install at sign-in a…
lawrencecchen Oct 8, 2026
700640b
feat(cmux-next): the Mac app's Cloud install principal: registered at…
lawrencecchen Oct 8, 2026
2574acd
test(CmuxNextCloud): Mac install review findings: API Worker origin, …
lawrencecchen Oct 8, 2026
e3cb88f
fix(cmux-next): Mac install review findings (cx-wb5.64)
lawrencecchen Oct 8, 2026
2c30d22
test(CmuxNextCloud): sign-out revokes a stored install with nothing b…
lawrencecchen Oct 8, 2026
48725ec
optchat-chief: the last turn's cache mark is saved with the turn's me…
lawrencecchen Oct 9, 2026
f7ac181
fix(cmux-next): Mac install re-review findings (cx-wb5.64)
lawrencecchen Oct 8, 2026
1040ff8
fix(cmux-next): the API Worker URL literal is a reviewed crash-allow;…
lawrencecchen Oct 9, 2026
5a0112f
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
994a76c
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
c02710c
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
ef8692e
fix(cmux-next): make trust refusals one clear flow (#18731)
teamleaderleo Oct 9, 2026
afdfc19
CMUXMobileCore: protocol fuzz tests, input frames, sync frames, rende…
lawrencecchen Oct 9, 2026
65b24c6
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
75ed734
test(optchat, acpmux): --tools default is refused; an older acpmux dr…
lawrencecchen Oct 9, 2026
a6bfadb
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
f9d4ad4
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
3cf7134
Toast host: move toasts after an avoidance change on a main-actor tas…
lawrencecchen Oct 9, 2026
7717b47
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
cd3ee29
fix(nightly-next): wait up to 40m for notarization in the job (#18736)
teamleaderleo Oct 9, 2026
d11e877
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
3c5d157
test(cmux-tasks): a log write failure and a repeated positional flag …
lawrencecchen Oct 9, 2026
d2c5ec3
fix(cmux-tui): zero production panics in cmux-unix-socket, cmux-tasks…
lawrencecchen Oct 9, 2026
ee756d4
test(crash-ratchet): Rust cfg(all(test, ...)) modules are test code (…
lawrencecchen Oct 9, 2026
3d42d14
fix(crash-ratchet): cut Rust inline modules under cfg(all(..., test, …
lawrencecchen Oct 9, 2026
ccd555c
fix(optchat, acpmux): refuse --tools default; an older acpmux drops o…
lawrencecchen Oct 9, 2026
3cc0805
fix(cmux-tui): zero production panics in ghostty-vt, cmux-relay, cmux…
lawrencecchen Oct 9, 2026
d888edb
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
d2ae62f
CMUXMobileCore: a render grid frame past a 16-bit terminal size or 1M…
lawrencecchen Oct 9, 2026
f6e6777
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
09d2c71
cmux-next: red tests for the cmux Updated! card and Share cmux (cx-7py7)
lawrencecchen Oct 8, 2026
f1db3a4
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
7ddcb08
optchat-chief: test a marked subagent session passes acpmux's env all…
lawrencecchen Oct 9, 2026
9ca25d8
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
937ffbf
optchat-chief: test the subagent TTL comes from its directory's setti…
lawrencecchen Oct 9, 2026
625d79a
crash P1b red: MessagesLab pane controller read before install (traps…
lawrencecchen Oct 9, 2026
18e36da
crash P1b red: an unusable auth callback scheme traps at sign-in (Cmu…
lawrencecchen Oct 9, 2026
869f4ee
test(optchat): compactor asks Claude Code for the haiku alias; user e…
lawrencecchen Oct 9, 2026
3d7aeb3
plans: crash program status after phase 2 and the first phase 3 fuzz …
lawrencecchen Oct 9, 2026
11627b9
CMUXMobileCore: render grid limits match what Macs send; scrolled row…
lawrencecchen Oct 9, 2026
b3fd016
crash P1b: no force unwraps or IUOs in CmuxMessagesLab and the CmuxNe…
lawrencecchen Oct 9, 2026
a4f38ee
cmux-next: cmux Updated! card and Share cmux modal (cx-7py7)
lawrencecchen Oct 9, 2026
a44d9eb
optchat-chief: a marked subagent takes its TTL from its directory's s…
lawrencecchen Oct 9, 2026
3163f12
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
d4f6268
fixup: fuzz mutates one or two fields per frame so most frames reach …
lawrencecchen Oct 9, 2026
52112bf
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
e8a25ba
fix(optchat): Claude Code compactor uses the haiku alias; user env fi…
lawrencecchen Oct 9, 2026
cb5a130
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
b5b08db
fixup: decode floor 100 (about 210 of 6000 mutated inputs decode per …
lawrencecchen Oct 9, 2026
d592a1e
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
4f30fae
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
4b2e828
Merge remote-tracking branch 'origin/feat-cmux-next' into cx7py7-land
lawrencecchen Oct 9, 2026
30b9afa
test(acpmux): red: ACP Registry agents as harnesses, cmux harness reg…
lawrencecchen Oct 9, 2026
714e786
feat(acpmux): ACP Registry agents: installed ones are harnesses, cmux…
lawrencecchen Oct 9, 2026
62708f9
test(agent-brands): red: ACP Registry agent ids resolve to their bran…
lawrencecchen Oct 9, 2026
793bede
fix(agent-brands): github-copilot-cli (the ACP Registry id) shows the…
lawrencecchen Oct 9, 2026
7f3d500
test(acpmux): red: cmux harness login signs in through ACP authMethod…
lawrencecchen Oct 9, 2026
c2fd51f
feat(acpmux): cmux harness login: sign in to any ACP harness with its…
lawrencecchen Oct 9, 2026
dcfe161
test(acpmux): red: an installed Antigravity ACP server (agy_acp_serve…
lawrencecchen Oct 9, 2026
536375b
feat(acpmux): Antigravity harness: an installed agy_acp_server.par (c…
lawrencecchen Oct 9, 2026
e89e2c6
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
cd25c56
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-nx-dae…
lawrencecchen Oct 9, 2026
1254c38
Merge remote-tracking branch 'origin/feat-cmux-next' into nx-cef21-ff
lawrencecchen Oct 9, 2026
b92c4bd
release-notes: remote tab datalist suggestions and extension popups (…
lawrencecchen Oct 9, 2026
7551bfb
cmux-next: red test, the Updated card skips nightly updates (cx-7py7)
lawrencecchen Oct 9, 2026
f192553
release notes: plain cmux is this app's CLI in every terminal (cx-c59…
lawrencecchen Oct 9, 2026
8db7858
cmux-next: the Updated card shows only for stable and RC updates (cx-…
lawrencecchen Oct 9, 2026
beef0e0
test(backend): Mac grants from before the mac grant cap lose execute …
lawrencecchen Oct 9, 2026
1b5ee7d
fix(backend): drop execute once from Mac install grants made before t…
lawrencecchen Oct 9, 2026
f90a5ee
indicators: red tests, Symbols is the default status icon set (Lawren…
lawrencecchen Oct 9, 2026
84e23e0
indicators: Symbols is the default status icon set; Dots stays as the…
lawrencecchen Oct 9, 2026
fd3958f
agent-screen-detection: red tests for herdr 0.9.3 parity and the herd…
lawrencecchen Oct 9, 2026
f398656
agent-screen-detection: sync herdr 0.9.3 (2563803d) and keep it current
lawrencecchen Oct 9, 2026
3c65281
cmux-tui-core: red test, an OSC 7501 record that finishes posts one d…
lawrencecchen Oct 9, 2026
bb01b9c
cmux-tui-core: an OSC 7501 record that finishes posts one done notifi…
lawrencecchen Oct 9, 2026
eb52262
herdr-sync: red tests, whole-token patch edits, changed-file notice, …
lawrencecchen Oct 9, 2026
1806bd9
herdr-sync: patch edits match whole tokens and stamp a Manaflow chang…
lawrencecchen Oct 9, 2026
818b7f9
cmux-next: menus and composer pickers pick by press-drag-release (#18…
teamleaderleo Oct 9, 2026
e379160
test(spaces): scripted space.new gives the new space its own workspac…
lawrencecchen Oct 9, 2026
7a686d6
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
fe84519
package-test-lane: an unknown CMUX_SWIFT_SANITIZE is refused before a…
lawrencecchen Oct 9, 2026
0a02da2
package-test-lane: CMUX_SWIFT_SANITIZE=address|thread|undefined runs …
lawrencecchen Oct 9, 2026
03f2464
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
e3200d1
test(cmux-server-core): an identifier that does not quote must not pa…
lawrencecchen Oct 9, 2026
ed5b19c
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
d9f14c7
fix(cmux-tui): zero production panics in cmux-server-core, cmux-layou…
lawrencecchen Oct 9, 2026
a10946c
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
d81616c
test(backend): team_vm.retired.export downloads /srv/team of a fenced…
lawrencecchen Oct 9, 2026
c95666b
feat(backend): team_vm.retired.export streams /srv/team of a fenced r…
lawrencecchen Oct 9, 2026
fd87533
test(backend): a retired team VM's disk holds its newest writes; paus…
lawrencecchen Oct 9, 2026
b8a5add
fix(backend): retireVm syncs a running team VM before the fence; read…
lawrencecchen Oct 9, 2026
c2f9ab5
fix(backend): export download sends referrer-policy no-referrer; rebu…
lawrencecchen Oct 9, 2026
f04bb9d
test(app): every static URL literal and function-key character parses…
lawrencecchen Oct 9, 2026
04f3b90
fix(app): no force unwrap on static literals in CmuxNextApp (force_un…
lawrencecchen Oct 9, 2026
5e917dd
docs(cmux-next): OSC 7501 matrix records landed SHAs and live evidence
lawrencecchen Oct 9, 2026
9844fe0
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
dc64786
Merge remote-tracking branch 'origin/feat-cmux-next' into cx7py7-nightly
lawrencecchen Oct 9, 2026
8ac72b3
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
5f0363a
cmux-next composer: the folder popover's field reads as a menu row
lawrencecchen Oct 9, 2026
f0f8e8f
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
f19a517
test(home): my own send shows as typed at the press, after the echo a…
lawrencecchen Oct 9, 2026
c6e3063
optchat-chief: red tests, no request exceeds the API's 4 cache marks …
lawrencecchen Oct 9, 2026
b1beede
Merge remote-tracking branch 'origin/feat-cmux-next' into nx-folder-p…
lawrencecchen Oct 9, 2026
0767e1e
fix(home): a message is plain unless HomeMapping marks it Markdown (a…
lawrencecchen Oct 9, 2026
7050c28
fix(spaces): space.new shares one path that gives the new space its o…
lawrencecchen Oct 9, 2026
d8bf299
fix(cmux-next): group color dots are named by their theme slot, never…
lawrencecchen Oct 9, 2026
2dca7c1
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
5601a64
Merge remote-tracking branch 'origin/feat-cmux-next' into nx-cef21-ff
lawrencecchen Oct 9, 2026
da19045
crash: escaping tasks no longer outlive the owner of an unowned back-…
lawrencecchen Oct 9, 2026
484b8d1
notifications: red test, an OSC 7501 alert is recognized before its r…
lawrencecchen Oct 9, 2026
fb91126
notifications: an OSC 7501 alert waits up to 1.5 s for its record (ob…
lawrencecchen Oct 9, 2026
d71d796
notifications: red test, debug.notifications reports a banner's statu…
lawrencecchen Oct 9, 2026
6d76a43
notifications: debug.notifications reports each banner's status badge…
lawrencecchen Oct 9, 2026
d3efe2e
scripts: status-indicators-live.py, OSC 7501 and ACP status indicator…
lawrencecchen Oct 9, 2026
903d773
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
b363285
plans: mobile Rust core proposal (uniffi, cmux-mobile-core/net/ffi, s…
lawrencecchen Oct 9, 2026
5636f5e
optchat-chief: no request exceeds the API's 4 cache marks
lawrencecchen Oct 9, 2026
8bf6e37
test(cmux-tui-cdp): a poisoned lock must not panic the CDP client (red)
lawrencecchen Oct 9, 2026
54cfa6d
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
361597c
fix(cmux-tui-cdp): zero production panics; poisoned locks recover, re…
lawrencecchen Oct 9, 2026
5f83ac7
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
a2dd2c6
cmux-tui: bundled-CLI daemon test is its own test target
lawrencecchen Oct 9, 2026
3762fef
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-nx-dae…
lawrencecchen Oct 9, 2026
6caab28
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
4dcfa7a
test(home): the send-as-typed test reads the controller's optional st…
lawrencecchen Oct 9, 2026
1eba521
cmux-next: improve composer control hierarchy (#18485)
lawrencecchen Oct 9, 2026
a8735da
sidebar layout reducer: typed throws instead of preconditionFailure; …
lawrencecchen Oct 9, 2026
7a0660c
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
eeefbf4
cmux-next: pin app FFI release a10946c9823b (cx-gbzm)
lawrencecchen Oct 9, 2026
adb2c1b
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
8aa9f35
test(cmux-vm): a device's published IPv6 /128 opens UDP 4101 on the V…
lawrencecchen Oct 8, 2026
73ea7cb
feat(cmux-vm): per-device IPv6 /128 firewall rule for the direct path…
lawrencecchen Oct 8, 2026
cdd73cf
test(cmux-vm): address rule review findings (red, cx-wb5.45)
lawrencecchen Oct 8, 2026
84e13bb
fix(cmux-vm): address rule review findings (cx-wb5.45)
lawrencecchen Oct 8, 2026
352a8da
test(cmux-vm): address rule re-review findings (red, cx-wb5.45)
lawrencecchen Oct 8, 2026
34a4a4d
fix(cmux-vm): address rule re-review findings (cx-wb5.45)
lawrencecchen Oct 8, 2026
6805d09
docs(cmux-vm): mesh DESIGN status: 0006-0008 are on staging; device I…
lawrencecchen Oct 8, 2026
28b71d6
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
90a5c9c
chore(cmux-vm): 0009 matches the file applied on staging (contract he…
lawrencecchen Oct 9, 2026
4aba9d8
cmux-next model picker: a narrow icon rail and plain one-line rows
lawrencecchen Oct 9, 2026
c3147f7
Merge remote-tracking branch 'origin/feat-cmux-next' into nx-folder-p…
lawrencecchen Oct 9, 2026
82f52c7
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
60dcc9c
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
f640316
test(scripts): script session, daemon gate and CLI behavior tests (red)
lawrencecchen Oct 9, 2026
c275c0a
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
47d3414
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
c8fb501
fix(nightly-next): quote the recovery jobs' inline Python for bash (#…
teamleaderleo Oct 9, 2026
19018a9
cmux-tui-core apps mirror: an unknown scope is never granted without …
lawrencecchen Oct 9, 2026
4e92d71
cmux-tui-core apps mirror: is_elevated fails closed for an unknown sc…
lawrencecchen Oct 9, 2026
e2a75ad
New Tab: keep the suggestion list's height and scroll to the selectio…
teamleaderleo Oct 9, 2026
dcb1f5e
Composer: the context ring is disabled until usage is known (#18721)
teamleaderleo Oct 9, 2026
1b141e3
Context details split the agent's setup from the conversation (#18728)
teamleaderleo Oct 9, 2026
43572ee
Composer image chips open in the viewer and draw the image (#18738)
teamleaderleo Oct 9, 2026
e3ed010
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
dbeb64d
crash P1b: no IUOs in CmuxNextApp (cx-6so)
lawrencecchen Oct 9, 2026
98d9191
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
39c2a7c
optchat-chief: remove the idle spawn warm-up (subagents carry no mark…
lawrencecchen Oct 9, 2026
8bf8fe2
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
250125d
test: T3 rail model picker and location menus next to their control
lawrencecchen Oct 9, 2026
09e505f
feat(scripts): daemon-owned JavaScript script sessions and cmux scrip…
lawrencecchen Oct 9, 2026
a3e9b56
cmux-next: Tailwind in the agent pane; T3 rail model picker; location…
lawrencecchen Oct 9, 2026
abb1201
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
a72f550
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
c3ebdcc
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
5ad6bd6
Merge remote-tracking branch 'origin/feat-cmux-next' into nx-folder-p…
lawrencecchen Oct 9, 2026
3586f49
chore(agent-pane): regenerate strings.json after the tip merge
lawrencecchen Oct 9, 2026
15076ec
Merge remote-tracking branch 'origin/feat-cmux-next' into nx-folder-p…
lawrencecchen Oct 9, 2026
c382f7f
crash ratchet: index_subscript and int_conversion cases (red)
lawrencecchen Oct 9, 2026
ab50ec9
crash ratchet: index_subscript and int_conversion classes for backgro…
lawrencecchen Oct 9, 2026
d18991d
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
245ddeb
refactor(spaces): keep New Space's first-workspace step in RoomHandle…
lawrencecchen Oct 9, 2026
5a8c48f
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
27004c7
feat(release-rails): guard rails for agent-run cmux-next Cloud migrat…
lawrencecchen Oct 9, 2026
df5dff1
test(release-rails): strict-allowlist design after the third review (…
lawrencecchen Oct 9, 2026
5939769
feat(release-rails): strict-allowlist linter and the owner role as th…
lawrencecchen Oct 9, 2026
40a5e4e
chore(release-rails): land on a trunk that already has 0009
lawrencecchen Oct 9, 2026
1f69345
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
bd638b5
docs: establish web UI parity sources of truth (#18747)
teamleaderleo Oct 9, 2026
d21f784
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
43155c1
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
f97e91d
test(optchat): a compactor node returns before its slot's warm sessio…
lawrencecchen Oct 9, 2026
845ba26
ci(cmux-next): register CmuxInstallAuthCore in the CI target graph (#…
teamleaderleo Oct 9, 2026
e5bffcc
optchat-chief: red test, a report steered after the turn's last tool …
lawrencecchen Oct 9, 2026
19a12d8
Compact turn footer actions and add Fork (#18740)
teamleaderleo Oct 9, 2026
5c0e4e6
optchat-chief: a turn that Claude Code continues for a steered messag…
lawrencecchen Oct 9, 2026
8362b20
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
9bbb4c5
test: app FFI publish creates the tag with the FFI release App token
lawrencecchen Oct 9, 2026
f516b74
Merge remote-tracking branch 'origin/feat-cmux-next' into cx-gbzm-ffi…
lawrencecchen Oct 9, 2026
2dba648
ci: app FFI publish creates the tag with the FFI release App token
lawrencecchen Oct 9, 2026
8d1119f
fix(optchat): a compactor slot warms up after its node returns
lawrencecchen Oct 9, 2026
68338d2
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
16be4df
Merge remote-tracking branch 'origin/feat-cmux-next' into cx-gbzm-ffi…
lawrencecchen Oct 9, 2026
c0bf8c1
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
d48dee4
test(cmux-next): app FFI zip stamps the source commit time (cx-vqwl, …
lawrencecchen Oct 9, 2026
8bceca8
optchat-chief: test the done mark renames in the app's daemon, not th…
lawrencecchen Oct 9, 2026
82fa0c3
docs(cmux-next): code quality rules checklist for Swift, Rust, TypeSc…
lawrencecchen Oct 9, 2026
d38b906
ci(cmux-next): app FFI release stamps the source commit time (cx-vqwl)
lawrencecchen Oct 9, 2026
3d5ff91
cmux-next model picker: every row fills on hover; the star sits at th…
lawrencecchen Oct 9, 2026
9752606
crash P1b: no force unwraps in CmuxNextSettings (cx-6so)
lawrencecchen Oct 9, 2026
38ae18e
Merge remote-tracking branch 'origin/feat-cmux-next' into nx-folder-p…
lawrencecchen Oct 9, 2026
f6798c0
Merge remote-tracking branch 'origin/feat-cmux-next' into cx-vqwl-ffi…
lawrencecchen Oct 9, 2026
43f804a
Merge remote-tracking branch 'origin/feat-cmux-next' into crash-h3-land4
lawrencecchen Oct 9, 2026
a5b7ea1
optchat-chief: a subagent's done mark renames its workspace in the ap…
lawrencecchen Oct 9, 2026
431eb2d
Merge remote-tracking branch 'origin/feat-cmux-next' into feat-cmux-n…
lawrencecchen Oct 9, 2026
52ac077
Merge remote-tracking branch 'origin/feat-cmux-next' into cx-vqwl-ffi…
lawrencecchen Oct 9, 2026
5b7981c
Merge feat-cmux-next into next-composer-folder-move
teamleaderleo Oct 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
76 changes: 48 additions & 28 deletions .github/workflows/app-ffi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@
# ever points at an FFI tag. scripts/cmux-next/check-app-ffi-pin.sh fails CI
# when the FFI sources change without a new pin.
#
# UNPROVEN (2026-10-05): GITHUB_TOKEN got HTTP 403 creating the first tag
# (run 37272232472). The publish job therefore does not try when workflow
# files changed since the last FFI tag, and a person publishes from the
# artifact. Whether the token can create the tag after a source-only change
# has not been seen yet; the first real FFI source change proves or disproves it.
# TOKEN: GITHUB_TOKEN may not create a cmux-app-ffi-* tag (run 37272232472,
# HTTP 403): ruleset 24624526 admits only admins and the FFI release App
# (manaflow-cmux-ffi-release, used for nothing else). The publish job runs in
# the `ffi-release` environment (deployment policy: feat-cmux-next only),
# which holds the App's CMUX_FFI_RELEASE_APP_ID and CMUX_FFI_RELEASE_APP_KEY. It mints a token for this
# repository only, with contents:write, plus workflows:write only when workflow
# files changed since the last FFI tag, and only the release create uses it.
# Ruleset 24624527 keeps the tags immutable for everyone, the App included.
#
# FAIL-LOUD: the publish job never reports success without the release. When
# it cannot create it (workflow files changed, an HTTP 403, or a create that
# publishes nothing, as in run 37556534995), it fails with "Publish by hand"
# and the exact commands (HAND_PUBLISH). Publishing by hand, with its checks,
# is the only other path: docs/ci/app-ffi-release.md is the runbook.
# it cannot create it (no App token, an HTTP 403, or a create that publishes
# nothing, as in run 37556534995), it fails with "Publish by hand" and the
# exact commands (HAND_PUBLISH). Publishing by hand, with its checks, is the
# only other path: docs/ci/app-ffi-release.md is the runbook.
#
# The push paths are the FFI inputs that scripts/cmux-next/check-app-ffi-pin.sh
# derives from the Cargo path dependencies of cmux-app-ffi (--list-inputs);
Expand Down Expand Up @@ -70,10 +73,9 @@ jobs:
persist-credentials: false
fetch-depth: 0

# GITHUB_TOKEN may not create a tag whose commit range carries
# workflow-file changes (run 37272232472: HTTP 403 with contents:write).
# Measure the range from the last published FFI tag; the publish job
# skips with a notice when it touches .github/workflows.
# A tag whose commit range carries workflow-file changes needs a token
# with workflows:write. Measure the range from the last published FFI
# tag; the publish job asks the App for workflows:write only then.
- name: Workflow files changed since the last FFI release
id: workflow-delta
shell: bash
Expand Down Expand Up @@ -155,8 +157,10 @@ jobs:
"$smoke/smoke-arm64"
dist="$RUNNER_TEMP/dist"
rm -rf "$dist"; mkdir -p "$dist"
# Stable zip bytes for a rerun of the same build.
find "$xcf" -exec touch -t 198001010000 {} +
# Source commit time on every file and directory: stable zip bytes
# for a rerun of the same commit, and new header mtimes after a pin
# change so a warm tree rebuilds the Clang module (cx-vqwl).
bash scripts/cmux-next/stamp-app-ffi-mtimes.sh "$xcf" "$GITHUB_SHA"
(cd "$OUT" && ditto -c -k --keepParent CCmuxAppFFI.xcframework "$dist/CCmuxAppFFI.xcframework.zip")
archive="$dist/CCmuxAppFFI.xcframework.zip"
checksum="$(shasum -a 256 "$archive" | awk '{print $1}')"
Expand Down Expand Up @@ -300,8 +304,12 @@ jobs:
if: github.ref == 'refs/heads/feat-cmux-next' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
runs-on: ${{ github.repository_owner != 'manaflow-ai' && 'ubuntu-24.04' || vars.LINUX_RUNNER || 'blacksmith-4vcpu-ubuntu-2404' }}
timeout-minutes: 15
# Holds the FFI release App credentials; its deployment policy admits only
# feat-cmux-next. GITHUB_TOKEN stays read-only: the release create uses
# the App token below and nothing else does.
environment: ffi-release
permissions:
contents: write
contents: read
env:
# What a maintainer runs when this job cannot publish: download this
# run's artifact, check it, create the prerelease (never latest), then
Expand All @@ -322,19 +330,33 @@ jobs:
name: CCmuxAppFFI.xcframework
path: assets

- name: Workflow files changed, so publish by hand
# Exactly one of these two runs. The token is for this repository only.
- name: Mint release App token
id: app-token
if: needs.build.outputs.workflow_changed != 'true'
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
app-id: ${{ secrets.CMUX_FFI_RELEASE_APP_ID }}
private-key: ${{ secrets.CMUX_FFI_RELEASE_APP_KEY }}
owner: ${{ github.repository_owner }}
repositories: ${{ github.event.repository.name }}
permission-contents: write

- name: Mint release App token (workflow files changed)
id: app-token-workflows
if: needs.build.outputs.workflow_changed == 'true'
env:
TAG: ${{ needs.build.outputs.tag }}
shell: bash
run: |
echo "::error title=Publish by hand::Workflow files changed since the last FFI release, and GITHUB_TOKEN cannot create tag $TAG over them. Publish by hand: $HAND_PUBLISH"
exit 1
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
app-id: ${{ secrets.CMUX_FFI_RELEASE_APP_ID }}
private-key: ${{ secrets.CMUX_FFI_RELEASE_APP_KEY }}
owner: ${{ github.repository_owner }}
repositories: ${{ github.event.repository.name }}
permission-contents: write
permission-workflows: write

- name: Create the release (never overwrite)
if: needs.build.outputs.workflow_changed != 'true'
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ steps.app-token.outputs.token || steps.app-token-workflows.outputs.token }}
GH_REPO: ${{ github.repository }}
TAG: ${{ needs.build.outputs.tag }}
CHECKSUM: ${{ needs.build.outputs.checksum }}
Expand All @@ -358,13 +380,12 @@ jobs:
assets/CCmuxAppFFI.xcframework.zip.sha256 \
assets/SHA256SUMS assets/SOURCE_SHA \
--target "$GITHUB_SHA" --title "$TAG" --notes "$notes" --prerelease --latest=false; then
echo "::error title=Publish by hand::GITHUB_TOKEN could not create release $TAG (see the gh error above, for example HTTP 403). Publish by hand: $HAND_PUBLISH"
echo "::error title=Publish by hand::the release App token could not create release $TAG (see the gh error above, for example HTTP 403). Publish by hand: $HAND_PUBLISH"
exit 1
fi
echo "release: https://github.com/$GH_REPO/releases/tag/$TAG"

- name: The latest release is not an FFI tag
if: needs.build.outputs.workflow_changed != 'true'
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
Expand All @@ -379,7 +400,6 @@ jobs:
fi

- name: Anonymous download matches the checksum
if: needs.build.outputs.workflow_changed != 'true'
env:
GH_REPO: ${{ github.repository }}
TAG: ${{ needs.build.outputs.tag }}
Expand Down
41 changes: 39 additions & 2 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ jobs:
- name: Migration lint (parsed SQL) and lint tests
working-directory: backend/db
run: bun migrate.ts --lint && bun test test
- name: Release rails migration lint (expand-only, numbering, hash lock)
working-directory: scripts/cmux-next/release
run: bun install --frozen-lockfile && bun lint.ts --tree backend
- name: Migrations apply from zero (scratch Postgres)
working-directory: backend/db
env:
Expand Down Expand Up @@ -253,6 +256,8 @@ jobs:
fi
(cd backend && bun install --frozen-lockfile >/dev/null)
(cd backend/db && bun migrate.ts --lint) || errors=1
# Release rails: the hash lock and the previous head's files and lock entries (plans/cmux-next/release-rails.md).
(cd scripts/cmux-next/release && bun install --frozen-lockfile >/dev/null && bun lint.ts --tree backend --base "${BEFORE:-origin/feat-cmux-next}") || errors=1
exit "$errors"

deploy-staging:
Expand Down Expand Up @@ -290,12 +295,29 @@ jobs:
exit 1
fi
echo "$out"
- name: Deploy API Worker
# deploy-worker.sh records the serving version, deploys, smokes apps/api/release-smoke.json and
# runs `wrangler rollback` on red (plans/cmux-next/release-rails.md).
- name: Deploy API Worker (smoke, rollback on red)
id: deploy-api
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CMUX_NEXT_PG_MIGRATOR_URL: ${{ secrets.CMUX_NEXT_PG_MIGRATOR_URL }}
JWT_PRIVATE_JWK: ${{ secrets.JWT_PRIVATE_JWK }}
CMUX_RELEASE_CHANGED_SINCE: ${{ github.event.before }}
CMUX_RELEASE_VERIFY_STEP: "1"
run: bash scripts/deploy-worker.sh staging
# Separate step so it also runs when the deploy step failed, was cancelled or timed out.
- name: Smoke the API Worker; roll back on red
if: ${{ always() && steps.deploy-api.outcome != 'skipped' }}
working-directory: backend/apps/api
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: 0c1675e0def6de1ab3a50a4e17dc5656
BEFORE: ${{ github.event.before }}
run: >-
bun ../../../scripts/cmux-next/release/worker-release.ts verify --worker cmux-api-staging --url https://cloud-api-staging.cmux.dev
--routes release-smoke.json --previous-file "$RUNNER_TEMP/cmux-api-previous-version"
--changed-since "$BEFORE" --source-dir . --wrangler ./node_modules/.bin/wrangler
- name: Deploy dashboard (console-staging.cmux.dev)
working-directory: backend/apps/dashboard
env:
Expand Down Expand Up @@ -324,13 +346,28 @@ jobs:
with:
node-version: "24"
- run: bun install --frozen-lockfile
- name: Deploy API Worker (refuses if production lacks a migration)
- name: Deploy API Worker (refuses if production lacks a migration; smoke, rollback on red)
id: deploy-api
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CMUX_NEXT_PG_MIGRATOR_URL: ${{ secrets.CMUX_NEXT_PG_MIGRATOR_URL }}
JWT_PRIVATE_JWK: ${{ secrets.JWT_PRIVATE_JWK }}
CMUX_NEXT_DEPLOY_PRODUCTION: "1"
CMUX_RELEASE_CHANGED_SINCE: ${{ github.event.before }}
CMUX_RELEASE_VERIFY_STEP: "1"
run: bash scripts/deploy-worker.sh production
# Separate step so it also runs when the deploy step failed, was cancelled or timed out.
- name: Smoke the API Worker; roll back on red
if: ${{ always() && steps.deploy-api.outcome != 'skipped' }}
working-directory: backend/apps/api
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: 0c1675e0def6de1ab3a50a4e17dc5656
BEFORE: ${{ github.event.before }}
run: >-
bun ../../../scripts/cmux-next/release/worker-release.ts verify --worker cmux-api --url https://cloud-api.cmux.dev
--routes release-smoke.json --previous-file "$RUNNER_TEMP/cmux-api-previous-version"
--changed-since "$BEFORE" --source-dir . --wrangler ./node_modules/.bin/wrangler
- name: Deploy dashboard (console.cmux.dev)
working-directory: backend/apps/dashboard
env:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/cmux-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ on:
- Resources/Localizable.xcstrings
- web/**
- Resources/InfoPlist.xcstrings
- Resources/bin/**
- scripts/cmux-next/check-*.sh
- scripts/cmux-next/lib/**
- scripts/cmux-next/clear-stale-scheme-build-state.sh
Expand All @@ -105,6 +106,7 @@ on:
- scripts/cmux-next/pin-cmux-tui.sh
- scripts/cmux-next/request-nightly-next.sh
- scripts/cmux-next/tests/**
- scripts/cmux-next/herdr-sync.py
- scripts/cmux-next/bundle-ghostty-resources.sh
- Resources/ghostty/**
- Resources/terminfo-overlay/**
Expand Down Expand Up @@ -202,6 +204,7 @@ on:
- Resources/Localizable.xcstrings
- web/**
- Resources/InfoPlist.xcstrings
- Resources/bin/**
- scripts/cmux-next/check-*.sh
- scripts/cmux-next/lib/**
- scripts/cmux-next/clear-stale-scheme-build-state.sh
Expand All @@ -215,6 +218,7 @@ on:
- scripts/cmux-next/pin-cmux-tui.sh
- scripts/cmux-next/request-nightly-next.sh
- scripts/cmux-next/tests/**
- scripts/cmux-next/herdr-sync.py
- scripts/cmux-next/bundle-ghostty-resources.sh
- Resources/ghostty/**
- Resources/terminfo-overlay/**
Expand Down Expand Up @@ -722,6 +726,7 @@ jobs:
bash scripts/cmux-next/tests/embed-cef.test.sh
bash scripts/cmux-next/tests/check-app-ffi-pin.test.sh
bash scripts/cmux-next/tests/app-ffi-release-paths.test.sh
bash scripts/cmux-next/tests/stamp-app-ffi-mtimes.test.sh
bash scripts/cmux-next/tests/daemon-capabilities-fresh.test.sh
bash scripts/cmux-next/tests/crash-ratchet-tracked.test.sh
bash scripts/cmux-next/tests/crash-ratchet-v2.test.sh
Expand All @@ -743,6 +748,9 @@ jobs:
bash scripts/cmux-next/tests/rust-daemon-miss-builds.test.sh
bash scripts/cmux-next/tests/build-cmux-tui-client.test.sh
bash scripts/cmux-next/tests/cef-manifest-r2.test.sh
# The herdr-derived agent plugin's vendored manifests match their pin.
python3 -I scripts/cmux-next/herdr-sync.py check
python3 -I scripts/cmux-next/tests/test_herdr_sync.py
bash scripts/cef/tests/test-embedder-step.test.sh

# The app's Ghostty shell integration comes from ghostty-next (the
Expand Down
57 changes: 56 additions & 1 deletion .github/workflows/cmux-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
# feat-cmux-next deploys staging while cmux VM lands there first (Lawrence,
# 2026-10-07: "into feat-cmux-next is all we want rn, no main").
#
# deploy-staging refuses a commit whose migrations staging lacks (db-release.ts
# gate reads the database), records the serving version, deploys, smokes
# health and changed routes (release-smoke.json) and runs `wrangler rollback`
# to the recorded version on red (plans/cmux-next/release-rails.md).
#
# smoke-staging runs scripts/smoke.ts against the staging Worker after each
# staging deploy: create, exec, pause and delete by exact id on the test
# tenant. It needs the cmux-vm-staging environment variable
Expand Down Expand Up @@ -100,6 +105,21 @@ jobs:
- id: install
run: bun install --frozen-lockfile
# Every check below runs whenever install succeeded, so one run reports all failures.
- name: Migration lint (expand-only, schema cmux_vm only, numbering, hash lock)
if: ${{ !cancelled() }}
working-directory: scripts/cmux-next/release
env:
BASE: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
run: |
bun install --frozen-lockfile
# A new branch (all-zero BEFORE) lints against origin/feat-cmux-next; a base that cannot be fetched fails.
if [ -z "$BASE" ] || [[ "$BASE" =~ ^0+$ ]]; then
git fetch --quiet --no-tags --depth=1 origin feat-cmux-next || { echo "::error title=Migration lint::cannot fetch origin/feat-cmux-next"; exit 1; }
BASE="$(git rev-parse FETCH_HEAD)"
else
git fetch --quiet --no-tags --depth=1 origin "$BASE" || { echo "::error title=Migration lint::cannot fetch the base $BASE; refusing to lint without it"; exit 1; }
fi
bun lint.ts --tree cmux-vm --base "$BASE"
- name: Typecheck (includes compile-time proof misuse cases)
if: ${{ !cancelled() && steps.install.outcome == 'success' }}
run: bun run typecheck
Expand Down Expand Up @@ -274,7 +294,7 @@ jobs:
(github.event_name == 'workflow_dispatch' && inputs.action == 'deploy-staging')
needs: check
runs-on: ${{ github.repository_owner != 'manaflow-ai' && 'ubuntu-24.04' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository && 'blacksmith-4vcpu-ubuntu-2404' || vars.LINUX_RUNNER || 'blacksmith-4vcpu-ubuntu-2404' }}
timeout-minutes: 10
timeout-minutes: 25
environment: cmux-vm-staging
concurrency:
group: cmux-vm-deploy-staging
Expand Down Expand Up @@ -310,7 +330,27 @@ jobs:
node-version: "24"
- run: bun install --frozen-lockfile
if: steps.gate.outputs.enabled == 'true'
- name: Install the release rails
if: steps.gate.outputs.enabled == 'true'
working-directory: scripts/cmux-next/release
run: bun install --frozen-lockfile
# Deploy ordering (plans/cmux-next/release-rails.md): read the staging database and refuse a
# commit whose migrations are not applied there, before anything ships. On 2026-10-07 a push
# ran ahead of 0008 and every Stack webhook answered 503.
- name: Deploy ordering gate (staging has every migration this commit needs)
if: steps.gate.outputs.enabled == 'true'
working-directory: scripts/cmux-next/release
env:
CMUX_VM_DATABASE_URL: ${{ secrets.CMUX_VM_DATABASE_URL }}
run: bun db-release.ts gate --tree cmux-vm --target staging --url-env CMUX_VM_DATABASE_URL
- name: Record the serving version (the rollback target)
if: steps.gate.outputs.enabled == 'true'
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: bun ../../scripts/cmux-next/release/worker-release.ts previous --worker cmux-vm-staging --wrangler node_modules/.bin/wrangler --out "$RUNNER_TEMP/cmux-vm-previous-version"
- name: Deploy and set secrets
id: deploy
if: steps.gate.outputs.enabled == 'true'
env:
TARGET: staging
Expand All @@ -321,6 +361,21 @@ jobs:
CMUX_VM_STACK_SECRET_SERVER_KEY: ${{ secrets.CMUX_VM_STACK_SECRET_SERVER_KEY }}
CMUX_VM_DATABASE_URL: ${{ secrets.CMUX_VM_DATABASE_URL }}
run: bash scripts/deploy.sh
# Runs whenever the deploy step started, also when it failed half way (deploy.sh deploys, then
# sets secrets: a failed `secret bulk` leaves a version that answers 503 "not configured"), and
# on a cancel or timeout (always()).
- name: Smoke health and changed routes; roll back on red
if: ${{ always() && steps.gate.outputs.enabled == 'true' && steps.deploy.outcome != 'skipped' }}
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
URL: ${{ vars.CMUX_VM_STAGING_URL }}
BEFORE: ${{ github.event.before }}
run: >-
bun ../../scripts/cmux-next/release/worker-release.ts verify --worker cmux-vm-staging
--url "${URL:-https://vm-staging.cmux.dev}" --routes release-smoke.json
--previous-file "$RUNNER_TEMP/cmux-vm-previous-version" --changed-since "$BEFORE" --source-dir .
--wrangler node_modules/.bin/wrangler

smoke-staging:
if: >-
Expand Down
Loading
Loading