Repository navigation
[bugfix] creation: accept multiple prompt references in one command #636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
barkly1te
wants to merge
10
commits into
ThinkFlowLab:main
Choose a base branch
from
barkly1te:fix/a1-atomic-prompt-references
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3aafd0a
[bugfix] creation: validate atomic prompt references together
barkly1te beeef6a
Merge remote-tracking branch 'origin/main' into fix/a1-atomic-prompt-…
barkly1te 8dcc33b
[bugfix] creation: fill omitted reference orders by position
barkly1te 3ed47cd
[bugfix] creation: replay existing reference order receipts
barkly1te 2f7ac18
[bugfix] creation: limit positional reference fingerprints
barkly1te 08d7ce9
[bugfix] creation: keep rejected reference receipts readable on rollback
barkly1te 7dfaacb
Merge upstream main and preserve exact reference sources
barkly1te 3678677
Merge origin/main into codex/pr-636
codex be2f312
[test] agent: cover atomic prompt reference creation
codex 44ef6d9
[refactor] storage: select replay rule from stored record
codex File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里在解析时就补了顺序,旧版已成功的原始请求重试同一个 command ID 时,可能在读回执前就变了指纹。PR 正文的
7, 0例子已经观察到这个差异。能否让旧回执仍认原始请求,只对新命令应用位置默认值?建议回归同时断言旧重试返回原回执、新命令仍保存位置顺序。There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in
3ed47cdc. The original request now keeps its omittedorderthrough JSON serialization, and receipt lookup uses the fingerprint rule under which the command was recorded.I retried the same request and command ID against one project created on
ae5003b6.8dcc33bdreturnedcommand_conflict.3ed47cdcreturns the exact original receipt and leaves the saved[7, 0]unchanged. A new command with the same order pattern saves[7, 1]. Changing the second order to explicit0on that new command’s ID still returnscommand_conflict. CLI inputs, before and after receipts, and canvas screenshotsThe direct and batch replay regressions pass, along with all 22 focused cases and 586 related Python tests. The PR description also records that older builds cannot verify a new multi-reference record written by the patched build.