You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Planner summaries can omit exact approved requirements and public-contract details before a slice reaches its sealed worker, allowing a locally green implementation to miss the comparison contract.
What
Carry exact cumulative requirement bodies and a run-pinned, hash-verified public packet into every worker request. Reject malformed scope markers, ambiguous requirement authority, packet mutation, hidden extra files, and symlink escapes across serial, parallel, retry, and superseding-run paths.
How to test
Prepare a scoped task whose approved requirement contains a detail omitted from the planner summary, plus a target-visible public packet.
Start execution and let the scoped worker complete.
Confirm the output follows both the omitted requirement detail and the public packet while controller-only files remain outside the slice worktree.
Mutate the public packet after run creation, then resume the run and confirm execution stops before worker dispatch with a contract-validation error.
Medium Risk
Touches core execute-mode run admission, slice request lowering, and worker prompt composition—high-impact paths—but changes are bounded, heavily tested, and fail closed rather than widening execution authority.
Overview I69-L worker contract carry closes the gap where sealed slice workers could see requirement ids or planner paraphrase instead of the approved contract text.
The executor now resolves cumulative approved requirement titles and bodies (including transitive slice dependencies) into each slice request.json, persists hash-verified target-visible public packet bytes on run creation, and stages only those pinned spec.md / public-contract.json files into the slice worktree—excluding controller-only oracle material. AgentRunnerPort validates scoped requests and renders Approved requirements and Target-visible public packet sections in the worker task.
Admission is fail-closed for malformed scope_handoff_required markers, unresolved or duplicate requirement authority, packet hash drift, partial packets, symlink escapes, and unexpected extra packet files; behavior is aligned across serial, parallel, superseding runs, and repair paths. Plan preview/spec now carry requirement titles alongside bodies. SPEC/PLAN document invariant I69-L and related verification; the linear-pr-cleanup skill’s How to test guidance is tightened to user-step scenarios.
Reviewed by Cursor Bugbot for commit 76d4f46. Bugbot is set up for automated code reviews on this repo. Configure here.
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
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.
Why
Planner summaries can omit exact approved requirements and public-contract details before a slice reaches its sealed worker, allowing a locally green implementation to miss the comparison contract.
What
Carry exact cumulative requirement bodies and a run-pinned, hash-verified public packet into every worker request. Reject malformed scope markers, ambiguous requirement authority, packet mutation, hidden extra files, and symlink escapes across serial, parallel, retry, and superseding-run paths.
How to test