Repository navigation
Live Agent Delivery Live6D4 3
Published documentation mirror. Edit the source through a repository PR. See Project status.
LIVE6D.4.2 was accepted with 236 local gates, 103 structural verifiers, 682
configured CTests, nine hosted checks on f025eed, and maintainer-reported
manual review and merge. The isolated manager TCP/TLS receipt, indexing and
withdrawal fixture passed with the native fixture sender. It did not run the
production agent transport policy.
The actual knetsentry-agent now optionally owns an AuthorizedAgentTransport
through a startup-only local delivery profile. This is a scoped implementation;
positive physical-interface agent delivery and extended operational qualification
are still outstanding. Existing service launchers and default offline collection
are unchanged. The receiver remains single-peer and metadata-only.
Only an explicitly approved metadata journal collector with durable buffering may request delivery. The option order is:
knetsentry-agent --run --schema-version 1 --collectors journal --unit UNIT.service --state-dir ABS_SPOOL --buffer-for BINDING --delivery-profile ABS_PROFILE --privacy-policy POLICY
BINDING is the existing 96 lowercase hexadecimal characters (endpoint ID,
then approved manager public-key fingerprint; no separator). The privacy policy
must independently permit metadata journal identifiers and buffering. Audit,
authentication, FIM and no-collector modes cannot enable this profile.
The profile and spool must be distinct existing private directories on the
supported local filesystem classes; paths are walked without following symlinks.
The profile contains delivery.conf, agent.key, agent.der and root.der.
Directories require mode 0700 and the local effective user; credential and policy
files require mode 0600, a single link and ordinary-user ownership. The config
is bounded to 512 bytes and uses the following ASCII token format:
KSA1 INTERFACE LOCAL_IPV4 NETMASK PORT MANAGER_IPV4 BINDING UNIT PRIVACY_SHA256
PRIVACY_SHA256 is the lowercase SHA-256 of the exact privacy policy string;
BINDING and UNIT must exactly match the collector invocation. The agent key,
agent certificate and independently approved trust root must already exist in the
accepted formats. The manager pin is taken from the matching approved binding.
There is no certificate generation, registry enrollment or credential provisioning
in this executable path. Provisioning and physical-network qualification require
an explicitly authorized separate setup. Never publish these private files.
An exact schema-one M3.4 outbound approval is constructed from this validated
profile with a process-local generation of one. Network topology and the route
must pass existing NetworkAuthorization checks before any journal collection
or socket creation. No loopback, veth, other unsupported virtual interface,
wildcard, default-route, off-prefix, broadcast or privilege fallback is added.
The listener policy remains independently owned by the manager.
One serialized connection owner is allowed. The foreground loop checks signals and drives the owner with a 20 ms wait; the journal collector and its existing aggregate status publication remain paced at one second. A nonempty durable queue can initiate one connection. Every completed or failed attempt imposes at least five seconds before another attempt. There is no catch-up or parallel handshake; the accepted transport enforces its existing 20-second lifetime, ciphertext and application protocol limits. Delivery completion means that the existing authenticated ACK validation and durable queue update succeeded. A failed attempt does not claim delivery. The existing source-blocked behavior allows already committed records to drain without resuming collection.
Policy bytes, certificate/root bytes, key metadata, directory identity, the actual queue directory, exact current local attachment, and M3.4 gate/route are revalidated during the session. A terminal authority loss or invalid queue stops the agent. Restart requires the explicit startup configuration again; no live policy reload or automatic trust rotation is introduced. Ordinary transport failure under still-current policy may retry after the fixed cooldown. Signals stop the connection before collector closure in the normal shutdown path. Fixed diagnostic lines report confirmed ACK/dequeue or an unconfirmed failure; they contain no identifiers or records. The inherited status stream still reports collection and queue health, not authenticated delivery freshness.
TB-04/TB-06/TB-07 and existing LAN scope, privacy, exact route, TLS pinning, current manager-side enrollment and durable acknowledgement controls apply. No new privilege, public intelligence egress, listener, DNS, firewall changes, raw message retention or deletion policy. The profile is trusted local administrative input, not an independent authenticated administrator identity; same-UID modification, sampled checks and synchronous filesystem/route operations remain limitations. A blocked operation can delay signal/withdrawal processing. No new systemd activation, production deployment or positive physical LAN claim.
Require all 104 structural verifiers, the unchanged 682 configured CTests and
239 full automated gates (240 with optional GUI review). The existing agent
runtime now tests incomplete and unsafe profile denial before spool mutation;
repeat five Release and five sanitizer executions. Use --full --refresh-installed-manager because the shared journal library may change
the installed manager binary; service startup arguments remain unchanged. Extend the mandatory isolated
manager fixture to invoke the actual agent with disposable valid PKI and a veth
profile, require refusal, then run the unchanged native fixture sender and
manager receipt/index/withdrawal tests. This is a negative production agent
policy check, not a positive actual-agent delivery test. No production
policy bypass is allowed. A complete end-to-end physical LAN test with the actual
agent, including outage/retry, lost ACK, withdrawal and restart, remains required
before closing the full operational endpoint-delivery objective. Also outstanding:
operational provisioning, bounded multi-peer scheduling, delivery freshness,
gateway integration, continuous detection and long-duration qualification.
Maintainer acceptance: 239 local gates, 104 structural verifiers and nine hosted
checks on 4e690da, with reported manual review and merge. Physical agent delivery
remains outstanding independently of LIVE6D.4.4.
Source repository · Documentation index · License policy
Documentation mirror — CC-BY-SA-4.0. KnetSentry is not an official KDE project.