OpenWriterControle/plugins/claude-code/hooks
Darren Hinde 50063849f9
fix(plugin): fix hook JSON escaping and unconditional session firing (#241)
* fix(shellcheck): declare and assign separately in router.sh (SC2155)

* feat(plugin): enhance context management and skill invocation

- Update .context-manifest.json to include profile and detailed source information.
- Revise context-scout.md to clarify context root discovery and navigation.
- Modify commands to replace deprecated skills with updated ones (brainstorming → approach, systematic-debugging → debugger).
- Streamline install-context.md for clarity and remove interactive profile selection.
- Improve oac-status.md to provide a more comprehensive status report.
- Add OAC system paths to session-start.sh for better context management.
- Remove obsolete skills and improve documentation for existing commands.

* fix(plugin): fix hook JSON escaping and unconditional session firing

- Fix double-escaped skill catalogue: use $'\n' real newlines instead of
  literal \n strings so escape_for_json encodes them correctly as \n in JSON
- Fix OAC_SYSTEM_PATHS embedded raw into JSON string: build with real newlines
  and pass through escape_for_json before interpolation
- Remove SessionStart matcher so hook fires on every session start
  unconditionally (startup, resume, clear, compact and any future types)
- Remove redundant async:false field; add explicit timeout:30
2026-02-23 13:35:02 +00:00
..
hooks.json fix(plugin): fix hook JSON escaping and unconditional session firing (#241) 2026-02-23 13:35:02 +00:00
run-hook.cmd feat(plugin): enhance context management and skill invocation (#239) 2026-02-23 12:12:29 +00:00
session-start.sh fix(plugin): fix hook JSON escaping and unconditional session firing (#241) 2026-02-23 13:35:02 +00:00