Repository navigation
Live Review Journal Live6D3
Published documentation mirror. Edit the source through a repository PR. See Project status.
Status: accepted; desktop local review history, not manager alert ledger
integration or a completed operational SIEM. LIVE6D.2 passed 230 local gates,
682 configured CTests, 100 structural verifiers, nine hosted checks on
0a7cb43, and maintainer-reported manual review and merge.
The existing separately approved local evidence session enables the journal. The consent explains retained review transitions and its fixed quota. The existing detector remains the source of current findings; the trusted desktop owner queues activation or recovery only after consuming a durable typed readback. Acknowledgement is an explicit local desktop action available only for a current, durably activated, unacknowledged finding. The native API requires explicit caller authority and an expected revision for acknowledgement; it does not authenticate arbitrary callers or record a verified analyst identity. Acknowledgement never clears a threshold finding or changes alert severity. The journal is separate from the manager's indexed event and alert namespace. No synthetic journal event, manager alert ID, incident or security verdict is created. Existing threshold defaults are unchanged.
local-reviews-v1.bin is created only on the first valid transition in the
existing private evidence directory, with exclusive creation, restrictive
0600 permissions, one link, supported local filesystem and the existing
exclusive directory lock. It is bounded to 512 transitions of 144 bytes each
(72 KiB logical bytes, excluding metadata), with no automatic deletion.
The format is a separate version/domain (first word 2), a global journal
ordinal, receiver-local timestamp, rule kind, action, activation sequence,
revision, first and last proof sequences, session identifier and zero reserved
words; a separate SHA-256 chain follows the fixed payload. An activation ID is
its triggering evidence sequence within this evidence stream; the session
identifier distinguishes session provenance. It is not a globally unique
manager alert ID. The native history API returns a bounded vector of transitions.
The store independently reads the evidence stream and verifies the last three consecutive observations of the applicable kind (up to 256 total records scanned backwards), including identical session and numeric scope and the existing high or low thresholds. Other kinds may be interleaved. Recovery must refer to a previously activated, unrecovered review and three qualifying records after activation, in the same session. Reused or overlapping activation proofs, wrong rules, missing evidence, stale acknowledgement revisions and invalid transitions are rejected. Acknowledgement advances revision without inventing new evidence. Activation and recovery require the current store session for live commands; historical replay validates the persisted evidence without claiming it belongs to the new session. The caller still owns source availability, sampling-gap and authorization checks: the proof alone cannot establish those runtime conditions.
Before a completion is published, exact positional write, fdatasync, identity and size checks and exact byte readback must succeed. New file and directory entries are synchronized before first append. Reopen validates the complete bounded journal chain and evidence references. Unsafe links, missing referenced evidence, malformed records, partial writes, conflicting transitions and quota violations are refused, not repaired. Existing evidence segments are not rewritten. No automatic truncation, deletion or fallback occurs. A failure in review admission terminates the desktop evidence worker and withdraws current findings. File metadata is rechecked during evidence operations once the journal has been loaded; historical contents are not continuously rescanned.
Review commands and completions share the existing 16-outstanding-operation FIFO mailbox and six-second checked deadline. All review filesystem work and reopen validation occur on the worker, not the desktop event thread. The UI marks an activation journal pending until the worker returns its durable completion. The Local LAN dialog offers separate acknowledgement controls for current TCP and passive reviews. Acknowledgement pending is distinct from confirmed acknowledgement; confirmed acknowledgement leaves attention active. Evidence-backed recovery is journaled separately and marked pending until confirmed. The desktop rechecks current topology and passive availability before publication and acknowledgement. Stop, reset, failure and source loss withdraw current findings rather than fabricate recovery. A previously executing write may finish after Stop; queued work and unpublished completions are discarded. No old finding becomes current on reopen. Unresolved history is not proof of an active condition. The GUI does not yet offer historical query, acknowledgement or investigation workflows; the native history API can read those transitions. Acknowledgement is local operator consent only.
The extended LIVE3 contract exercises the real background worker, interleaved
rules across segment boundaries, acknowledgement that leaves detection active,
evidence-backed recovery, reopen equality, denial, stale revision, duplicate
activation, unsafe links, withdrawal, partial and corrupted records and
oversized journal refusal. All existing CTest inventories and performance
budgets remain unchanged. The private runner requires 101 structural verifiers,
231 full gates and the new marker in five Release and five sanitizer runs.
Maintainer acceptance: 231 automated gates, nine hosted checks on b3908b6
and reported manual review/merge; positive GUI acknowledgement opportunity
not separately reported. A native test uses synthetic
aggregate evidence only; do not generate excessive traffic to force a review.
The 512-transition quota is an initial nondeleting policy, not a rolling retention service. The existing six-second deadline is not a syscall watchdog; worst-case full-capacity reopening and long-duration concurrency remain open. SHA-256 chaining does not prevent malicious same-UID rewriting or detect an entire removed journal/suffix after restart without an independent anchor. Power-loss recovery, audited deletion, evidence holds, external anchoring, manager-owned alert publication, authenticated analyst identity, historical UI, operational manager/agent and device ingress, and continuous scheduling remain required before completing the overall operational integration series. Private evidence segments and the review journal must never be published.
Source repository · Documentation index · License policy
Documentation mirror — CC-BY-SA-4.0. KnetSentry is not an official KDE project.