Skip to content

SeniorOS 0.7.0

Choose a tag to compare

@joshsegatt joshsegatt released this 28 Oct 21:43
· 212 commits to main since this release
102bd94

The guard and the finish gate in Codex, tested in the Codex CLI itself.

Added

  • Codex plugin hooks (adapters/codex/, declared in .codex-plugin/plugin.json):
    • a SessionStart hook with the routing rules;
    • a PreToolUse guard that denies destructive commands. Codex hooks cannot ask the user, so the agent is told to show what would be lost and let the user run the command;
    • a Stop finish gate that sends the agent back on failing checks, at most twice per change set.
  • Codex marketplace (.agents/plugins/marketplace.json).

Fixed

  • The Codex plugin no longer loads hooks/hooks.json, the Claude Code hooks, whose ask answer Codex treats as an error and ignores.

Verified

In Codex CLI 0.164.0 on Windows:

  • the guard blocked git reset --hard HEAD, even when the prompt claimed the user had confirmed;
  • after an edit that broke a test, with the instruction not to run tests, the finish gate sent the agent back. Its final answer reported the failing test instead of "Done".

Installing from GitHub brings exactly the three SeniorOS hooks. Not yet tested: Codex on macOS and Linux.

Install

codex plugin marketplace add joshsegatt/SeniorOS
codex plugin add senioros@senioros

Then open /hooks in Codex and trust the three SeniorOS hooks.

CLI: npm install -g senioros@0.7.0