Slopos storage

From SlopLabs/slopos · View interactive version

Slopos storage is an AI agent skill from the GitHub repository SlopLabs/slopos. Disks and the ext4 filesystem in SlopOS: the block layer, claims, NVMe and virtio-blk, mounts, seals, the jbd2 journal and writeback. Use when a task touches drivers/src/block, drivers/src/nvme, virtio_blk, fs/src/ext4, ext4_vfs, ext4_dcache, ext4-core, nvme-core, build_fs_image.sh, or mentions /dev

How to use this skill

Skill file

Read first

Rules a change must keep

and the write fence stay in block/engine.rs; nothing allocates on the

request path.

partition table is in place; a block node's inode is never reused.

what the kernel writes.

mount's lock while taking the next. Unmount must release the claim.

Ext4Fs::write_inode_num or the dir entry helpers must bump the dcache

generation counters itself.

volume in use first. In use: needs_recovery before the journal goes

live. At rest: journal emptied before the flag is cleared.

the commit naming it, a commit block only behind a flush. A freed block

is not reallocated until the free is durable.

mount lock released between them.

and names the repair. Only just reset root discards one.

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.