Skip to content
Back to skills

Phase6 Smoke Test

ASecurity

Use to run a quick end-to-end smoke test against the Phase-6 Mission-Manager + Critic-Loop. Spawns a mock-task through the full pipeline (Mission-spawn → Worker-stub → Critic-verdict → Kontrollierer signature → Bus-event trace) and reports a pass/fail with structured output. Use after Phase-6 modifications or before merging changes that touch jarvis/missions/.

  • 161 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 10, 2026
ai-agentspythonbashreact

Security analysis

A100/100

Scanned October 10, 2026

npx -y skills add Dodaios/Dodaios --skill phase6-smoke-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Phase6 Smoke Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Phase6 Smoke Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dodaios-phase6-smoke-test/badge)](https://www.skillsdirectory.com/skills/dodaios-phase6-smoke-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: phase6-smoke-test
description: Use to run a quick end-to-end smoke test against the Phase-6 Mission-Manager + Critic-Loop. Spawns a mock-task through the full pipeline (Mission-spawn → Worker-stub → Critic-verdict → Kontrollierer signature → Bus-event trace) and reports a pass/fail with structured output. Use after Phase-6 modifications or before merging changes that touch jarvis/missions/.
---

# Phase-6 Smoke-Test

This skill runs a fast end-to-end smoke test against the Phase-6 pipeline. It is not as exhaustive as the real test suite, but in under 30s it delivers a confidence check that the mission pipeline runs through without hanging.

## When to use

- After changes to `jarvis/missions/manager.py`, `critic/`, `kontrollierer/`, `workers/`, `isolation/`.
- Before a merge PR to `main`, so that pipeline integrity is confirmed.
- When you suspect a Mission-Manager hang (reattach, concurrency).

## Steps

1. **Check prerequisites:**
   - `python -c "from jarvis.missions.manager import MissionManager"` — an ImportError catches drift early.
   - `pytest tests/missions/ --collect-only -q` — lists the tests, catches collection errors.

2. **Run the smoke-test script** (already exists under `scripts/smoke_phase6_p1.py`, `scripts/smoke_phase6_p2.py`, `scripts/smoke_phase6_p3.py`):
   ```bash
   python scripts/smoke_phase6_p1.py    # Foundation: Bus + Store + Manager
   python scripts/smoke_phase6_p2.py    # Worker-Layer: Job-Object + Worktree
   python scripts/smoke_phase6_p2_jobkill.py  # Job-Kill-Pfad
   python scripts/smoke_phase6_p3.py    # Critic-Loop + Kontrollierer
   ```
   If a script is missing — mark it as `MISSING` in the report and continue.

3. **Test run** with the `test-runner` subagent against `tests/missions/`, asking
   it for the JSON body:
   ```
   pytest tests/missions/ -v --tb=short --no-header --maxfail=15
   ```

4. **Generate the report:**
   ```
   ## Phase-6 Smoke-Test — <timestamp>
   
   ### Smoke scripts
   - p1 Foundation: <PASS|FAIL — short>
   - p2 Worker-Layer: <PASS|FAIL>
   - p2 Job-Kill: <PASS|FAIL>
   - p3 Critic-Loop: <PASS|FAIL>
   
   ### Test suite
   - Tests: <N total, M green, K red>
   - Failures: <if present, top 3 with test name>
   
   ### Verdict
   <SMOKE PASS | SMOKE FAIL — N Failures>
   ```

## Strictly forbidden

- NO modifying mission code to repair it — the smoke test is diagnostic, not reactive.
- NO "skipping over" tests when they are red — the report shows it.
- NO re-run on flaky — the output shows the behavior exactly as it is.

## Edge cases

- **Smoke scripts missing:** if all four `scripts/smoke_phase6_*.py` are missing, Phase 6 is probably not installed. Report with `PHASE_6_NOT_INSTALLED`.
- **Tests collect 0:** either Phase 6 is not there yet, or the pytest path is wrong. Report with `NO_TESTS_COLLECTED`.
- **Smoke script hangs > 30s:** time cap violated — report it as MAJOR.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.