more agent config, mostly about beads

This commit is contained in:
Johan Lundberg 2026-06-29 09:22:50 +02:00
parent 8143db5aea
commit 850240ab97
No known key found for this signature in database
GPG key ID: A6C152738D03C7D1
6 changed files with 280 additions and 0 deletions

2
.codex/config.toml Normal file
View file

@ -0,0 +1,2 @@
[features]
hooks = true

51
.codex/hooks.json Normal file
View file

@ -0,0 +1,51 @@
{
"hooks": {
"PostCompact": [
{
"hooks": [
{
"command": "bd codex-hook PostCompact",
"statusMessage": "Scheduling Beads context refresh",
"type": "command"
}
],
"matcher": "manual|auto"
}
],
"PreCompact": [
{
"hooks": [
{
"command": "bd codex-hook PreCompact",
"statusMessage": "Checking Beads context",
"type": "command"
}
],
"matcher": "manual|auto"
}
],
"SessionStart": [
{
"hooks": [
{
"command": "bd codex-hook SessionStart",
"statusMessage": "Loading Beads context",
"type": "command"
}
],
"matcher": "startup|resume|clear"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"command": "bd codex-hook UserPromptSubmit",
"statusMessage": "Refreshing Beads context",
"type": "command"
}
]
}
]
}
}