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

Tarquinen and others added 13 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
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