We had a meeting about this. The vote was unanimous.
That line sits at the top of every crate in the workspace. Not warn. Not deny. Forbid. As in: the compiler will refuse to build if anyone — including us — tries to sneak in an unsafe block. Even #[allow(unsafe_code)] can't override it.
We trust ourselves. Just not that much.
There are no static mut variables. No lazy_static! singletons holding mysterious state. No thread-local secrets. All state is passed through owned types and Arc-wrapped shared references with explicit lifetimes.
When you read Swink Agent code, you can trace where every piece of data comes from and where it goes. No spooky action at a distance.
Determinism: the original feature.
We use cargo-deny with a strict advisory policy. Every known vulnerability in the dependency tree is blocked in CI. API keys are read from environment variables and never logged or serialized.
Security isn't a section of the docs. It's a property of the build.
Safe code. Boring code. The best kind of code.
github.com/SuperSwinkAI/Swink-Agent
← Back to Swink Agent