Repository navigation
design: durable fail-closed audit option (#32) - #35
Conversation
Documentation only. One new file. Measured fsync cost on a scratch file (section 4.6).
Action boundary at the first request byte, supported local storage with a statfs check, secure directory and file checks, blocked-writer state machine, immutable segments, secrecy allow-list, reader conclusions, readiness rules, reordered test plan, new disk and DoS bound section, first stage cut to held writes, open questions marked DECIDED or PROPOSED DEFAULT. Verified: re-read PR #29 at e7818ad (admit, claim_start, approved) and Rust std sync_data at rustc 0ef1bc386. Docs only, nothing built or run.
|
Revision 2 of
Facts checked in this revision: PR #29 was re-read at One finding belongs on PR #29, not here: its |
Owner approved all policy defaults on 2026-11-19. Relabel the design note to match. No value changed. - Replace every PROPOSED DEFAULT and "owner approval pending" label with OWNER APPROVED DEFAULT (2026-11-19), including the timing comments in the config block. - max_total_bytes = 1073741824 is the owner-approved default, not a placeholder. Its line is byte-identical to af9cb8b apart from the label. - Remove sentences that said the owner still had to decide or name items. Shipper ownership and retention are now described as deployment settings. Checks (against af9cb8b): (a) grep -n -e 'PROPOSED DEFAULT' -e 'owner approval pending': no lines. Also no lowercase "proposed default", "owner approval", "owner decides" or "owner question" left. (b) grep -niE 'placeholder|not answered|has not|awaiting|pending': 11 hits, all read by hand. All are technical uses of Pending or "has not returned" or "has not yet taken" (writer and entry states). None says the owner has not decided, and none calls the quota a placeholder. (c) Numeric tokens: the multiset diff of [0-9][0-9_.,]* tokens is only +17 "2026", +17 "11", +17 "19" from the new date labels. The value line max_total_bytes = 1073741824 is identical. (d) git diff af9cb8b: 22 added and 23 removed lines. Every change is a label or wording change. No numeric value changed.
Rename section 11 heading from 'Open questions' to 'Decisions and deployment choices'. Every item in the section is DECIDED or OWNER APPROVED DEFAULT (2026-11-19). No values changed. Checks run on the committed file: - grep -n "Open questions" docs/design/durable-audit.md output: (no match, exit 1) - grep -n "owner approval pending" docs/design/durable-audit.md output: (no match, exit 1) - grep -n "max_total_bytes = 1073741824" docs/design/durable-audit.md output: 205:max_total_bytes = 1073741824 # fail_closed only: quota over all segments in `dir` (section 4A, OWNER APPROVED DEFAULT (2026-11-19)) max_total_bytes value: 1073741824 (1 GiB), unchanged from eef6cd9 - git diff --stat: 1 file, 1 insertion, 1 deletion
Design note for #32: an opt-in
audit.mode = best_effort | fail_closedwith a durable file sink, write-ahead decision records, fsync/gap/rotation behaviour, request id, secrecy allow-list, failure analysis, metrics/readiness, wire shape of the refusal, staged plan with acceptance tests, and open questions.Documentation only: one new file,
docs/design/durable-audit.md. No existing file is edited.Draft. Not final. Needs the standing council review before it is treated as settled. PR #29 (stage 2) is in review and not merged; the note describes its shape only and does not depend on its details.
Refs #32. Related: #1, #5, #29.