Skip to content

feat: register Codex API safety hooks - #29

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/codex-hook-parity
Sep 18, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/codex-hook-parity

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

  • register the PyAuto API gate and end-at-deliverable guard for Codex
  • test Codex-shaped allow, deny, and malformed PreToolUse payloads
  • document project-hook trust and refresh the known-good installed API fixture

PyAutoMind issue: PyAutoLabs/PyAutoMind#407

Scripts Changed

No user-facing scripts changed.

  • .codex/hooks.json — Codex project-hook registration
  • AGENTS.md and autoassistant/tests/test_api_gate.py — documentation and validation

Test Plan

  • 29 API-gate tests passed
  • generated adapter commands verified from a nested working directory
  • git diff check clean
  • independent review CLEAN

Human Heart RED development override

The live human authorized PyAutoMind#407 / codex-hook-parity contemporaneously, verbatim:

i do then go to phase 3

Authorization record: PyAutoLabs/PyAutoMind#407 (comment)

Exact current Heart RED reasons:

  • install verification FAILED (testpypi; checks F)
  • release validation FAILED (stage integrate)

Additional yellow:

  • manifest drift: remote-session blocks (generated) — 2 mismatch(es) vs PyAutoMind/repos.yaml

Passed gates: tests PyAutoMind 130, PyAutoBrain 28, assistants 29/32/32/29; smoke n/a for this organism/config/docs task; review CLEAN; generated-hook drift OK; lifecycle OK with the known unrelated warning; diff-check clean; nested-cwd hook commands verified.

This override permits development push and PR-open only. It does not authorize release, release rehearsal, merge, force merge, protection bypass, failed-CI bypass, or any claim that this task repairs Heart. Heart remains RED for release purposes. Merge requires a separate explicit human command and green required checks.

Generated by the PyAutoLabs agent workflow.

@Jammy2211
Jammy2211 merged commit 804d9a9 into main Sep 18, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/codex-hook-parity branch September 18, 2026 16:59
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