Loading...
Loading...
General Correctness rules, Rust patterns, comments, avoiding over-engineering. When writing code always take these into account
npx skill4agent add tursodatabase/turso code-qualityif condition {
// happy path
} else {
// "shouldn't happen" - silently ignored
}// If only one branch should ever be hit:
assert!(condition, "invariant violated: ...");
// OR
return Err(LimboError::InternalError("unexpected state".into()));
// OR
unreachable!("impossible state: ...");_vars// removed