feature(synthetic instructions)#33
Merged
Tarquinen merged 7 commits intoOpencode-DCP:masterfrom Nov 29, 2025
Merged
Conversation
Collaborator
Author
|
Collaborator
Author
|
first attempt at the synth prompt, pretty loose atm |
c528e38 to
ea51b01
Compare
Collaborator
Author
|
Collaborator
Author
|
Tarquinen
added a commit
that referenced
this pull request
Nov 29, 2025
…usage Integrates PR #33 features into the modular architecture: - Add synth-instruction.ts for injecting instructions into user messages - Add nudge injection every N tool results (configurable via nudge_freq) - Add synthetic.txt prompt teaching AI to narrate findings before pruning - Add nudge.txt prompt reminding AI to prune when appropriate - Add nudge_freq config option (default: 5, 0 to disable) - Update fetch-wrapper to inject synth/nudge when onTool strategies enabled - Copy prompt files to dist during build
refactor: extract synth prompt to file refactor: load through prompt.ts fix? fix rm: slop move tool description to prompt file synth prompt fix: don't add synth instruction after DCP "ignored" summary messages - extract synth instruction to its own file
- Add Gemini and OpenAI Responses API format support to synth-instruction.ts - Integrate injectSynthInstruction and injectNudge into all three fetch handlers - Add SynthPrompts interface and toolTracker context to FetchWrapperContext - Wire up toolTracker and prompt loading in index.ts
565a6d8 to
6a199b1
Compare
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.
Uh oh!
There was an error while loading. Please reload this page.