Skip to content

Ui Refinement Ux11

Chris Sutton edited this page Dec 2, 2026 · 1 revision

Published documentation mirror. Edit the source through a repository PR. See Project status.

UX11 — Authenticated split-store processing and capacity supervision

UX10 native activation is accepted within its delivered scope: local 252 PASS, 0 FAIL/SKIPPED/BLOCKED, nine hosted checks on bb0489e, manual GUI and merge reported. Local qualification took 26m26s (03:08:59–03:35:25 UTC). Retain the five-execution budget per named CTest/preset.

Accepted scope

Maintainer qualification: 254 PASS, 0 FAIL/SKIPPED/BLOCKED; nine hosted checks on c6fbf0a, manual review and merge reported. Retention remains outstanding. See UX12 for the subsequent query integration.

The existing explicitly scoped, authenticated single-peer manager ingress can now use an administrator-approved existing split store. No change to TLS, enrollment, numeric peer, interface, journal mode, privacy or transport policy. The same audited receiver uses a split receipt adapter with exact endpoint, manager binding, unit and mode validation and trusted receiver timestamps. Acknowledgement requires durable raw commitment (or exact retry), not projection. The serialized manager processes at most one pending projection each second, prioritizing shutdown and never using a legacy-store fallback. Index publication continues to use the existing atomic, independently validated SQLite projection. The raw files hold canonical admitted journal rows, not full packets or payloads.

To opt in, follow UX10 for root-published approval and explicit initialization of an empty pair. Run the reviewed non-root manager with --approved-storage-file ABS_FILE --ipc-dir ABS_DIR --audit-dir ABS_DIR --index-pending yes. For authenticated receipt, additionally supply --ingress-profile ABS_DIR --enrollment-dir ABS_DIR under the existing authorized LAN and profile contract. Directories must be distinct and non-nested in split mode; legacy event, device, alert and detection composition remains refused. Opening with no --index-pending yes retains UX10's activation-only behavior. Do not mix these modes, run as root, or overwrite an existing pair. Existing boot/mount binding, root approval file policy, non-root owner and 0700 private storage requirements remain in force. This is explicit startup approval, not continuous approval-file revocation monitoring. The profile itself retains its existing runtime authorization checks.

Capacity and interruption behavior

Each processing tick validates both locations and the raw/projection integrity, measures bounded record and wire use and pending count, and checks raw reserve and conservative index publication space (including room for the replacement). A typed storage_pressure audit event denotes a transition into pressure; storage_pressure_cleared denotes recovery. These events contain no paths or raw evidence. New raw receipts obey existing raw capacity and reserve gates; exact durable retries remain valid even when the record quota is full. When index reserve is insufficient, backlog remains intact and can resume after space returns. Invalid storage identity, integrity, audit or publication failure stops the manager without fallback. Publication failure after an authorization record is not recorded as completed. Startup recovery uses the existing raw head recovery rules. A new audit session directory is still required for restart.

Retention remains an outstanding UX11 requirement

The production limits remain 128 records, 256 KiB canonical wire data and 2048 SQLite pages, with the existing 1 MiB reserve. These are development-scale limits, not sustainable network-wide retention. No raw deletion, automatic rotation of split pairs, or unbounded quota increase is implemented. The current projection is verified against the raw records and exact retry deduplication relies on their identities; unlinking processed raw files would invalidate both. A subsequent UX11 increment must implement a durable checkpoint/manifest and independently verifiable projection with persistent receipt identity and conflict state, explicit retention/hold policy, safe expiration and interruption recovery. Deletion must require durable downstream processing and explicit policy, protect held evidence, and never silently lose pending records. Capacity supervision here is not a complete storage health UI, sustained-load or endurance qualification.

GUI-driven approval, installed-service activation, cross-boot approval renewal, full packet spooling, device-domain integration, detection and investigation queries were outstanding at UX11 acceptance. UX12 now addresses scoped event query integration while retention remains outstanding; M10 remains deferred.

Qualification

Extend the existing native split-store CTest with bound receipt, exact retry, conflict and quota refusal, independent index outage and restart recovery, capacity reporting and backlog drain without deletion. Extend the isolated administrator fixture with a separate --split-storage mode using synthetic classified TLS sender, two raw records, actual SQLite projection, no legacy writes, profile withdrawal, and existing-store reopening. The fixture uses only disposable namespaces and approved local filesystem paths. It does not establish physical production-agent delivery or full network coverage.

Clone this wiki locally