Skip to content

Ui Refinement Ux18 E

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

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

UX18-E — Durable storage handoff and operational closure candidate

UX18-D maintainer acceptance: 269 local gates passed, zero failures, skips or blocked gates, 26m56s; nine hosted checks on aa30487 and manual review/merge reported. UX18-E addresses durable handoff and ordered transitions without adding new storage controls. Maintainer acceptance: 271 local gates, zero failures, skips or blocked gates, 27m18s; nine hosted checks on 116923b, manual review and merge reported. UX19 expanded filesystem support and UX20 sustainable retention remain separate.

Durable handoff and notification sequence

The bounded checksummed V2 manifest retains the original namespace, policies and generation identities, a pending role-specific handoff intent and an ordered transition history. V1 manifests remain readable. The manager persists intent before acknowledging or attempting a request, restores it on restart, and re-resolves the unaffected role at execution. New admissions are backpressured while the request is pending; exact durable retries are still permitted. This lets the existing pending-index scheduler drain the backlog. An already committed handoff can be retried idempotently after interruption before intent clearing. The committed state and transition entry publish together. Metadata-only pending manifest recovery verifies unchanged generation history and transition sequence. Failure to commit does not authorize a new receipt or optimistic primary status.

Same-user bounded VOLUMELOG IPC provides current committed slots plus a cursor and at most one ordered transition per response. The desktop starts at the current baseline, drains new events in order and keeps its cursor through manager child restarts. The existing eight-entry opt-in session notification history is still bounded; the manager retains the authoritative ordered sequence (4096 transitions). The journal and the inherited 128-generation development ceiling refuse further rotation at capacity; scalable persistent metadata is UX18-G; destructive evidence retention is UX20. The journal is checksummed, not independently authenticated against a malicious same-user rollback.

Recovery and composition

Configured volume pairs reserve a real 64 KiB emergency extent before new raw admission. Only completion of an existing published raw commitment can release it after capacity failure; ordinary admission retains the normal reserve. Complete failure of the storage medium or inability to publish metadata even after release remains fail-closed. The manager accepts missing unused spare directories with canonical existing ancestors; historical evidence still must verify. A direct-layout pair can retain its original files and coexist with validated same-role private generation children; no raw evidence is migrated or deleted.

Initial establishment uses a durable desktop bootstrap marker created before the external anchor and a native pair-bound initialization intent before publication of new pair files. Only a never-admitted pair matching that intent may complete missing initialization files. Existing legacy pairs are adopted only after verification. The marker is removed after the committed manifest and evidence pair validate, before admissions. Missing established state, unmarked partial pairs and mismatched evidence are refused. An interruption predating this protocol cannot be distinguished from deletion merely by an old empty anchor.

Normal desktop-owned volume startup can pass an explicitly provisioned private ingress directory ($XDG_DATA_HOME/knetsentry-ingress, or the standard data location) and registry (knetsentry-enrollment) to the existing manager. Presence of that provisioned profile is opt-in, not implicit LAN authorization. The manager's existing profile, identity, route, scope and TLS checks remain mandatory. No new enrollment or profile creation mechanism, broad packet acquisition, or authorization bypass is introduced.

Qualification and release status

Extend native storage tests with restart-durable requests, exact retry/admission barrier, ordered transitions, legacy direct layout, reserved extent and interrupted initial establishment. Extend the manager executable fixture with restart during a queued request and ordered replay, the native health decoder with malformed journal replies, the isolated distinct-device fixture with real bounded allocation pressure, and add an isolated authenticated TLS sender crossing a committed primary handoff. The latter is a synthetic sender, not positive physical production-agent testing. Native fixtures do not establish target Qt, executable, network namespace or mount namespace behavior until those gates run. No production fault switches are introduced.

Retain 682 configured CTests, the five-execution cap, 125 structural verifiers and an expected 271 full local gates. Physical full-drive, reboot, disconnect and power-loss qualification remains in the private ledger. Target-host automated checks and manual GUI review remain required; no physical qualification is represented as completed. A completely unavailable device cannot guarantee ongoing durable writes, and ambiguous established state remains refused rather than recreated. Explicitly provisioned ingress, not a new default LAN monitoring authority, is the supported desktop composition. The target UX18-E checks subsequently passed as reported above. The revised operational closure sequence is UX18-F unavailability/recovery, UX18-G scalable metadata, then UX18-H sustained concurrent authenticated ingress.

Clone this wiki locally