Files
Trevin Chow 73109fac05 refactor(session-history): move extraction scripts behind skills
Hoists the four session-history extraction scripts out of the
ce-session-historian agent's sibling directory and into two new skills:

- ce-session-inventory wraps discover-sessions.sh + extract-metadata.py
  for the discover-then-enrich inventory phase.
- ce-session-extract wraps extract-skeleton.py + extract-errors.py for
  per-session deep-dives.

ce-session-historian now invokes these skills via the Skill tool in
fork context instead of reaching into a sibling script directory.
Scripts live with skills (matching repo convention), the agent keeps
its format knowledge, methodology, and synthesis role, and callers of
the agent need no changes.

Both new skills set user-invocable: false and context: fork so they
act as agent-internal primitives: hidden from user query triggering,
with clean tool-call boundaries in the caller's context.

Tests updated to route to the new script locations.
2026-04-20 22:27:04 -07:00
..