aoa-codex-hooks-status
Use when AoA Codex hooks must be inspected, trusted, or compared against expected `.aoa` commands in the native Codex hook registry.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when AoA Codex hooks must be inspected, trusted, or compared against expected `.aoa` commands in the native Codex hook registry.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | aoa-codex-hooks-status |
| description | Use when AoA Codex hooks must be inspected, trusted, or compared against expected `.aoa` commands in the native Codex hook registry. |
| license | Apache-2.0 |
| metadata | {"aoa_scope":"session-memory","aoa_invocation_mode":"manual"} |
Use this when Codex reports hook failures, hooks do not run, or hook commands may be untrusted or stale.
<codex-hook-registry> changed..aoa/scripts/aoa_session_memory.py or hook command paths changed.Inspect without changing trust first:
python3 scripts/aoa_session_memory.py codex-hooks-status \
--workspace-root <workspace-root> \
--aoa-root <aoa-root>
If matching AoA hooks are present but untrusted, and the user has approved trusting the current commands, run:
python3 scripts/aoa_session_memory.py codex-hooks-status \
--workspace-root <workspace-root> \
--aoa-root <aoa-root> \
--trust-current
ok=true.aoa rootDo not trust arbitrary hooks. Only trust current hashes for commands that match the generated AoA commands.
Use when a `.aoa` session-memory root must be created, installed, checked, repaired, or prepared for Codex hook-based session archiving.
Use when an indexed `.aoa` session needs provisional first-pass distillation into lessons, decisions, failures, and automation candidates without promoting them to reviewed truth.
Use when an agent needs evidence from prior `.aoa` sessions about how a skill, MCP, hook, tool, API, goal, eval, test, validator, script, decision, error, receipt, or other recurring operational entity was used, what happened nearby, and which raw or segment refs prove it.
Use in any Codex session when the user mentions `.aoa`, session memory, Codex transcripts, compaction, prior session rehydration, hook failures, or AoA session-memory validation.
Use when an agent needs to build or query the portable `.aoa` SQLite search index for archived Codex sessions, with evidence refs and freshness checks.
Use when the live Codex PreCompact and PostCompact hook path must be proven through `.aoa` using the Codex app-server compact probe.