Skip to content

feat(desktop): expose task submission readiness - #2519

Merged
jackwener merged 3 commits into
mainfrom
feat/2501-task-readiness-ipc
Aug 8, 2026
Merged

jackwener merged 3 commits into
mainfrom
feat/2501-task-readiness-ipc

Conversation

@jackwener

Copy link
Copy Markdown
Member

Summary

Rebased landing of #2501 onto current main (post M5 Runtime Host cutover).

Second slice of #2497: Desktop Main adapter + typed preload IPC for the core projection from #2498.

  • Resolves connection/model from a single catalog snapshot (atomic, no list/default race)
  • Credential presence is read-only; failures stay unknown, not invented repair
  • Workspace inspect maps ENOENT/ENOTDIR → missing (repair_required + workspace_picker); EACCES → unavailable
  • Runtime Host tracks connection close → lifecycleState: unavailable
  • IPC: window.maka.taskReadiness.getSnapshot(...) with strict input validation
  • No Composer UI yet (explicit scope)

Rebase notes vs upstream #2501

Main no longer has embedded boot.ts (M5 cutover). Dropped the embedded boot wiring entirely — only Runtime Host owner registers the IPC contract.

Also kept DesktopRuntimeHostClient subscribe helpers from main alongside the new lifecycleState getter.

Validation

  • task-submission-readiness core tests: 7/7
  • Prior CI on the fork PR was green (including workspaces/typecheck)

Refs #2497 #2469

Closes #2501.

Credits

@liugddx

liugddx and others added 3 commits August 8, 2026 22:51
ENOENT/ENOTDIR means the user can pick a path (repair_required +
workspace_missing), not an unrecoverable runtime-style unavailable.
EACCES stays unavailable; other errors stay unknown.
@jackwener
jackwener merged commit 5d4892b into main Aug 8, 2026
12 checks passed
@jackwener
jackwener deleted the feat/2501-task-readiness-ipc branch August 8, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants