Source
Competitive parity: Claude Code v2.1.83, Goose v1.27.x — both expose environment-change hook events.
Gap
No CwdChanged or FileChanged events in Zeph's hook/event system. Claude Code exposes these as lifecycle hooks; Goose has similar reactive triggers. Enables patterns like auto-reloading code index context when a file the agent referenced is modified externally.
Zeph applicability
zeph-index has file watching (watch = true config) but does not emit hook events on change
- Hooks system (if present) could dispatch
file_changed events to skills or tools
- Implementation sketch: watch via
notify crate, emit HookEvent::FileChanged { path } and HookEvent::CwdChanged { new_cwd }; route through existing hook dispatcher