Commit Graph

139 Commits

Author SHA1 Message Date
Dash
d8eccc3718 docs(host): regenerate channel coverage after merging main
Counts are unchanged (1456 channels, unresolved 0); only the recorded source commit moves.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 13:15:19 +13:00
Dash
5be347998e docs(host): record that the usage sampling called real models
The earlier sampling note said the host-usage sandbox ran on account-free
local data. It did not: the sandbox inherited this machine's Codex and
Claude Code CLI logins, so both "send once" steps ran real Codex turns and
a first-launch companion greeting ran Claude. Record the models, token
counts and the inheritance path, and note that the launch environment was
not checked at the time.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 11:01:58 +13:00
Dash
adc368a4b3 fix(host): preserve code values in coverage tables
Encode special code values as HTML entities so backslash-pipe pairs cannot split GFM table cells. Keep ordinary code spans and verify the production Markdown through the GFM parser.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 10:54:49 +13:00
Dash
d955adc852 fix(host): keep usage tour to page navigation
Remove the implicit composer submission: isolated profiles and --mock do not prevent configured real models from executing. Preserve historical sampling evidence with its scope stated.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 10:12:25 +13:00
Dash
c2201a0684 fix(host): resolve templated contract channels and fail on unresolved names
The coverage scanner only read literal desktopChannel values, so the eight
browser-backend:* entries that #9991 builds with
Object.entries(HOST_BROWSER_SETTINGS_ACTIONS).map(([action]) => `browser-backend:${action}`)
were silently skipped and listed as B (window-local) although client mode
proxies them to the Host.

- Resolve the key of Object.entries(X)/Object.keys(X) iteration callbacks
  from X's declared properties.
- Any contract-side channel name the scanner cannot resolve now fails
  generation instead of disappearing; the delegation table's
  HOST_CONTRACT_CHANNELS.map((def) => def.desktopChannel) is recognised as a
  pass-through of names already read from the contract file.
- Lift the constant resolver into createConstResolver so tests exercise the
  real code on the real contract file.

Reclassified (B -> contract): browser-backend:get-state, set-kind,
set-use-real-profile, reset, get-health, recover, probe-source-read,
open-extension-store. Contract 67 -> 75, B 361 -> 353, window class
386 -> 378 (registered 372 -> 364). Host work stays 985.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 09:41:29 +13:00
Dash
291a649254 fix(host): normalize scanner paths on Windows and refresh coverage
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 09:17:59 +13:00
Dash
270eea0cab Merge remote-tracking branch 'origin/main' into cindy/host-channel-coverage 2026-11-12 09:14:44 +13:00
Dash
109127d596 docs(host): 重新生成通道清单(措辞改为“用户填写的值”)
只改 C-专项设计的说明文字,各通道归属与计数不变。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 08:51:58 +13:00
Dash
13ad706f87 test(host): 同步通道领域加断言,措辞改为“用户填写的值”
SYNC_LOCAL_DOMAINS 按 A 规则的领域名判定同步通道是否本地读。新增断言:
其中每个领域都必须是某条 A 规则的 reason,并核对设置与账号提示两类同步
通道的判定和文案,领域改名时测试直接失败,不会静默改判。

计划文档同步 1041669c7a 的改判:扫描计入参数默认值后,唯一改判的通道是
git-review:open-file,A(git 与工作树)→ C-两段式(openReviewFile 第 4 个
参数默认值是 shell.openPath)。A 918 → 917,C-两段式 40 → 41,C 87 → 88,
990 不变;巡检 133 个(722 次)不变。两份证据仍是旧格式计数报告,没有重录,
按记录的 kind 读取;唯一同名的 ghosts:workdir-prefs 在两份证据里都没有调用。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 08:51:26 +13:00
Dash
dadb8229a0 docs(host): 更新通道类型排行和窗口依赖清单
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 08:45:33 +13:00
Dash
8bb498e62e fix(host): revoke pending browser operations when their backend is disposed
Share one abort signal across each backend generation's actions and probes, abort it before executor cleanup, and reject late successes after cancellation. Document lifecycle invariants and the event/state matrix; cover cancellation before and after wake, disconnected/frozen executors, actions and probes.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 07:03:55 +13:00
Dash
c39de3e3a8 fix(host): dispose embedded browser resources on the execution client
Forward explicit backend disposal to the client that executed its operations. Rebuild the Desktop backend only after disposal drains, retain it across transport reconnects, and never send stale cleanup into a replacement window.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 06:33:51 +13:00
Dash
f9ac9dfc85 docs(host): 更正窗口类数字(386 个,客户端模式已注册 372)
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:42:10 +13:00
Dash
1ea501bc86 docs(host): 重新生成通道清单(登录首帧提示归 S·本地)
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:41:51 +13:00
Dash
542a420b18 docs(host): 登录首帧提示的同步通道归 S·本地
auth:has-persisted-session-hint-sync 只同步读 profile 目录里有没有存量会话标记,
用来在第一帧之前决定是否启用亮色门;这时事件流还没连上,Host 推的镜像赶不上,
同一台电脑上窗口读同一份 profile 就能回答。登录状态本身仍以 Host 为准。
“账号与凭据”加回本地读取的领域:S·本地 8、S·镜像 6(全是 ghosts:*),
要 Host 做的总数不变。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:41:36 +13:00
Dash
eb7f6efae6 docs(host): 在合并最新 main 后的 head 上重新生成通道清单
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:26:40 +13:00
Dash
edfa5aff6a docs(host): 合并 main 后更新第 0 批数字(新增 appearance-settings:plugin-font)
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:26:19 +13:00
Dash
c9a3ced794 docs(host): 重新生成通道清单(同步、回执与 C 细分)
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:24:09 +13:00
Dash
8599e2d25d docs(host): 清单单列同步与回执通道,C 类按处理方式细分,给出要 Host 做的总数
- S 同步通道(AST 识别给 event.returnValue 赋值的处理函数,14 个)从 A 中单列:
  S·本地 7(界面设置,窗口本地读 profile)、S·镜像 7(6 个 ghosts:* 与登录提示,
  数据归 Host,需窗口缓存镜像或改界面为异步,放进插件那一小批单独设计)。
- R 回执通道 6 个(model-favorites:host-*、setup-migration:host-*、
  app-preferences:reply):主进程向界面要数据,先标出、不排期。
- C 按审查定的四种细分:C-后台 32、C-两段式 39、C-窗口本地 11、C-专项设计 4。
- update-relaunch:* 归 A 的“升级与交接”领域,注明归交接任务。
- 总口径:真正要 Host 做的 = A + C-后台 + C-两段式 = 918 + 32 + 39 = 989,巡检实际
  调用 133 个;窗口类 385 个中客户端模式已注册 371、未注册 12。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:23:52 +13:00
Dash
e07929d610 docs(host): 在合并 main 后的 head 上重新生成通道清单
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:16:07 +13:00
Dash
09a161d11c docs(host): 清单区分窗口本地设置与客户端模式下未注册的窗口通道
- update-relaunch:blocking-* 问的是“重启会打断哪些任务”,是 Host 持有的运行状态,
  从窗口类移到 A,并在计划里记为归升级与交接流程的剩余项。
- 新增 W 类“窗口本地设置(含同步通道)”:侧栏设置与项目顺序,以及给
  event.returnValue 赋值的同步通道(属于设置、账号提示或未登记前缀)。同步通道走
  异步 HTTP 只会阻塞主进程,由窗口本地读同一份 profile;其它后台领域的同步读取仍是
  A,注明需 Host 预取后本地回放。
- 给出三个数:窗口类且客户端模式已注册 361、未注册 12(电脑控制与浏览器,未实现)、
  真正要 Host 接的 A 930。
- 生成的清单只写文件不写行号(行号留在 --json),避免一合并就过期。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 03:03:02 +13:00
Dash
462c16045f docs(host): 通道清单按 A/B/C 归属分类并核对 B 类在客户端模式的行为
清单脚本给每个未代理通道标归属:A 必须由后台处理、B 永久留在窗口、C 待定(写明
原因)。判定写在脚本的 OWNERSHIP_RULES(通道名/注册模块)里,再加依赖判定:处理
函数及其调用的两层桌面函数用到窗口 API 时,后台领域改判 C;发送方校验与发给单个
窗口的推送不计。结果:A 941、B 363、C 87;夹具巡检实际调用 A 144 个(782 次)。

调用计数报告附带写入时的主进程处理者快照(仅源码运行且设了 CINDY_IPC_USAGE_FILE),
对照客户端模式登录页与普通模式巡检两份快照:B 类 347 个窗口本地照常处理,14 个在
客户端模式被误拒(电脑控制与浏览器状态等),只记录、不改行为。巡检脚本改为按无查询
参数的地址识别主窗口。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 02:54:28 +13:00
Dash
dc32b12ade fix(host): preserve desktop startup and close handoff review gaps
Keep platform imports and Electron monitor access at the original desktop lifecycle points. Preserve extension wake failures and settle stale-owner relays. Keep sidebar operations at their canonical source path.

Bind native session cleanup to its executing client, close platform transports before runtime shutdown, and route trusted browser settings to the Host executor.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 02:49:47 +13:00
Dash
6e11d2dc35 feat(host): separate background lifecycle and desktop platform execution
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 02:14:03 +13:00
Dash
664d86d4bd docs(host): 生成桌面 IPC 通道的 Host 覆盖清单与真实使用排行
scripts/host-channel-coverage.mjs 用 TypeScript 类型检查器解析桌面主进程全部
ipcMain 注册(含常量、模板、循环与包装函数),按“已在合同 / 客户端自有 /
只属于窗口 / Host 还没接”分类,生成 docs/host/channel-coverage.md。
host-client-usage-tour.mjs 在隔离 --mock 沙箱里走一遍界面夹具,调用计数存为
docs/host/evidence/channel-usage-mock-tour.json,清单按它给未接通道排序。

当前:1454 个通道,合同 61、窗口 362、Host 未接 1029;夹具巡检实际调用 253 个,
其中 150 个 Host 还没接。

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-12 02:06:34 +13:00
Dash
4da7ffb82b fix(host): require durable startup markers before provider execution
Propagate Host marker failures from the production SQLite writer while preserving best-effort Desktop markers. Regress with a real SQLite failure, update moved authority guards to the shared steer transaction, and use a platform temp directory in Host interaction tests.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 23:15:26 +13:00
Dash
fda815f334 Merge origin/main into cindy/loyal-bohr
Sync main at 83ebe1811d without conflicts. Record shared Host send, steer and attachment validation on the merged tree; keep remote attachments and remaining launcher services explicitly deferred.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 22:35:48 +13:00
Dash
0a9ed3e0ec refactor(host): share device-link API routing through launcher ports
Preserve Desktop endpoint, relay credential and encrypted directory rules. Keep asynchronous preparation checks while replacing dynamic module reads with statically assembled dependencies. Verify Node routing through the shared server API; Host production routing remains unchanged.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 22:20:59 +13:00
Dash
6bc76eb05a refactor(host): share media transfer behind launcher ports
Keep Desktop network stacks, relay routing, integrity checks and transport preferences unchanged. Add a real Node execution boundary check; Host remote attachments remain unsupported pending routing and owner assembly.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 22:10:28 +13:00
Dash
4d7eea74d9 docs(host): record attachment review and failed-close retention
Preserve temporary inputs until runtime closure is confirmed. Record producer address contracts, legacy cache ownership limits and the independent isolated race probes.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 22:00:00 +13:00
Dash
3eb486ea64 feat(host): normalize local attachments through shared queue services
Bind media ingestion and rollback to the originating account. Reuse queued attachment ownership for edits, persistence, and cancellation; keep shared blob bytes until the Host recycler is connected. Separate owner-runtime temporary roots with a shared process liveness identity.

Validate queue and native Codex image/file delivery with isolated files and SQLite. Remote attachment transport remains explicitly unsupported; desktop production code is unchanged.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 21:51:02 +13:00
Dash
97f3227467 Merge main into cindy/loyal-bohr
Preserve shared Host send, steer and attachment boundaries alongside main history-action and transient-close updates. Validated 1400 desktop cases, 219 Host cases, both typechecks and isolated native Codex flows.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 21:20:04 +13:00
Dash
485cc4188a refactor(attachments): capture operation-bound IO for Host wiring
Keep desktop assembly behavior unchanged while retaining captured media and cleanup dependencies across account switches.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 21:15:21 +13:00
Dash
b9e6dbf724 refactor(attachments): isolate normalization launcher dependencies
Keep the existing normalization body in its original module and expose a per-launcher factory. Bind Desktop temp paths, cache, blob ingestion, ledger and remote transport in a single desktop assembly with deferred dependency reads. Preserve all attachment normalization, temporary-owner and cleanup algorithms.

Verified 38 existing Desktop attachment tests without changed assertions, Desktop and Host typechecks, Host 219 tests and actual Node loading. Static closure has no Electron or desktop modules; nine main evaluation-order positions shift because three pure attachment modules load after transport. Host attachment wiring is pending.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 20:53:29 +13:00
Dash
d65bac1799 fix(host): keep Pi entry linking failures non-fatal
Catch optional Pi metadata writes within the existing persistence FIFO so a failed transcript link cannot pause reply persistence or later inputs. Keep owner checks and required message persistence recovery unchanged.

Regression reproduces SQLITE_BUSY after acceptance, verifies normal replies and the next input, and covers missing rows. Host 219 tests, Host typecheck, docs and test hygiene pass; Desktop and shared packages unchanged.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 20:45:28 +13:00
Dash
127e918723 feat(host): connect clear rollback and Pi retry recovery
Wire the shared clear-race rollback into the send transaction and coordinator, bind media cleanup to the initiating account, and publish the existing deletion event only to that account. Link accepted Pi transcript entries through the existing durable queue and reuse visible native entry ids for explicit retry.

Verified Host 217 tests, 325 existing Desktop message/send tests, both typechecks and isolated native Codex send/steer/stop with a synthetic upstream. Added real SQLite rollback, discard, owner-switch and Pi metadata assertions plus a queue retry case. Full attachments, archive recovery and engine switching remain pending.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 20:35:25 +13:00
Dash
ffafa31c82 refactor(host): use the shared steer transaction
Route Host steering through the desktop transaction and share send/steer note memory. Preserve protected question flags and message UUIDs, restore history through the existing port, and validate owner, input and turn identity before provider delivery. Keep Desktop runtime behavior unchanged.

Verify Host 212 tests, both launcher typechecks and isolated native Codex send/steer/stop with a synthetic upstream. Reject stale App context without delivery, persistence or consumption. Full bootstrap, media normalization and engine switching remain follow-up work.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 20:16:19 +13:00
Dash
7f346649be refactor(host): extract the shared desktop steer transaction
Keep Desktop admission and clear-generation checks in its launcher and
move accepted-steer delivery into a typed factory. Preserve the original
body apart from the two launcher ports and the nullable locale guard.
Defer launcher callbacks to retain initialization timing. Keep note
consumption, authorization and dispatch metadata on the same path.

Use the actual factory in existing Goal tests and retain their assertions.
Desktop 339 focused tests and typecheck pass; Node loading passes.
Host assembly follows in a separate checkpoint.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 20:05:23 +13:00
Dash
19327ee93f fix(web): keep interrupted input receipts out of agent events
Explicitly consume transport receipts in the browser shim. Preserve queue
projections and subsequent real model events. Extend the existing bundled
shim event test; reproduced before the fix and passed after it.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 19:58:15 +13:00
Dash
db0b8c9e57 fix(host): close chat streams after silent provider abort
Some providers settle abort and become idle without emitting done.
After the Host turn drains persistence, publish an interrupted input
receipt so its SSE stream ends without inventing a successful result.
Keep correlation by exact input id and suppress old-owner/shutdown
receipts. Failed abort and pending persistence do not close the stream.

Extend existing stop ordering coverage and add a transport regression,
both failing before the fix. Host 208 tests, Host types, docs and test
hygiene pass. Isolated native Codex smoke now completes send, persisted
reply/UUID, steer, runtime reopen and stop with a synthetic upstream.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 19:46:48 +13:00
Dash
beb94e221a fix(host): retain queued per-message Plan intent
Match Desktop by preserving every input's enqueue-time Plan snapshot
while reconciling its other settings from the task. Do not apply that
snapshot to an existing runtime's armed Plan state. Cold bootstrap
still reconciles the task state on the shared transaction's copy.

Cover both toggle directions with live and cold runtimes. Add history
round-trip coverage using receipts actually persisted by Host.

Host 207 tests, typecheck, docs and hygiene pass. Native smoke revealed
a separate SSE stop-settlement timeout; recorded as unresolved here.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 19:42:29 +13:00
Dash
0b32cd7176 refactor(host): restore authorization with shared desktop history
Honor the approved Desktop parity contract for ordinary, scheduled,
delegated and MCP App turns. External input remains context, not new
user consent. Drain Host history persistence before reading authorization
and guard steer against account, cancellation and turn replacement.

Move the existing history reader unchanged to a Node-loadable module
and preserve the Desktop export. Intentionally replace the Host-only
empty-history assertion; keep source and delegated receipt assertions.

Validation: Host 204 tests, Desktop 427 focused tests, both typechecks,
native Codex isolated send/steer/stop with synthetic local upstream,
documentation contract and test hygiene. No real-account or packaged
runtime validation claimed.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 19:27:38 +13:00
Dash
27b4a6eb7d refactor(host): use current task settings for queued execution
Align Host with Desktop as requested: picker changes are already persisted, so queued inputs now use the latest task model and permission settings. Intentionally update the old per-input precedence assertions. Share the original DB reconciliation and preserve Desktop behavior.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 19:20:34 +13:00
Dash
b75adc4b38 refactor(host): route task sends through the shared transaction
Preserve desktop dispatch behavior, input settings and the existing authorization boundary. Bind refreshed runtimes to the current input and durably mark Host turns before provider startup.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 15:30:11 +13:00
Dash
621ad3d4b0 refactor(host): inject desktop context into shared send transaction
Keep locale, classical style and MCP App context owned by each launcher. Preserve desktop behavior and verify that the shared transaction loads in Node.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 14:34:18 +13:00
Dash
a78825caf0 docs(host): record post-merge isolated acceptance results
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 08:20:31 +13:00
Dash
bced503142 fix(desktop): keep isolated acceptance from claiming protocol handlers
Refresh account and media fixture boundaries; record packaged and Host acceptance evidence.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 08:16:11 +13:00
Dash
5246c47588 ci(host): typecheck the Host and document the shared-code convention
- host-regressions now also runs `pnpm --filter @cindy/host typecheck` once (on
  Linux; types are platform independent) inside the change-selected job that
  verify already requires. A shared desktop body that gains a port wired only
  in the desktop assembly passes the desktop checks but is caught here instead
  of at runtime in the Host.
- architecture-invariants §5 records the convention for bodies shared by the
  desktop and the Node Host: no direct Electron dependency, desktop assembly
  in *.desktop.ts, factory port injection, wire a new dependency into both
  launchers, run the Host test and typecheck. AGENTS.md and the dev-rules
  README point to it.
- headless-runtime-plan.md: the merged batches no longer say "local,
  unpublished".

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-11 00:09:46 +13:00
Dash
74a5f237dd docs(host): record desktop publication verification and limits
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 15:32:55 +13:00
Dash
883fca865f fix(desktop): preserve startup and OAuth evaluation order
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
2026-11-10 15:23:45 +13:00