VIRGO

Operations and verification

Source
docs/website/operations.md
Pinned at
67d3fb3e1d28a6b49441135920b92b1bea1c6a0e
sha256
0906d2566d813a14f9d54032f69e725e5251997d05caf69d52ef0c73498789d1

This guide is published from the pinned source above. Its English text is reproduced exactly; only its presentation is added.

Diagrams are drawn as static images when the site is built. The same flow is written out as text under each one, so nothing depends on a script.

Operations and verification

Virgo's operational evidence should follow the same path as real work. Begin with the installed bytes and actual process, then verify the protocol, authority, durable state and receiving conversation. This bottom-up check complements the requirements and acceptance cases used to plan a change.

Read the right status

ObservationWhat it establishes
Installed artifact and configurationWhich release and settings were selected
Exact process observationWhich process is running and whether Virgo owns it
Protocol healthWhether that service answers the expected protocol
Seat statusThe authenticated caller's binding and reported delivery state
Committed messageDurable submission; the recipient may still be unavailable
Native receive/reply evidenceThe operation reached the actual provider conversation

Use the exact installation directory returned by the installer. For an existing configured installation, the CLI exposes:

virgo --directory <installation-directory> hub address --network local

virgo --directory <installation-directory> installation inspect \
  --machine <machine> --component agent_host --instance local-hub

Replace placeholders with the target machine and exact returned directory. The official virgo entrypoint supplies the verified CLI. Hub-address inspection checks the configured address from the calling machine. Installation inspection reads durable installation state; it is not a fresh native-delivery test.

The status operation is a Seat operation. It requires a configured authenticated caller and is not a generic test for whether a newly installed, empty Hub is alive. The runtime's endpoint receipt identifies its actual /health address.

Update and recover an explicit instance

The CLI upgrades one selected instance through prepare, apply and activate. It does not update every Host at once.

virgo upgrade --mode local --root <absolute-root> --machine <machine> --instance local-hub

This ordinary command selects the verified official current release. Use the correct mode and instance for the target; use --mode host --instance host for an additional Host. Use the published launcher and preserve its preimage and applied plan receipt. Updates must preserve Seat/session identity, history and unresolved effects through supported lifecycle operations. Nothing reads or interprets pending text in a provider's input area to decide whether to proceed.

Rollback selects the exact saved plan, not an arbitrary previous release:

virgo rollback --mode local --root <absolute-root> --machine <machine> --instance local-hub \
  --plan-id <retained-plan-id> --github-repository virgo-codes/virgo-release

<retained-plan-id> is the plan saved for the intended change. Local Hub rollback uses the retained distribution; the shown repository supplies that source, not a new release selection. Host rollback uses --mode host --instance host and the same retained plan, without a distribution flag. In the current preview, this command stops execution and restores prior files and configuration. It does not reactivate the restored service. A reported installation state of active must not be interpreted as a running process. Reactivation needs the supported installation lifecycle and fresh process/health verification; this snapshot has no public installation activate command. Use the retained rollback receipt's restored release with the supported virgo upgrade lifecycle and its matching distribution, then verify fresh process/connection/native outcomes; Host recovery shows the exact inputs.

Cross-Host release convergence is not established by a single-instance update. Recovery must distinguish intentional stop, staged upgrade, unknown process ownership and genuine service failure. It must preserve unknown message outcomes rather than replaying them as if they had failed.

Verify integrated capabilities from their entrypoints

CapabilityBottom-up pathRequired final observation
PonytailInstalled hook/profile → provider lifecycle event → encoded context → actual conversationThat session receives the expected guidance, with Virgo precedence preserved
MemoryProvider event → authenticated Host queue → Hub-authorized original → automatic derivation eligibility → summary → restoreA continuing conversation receives context derived from its permitted originals
GraphifySelected repository → filtered snapshot → pinned engine → validated result → shared index → authorized queryThe query returns source-linked relationships for the exact repository revision
Conversation routingVerified human message → selection/authorization → durable recipient transaction → native delivery → correlated replyReply reaches the exact original chat conversation and thread/topic
Host recoveryExact installed process → external failure detection → bounded recovery → protocol/native acceptanceThe same logical work resumes, and the independent alert destination receives a real notification

Check both the intended path and the boundary-specific failures: stale attachments, outages, retries, excluded files, unauthorized requesters and unsupported provider behavior. Keep source tests, isolated installed tests and real-provider observations separate.

A test that inserts its own derivation job cannot prove that captured events create jobs. A manually executed hook cannot prove that the provider invokes it. Acknowledging a message through a fixture cannot prove that the user's native conversation received it. Record the unproved connection and its acceptance condition so a green component test cannot hide missing integration.

Report readiness per consumer

Record results for each affected Host and provider session. One successful pilot does not establish every Seat. During a rollout, report applied, verified and blocked separately, with the exact blocker for each incomplete consumer.

The service's own health endpoint cannot be the only way to notice that it has disappeared. Independent outage detection and delivered owner notification remain part of the required operational outcome.