AGENT SKILL
Chaos drills (partition, crash, settle-atomicity)
暂无简介
- License 许可
- MIT
- 所属仓库
- rhCat/skillChip
- 最近更新
- 2026-07-31
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- Chaos drills (partition, crash, settle-atomicity)
- perks
- [ "drill", "partition", "crash", "settlecrash" ]
- skill
- cws-chaos
02 资源文件 28
- 参考文档blueprint.json3.8 KB
- 参考文档index.json3.0 KB
- 参考文档ledger.json275 B
- 参考文档perks.json1.1 KB
- 参考文档perks/crash/manifesto.json242 B
- 参考文档perks/crash/metadata.json188 B
- 脚本perks/crash/src/chaos_crash.py854 B
- 脚本perks/crash/src/chaos_crash.sh160 B
- 参考文档perks/crash/src/contracts.json246 B
- 参考文档perks/crash/test/case.json286 B
- 参考文档perks/drill/manifesto.json242 B
- 参考文档perks/drill/metadata.json230 B
- 脚本perks/drill/src/chaos_drill.py852 B
- 脚本perks/drill/src/chaos_drill.sh160 B
- 参考文档perks/drill/src/contracts.json246 B
- 参考文档perks/drill/test/case.json337 B
- 参考文档perks/partition/manifesto.json254 B
- 参考文档perks/partition/metadata.json198 B
- 脚本perks/partition/src/chaos_partition.py869 B
- 脚本perks/partition/src/chaos_partition.sh168 B
- 参考文档perks/partition/src/contracts.json262 B
- 参考文档perks/partition/test/case.json306 B
- 参考文档perks/settlecrash/manifesto.json260 B
- 参考文档perks/settlecrash/metadata.json214 B
- 脚本perks/settlecrash/src/chaos_settlecrash.py880 B
- 脚本perks/settlecrash/src/chaos_settlecrash.sh172 B
- 参考文档perks/settlecrash/src/contracts.json270 B
- 参考文档perks/settlecrash/test/case.json369 B
03 SKILL.md 正文
cws-chaos — fault-injection drills (V-CHAOS, M3/M9)
cws-chaos injects the two faults the governed runtime must survive — a govd↔exod partition and an
exod crash — plus a settle-engine crash mid-posting-set, and asserts the recovery invariants from
spec/inflight.md: nothing proceeds ungoverned, nothing is lost, nothing is duplicated, and money is
conserved through a crash.
Perks
| perk | task | what |
|---|---|---|
partition |
P2-T10 | govd↔exod partition — the step in flight completes, the next step_request refuses closed (no fresh grant), and a WS/recorder resume re-delivers the last result idempotently (dedup by (run_id, seq) → zero duplicate records). |
crash |
P2-T10 | crash-exod — exod dies mid-step: the orphan sandbox is reaped, the step records an error (never a false pass), and the run is resumable. (The real cgroup-kill reap is exercised by the exec-image sandbox tests; this drill asserts the recovery bookkeeping.) |
settlecrash |
P6-T17 | settle-engine crash atomicity — a crash mid-posting-set is all-or-nothing (one record = one append = one fsync; a torn tail is dropped on recovery, never a partial set), recovery replays exactly once (the spent-quote guard), and conservation holds through the crash (the recovered ledger is zero-sum). |
drill |
P2-T10 | all three drills together — the comprehensive V-CHAOS run. |
The core is infra/chaos.py; the partition + crash drills are pure stdlib (run in CI), the settle-crash drill
needs openssl (ed25519ph).
04 同仓库更多 Skills
Vercel Deploy
暂无简介
★ 0
Audio Transcribe
暂无简介
★ 0
Speech (OpenAI TTS)
暂无简介
★ 0
Skill Installer
暂无简介
★ 0
demo-skill
A demo skill used as a test fixture for the validate perk. Use when checking that quick_validate.py accepts a well-formed SKILL.md.
★ 0
demo-skill
A demo skill used as a test fixture for generating agents/openai.yaml. Use when validating the gen_openai_yaml perk.
★ 0