Conversation
Signed-off-by: song <liusongstep@gmail.com>
Signed-off-by: song <liusongstep@gmail.com>
Signed-off-by: song <liusongstep@gmail.com>
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.
Goal And Delivered Outcome
Introduce an explicitly invoked Codex experiment whose completion and progress follow fresh acceptance checks. The earlier prototype could declare completion after a previously accepted artifact was deleted, count repeated claims or new plans as progress, and reject success on the final permitted turn.
This package rechecks acceptance at turn boundaries, revokes stale passes, reopens affected todos, credits each checkpoint once across restarts, and settles completion before resource exhaustion while retaining integrity and owner-decision holds. It also catches in-turn goal edits, rejects repeated CLI initialization and prevents owner acceptance from bypassing automatic checks.
main.packages/; Codex CLI provides execution. No runtime import, capability registration, native Goal API integration, or frontend/Lark entrypoint is introduced.Author Declaration
packages/loopx-goal-kernel/CONTRACT.mdat this PR head.verify.ts,state.ts,kernel.tscli.ts,view.tsloopx/orapps/Change And Validation
npm testin the packagenpm run typechecknpm run test:live -- --sandbox danger-full-accessloopx/, rejects explicitpackages/input; the vocabulary remains package-local and is manually reviewedThe final live replay and repository semantic smoke both passed. The first live attempt used an unauthenticated inherited CLI configuration and failed before work; the successful run used the existing authenticated configuration. No credentials or global settings were modified.
The controlled live task deliberately requests one checkpoint per turn. It proves protocol and regression behavior, not hours-long reliability, model-quality uplift, or lower cost. Concurrency, crash transactions, provider accounting, general recovery and sandboxed verifier independence remain explicitly unqualified. Automatic checks execute trusted owner-provided commands and may run twice per turn.
Boundary And Review Notes
state.tsnow owns mutations previously mixed into the text renderer.acceptance_regressedand optional v1credited_predicatesremain local to this experiment.