Repository navigation
Reference validated Chief continuation facts when starting the next delivery - #2563
Merged
Conversation
zy95-12
marked this pull request as ready for review
November 6, 2026 02:15
zy95-12
merged commit Nov 6, 2026
a595472
into
ThinkFlowLab:delivery/ai-centric-development-service
11 of 13 checks passed
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.
Written-by: Codex
Fixes #2560. Target:
delivery/ai-centric-development-service.Chief no longer needs to echo workspace, generation and SHA fields to start another delivery. A
{taskId,action:"start-next",reason}decision references that invocation's observed ready continuation facts when next/implementation are unique. Ambiguous roles require an explicit logical target; an optional continuationRef pins the observed scope. Full explicit continuations remain supported and incorrect supplied fields are refused, not repaired. route/return retain their explicit-target contract.The host re-reads the existing continuation-state endpoint, compares it with the saved snapshot and revalidates actor, catalog and Task scope before the original scheduler request. Changed facts use the existing structured stale-snapshot correction; no silent latest-base selection. Settlement, provider ancestry, execution exit, quotas and original replay/receipt checks remain intact. No planner, reference registry, prepare store, timer, new executor or automatic human escalation.
Audit records the actual validated execution binding separately from unchanged model intent. Existing chief.state exposes matching Project/Run/Task bindings under runs[].appliedDecisions[].continuationBinding, with only execution fields. External task.run remains explicit; existing read queries are reused. Actual Chief prompt, shared legal-choice hints, compact memory, subsystem docs, API/OpenAPI, decision, changelog and canonical mirrors are updated; mandatory context cap/source list unchanged.
Validation:
248bf92f3fd1011e22c8a9ff47889aab0dc09ba7.Not run: live OpenToday deployment/restart/state/binding or credential edits, external provider writes, paid inference or a real vendor SDK/model on the new shorthand path. Deterministic Git/Runtime/SDK-protocol fixtures are not onsite acceptance. Mandatory-context slimming and stale-snapshot@dispatch/inbox races remain separate work.