Skip to content

Live Manager Index Live6D4 1

Chris Sutton edited this page Nov 30, 2026 · 1 revision

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

LIVE6D.4.1 — Manager-owned pending evidence indexing

First scoped executable integration increment within LIVE6D.4. The accepted LIVE6D.3 local review journal remains separate from manager indexed journal records. This candidate introduces no endpoint ingress or detection authority.

Authorization and execution

Ordinary lifecycle startup and explicitly configured M6.8 read-only inspection remain unchanged. A foreground non-root manager can additionally be started with --index-pending yes, exactly once, alongside --event-store-dir ABS_DIR, --ipc-dir ABS_DIR and a separate fresh --audit-dir ABS_DIR. Existing schema-v4 storage is mandatory; no creation, migration, fallback, network listener or systemd activation is introduced. Schema-v1 configuration and IPC authorization remain unchanged. The option cannot be combined with an alert scope in this increment; alert acknowledgement and scheduled detection are separate.

The manager owns the same serialized durable store used by existing IPC queries. There is no second database connection or background writer introduced by the scheduler. The owner uses a monotonic interval of at least one second between completed scheduling turns, with no catch-up bursts. Shutdown signals take priority at each poll. At most one pending ID (lowest storage ID) is requested per turn; the existing SQLite backend validates integrity before pending lookup and index commitment. Empty scans produce no mutation audit. Before each index mutation the persistent audit must commit pending_index_authorized; afterward only an Ok/Durable outcome permits pending_indexed. Any failed lookup, mutation, exception or audit write ends the service without retries or fallback. The audit is not atomic with the database; an interrupted or failed completion audit can leave a durably committed index, which is not re-indexed on restart. An authorization record alone is not proof of successful indexing.

Indexed evidence becomes available through the existing explicit EVENTS query; raw data, receiver timestamps, integrity commitments and IDs are unchanged. Existing revision/session cursor rules apply; a new index can invalidate a previous page continuation. No new IPC commands or role permissions are added. Readiness and LIFECYCLE_ONLY status still do not assert monitoring or index freshness. The scheduled owner is local only and no traffic is generated.

Security and qualification

TB-05/TB-07, existing I-01/I-21 and M6.8 storage and local query authority remain applicable. The new explicit startup flag grants local index mutation only, not raw admission, retention, enrollment, network permission or alert creation. Audit messages are fixed typed events without record IDs, paths, or raw content. Store refusal and audit failure are terminal; private data is never published. The existing audit sink has a fixed capacity and requires a fresh private location for each launch. No hard deadline is claimed: synchronous integrity, SQLite and audit operations can delay IPC and signal processing, even though only one record is attempted per turn. Empty polling performs full bounded storage validation. No production throughput or long-duration result is claimed.

The existing M6.8 runtime CTest now additionally seeds three pending records in a disposable database, exercises default denial and invalid flags, actual manager-owned index publication, orderly restart, raw evidence and integrity invariance, audit pairing, empty scans, and failure after store withdrawal. No physical LAN endpoints or actual operational data are needed. The manager binary changes; use the existing explicit --full --refresh-installed-manager runner option for the development systemd binary equality gate. It refreshes only the reviewed inactive installation after earlier mandatory gates pass; the installed service arguments remain lifecycle-only. The existing rendered test retains its read-only scope. Require 102 structural verifiers, 682 configured CTests and 234 full local gates (235 with optional visual review), including five repeated Release and five repeated sanitizer executions of the extended native manager runtime. Full target-host and hosted CI are pending.

Remaining LIVE6D.4: independent authenticated inbound authority and listener, agent executable delivery and reconnect scheduling, durable typed gateway admission, continuous detection, independent freshness reporting, production retention and actual physical-LAN and long-duration qualification. M10 remains deferred; this increment does not establish production operational collection.

Subsequent acceptance

Maintainer reported manual review and merge after 234 successful local gates and nine hosted checks on 65143e3. See LIVE6D.4.2 for the separate opt-in ingress candidate; indexing-only startup remains unchanged.

Clone this wiki locally