Skip to content

Live Manager Detection Live6D4 5

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.5 — Explicit manager-owned stored authentication detection (candidate)

Scope

This is the first scoped portion of the continuous detection/freshness/extended qualification increment. M7.5 and M7.6 support classified authentication evidence, not metadata-only remote journal rows or unauthenticated UDP device observations. Do not infer SSH failures from metadata or syslog priority. This increment runs the existing fixed M7.7 SSH-failure rule (two failures in the receiver-time window of 60 seconds, medium rule severity) against already indexed, explicitly approved stored authentication evidence. VerifiedStored describes storage integrity, not proof of endpoint truth or transport authentication. Coverage is always Partial.

Startup authority and execution

The optional --schedule-dir ABS_DIR is an explicit grant to mutate the existing M7.5 schedule and M7.6 alert ledger. It requires --alert-dir, --alert-access read|ack, --event-store-dir, --ipc-dir and --audit-dir. All five directories must exist and be distinct; schedule, alert, event and audit directories are pinned and revalidated without following symbolic ancestry. Existing alert profile identity is rechecked every service turn. read still denies operator IPC acknowledgement; it does not disable explicitly authorized scheduler publication. The existing private M7.7 profile and initialized schedule/alert state are required; no automatic provisioning is introduced. Invalid state fails closed on the first scheduled execution. A fresh audit directory is required per process, as before. No simultaneous indexing, authenticated ingress, device mode or enrollment scope is allowed. Ordinary startup and installed service arguments are unchanged.

The serialized service loop prioritizes shutdown and checks current authority, then runs one bounded scheduler turn immediately and no sooner than five seconds after each completed turn. Pending indexes cause refusal; no new index mutation is permitted. The existing scheduler validates the bounded snapshot and carries its durable checkpoint. The manager records detection_authorized before a potential scheduler mutation, calls run_schedule, consumes any committed or replayed findings using consume_alerts, records detection_published after Ok/ExactRetry, and only then acknowledges that precise scheduler generation. detection_completed means the complete turn succeeded, not a new alert or a fresh endpoint observation. Existing alerts become accessible through ALERTS IPC. No raw event writes or automated response are introduced. Revoked profile, changed directory identity, pending evidence, unexpected schedule result, audit or storage refusal stops service. Clock rollback can also stop execution.

Security and limitations

TB-05/TB-07 local service, evidence integrity and audit; existing M7.5–M7.7 authorization, bounded evidence and lifecycle contracts remain applicable. The caller-assigned store identity is not a cryptographically enrolled store identity. The manager pins directories, not an atomic multi-store transaction; same-UID replacement or rewriting and races between sampled checks remain outside strong protection claims. The existing audit, schedule and alert stores have separate durability boundaries. An interruption may leave an authorization without completion or a published alert without scheduler acknowledgement; exact-retry consumption prevents duplicate alert creation. Publication audit may repeat for replay. The existing read-only startup check refuses abandoned alert pending state rather than implicitly repairing it. Current audit file metadata checks are inherited. The fixed audit budget is consumed even by empty turns; this is a development lifecycle, not unattended production capacity. The five-second delay is not an execution deadline. No independent freshness watchdog, GUI freshness indicator, continuous remote evidence admission, device query, combined source scheduling, production retention or physical/long-duration qualification is established. Lifecycle READY is not detector readiness. Audit completion timestamps are local evidence of completed turns, not delivery freshness. LIVE6D.4.3B and the remainder of LIVE6D.4.5 must remain open before M10.

Qualification

The M7.7 runtime fixture seeds two current classified SSH failures and a separate metadata-only record. It tests default nonmutation, invalid schedule directories, actual manager publication, exact evidence references, partial coverage, persisted alert replay without duplication, restart, audit order and profile withdrawal. Database bytes remain unchanged. The precommitted replay variant deliberately leaves a scheduler generation unacknowledged; it is not a simulated attack. Existing M7.7 GUI test remains unchanged. Full qualification requires 106 source verifiers, 682 configured CTests and 244 expected gates with --full --refresh-installed-manager (245 with optional GUI review). The two new repeated runtime gates require the LIVE6D.4.5 completion marker. No real credentials, network traffic or private evidence is needed for this test.

Clone this wiki locally