Skip to documentation
KonclaveDocumentationSource snapshot · Apache 2.0
Browse documentation

Packaged clean-install acceptance

The required Packaged clean-install acceptance job operates on downloaded workflow artifacts, not Cargo build outputs. It extracts two independent client...

GuideSource revision 8d0d3676e9fcView authoritative source

Repository-relative paths and “this checkout” refer to the Konclave source repository, not this website. The source link above identifies the exact revision used here.

On this page

The required Packaged clean-install acceptance job operates on downloaded workflow artifacts, not Cargo build outputs. It extracts two independent client installations, the standalone relay and A2A gateway, and both Docker-loadable service candidates into job-private paths.

Automated evidence

The job proves:

  • relay-bootstrap creates a verifier-only access document and protected, endpoint-bound enrollment source without printing or passing the raw credential;
  • one init command configures all later session profiles without per-session relay variables;
  • every extracted client CLI enforces the native UserPresence helper’s input bound, and Linux/macOS candidates reject UserPresence initialization before creating profile state;
  • doctor recognizes the extracted daemon and plugin and reaches the relay through a locally generated certificate chain trusted by the client process;
  • one packaged shared-service process hosts independently enrolled profiles and the thin plugin contains no daemon;
  • two shared-service clients pair through one capability and exchange exact messages in both directions;
  • both clients exchange and independently activate one exact collaboration-policy digest, retain it across service restart, and prove ordinary text cannot authorize an autonomous reply through separate interactive and delivery connections;
  • an untrusted relay certificate is rejected before the same endpoint succeeds with its temporary CA explicitly trusted;
  • disconnecting one client, sending while it is offline, and reconnecting replays the exact missed message;
  • restarting the one service through a second, byte-identical extraction preserves profile identity;
  • an active pairing can be cancelled without exposing Invitation, JoinProof, Welcome, cursor, route, or peer-binding fields;
  • native and Docker-loaded relays expose the same enrollment, pairing, delivery, and recovery behavior;
  • native and Docker-loaded gateways publish the same explicitly enabled Agent Card, reject anonymous task access, submit one exact directed request through the packaged shared service, observe one policy-authorized response, and expose the completed task through GetTask and ListTasks;
  • restarting each gateway preserves the SQLite task projection and serves the same digest-verified ciphertext object while rejecting range requests;
  • relay databases and logs contain neither message plaintext, pairing capabilities, nor the protected enrollment record;
  • service process arguments and environments contain no relay credential or endpoint variables and no tested secret/plaintext sentinels;
  • removing extracted installations leaves profile databases intact; and
  • Docker cleanup removes the exact relay and gateway containers and both loaded images while preserving the pre-run engine baseline.

The test compiles only its CI harness. Every process under test—the CLI, shared service and its replacement extraction, standalone relay, standalone gateway, and both container images—comes from the packaged release candidates.

The prerelease publisher consumes the same complete candidate set after this acceptance job succeeds. It does not rebuild an archive after creating the release tag.

The required Installer lifecycle conformance gate runs on hosted Linux, Windows, and macOS. It proves owner-only state publication, bounded ZIP and tar extraction, traversal rejection, host-target selection, legacy raw-extension backup, Windows owner-session task install/status/uninstall, and deterministic recovery from an unhealthy update without publishing new state.

Gateway-container execution uses host-loopback networking only inside the acceptance harness so the owner-verified Unix local-service socket retains the host account’s kernel peer identity. The released Compose contract is validated separately and uses a bridge network, host-loopback publication, and an operator-managed TLS reverse proxy. Acceptance does not weaken socket permissions or bypass peer verification.

The artifact assertion covers the packaged encrypted-object store and HTTP retrieval boundary. Harness-facing artifact publication remains a separate adapter concern; no acceptance step fabricates an A2A task artifact that the packaged target did not publish.

Because this is the first packaged prerelease, no earlier release exists for a cross-version schema migration. The job covers replacement-install mechanics by restarting a durable profile through a second clean extraction. It covers the documented archive uninstall path by removing both installation roots while confirming the separate profile state remains. The focused UserPresence component gate separately constructs an exact authorization-store schema-1 database and proves its transactional schema-2 migration preserves live state.

Proprietary Copilot boundary

CI simulates the Copilot host contract around the packaged thin client: registered SDK tools, authenticated profile attachment, delivery settlement, idle injection safety, uncorrelated terminal updates that do not enter model turns, and no process launch. Existing plugin tests exercise session callbacks, slash commands, reconnect, and safety framing.

The packaged shared-service scenario now verifies the daemon-owned collaboration boundary without cloud inference. Each logical client opens fresh interactive and delivery handshakes under one authenticated session key and claims the live delivery lease. After service restart, uncorrelated text cannot authorize an autonomous turn; an explicit reply preserves its exact reply chain. Reply-only policies keep that answer terminal; current local work authority may admit an exact correlated answer as continuation without another reply. Rust service tests cover exact directed-request claim, one-use response authorization, no-response completion, claim renewal, capability negotiation, and crash recovery. Packaged plugin tests cover exact request authorization, one correlated send, idle completion, and acknowledgment after the terminal handling outcome. Continuation tests exercise current work admission, exact answer identity, duplicate refusal, and idle delivery without a required response tool.

The CI-safe shared_service_process test additionally attaches 20 logical clients with 40 authenticated interactive/delivery lanes and 20 delivery leases to one PID, proves distinct identities and profile stores, checks process/descriptor/memory bounds, pairs two profiles, exchanges an offline message and exact reply, restarts the service, and verifies relay opacity.

The test does not perform browser OAuth against the proprietary Copilot CLI service and does not request cloud model inference. Those operations require a billed, interactive external account and produce nondeterministic model output. Konclave’s public protocol, package, local process, and delivery claims do not depend on that external behavior.

The separate local-only SDK smoke uses the packaged shared client with the current developer’s Copilot authentication. It sends one explicit directed request, permits one correlated response under the exact active policy, confirms the response remains terminal, and observes bounded empty delivery watches without another model or tool turn. Its output is local evidence only and is never uploaded by CI.

Content: Konclave,Apache-2.0. Revision: 8d0d3676e9fc746749a4fc04ddeb4499023c4104.