An S3-compatible object storage system written in Rust.
On this page
Overview
RustFS states which instructions win, what actions need permission, and how much verification each change requires before reaching storage rules. Reviews need evidence, with stricter steps for adversarial validation and focused references for specific tasks.
Keep local invariants distinct from shared workflow
The nearest instruction file wins on domain invariants, but scoped guidance cannot replace the root verification tiers with a generic workspace gate. The file also says that skills cannot expand user authorization.
Source excerpt starting at line 13.
13Nested instructions add to ancestor rules; they do not discard non-conflicting14rules. A skill cannot expand the user's requested scope or grant authorization.
02 / Verification by change type
Scale verification to the final diff
Documentation, non-behavioral source edits, localized behavior changes, and broad cross-module changes have different checks. Broader gates are conditional, and successful umbrella checks should not be duplicated.
Source excerpt starting at line 68.
68Select checks from the final task-owned diff. Scoped `AGENTS.md` files may add a69concrete path-specific check, but must not replace this tiering with a generic70full-workspace gate.
03 / Behavioral framing
Permit a review with no findings
The review guidance rejects a finding quota and requires checking callers, invariants, and tests for counterevidence. Missing tests are described as verification gaps rather than proof of a runtime defect.
Source excerpt starting at line 123.
123A review has no finding quota; `No findings` is a complete outcome. A request to124find problems is not evidence that a defect exists. Before reporting a candidate,
04 / Hard prohibitions
Keep transient plans out of the durable knowledge base
One-shot plans and benchmark snapshots are distinguished from architecture, operations, and testing references. A named script enforces the boundary, making documentation placement an operational rule.
Source excerpt starting at line 61.
61Do not commit one-shot plans, trackers, migration ledgers, benchmark snapshots,62or agent scratch notes. Durable architecture belongs under `docs/architecture/`,
05 / Router files
Attach logging changes to a dedicated skill
The root defines level semantics, reusable fields, and restrictions on sensitive data. It sends logging edits to a specific governance skill for the detailed workflow.
Source excerpt starting at line 159.
159Use `.agents/skills/rustfs-logging-governance/SKILL.md` for logging changes.
Ideas for your repo
01Write precedence separately for local invariants and shared workflow.
02Match verification to the effect of the final diff.
03Allow no-findings reviews and require counterevidence checks.
04Define which working notes belong outside the durable documentation.
Sponsored by
Give your agents the whole story.
These instructions explain how to work in RustFS. Modem shows your agents what customers said, who is affected, and what changed.