Commit Graph

5 Commits

Author SHA1 Message Date
grayhook 2021ee1293 Phase 9: track skill blocks on message_end for user messages — SPEC §6.2 #2.
Scan finalized user message text for expanded skill XML blocks and upsert tracked skills using registered metadata when available.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 12:30:17 +07:00
grayhook cc5ffc47bf Phase 3: add trackReadPaths gate — skip read-path detection when disabled.
Honor skillReinject.trackReadPaths before matching read tool paths to skills.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 10:24:49 +07:00
grayhook 9cd60a2534 Phase 3: add matchReadPathToSkill — read tool path to skill mapping.
Match read paths against registered SKILL.md filePath for the read tracking source.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 10:23:51 +07:00
grayhook ccb39c413d Phase 3: add parseSkillBlocksFromText — skill-block scan per SPEC §6.2.
Mirror agent-session parseSkillBlock regex for detecting expanded skill blocks in user messages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 10:21:00 +07:00
grayhook 2d7392f5ed Phase 3: add detectSlashSkill — slash command detection per SPEC §6.2.
Detect /skill:name at the start of raw user input for the slash tracking source.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-17 10:18:04 +07:00