Slice 4 hardening: bounded resolver, terminal states, reconciliation #21
Reference in New Issue
Block a user
No description provided.
Delete Branch "t3code/review-slices-sandbox-next"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes review findings on the Slices 2-4 work so Slice 5 can build on a sound resolver contract.
Resolver primitives
resolveOutcomedecides retry-within-budget vs terminal; removed the no-opisTerminalClassification.WORK_STATUS_FOR_OUTCOMEpreserves the real terminal Work status instead of collapsing everything back toready.completedis terminal,cancelledreopens only toready, invalid reopenings removed.Execution
finishAttemptreplacescompleteAttempt: auto-retries within the kit budget and settles Work at the real classification (Succeeded->completed,PermanentFailure/BudgetExhausted->failed,NeedsInput->needs-input,Blocked->blocked).startSimulatedExecutionvalidatessliceIdagainst the approved Design and advances slice status.retrySimulatedExecutionis now an explicit, guarded restart.reconcileExpiredAttemptsis bounded;crons.tssweeps every 30s.Planning
saveDefinition/saveDesignreject revision during execution.submitQuestionpersists durable questions; design revision invalidates approvals.Verification
Primitives 69 tests (+4); backend 22 tests (+10). Root typecheck, web+agents build, and Ultracite gate pass.