Repository navigation
feat(core): define task submission readiness projection - #2498
Merged
jackwener merged 1 commit intoAug 8, 2026
Merged
Conversation
16 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
English
Summary
First implementation slice of #2497 under the product roadmap #2469. This PR defines a shared, pure, scope-aware task-submission readiness contract in
@maka/core.It projects current authoritative inputs into:
ready,repair_required,unavailable, orunknown;Key behavior:
isConnectionReadyauthority;Refs #2497
Refs #2469
Verification
npm --workspace @maka/core run clean— passednpm --workspace @maka/core run build— passednode --test packages/core/dist/__tests__/task-submission-readiness.test.js— 6/6 passednpx biome checkon all changed files — passedgit diff --check— passedScope
This PR does not add persistence, IPC adapters, Desktop/CLI UI, or a new Health Center. Those remain separate reversible slices in #2497.
中文
概要
这是产品路线 #2469 下子任务 #2497 的第一个实现切片。本 PR 在
@maka/core中定义共享、纯函数、按任务能力范围判断的提交就绪契约。投影结果包括:
ready、repair_required、unavailable、unknown四种整体状态;关键行为:
isConnectionReady权威;关联 #2497
关联 #2469
验证
npm --workspace @maka/core run clean——通过npm --workspace @maka/core run build——通过node --test packages/core/dist/__tests__/task-submission-readiness.test.js——6/6 通过npx biome check——通过git diff --check——通过范围
本 PR 不包含持久化、IPC 适配、Desktop/CLI UI 或新的健康中心;这些将在 #2497 中以独立、可回退的切片继续交付。