Live State Verification
Use this when a result depends on the real system state, not just logs or a local
assumption.
Verification Rules
- Use the correct identity and environment for the artifact being checked.
- Do not suppress stderr on presence or health checks; auth errors and empty
results can look identical after redirection.
- Corroborate important claims from at least two views.
- Prefer direct artifact checks over proxy logs.
Procedure
- Name the artifact:
- deployed revision, job run, pod, service endpoint, repository setting,
secret version, document, email, or workflow result.
- Confirm the auth context:
- account/user
- cluster/project/region
- kubeconfig or exec plugin
- token scope or installation
- Run the primary check without hiding errors.
- Run a second check from a different plane:
- API plus UI/CLI
- controller status plus workload behavior
- repository metadata plus branch protection behavior
- pod environment plus application-level operation
- startup logs plus the exact model-facing tool or endpoint call
- Preserve concise evidence:
- command class, artifact id, timestamp, observed status
- do not store credentials or sensitive payloads
Runtime Tool Verification
When the artifact is an agent tool, MCP server, sidecar, or gateway, startup
success is not enough. Verify the operation from the same environment that the
model or runtime child process uses.
- Check inherited runtime environment, especially
HOME, cache, config, and
durable data directories after privilege drops.
- Check required persisted files are owned and readable/writable by the runtime
UID, not just by root during entrypoint setup.
- Probe a required model-facing operation, such as a harmless list/accounts or
health/list-tools call, after rollout.
- Report the actual failing stage separately from package/image/access failures
so CI does not misclassify runtime setup errors.
- Prefer an exact-image or deployed-pod probe over a host/root smoke when HOME,
UID, or filesystem ownership can differ.
Failure Modes
- Missing exec credential plugin on
PATH.
- Checking the wrong cluster or project.
- Token has read access to one repo/org but not the target.
- Stderr redirection hides a permission error.
- A controller is healthy while the workload it manages is not.
- A log says "sent" or "applied" but the external artifact never changed.
- A root-run startup canary passes while the runtime child keeps
HOME=/root
or cannot read persisted files after dropping privileges.
- A gateway registers tools but a required model-facing tool call still fails.
Done
- The claim is backed by the real artifact or two independent views.
- Runtime/tool claims include a same-UID or model-facing operation, not only a
root-run startup smoke.
- Any uncertainty is stated as uncertainty rather than upgraded to "verified."
1---2name: live-state-verification3description: Use when verifying service health, deployed state, cluster objects, credentials, or automation results where the wrong auth context can produce false empty results.4---56# Live State Verification78Use this when a result depends on the real system state, not just logs or a local9assumption.1011## Verification Rules1213- Use the correct identity and environment for the artifact being checked.14- Do not suppress stderr on presence or health checks; auth errors and empty15 results can look identical after redirection.16- Corroborate important claims from at least two views.17- Prefer direct artifact checks over proxy logs.1819## Procedure20211. Name the artifact:22 - deployed revision, job run, pod, service endpoint, repository setting,23 secret version, document, email, or workflow result.242. Confirm the auth context:25 - account/user26 - cluster/project/region27 - kubeconfig or exec plugin28 - token scope or installation293. Run the primary check without hiding errors.304. Run a second check from a different plane:31 - API plus UI/CLI32 - controller status plus workload behavior33 - repository metadata plus branch protection behavior34 - pod environment plus application-level operation35 - startup logs plus the exact model-facing tool or endpoint call365. Preserve concise evidence:37 - command class, artifact id, timestamp, observed status38 - do not store credentials or sensitive payloads3940## Runtime Tool Verification4142When the artifact is an agent tool, MCP server, sidecar, or gateway, startup43success is not enough. Verify the operation from the same environment that the44model or runtime child process uses.4546- Check inherited runtime environment, especially `HOME`, cache, config, and47 durable data directories after privilege drops.48- Check required persisted files are owned and readable/writable by the runtime49 UID, not just by root during entrypoint setup.50- Probe a required model-facing operation, such as a harmless list/accounts or51 health/list-tools call, after rollout.52- Report the actual failing stage separately from package/image/access failures53 so CI does not misclassify runtime setup errors.54- Prefer an exact-image or deployed-pod probe over a host/root smoke when HOME,55 UID, or filesystem ownership can differ.5657## Failure Modes5859- Missing exec credential plugin on `PATH`.60- Checking the wrong cluster or project.61- Token has read access to one repo/org but not the target.62- Stderr redirection hides a permission error.63- A controller is healthy while the workload it manages is not.64- A log says "sent" or "applied" but the external artifact never changed.65- A root-run startup canary passes while the runtime child keeps `HOME=/root`66 or cannot read persisted files after dropping privileges.67- A gateway registers tools but a required model-facing tool call still fails.6869## Done7071- The claim is backed by the real artifact or two independent views.72- Runtime/tool claims include a same-UID or model-facing operation, not only a73 root-run startup smoke.74- Any uncertainty is stated as uncertainty rather than upgraded to "verified."