Skip to content

Conversation

@Tarquinen
Copy link
Collaborator

@Tarquinen Tarquinen commented Jan 13, 2026

add support for question tool
fix system prompt injections unnecessarily going into subagent sessions
refactor system prompt handling into hooks.ts
remove redundant ai sdk log suppression
clean up prune logic
remove unnecessary user/ directory from prompts
fix DCP significantly reducing copilot usage
merge beta changes (synthetic injections changed to assistant role with tool parts)

Tarquinen and others added 16 commits January 12, 2026 23:55
- Add display formatting in extractParameterKey() to show question headers
- Prune verbose input.questions array while preserving output with user answers
- Update token counting to measure input.questions (what actually gets pruned)
- Remove dead write/edit code from calculateTokensSaved (now protected by default)
feat: add question tool support for pruning
…ompt-injection

fix: skip system prompt injection for subagent sessions
- Remove redundant write/edit checks (already protected via config)
- Use consistent continue pattern for tool-specific filtering
- Standardize check ordering: type → toolIds → status → tool-specific
refactor: simplify and unify prune.ts check ordering
Remove unnecessary user/ nesting from prompts directory.
Files now live directly under system/ and nudge/ subdirectories.
…rectory

refactor: flatten prompts directory structure
…r-role-injection

fix: skip synthetic message injection for GitHub Copilot when last message is user role
Tarquinen and others added 3 commits January 13, 2026 19:44
Merge master into dev to resolve conflicts
These experimental plan mode tools (OPENCODE_EXPERIMENTAL_PLAN_MODE=1) have minimal outputs, making pruning them counterproductive overhead.
feat: add plan_enter and plan_exit to default protected tools
@Tarquinen Tarquinen merged commit a3dcb2a into master Jan 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants