Skip to content

fix: preserve archived captures and update Zod (v4.11.5) - #618

Merged
kevintseng merged 1 commit into
mainfrom
codex/release-v4.11.5
Oct 27, 2026
Merged

kevintseng merged 1 commit into
mainfrom
codex/release-v4.11.5

Conversation

@kevintseng

Copy link
Copy Markdown
Collaborator

Summary

Automatic pre-compaction and commit capture now preserve archived memories and report skips without false write heartbeats. Update Zod from 4.4.3 to 4.6.6 so oversized constrained collections fail before accumulating per-item validation errors. Align package, plugin and documentation versions for v4.11.5.

Verification

  • Full source baseline: tree 53d2b56faa34, 282 files / 5,685 passed / 9 platform skips; all four verify stages exit 0.
  • Final version gates, clean packaged install/MCP smoke and 4.5.1/4.11.4 to 4.11.5 upgrades: exit 0, including controlled install-failure preservation.
  • Final branch full verify: tree ea907aa9d370, 282 files / 5,685 passed / 9 platform skips; build, release gates, isolated suite and packaged smoke all exit 0.
  • Independent implementation, dependency and version-delta reviews: PASS_WITH_CONCERNS. The version delta changes metadata only; runtime source, tests and bundles match the verified source baseline.

Docs synced

  • Changelog and version headers aligned with v4.11.5.
  • Public interfaces and install commands unchanged.

Test plan

  • Archived append/replace captures preserve content and FTS exclusion.
  • All-archived and mixed commit batches preserve markers and accurate heartbeats.
  • Oversized invalid observations produce one size error; consumer dependency audit is clean.
  • Fresh package installation and upgrades preserve readable data on success and controlled failure.

Known limitations

Local macOS verification retains nine platform skips. Installed Claude/Codex process reload and a new soak are not claimed by isolated package tests.

Coverage

All paths below are covered by the focused/full, version, generated-mirror, package, dependency and independent reviews described above. Generated files are rebuilt; handwritten changes use the existing shared capture boundary and existing schema tests.

Surface Validation Review Simplification
.claude-plugin/marketplace.json Version/integrity checks Version delta Version only
.claude-plugin/plugin.json Version/integrity checks Version delta Version only
.codex-plugin/plugin.json Version/integrity checks Version delta Version only
CHANGELOG.md Doc claims Release scope Two fixes only
CODEMAP.md Version check Version delta Header only
dist/core/capture-liveness.d.ts Build/mirror Generated manifest Generated
dist/core/capture-liveness.d.ts.map Build/mirror Generated manifest Generated
dist/core/capture-liveness.js Build/mirror Generated manifest Generated
dist/core/capture-liveness.js.map Build/mirror Generated manifest Generated
dist/host-adapters/claude-channel.js Build/package Dependency delta Generated
dist/host-adapters/claude-channel.js.map Build/mirror Dependency delta Generated
dist/mcp/THIRD_PARTY_NOTICES.txt Build/mirror Dependency delta Generated
dist/mcp/server.js MCP/package Dependency delta Generated
dist/mcp/server.js.map Build/mirror Dependency delta Generated
dist/skills-manifest.json Plugin integrity Version delta Generated
dist/transports/cli/THIRD_PARTY_NOTICES.txt Build/mirror Dependency delta Generated
dist/transports/cli/cli.js CLI/package/upgrade Dependency delta Generated
dist/transports/cli/cli.js.map Build/mirror Dependency delta Generated
dist/transports/cli/doctor-message-probe.js Build/package Dependency delta Generated
dist/transports/cli/doctor-message-probe.js.map Build/mirror Dependency delta Generated
dist/transports/mcp/handlers.d.ts Typecheck/build Dependency delta Generated
docs/ARCHITECTURE.md Version check Version delta Header only
docs/api/API_REFERENCE.md Version check Version delta Header only
package-lock.json Consumer audit/upgrade Dependency/version delta Single dependency upgrade
package.json Consumer audit/upgrade Dependency/version delta Single dependency upgrade
scripts/audit/baseline.json Verification audit Expression/line check Two line keys only
scripts/hooks/_generated/capture-liveness.js Build/mirror Generated manifest Generated
scripts/hooks/_shared.js Hook/SQLite/FTS tests Independent implementation One shared archive guard
scripts/hooks/post-commit.js Batch/marker/heartbeat tests Independent replay Existing capture loop
scripts/hooks/pre-compact.js Hook/outcome tests Independent replay Existing capture result
src/core/capture-liveness.ts Typecheck/hook tests Independent implementation One skip reason
tests/hooks/post-commit.test.ts Focused/full suites Independent replay Existing fixture
tests/hooks/pre-compact.test.ts Focused/full suites Independent replay Existing fixture
tests/hooks/write-hook-invariants.test.ts Focused/full suites Independent replay Existing fixture
tests/transports/schemas.test.ts Schema/full suites Independent replay One regression

@kevintseng
kevintseng merged commit 39e1c28 into main Oct 27, 2026
12 checks passed
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