-
Notifications
You must be signed in to change notification settings - Fork 64
🤖 feat: add actor-critic mode loop and source-aware rendering #2471
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
ammar-agent
wants to merge
28
commits into
main
Choose a base branch
from
critic-mode-pgfx
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
28 commits
Select commit
Hold shift + click to select a range
453b957
🤖 feat: add end-to-end actor-critic mode loop
ammar-agent f31b0a3
🤖 tests: use Jest globals in critic mode UI test
ammar-agent 32dfda9
🤖 fix: prioritize queued user input over critic auto-loop continuation
ammar-agent c143bee
🤖 tests: stabilize critic queue-priority integration timing
ammar-agent 9f5a508
🤖 tests: align critic criticMode UI tests with tests skill
ammar-agent 26ebed1
🤖 fix: defer actor-critic continuation for pending edits
ammar-agent d192eef
🤖 fix: preserve critic turn semantics across resume
ammar-agent 866f244
🤖 fix: handle critic /done reasoning and resume inference
ammar-agent 17e094a
🤖 fix: align critic /done filtering with visible text semantics
ammar-agent 00357fb
🤖 fix: preserve critic loop settings after interrupted turns
ammar-agent 5c87e16
🤖 feat: simplify critic mode UX — main textarea becomes critic prompt
ammar-agent 3b9d36c
🤖 fix: use parsed send text for critic prompt, not raw input
ammar-agent a85ad0a
🤖 fix: reapply critic guardrails when resuming critic turns
ammar-agent 3838c2e
🤖 feat: critic mode set-not-send UX — main input becomes critic prompt
ammar-agent be4e50f
🤖 fix: guard critic-loop start against in-flight streams and empty pr…
ammar-agent 3fa81ee
🤖 fix: prevent critic prompts from queuing as user messages + empty h…
ammar-agent 54e2feb
feat: allow critic loop to start from scratch on empty history
ammar-agent 2cf2d86
fix: add isBusy guard to startCriticLoop + surface backend errors in …
ammar-agent c9c5de5
fix: apply tool output redaction in critic history + add lifecycle gu…
ammar-agent 1370839
fix: race condition in empty-history critic test
ammar-agent 9c5cbaf
fix: restore prompt on failure + propagate history read errors
ammar-agent 8da0c9b
fix: roll back seeded prompt when actor stream fails to start
ammar-agent 1761df4
fix: mark seeded prompt as non-synthetic + emit delete on rollback
ammar-agent 63024e6
fix: show toast for empty-text sends in critic mode
ammar-agent 1c5f4d5
refactor: extract resolveExperimentFlags + apply to startCriticLoop
ammar-agent bf3ae42
fix: start actor turn when history ends with unanswered user message
ammar-agent 873e7b3
fix: skip critic-loop path when submitting a message edit
ammar-agent 57a783e
fix: add recency + AI settings bookkeeping to startCriticLoop
ammar-agent 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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.