docs: clarify audit doc-Lows + record won't-do disposition (PR #94) - #94
Merged
Merged
Conversation
Documentation-only. Adds the clarifications the pass-3 audit asked for and records the final disposition of every remaining tail finding. CLAUDE.md: - F2-09 within-batch dispatch order is unspecified (ORDER BY governs selection, not dispatch) - F1-01 true lease bound is fetch_batch_size + max_workers, not fetch_batch_size - F2-04/F2-05 activate_at / publish_batch NOTIFY timing is worker-clock-relative - F1-07 NOTIFYs emitted during a reconnect window are lost (latency, not correctness) - F2-07 deliveries_count counts claims, not handler runs - F2-01 max_total_delay_seconds is a lower bound (allows ~one more interval) - F4-09 test-broker session leniency on publish/cancel_timer/fetch_unprocessed docs/operations/troubleshooting.md: - F3-03 recommended alerts (row count, lease_lost rate, dlq_written divergence) - F5-03 residual: a chained-OutboxResponse publish failure surfaces as a handler-failure nack with no distinct signal (new entry + index row) planning/audits: appended a "Tail disposition" ledger — resolved (#85-#94), documented (#94), won't-do with rationale (F4-03, F6-06, F1-02, F2-02-residual, F5-03-residual, F5-04, F3-04), deferred (#95: F7-07, F7-09, F1-08). just lint clean; mkdocs build --strict passes; non-PG tests green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
PR 5 of the tail program — documentation only, no code changes. Adds the clarifications the pass-3 audit flagged and records the final disposition of every remaining finding.
CLAUDE.md (invariant nuances)
ORDER BYgoverns selection, not the per-row dispatch sequence).fetch_batch_size + max_workers, notfetch_batch_size.activate_at/publish_batchNOTIFY timing is worker-clock-relative (vsactivate_in's server-sidemake_interval).deliveries_countcounts claims, not handler runs; sizemax_deliverieswith margin.max_total_delay_secondsis a lower bound (allows ~one more interval).publish/cancel_timer/fetch_unprocessed.docs/operations/troubleshooting.md
lease_lostrate,dlq_writtenvsnacked_terminaldivergence) on the unbounded-growth section.OutboxResponsepublish failure surfaces as a handler-failure nack with no distinct signal; how to tell them apart (+ index row).planning/audits
Appended a Tail disposition ledger: resolved (#85–#94), documented (#94), won't-do with rationale (F4-03, F6-06, F1-02, F2-02-residual, F5-03-residual, F5-04, F3-04), deferred (#95: F7-07, F7-09, F1-08).
Verification
just lintclean (ruff + ty)mkdocs build --strictpasses (no broken anchors/links)After this, only the deferred test-hardening items (#95) remain from the entire pass-3 audit.
🤖 Generated with Claude Code