sysop-kernel
WSL2 system health checks and Windows-specific hardening operator kernel for SYSopGPTWSL: run a repeatable sysop pipeline (preflight, WSL healthcheck, drift check, Windows snapshot via PowerShell, perf bench), produce a diffable report, and append evidence to `learn/LEDGER.md`. Use for sysop/health checks, drift/baseline verification, or when debugging Windows/WSL interop pitfalls (UNC cwd, UTF-8 BOM in PowerShell JSON, `/mnt/c` performance) and for Windows-side hardening/performance signals (power plan, power throttling, storage/volume inventory, WSL status/version). Use Plan-first execution and explicit verification reporting.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-15
- Stars
- ★ 15
- Forks
- 1
01 前言 Front Matter
- name
- sysop-kernel
- version
- 1.0.0
- metadata
- { "short-description": "Run sysop operator kernel" }
- triggers
- [ "sysop", "system check", "health check", "drift check", "baseline" ]
- description
- WSL2 system health checks and Windows-specific hardening operator kernel for SYSopGPTWSL: run a repeatable sysop pipeline (preflight, WSL healthcheck, drift check, Windows snapshot via PowerShell, perf bench), produce a diffable report, and append evidence to `learn/LEDGER.md`. Use for sysop/health checks, drift/baseline verification, or when debugging Windows/WSL interop pitfalls (UNC cwd, UTF-8 BOM in PowerShell JSON, `/mnt/c` performance) and for Windows-side hardening/performance signals (power plan, power throttling, storage/volume inventory, WSL status/version). Use Plan-first execution and explicit verification reporting.
- codex-version
- >=0.76.0
- short-description
- WSL2 sysop health/drift/baseline checks
02 资源文件 2
- 参考文档references/CHANGELOG.md782 B
- 参考文档references/OPERATOR_KERNEL.md1.6 KB
03 SKILL.md 正文
SYSop Operator Kernel
Follow AGENTS.md (Plan-first; worktrees per task when parallel; verification required; auditable notes).
Plan mode (no writes yet)
- Read
AGENTS.md, thensysop/README_INDEX.md(index-first). - Restate the operator goal (health/drift/snapshot/bench/report).
- Define “done means…”:
- fresh artifacts under
sysop/out/(at leastsysop/out/report.md) - if
./sysop/run.shis executed: a new entry appended tolearn/LEDGER.md
- fresh artifacts under
- Hypotheses (when something fails):
- Windows interop unavailable (for example
powershell.exe/vsock errors) - UNC cwd issues (Windows commands must run from
/mnt/c) systemctlbus blocked in the Codex runner (expected)
- Windows interop unavailable (for example
- Minimal evidence (read-only) to gather as needed:
./sysop/preflight.sh./sysop/healthcheck.shcommand -v powershell.exe || command -v pwsh.exe(if Windows snapshot is requested)
- Propose the exact
./sysop/run.sh ...command(s) and STOP for approval:./sysop/run.sh all(writes undersysop/out/and appends tolearn/LEDGER.md)- Optional (repo-scoped auto-fix + script generation):
./sysop/run.sh all --apply-fixes
Execution mode (after approval)
- Run the approved
./sysop/run.sh ...command(s) from repo root. - Return results using the repo output format (see
AGENTS.md), including:- report path:
sysop/out/report.md - “Top bottlenecks” excerpt (if present)
- latest
learn/LEDGER.mdexcerpt (3–8 lines)
- report path:
Safety
- No destructive ops (
rm -rf,git reset --hard,git clean -fdx). - No writes outside the repo or to
/etc. - No internet fetches.
For details and rationale, see references/OPERATOR_KERNEL.md.
04 同仓库更多 Skills
deploy-app
Deploy the application to staging or production environments.
deploy
Deploy the application to environments.
building-native-ui
Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.
create-section
Use when creating a new section for the AI Workshop presentation. Guides through title slide setup, layout choices, and content gathering. Activates when user wants to add a new topic section to the slideshow.
ship-checker
Run a full pre-ship review for this repo. Use when asked if a change is ready to deploy, publish, or ship.
lint-check
Run repository linters and report failures.