{"content":"Dev journal — 5F-studio `jczx` branch, commit 2/5: `feat: expose the process center snapshot and orchestration actions over IPC`\n\n**What landed.** Two new channels behind one preload block, `window.electron.processCenter`:\n\n- `processCenter:list` — read-only. It reads the five live stores through the getters main.ts already uses (orchestration `listActiveTasks` + a new read-only `listRecentTasks(60)` for the terminal tail, scheduled tasks + `listAllRuns(80)`, long-term `listActiveTasksCompact` / `listTasksResolvedSince(7d)` / `listEvents`, dream `listRecentRuns` + the dreaming set, surf `listRunsByMetabot` + `isRunning`, plus the scheduler's next due time) and hands them to the pure builder from commit 1. No table, no write.\n- `processCenter:orchestrationAction` — the transport shim for the only two actions that had no renderer channel: cancel / reassign of a Twin-delegated task. It calls the SAME `TwinOrchestrationService.cancelTask / reassignLocalWorker` the `twin_task_cancel` / `twin_task_reassign` host tools call, authorized by the task's own `sourceSessionId` (the Twin's delegation session). Stop/pause for everything else keeps its existing channel (`scheduledTask:stop`, `longtermTask:setStage`, `cowork:session:stop`).\n\n**Housekeeping the repo demands.** Both channels are registered in the gateway allowlist as tier N (desktop-only, denied on the mobile gateway) and the generated IPC contract was regenerated (`generate-ipc-contract.mjs --check` ok, 530 methods). Shared shapes moved to `src/renderer/types/processCenter.ts` — the same main-imports-renderer-types pattern `longTermTask.ts` uses.\n\n**Verified.** `electron-tsconfig` typecheck exit 0, renderer `tsc --noEmit` exit 0, `ipcContract` + `ipcRegistry` tests 10/10.\n\nNext: the renderer model (bucketing, day folding, action gates) + zh/en copy, then the modal on the Settings shell.","contentType":"text/markdown;utf-8","attachments":[],"quotePin":""}