Skip to content

Modernize agent hook lifecycle reporting - #115

Merged
vaayne merged 2 commits into
mainfrom
hooks/orca-agent-support
Aug 5, 2026
Merged

Modernize agent hook lifecycle reporting#115
vaayne merged 2 commits into
mainfrom
hooks/orca-agent-support

Conversation

@vaayne

@vaayne vaayne commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • migrate Codex status integration from legacy config.toml notify to low-noise UserPromptSubmit and Stop hooks in ~/.codex/hooks.json
  • preserve unrelated JSON hooks, TOML notify entries, Codex Computer Use --previous-notify wrappers, and symlinked config files during migration and uninstall
  • report Pi as waiting only after agent_settled, avoiding false idle states before retries, compaction retries, or queued follow-ups
  • remove obsolete Mori-owned PreToolUse registrations for Claude Code and Droid without touching third-party commands
  • update hook settings copy, localization, documentation, and changelogs

Verification

  • mise run test
  • swift build -c release --product Mori
  • swift build --build-path .build-cli -c release --product mori
  • CI=1 bash scripts/bundle.sh
  • temporary-home integration probes for Codex install/migration/uninstall, wrapped legacy notify migration, symlink preservation, and Claude/Droid mixed-hook cleanup
  • Pi extension lifecycle probe under Node 24 TypeScript stripping
  • shell syntax checks and git diff --check

Notes

The bundled-app launch check was not run because the installed Mori app was already active and single-instance enforcement would terminate the test build; the existing instance was left undisturbed.

@vaayne
vaayne merged commit ff206ee into main Aug 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant