• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / agterm / 29182352001
98%

Build:
DEFAULT BRANCH: master
Ran 12 Jul 2026 06:17AM UTC
Jobs 1
Files 63
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jul 2026 06:14AM UTC coverage: 97.776% (+0.01%) from 97.764%
29182352001

push

github

web-flow
feat: drive Codex agent-status from lifecycle hooks (#194)

Codex agent-status came only from codex-notify.sh, which guessed "waiting on
you" by keyword-matching the turn's final assistant message. It misfired both
ways: a real approval prompt fired no notification (notify runs only on
agent-turn-complete, so blocked never showed when it mattered), and an ordinary
turn whose final message merely mentioned "permission"/"approval" flipped to a
stuck blocked.

Codex now exposes lifecycle hooks, so the installer merges six of them into
~/.codex/config.toml (SessionStart->idle, UserPromptSubmit/PreToolUse/PostToolUse
->active, PermissionRequest->blocked, Stop->completed). PermissionRequest turns
the row blocked the moment Codex asks; Stop always sets completed with no text
guessing. codex-notify.sh is removed, and codex drops out of the shell
integration's default AGTERM_AGENT_RE since its hooks now drive finer per-turn
state, like Claude Code.

The config.toml merge parses the file with TOMLDecoder (pure-Swift, TOML 1.1
compliant) before touching it: it skips a config that already defines its own
hooks or doesn't parse (surfacing the block for a manual add), strips the old
notify line only when its parsed value points at codex-notify.sh, and otherwise
appends a marker-guarded block that preserves the user's comments and layout.
Both the Codex and Claude write paths now distinguish an absent config from one
that exists-but-unreadable, so a read failure no longer overwrites the file
without a backup.

Fix #193

70 of 71 new or added lines in 1 file covered. (98.59%)

4923 of 5035 relevant lines covered (97.78%)

5971303.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.53
0.83% agtermCore/Sources/agtermCore/AgentHooksInstall.swift
Jobs
ID Job ID Ran Files Coverage
1 29182352001.1 12 Jul 2026 06:17AM UTC 63
97.78
GitHub Action Run
Source Files on build 29182352001
  • Tree
  • List 63
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29182352001
  • b00362fc on github
  • Prev Build on master (#29170040864)
  • Next Build on master (#29206331390)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc