Skip to content

Ui Refinement Ux18 A

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

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

UX18-A — Configured multi-volume manager integration (incomplete)

The UX18 native foundation was merged after 261 passing local gates, no failures/skips/blocked gates, nine hosted checks on bf19575 and maintainer reported manual review. This accepts the native foundation only. UX19 and UX20 remain distinct filesystem and retention objectives.

Implemented scope

The existing split-store IPC search, pending index scheduler and authenticated receipt adapter now accept a common serialized SplitStoreOwner. Existing single-pair and separately approved modes retain their startup behavior. The explicit non-root manager mode accepts --storage-volume-state ABS_DIR with --storage-raw, --storage-index, --index-pending yes, separate private IPC and audit directories, and optional repeated --storage-raw-next and --storage-index-next paths (use - for an empty spare slot). The state location must already exist, be private and supported. First use explicitly requests --storage-volume-init yes; it adopts or initializes the first pair under the manifest lock. Later starts omit the init option and reopen only. All configured nonempty directories must exist and be canonical and independent of manager IPC, audit, registry, profile and state directories at startup. Historical slots cannot be edited out of the manifest configuration. No fallback is permitted on missing or invalid history. No extra privileges or administrator approval are introduced.

The owner routes configured admissions through circular overflow selection and preserves cross-generation exact retry semantics. In this development-scale mode, capacity and pending indexing remain tied to the active generation; rotation refuses unresolved historical or active pending projections. Physical index exhaustion with unresolved projections remains an implementation blocker.

The existing authenticated AF_UNIX frame format gains explicit VOLUMES and ROTATE operations in this mode only. Request forms are KSIPC/1 VOLUMES REQUEST_ID\n and KSIPC/1 ROTATE REQUEST_ID RAW_SLOT INDEX_SLOT\n. Request IDs are existing 16-character lowercase hexadecimal identifiers. Slot arguments are canonical decimal integers 0–127. A response includes the same operation and ID, OK, PENDING, or REFUSED, and the committed raw/index slot numbers. No arbitrary paths or privilege changes are accepted. Requests are serialized with ingress and indexing, same UID/GID authorized, and require persistent audit. A successful manual rotation or observed admission rollover is audited as storage_rotated; already active requests are idempotent. An uncertain or poisoned owner cannot return a confirmed active state. This protocol is not yet consumed by the desktop. General ADMIN requests remain denied; no change to remote network authorization is made.

Configured reopening can recover an interrupted volumes.v1.pending only if it is a canonical same-namespace one-generation extension of the committed manifest, all original entries are unchanged, all previous projections are complete, and the verified new pair is empty. It synchronizes and renames the pending manifest before confirming the new active generation. Unknown, invalid, or ambiguous state is refused. No arbitrary pending file deletion or implicit evidence migration occurs. The checksum is not authenticated anti-rollback protection against same-user manipulation. A crash before pending publication may leave unused child directories. Real power-loss durability is unqualified.

Qualification

The existing native regression exercises configured initialization, receipt adapter admission, pending refusal, actual quota rollover, historical exact retry, manual index rotation, canonical pending manifest recovery, idempotent rotation, invalid slot refusal, reinitialization refusal and historical slot removal refusal. The new disposable ordinary-user executable fixture seeds an existing pair, starts the real manager, checks historical IPC, requests both role rotations, refuses an unconfigured slot, and reopens after normal stop. It requires a supported local filesystem and complete target build. Neither fixture substitutes for production-agent end-to-end live handoff, physical full-volume rollover or pending index relocation.

The local runner now expects 121 structural verifiers and 263 gates, including one new actual manager fixture; 682 configured CTests and the cumulative five-execution cap per test and preset remain unchanged. Private maintainer physical-test tracking is separate from public source and ordinary automation.

Remaining mandatory work

Normal desktop lifecycle must adopt a permanent manifest without silent replacement, pass the configured pools, support safe historical slot edits, request actual primary rotation, report confirmed active state and deliver rollover notifications/history. Existing direct-layout stores cannot yet rotate an unchanged role beneath the original directory. Index backlog relocation, physical ENOSPC/retry, availability of disconnected spare slots on startup, full crash-boundary automation, authenticated ingress during handoff and complete target qualification remain outstanding. UX18-A does not complete UX18; its opt-in manager mode must not be confused with the existing slot-0 desktop writer. Physical test deferral does not waive missing software.

Maintainer acceptance

UX18-A passed 263 gates (zero failures, skips or blocked), 27m15s, and nine hosted checks on 05fef1e; GUI review and merge reported. Continue in UX18-B. This accepts the explicit manager integration only.

Clone this wiki locally