Slopos testing

From SlopLabs/slopos · View interactive version

Slopos testing is an AI agent skill from the GitHub repository SlopLabs/slopos. The SlopOS build and boot recipes, the in-kernel test harness, the host test runner and its log gates, the kernel command line, the diagnostic console and the CI lanes. Use when a task touches `justfile`, `ktesting/`, `tools/run_tests/`, `scripts/gates/`, `core/src/utests.rs`, `.github/`, `slopos-os

How to use this skill

Skill file

Read first

Rules a change must keep

or rank = N; shared setup is a fixture!, which runs whatever the filter.

(utest!(…, explicit)); it runs only when tests.run is its full name.

default, uid 0 with every capability, hides the refusal.

just test 'slopos_mm::*', never mm::*.

re-emit it in the same commit.

re-take: builddir/run_tests gate <name> --emit-allowlist --log <capture>,

and name the lock, test or account in the message. Never hand-edit

scripts/gates/.

for placement. Fix the kernel, not the file.

steps only.

at the bottom half, never in NMI; no program reaches a destructive one.

SlopOS just precommit), then the caveman-commit skill writes the message.

Checks

Not yet in the docs

Read pending.md beside this file when it exists. A change that adds or alters an invariant the docs do not state appends it there in the same commit.

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.