Three unfixed items from the #4725 review ledger (#4757 landed separately via
the ci-fixes sweep):
- release-bugfix.yml lost the #4449 manifest --check when the v3 lane rewrite
landed (v0.1.208 ran it before Publish guard; master's rewrite dropped it).
Ported back with the #4576 pre-#4449 lane existence guard, gated on the
resolve step's actual proceed output (this variant has no path output).
- scripts/sync-codex-plugin-version.mjs silently SKIPPED a missing manifest
file — in --check mode a missing file greened the gate, neutering the
release guard. A missing target is now a hard error naming the file; the
four manifests are a fixed contract. Regression test added (RED on the old
skip).
- CONFIGURATION.md en+zh: document the autoFold benefit gate (#3444: growth
folds arm only on ≥4096 tokens over the effective target; sub-4096 saving
arms the backoff; image-dominant exempt) and the measured floor (irreducible
baseline raises an unreachable target, never above the window). Both
languages in sync.
Sync tests 5/5, typecheck clean.
Hermetic regression tests for the two load-bearing pieces of #4449 that had
no coverage:
- codex-plugin-version-sync.test.ts: runs the real sync script against a temp
fixture — --check must fail (exit 1, naming every drifted file) when the
manifests lag package.json, pass when aligned, converge without clobbering
untouched manifest fields, stay idempotent, and skip a marketplace with no
billion-context entry instead of drifting it.
- codex-mcp-shell.test.ts: copies the real shell two levels deep so its
repo-layout probe cannot hit a real build — no resolvable entry must exit 1
listing every attempted path, repo layout must win over plugin-dir self,
stdio must relay byte-exact from a foreign cwd, and SIGTERM must reach the
MCP child (POSIX runners).