Skip to content

Live Unified Operation Live6D6

Chris Sutton edited this page Dec 2, 2026 · 2 revisions

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

LIVE6D.6 — Unified operational integration

Status: delivered implementation accepted and merged, not final LIVE6 acceptance. Maintainer qualification on 2026-11-30 UTC: 246 automated gates passed with zero failures, skips or blocks, including isolated classified receipt/device composition and composed pending indexing/detection/withdrawal; 107 source verifiers and 682 configured CTests. Nine hosted checks on 7495e03; manual GUI and merge reported. Positive physical agent qualification and extended operation remain outstanding. See UX6 for the subsequent UI refinement.

The previous LIVE6D.4.5 revision (2f1a005, hosted checks; applied working tree based on 59085c98b44e47e5e79e8a11df69faaf8ca9f915) passed 244 automated local gates, zero failures/skips/blocks; manual GUI and merge were maintainer-reported. All 556 public files and the private runner match the previously delivered candidate.

Authority and execution

--operational yes is an additional explicit startup-only composition authority. It requires the existing event store, pending indexing, scheduler, alert scope, operator access policy, IPC and persistent audit. Ingress and device profiles are independently optional and retain their original credential, scope, filesystem, and topology checks. Every provided directory is distinct. Default/standalone modes retain their original restrictions. Existing non-root service confinement and lifecycle-only installed units are unchanged.

One serialized owner executes bounded ingress, device, indexing and detection turns. Detection defers without completion or checkpoint mutation while pending indexes exist; no metadata-only or UDP severity is promoted to an authentication finding. Existing one-second index pacing and five-second detection pacing remain. There is no simultaneous database connection or new network privilege. A single approved peer and one active connection remain the endpoint ingress limits.

KSA1/KSI1 profiles continue to specify metadata. KSA2/KSI2 use the same fixed fields and explicitly select classified authentication; the agent requires the matching authentication collector, authorized unit, exact privacy-policy digest, and non-redacted classification consent. The manager independently validates canonical authentication rows and the approved endpoint/unit. No raw MESSAGE field is persisted/transmitted by the authentication classifier. Source-reported categories remain observations, not proof of compromise. TB-04/TB-05/TB-06/TB-07, TB-02/TB-03 and existing KS-NET boundaries remain applicable.

Local operational queries

Same UID/GID authenticated, persistently audited IPC, available only with explicit composed mode. Frame format is the existing four-byte big-endian length and ASCII payload with newline. Example request KSIPC/1 OPS 0123456789abcdef. The response repeats prefix and ID and then twelve fields:

  1. endpoint ingress enabled (0/1)
  2. device ingress enabled (0/1)
  3. age in ms of last successfully audited durable endpoint receipt (or NA)
  4. age of last successfully audited durable device receipt (or NA)
  5. age of last completed durable index mutation (or NA)
  6. age of last successful detection turn (or NA)
  7. age of last durably published and acknowledged finding generation (or NA)
  8. current pending record count
  9. current stored record count
  10. configured event-store record limit
  11. device ledger record count (or NA)
  12. last detection turn deferred for pending indexes (0/1)

All ages are monotonic, current-process only; an exact receipt retry can refresh receipt age, and an idle source can legitimately have no receipt. No heartbeat or coverage claim is inferred. The desktop may explicitly request this snapshot with --ipc-dir ABS_IPC --operational-health, using the existing nonblocking client and two-second response deadline; pending or invalid responses withdraw data. The view refreshes on the existing 30-second cadence and labels ages at sample; 60 seconds is a presentation threshold, not a source-specific SLA. There is no independent hard watchdog for blocked manager syscalls.

KSIPC/1 DEVICE 0123456789abcdef SEQUENCE returns the exact typed record from the approved private ledger, labeled UNAUTHENTICATED_UDP, or UNAVAILABLE. Fields are sequence, receiver time, policy generation, interface index, numeric source and destination, source and destination port, facility, severity, length. The selected record and preceding digest are checked under current authority; this is not an external integrity anchor. No free-form message body is returned. The query does not create authenticated asset identities or journal event IDs. Device evidence has no dedicated GUI browser in this candidate.

Audit and resource limits

Composed mode enables up to 32 exclusive, nondeleting 1 MiB audit segments in a fresh private audit directory. Session and sequence continue across rotation; file and directory synchronization precede new writes. Active directory and file identity are checked before and after each append. Existing standalone modes retain a one-file limit. A new process needs a fresh audit directory. No prior segment deletion, automatic repair or independent external anchoring is claimed. Completed audit segments are not continuously revalidated. Audit and evidence transactions still have separate durability boundaries; existing exact-retry contracts prevent duplicate endpoint evidence and alert generations but do not atomically reconcile separate audit commits.

Event store 128 records, alert ledger 128 alerts, device ledger 8192 records, local evidence 131072 records and local review 512 transitions remain unchanged. No automatic retention or deletion is added. Capacity can stop processing or refuse admission; sustainable high-volume/long-duration operation and authorized retention/evidence holds across all domains remain outstanding. The composed manager still performs synchronous storage and topology work. Fairness is bounded by turns, not hard deadlines; sustained pending backlog can defer detection.

Qualification

Retain every inherited gate. The expanded M7.7 actual executable regression exercises pending indexing before detection, explicit composition denial, classified proof, strict operational query codec and authority withdrawal. The audit native contract exercises actual first rotation and active withdrawal. The isolated manager fixture has an additional classified sender mode with two records, concurrent authorized UDP, typed device query and exact alert evidence. It uses a native fixture sender, not the deployed agent. Positive physical agent-to-manager operation remains mandatory and cannot be inferred from isolated virtual-interface refusal or this fixture. See the physical procedure below.

Disposable physical two-host qualification

Use only two explicitly authorized Ubuntu 26.04 AMD64 hosts on the same private physical link. Use a disposable test endpoint with a fresh, small local journal; existing journal acquisition starts at the head, and the 128-record store cannot hold an arbitrary existing journal. Do not clear a production journal or test on someone else's system. Review ip -br address and ip route locally; enter only the two approved numeric addresses, matching subnet and actual interface names. Do not modify the installed service, relax M3.4 restrictions, or open broad firewall rules. If the authorized test link or journal access is unavailable, report BLOCKED rather than bypassing policy. Local user journal access is needed.

On the manager run, from the source checkout (replace placeholders):

python3 scripts/live_physical_qualification.py manager \
  --base "$HOME/ks6d6-test" --interface MANAGER_IF --local MANAGER_IP \
  --peer AGENT_IP --prefix PREFIX --build "$PWD/build/presets/linux-release" \
  --confirm-disposable-authorized-lan

The helper requires a new base directory, generates disposable fixture PKI and state, and prints the foreground command without launching it. Fixture root and leaf certificates expire after 48 hours. Transfer only the agent directory over an independently approved secure channel (e.g. private removable media); never transfer manager key or registry. Confirm the manager pin through a trusted local comparison. On the endpoint create a new 0700 base, install the agent directory with files 0600, then run the helper with agent, AGENT_IF, AGENT_IP as local and MANAGER_IP as peer. Both hosts must build this exact revision. Run printed agent command before manager. No root agent/manager invocation is permitted.

Generate only a small number of genuine failed logins against your disposable SSH test service using an authorized test account and normal interactive login; no automated guessing. Check that two ssh.service failure categories are actually classified by the source, without sharing raw journal entries. While manager is stopped, verify evidence is durably queued and there is no confirmed ACK. Stop/restart the agent without changing its spool, start the manager, and verify the confirmed ACK diagnostics, indexed evidence and exact two-record alert through the desktop's existing Alerts interface. A fresh audit directory is required on each manager restart; the evidence, scheduler, alert and device state remain unchanged. Use the explicit external desktop IPC mode:

./build/presets/linux-release/apps/desktop/knetsentry \
  --ipc-dir "$HOME/ks6d6-test/ipc" --operational-health

Verify small approved UDP test traffic only if separately authorized, separate unauthenticated evidence, receipt ages, pending indexing and partial coverage. Stop the manager, produce another small authorized test observation, restart it with a new private audit directory and confirm resumed delivery without duplicate evidence. Withdraw the disposable delivery.conf and confirm agent termination; withdraw manager ingress profile and confirm manager termination/IPC cleanup. Keep evidence and credentials private. Report only pass/fail counts and sanitized status, not private files. Use a one-hour smoke and 24-hour endurance only after capacity analysis; the current finite evidence/alert limits and absence of production retention mean a busy endpoint can legitimately exhaust the store. No endurance or physical test has been performed by the implementation author.

Clone this wiki locally