Skip to content

Conversation

@Tarquinen
Copy link
Collaborator

Summary

  • Implemented a distillation parameter in the prune tool to allow the model to preserve key findings from pruned tools.
  • Designed the parameter as an object to ensure it remains hidden in the opencode TUI (which only displays primitives).
  • Updated instructions and system prompts to enforce the use of this parameter for context consolidation.
  • Added logging for distillation data in the tool execution logic.

- Replace reason-as-first-id pattern with structured metadata object
- metadata.reason: 'completion' | 'noise' | 'consolidation'
- metadata.distillation: optional object for consolidation findings
- Update prompts to clarify distillation rules per reason type
- Add docs/ to gitignore
@Tarquinen Tarquinen force-pushed the feature/hidden-distillation branch from c15df05 to 138f795 Compare December 19, 2025 07:02
@Tarquinen Tarquinen merged commit fa111c9 into dev Dec 19, 2025
1 check passed
@Tarquinen Tarquinen deleted the feature/hidden-distillation branch December 19, 2025 07:02
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