Files
timmy-home/uniwizard/adaptive-prompt-routing.md
Alexander Whitestone 9c1dd7fff7 chore: check in all local work — uniwizard, briefings, reports, evennia, morrowind, scripts, specs, training data, angband MCP, diagrams, twitter archive, wizards
- Resolve decisions.md merge conflict (keep both Codex boundary + Ezra/Bezalel entries)
- Update .gitignore: protect bare secret files, exclude venvs and nexus-localhost
- Add uniwizard tools (mention watcher, adaptive prompt router, self-grader, classifiers)
- Add briefings, good-morning reports, production reports
- Add evennia world scaffold and training data
- Add angband and morrowind MCP servers
- Add diagrams, specs, test results, overnight loop scripts
- Add twitter archive insights and media metadata
- Add wizard workspaces (allegro, nahshon)
2026-03-30 17:18:09 -04:00

1.1 KiB

// adaptive-prompt-routing.md\n# Adaptive Prompt Routing\n\n## Overview\nAdaptive prompt routing is a system that automatically classifies tasks into four tiers based on their complexity and generates a prompt accordingly. The tiers are:\n* Tier 1: Reflex - Identity only\n* Tier 2: Essential - Identity + core tools (max 5 tools)\n* Tier 3: Standard - Identity + most tools (all core tools + up to 5 additional)\n* Tier 4: Extended - All tools + large context (rarely needed)\n\n## Implementation\nThe adaptive prompt router function takes in a task, identity, and tools as input and returns a prompt based on the task's complexity. The function uses a simple auto-classification system to determine the tier of the task based on its complexity.\n\n## Usage\nTo use the adaptive prompt router function, simply call the function with the task, identity, and tools as input. For example:\njavascript\nconst task = { complexity: 5 };\nconst identity = 'Timmy';\nconst tools = [{ name: 'Tool 1', description: 'This is tool 1' }, { name: 'Tool 2', description: 'This is tool 2' }];\nconst prompt = adaptivePromptRouter(task, identity, tools);\nconsole.log(prompt);\n