Skip to content

docs(source): resolve the second gate pass's remaining contract-doc findings - #206

Merged
joshua-temple merged 1 commit into
mainfrom
docs/source-v1-gate-fixes-2
Aug 23, 2026
Merged

docs(source): resolve the second gate pass's remaining contract-doc findings#206
joshua-temple merged 1 commit into
mainfrom
docs/source-v1-gate-fixes-2

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Checkpoint 4.6 — gate rerun 2 findings resolved

Gate rerun 2 on 2931f24: implementation breaker all PASS, zero findings; release auditor all PASS; contract adversary 27 HELD / 0 BROKEN / 4 UNDOCUMENTED with one residual P1.

This PR closes the P1 + all actionable P2s — documentation-only, zero behavior change:

Finding Fix
P1: record disposition after ErrTermInsideTransaction unstated on README/package-doc surfaces both now state: unmarked → redelivered
P2: mixed-order duplicate settles (nak-then-ack) net effect inlet.go Settle: decisions compose in arrival order; later mark supersedes; in-flight re-seek may yield one final redelivery
P2: settle of foreign/post-drain message backend-defined; Kafka rejects non-Kafka messages where detectable
P2: Begin+direct-Settle violation consequence explicitly undefined caller error
P2: Close wording tension with buffered yields Close doc aligned

Per gate rules the full three-panel gate reruns once more on this merge before tagging. Known environmental note from rerun 2 (not reproducible, machine contention during a concurrent run) recorded here for the release notes: one transient kafka unit-suite timeout, green on three consecutive reruns.

…indings

P1: the Term row (README) and package-doc ack model now state that
ErrTermInsideTransaction leaves the record unmarked and redelivered, so a
hot-looping poison handler's failure mode is explicit on every surface that
mentions the rejection.

P2s: duplicate-settle semantics now specify arrival-order composition (a later
Ack supersedes an earlier Nak for future commits; an already-issued re-seek may
still yield one final at-least-once redelivery); settling a never-delivered or
post-drain message is defined as backend-defined with Kafka's detection noted;
violating Begin's only-settle-path rule is explicitly undefined behavior; and
the Close doc wording no longer tensions with Next's buffered-yield clause.
@joshua-temple
joshua-temple merged commit 0f8cf15 into main Aug 23, 2026
121 checks passed
@joshua-temple
joshua-temple deleted the docs/source-v1-gate-fixes-2 branch August 23, 2026 05:38
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