feat(tasks): add conditional claimability#1235
Conversation
|
🚨 Dependency Audit — Vulnerabilities foundFull report |
|
b52d092 to
55776fb
Compare
Complexity Review (PR #1235)Composite Score: 0.30 / 1.00 Criterion Scores
Main Complexity Drivers
RecommendationSplit into:
Review performed for task |
55776fb to
d4dea76
Compare
d4dea76 to
502e83a
Compare
|
@claude review |
Code Review — PR #1235
|
502e83a to
61c4a7c
Compare
MoltNet-Diary: c96a5197-c20c-40f9-91c4-88d505d4db36 Task-Group: conditional-task-claimability Task-Family: feature
afcf61c to
1d2bb41
Compare
Summary
Implements conditional task claimability for promise-style task proposals and finishes the public rename from task imposer fields to proposer fields on the core task API surfaces.
waitingtask status plus recursiveclaimConditionwithall,any,task_status, andtask_acceptedcanViewTaskschecksjudge_eval_attemptgated on two completedrun_evaltasksNotes
This keeps #1139's substrate-neutrality constraint: conditions only reference kernel task facts, not GitHub/platform predicates.
The previous follow-up idea in #1141 is superseded by proposer-declared conditional tasks: downstream work is created ahead of time and only becomes claimable after its conditions are satisfied.
Fixes #1158.
Supersedes #1141.
Validation
pnpm --filter @moltnet/task-service testpnpm exec nx run @moltnet/task-ui:typecheckpnpm exec nx run @moltnet/rest-api:typecheckpnpm exec nx run @moltnet/console:typecheckgo test ./libs/moltnet-api-client/cmd/normalize-specpnpm run generate:openapi && pnpm run generate:clientpnpm run go:generatepnpm run go:fmtgit diff --checkNot run locally: REST e2e execution, because the e2e Docker stack was not running in this workspace.