Skip to content

Implement tool selector (per-turn context shaping) #11

@martinjms

Description

@martinjms

Summary

Select only relevant tools per turn instead of sending all 24+ definitions. Two tiers: rule-based heuristics + Haiku for ambiguous cases.

Requirements

  • Fast pass: keyword/intent heuristics map messages to tool categories
  • LLM pass: Haiku evaluates message + tool names/descriptions, returns relevant subset
  • Only selected tools' full schemas sent to brain
  • Always include base fallback set (execute_shell, do_task)
  • Depends on: usage data from meta-cognition (Implement meta-cognition (pattern recognition + habit formation) #9) for smart selection

References

  • ARCHITECTURE.md — Tool selector (context shaping)

Metadata

Metadata

Assignees

No one assigned

    Labels

    unconscious-processUnconscious processes (kernel-level, invisible to brain)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions