OpenKKnD/scripts/smoke/README.md

43 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Smoke scripts — OpenKKnD / Pitchwell
Headless / local checks from Deltoid agents D1D3. No `git push`. Respect `docs/IP-FENCE.md`.
```bash
./scripts/smoke/run_all.sh
```
## Headless (D1 `@deltoid-smoke`)
| Script | Role |
|--------|------|
| `headless_smoke.sh` | 20 Hz tick loop (match open, seep +0.4/s); optional stub 1280×720 probe |
```bash
./scripts/smoke/headless_smoke.sh # default 40 ticks
./scripts/smoke/headless_smoke.sh 100
```
## IP fence (D2 `@deltoid-fence`)
| Script | Role |
|--------|------|
| `ip_fence_check.sh` | Scan scripts/, game/, assets JSON, kitchen voice for forbidden tokens |
**Forbidden (case-insensitive):** Magikoopa, Kamek, Mario, Bowser, OpenKrush.
**Allowlisted:** `docs/IP-FENCE.md`, `README.md`, other `docs/*.md`, this README, fence script, `kitchen/patches/D2.md`.
```bash
./scripts/smoke/ip_fence_check.sh
```
## Economy sim (D3 `@deltoid-loop`)
| Path | Role |
|------|------|
| `game/sim/pitch_economy.py` | SumpWell 2500, seep +0.4/s claimed, start 500 Pitch |
| `economy_smoke.py` | Claim well → 10s seep → assert pitch rose |
```bash
python3 scripts/smoke/economy_smoke.py
```