Files
hermes-agent/tools
Timmy ddec887b75
Some checks failed
Forge CI / smoke-and-build (pull_request) Failing after 1m6s
feat(templates): Session templates for code-first seeding (#505)
Code-heavy sessions improve over time. File-heavy sessions degrade.
Session templates seed new sessions with successful tool call patterns
to establish feedback loops early.

## What
- tools/session_templates.py — task type classification (60% threshold),
  template extraction from SQLite sessions, storage, injection, CLI
- tests/tools/test_session_templates.py — 17 tests

## Task types
CODE, FILE, RESEARCH, MIXED — classified by tool call frequency.

## CLI
python -m tools.session_templates list
python -m tools.session_templates create <session_id> --name my-template
python -m tools.session_templates delete <name>

Closes #329.
2026-04-13 21:58:59 -04:00
..