Runtime smoke

From rohitg00/agentbrain · View interactive version

Runtime smoke is an AI agent skill from the GitHub repository rohitg00/agentbrain. Use when checking Agent Brain inside a real agent runtime or adapter before trusting harness usability.

How to use this skill

Skill file

runtime-smoke

Lifecycle stage: VERIFY

Trigger

Use when commands, skills, adapters, harness prompts, runtime setup, or command routing changed and the claim depends on a real agent runtime rather than only fixture validation.

When not to use

Do not use when this trigger is absent; choose the command or skill that owns the requested state, artifact, and verification gate. Do not use it for destructive, credentialed, production, paid, or public side-effect runs without explicit approval evidence.

Inputs

Procedure

  1. Start from a clean checkout or disposable copy and preserve user changes before any runtime task.
  2. Record runtime name, version, Python executable, writable temp-dir status, git freshness result, exact command, sandbox/write mode, whether /brain-* entries are native commands or markdown specs, and blocked commands.
  3. Run a read-only smoke first unless explicit approval allows full validation.
  4. Ask the runtime to load Agent Brain, choose the matching /brain-* command, load only the command-listed skills, and produce the expected artifact.
  5. Capture evidence in templates/runtime-smoke.md and, when JSON evidence is produced, validate it against schemas/runtime-smoke.schema.json. Use the checked-in helper path (python scripts/runtime_smoke.py ...) for JSON artifacts so the exact command is helper-validated instead of reconstructed from a transcript. For full_validation, capture a durable transcript path; stdout-only markers are only acceptable for read-only smoke.
  6. Route any setup, command-boundary, sandbox, or artifact-contract gap to the smallest follow-up hardening slice.
  7. Stop before claiming full validation if the runtime could only run read-only smoke checks.

Anti-Rationalization

| Shortcut | Rebuttal |

| --- | --- |

| "The validator passed, so runtime usability is proven." | Fixture validation is not real-runtime evidence. Capture a runtime smoke artifact. |

| "The runtime probably supports slash commands." | Record whether /brain-* entries are native commands or markdown specs. |

| "Read-only output is enough for full validation." | Mark read-only smoke separately and list blocked commands. |

| "The setup failed, so summarize the intent." | Capture the blocker, command, sandbox mode, and follow-up fix. |

Verification

Output Artifact

Runtime Smoke

Use templates/runtime-smoke.md for narrative evidence and schemas/runtime-smoke.schema.json for machine-checkable JSON evidence. The artifact must name blockers and the next action when the run is read-only, blocked, stale, or not full validation.

Failure Modes

Example

Trigger: adapter README or harness prompt changes. Action: run read-only smoke first, capture command mode, sandbox mode, blocked commands, and transcript evidence. Output artifact: templates/runtime-smoke.md or schema-valid JSON with blockers and next action. Verification: cite runtime, version, Python executable, selected command, loaded skills, adapter path, and transcript redaction status.

A maintainer changes an adapter README. Before shipping, the verifier runs a read-only CLI-runtime smoke against a disposable checkout, records the runtime version, sandbox mode, command mode, blocked commands, and evidence, then files a follow-up hardening slice for any command-routing gap instead of claiming full validation from prose.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.