Skip to content

docs(retro): v6.3.1 PreCompact Codex empty-JSON fix (#66)#68

Merged
intel352 merged 1 commit into
mainfrom
chore/v6.3.1-retro
Jun 1, 2026
Merged

docs(retro): v6.3.1 PreCompact Codex empty-JSON fix (#66)#68
intel352 merged 1 commit into
mainfrom
chore/v6.3.1-retro

Conversation

@intel352
Copy link
Copy Markdown
Contributor

@intel352 intel352 commented Jun 1, 2026

Closes the #66/v6.3.1 loop: retro capturing the root cause (empty PreCompact stdout rejected by Codex), the backprop invariant (every hook emits valid JSON on every exit path; empty→{}), the adversarial-review catch of 3 existing empty-asserting tests, and the honest can't-repro-on-Codex caveat. Docs-only.

Copilot AI review requested due to automatic review settings June 1, 2026 15:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a post-merge retrospective documenting the v6.3.1 PreCompact “empty stdout → invalid JSON on Codex” incident (#66), including the root cause, the “always emit JSON” invariant, and notes from adversarial review/test updates.

Changes:

  • Add a new retro file describing the Codex invalid-JSON failure mode and the {} no-op invariant.
  • Document what was caught during adversarial review (including test expectations around empty output) and remaining limitations/caveats.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +7
# Retro: v6.3.1 — PreCompact invalid-JSON on Codex (#66)

**PR:** #67 — fix(hooks): PreCompact emits {} no-op (never empty) so Codex accepts the JSON
**Merged / Released:** 2026-06-01 · v6.3.1 (Latest)
**Issue:** #66 (regression/uncovered-path of #41)
**Design:** docs/plans/2026-06-01-precompact-codex-empty-json-design.md (adversarial PASS @ cycle 1+revision)

Comment on lines +54 to +58
## Project guidance updates

| File | Change | Reason |
|---|---|---|
| (none) | no change | The invariant is encoded as the fix + regression tests + this retro; no separate guidance file exists yet. |
@intel352 intel352 merged commit f480a1c into main Jun 1, 2026
5 checks passed
@intel352 intel352 deleted the chore/v6.3.1-retro branch June 1, 2026 15:47
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.

2 participants