Hard questions
The thirteen hardest questions, answered plainly.
Each answer says what Tide v0 supports today and calls planned work planned. The longer versions are in the walkthrough and the owner's guide.
Questions and answers
What is Tide, in one sentence?
A replayable subset of Rust that is capability-safe up to rustc's soundness bugs (see the third question): a checker in front of the standard Rust compiler that admits only code whose authority you can read in its signatures, whose concurrency bugs replay from a seed, and whose changes come with a summary of what the code may now do. Every Tide program is a valid Rust program.
Isn't "no ambient authority" just a lint, or cap-std?
No. A lint forbids listed calls. Tide's std does not have the ambient calls at all, and from
Rust's lower layers the checker admits only an allowlist. cap-std is opt-in, and every other
line of a Rust program can still call std::fs. The precise claim is
no accidental ambient authority in admitted safe code, apart from printing
and outside the unsafe grant (--tide-grant=unsafe).
rustc has soundness bugs. Can't malicious code forge a capability?
Through a compiler bug, in principle yes, and Tide says so. A probe found that
rust-lang/rust#25860, open upstream since 2015, got through, and TD0206 now
closes that route. An AI red team
tried 48 routes, controls included, and found that admission let through one more known
route, rust-lang/rust#57893, open upstream since 2019, and the review of its fix found a
second form, also on record upstream. TD0402 now closes both. Every other route it lists was rejected or denied,
apart from two left admitted on purpose: Termination::report writing an
Err to standard error, a sink every program holds, and a cdylib
crate-type attribute that is admitted but inert. Other soundness bugs may remain. Test runs the driver starts sit inside a
Linux kernel sandbox that does not depend on the compiler, and a test binary run directly
gets none. Deployed programs get kernel enforcement in v1, which is planned.
Why not Rust plus cackle, Clippy, turmoil and Antithesis?
Each covers one piece. cackle is the closest: it lists which kinds of API each dependency may use, per package, and checks the build against that list. Tide puts authority in each function's signature instead, so it is read and checked per function while compiling. Library simulators such as turmoil and madsim work only while every line, dependencies included, uses their simulated APIs. Tide's checker rejects the ambient call, the bare thread and the unsimulated clock, so the checker enforces that discipline. Antithesis runs whole programs deterministically in a hypervisor, with no code discipline, as a commercial service. Tide's case is the combination: authority readable in signatures, local modeled tests in the edit loop, and a trust artifact. And it is Rust with a checked subset and a different std, so what models and people know about Rust carries over.
Why not WebAssembly components and WASI?
For runtime isolation, use a sandboxed component with narrowly scoped host imports. A component reaches the outside only through the imports its host grants, such as a WASI directory handle, and the runtime enforces that boundary while the code runs. Tide's check is static, before compiling, and holds up to rustc's soundness bugs. The two are complementary. Tide v0 has no WebAssembly target: it builds for x86_64 Linux, and its design record only notes that a WASI target would map capabilities onto component imports.
Isn't replay just rr?
rr records one real run. Tide searches many seeded simulated runs for a failure, then replays the failing one exactly from a small manifest, and refuses if the code changed. The demo finds a lost update on 8 of 16 seeds and replays it with byte-identical traces. The limits: tests only, the same machine, and only what the simulator models, with no CPU time and no real kernel behaviour. Production record and replay is planned for v1.
A widened signature is visible in the code diff anyway. What does the trust diff add?
It lists widening wherever it sits, a field three files away included, in one line per item.
v0's diff shows declared authority and unsafe holes only. It cannot see new use
of authority already held, less attenuation, or data printed out. Exercised authority is
planned for v1. Whether it helps reviewers was E3's question, and the pilot gives no evidence
that it does: model reviewers caught almost every planted change with the plain diff alone,
which left no room to show a benefit. So Tide presents it only as a summary of what a change
may do.
E1 shows parity with Rust, not a benefit. Why switch?
Right, E1 is the cost line. One model wrote Tide about as reliably as Rust on 30 small tasks: first check 56 of 60 against 59 of 60, final pass 58 of 60 each, and 1.457627 times the iterations against a 1.5 limit (E1 gate report). The benefit test was E3, which asked whether reviewers catch planted authority widening at least 1.5 times as often with the trust diff. Its protocol was frozen before the run, and its report is negative: 66 of 72 sessions caught the widening with the trust diff and 67 of 72 with the plain diff. Tide's case today rests on replay and admission, not on a measured review benefit. A follow-up on harder changes is planned.
On real malicious code: Tide's std had a gap, our screen of all 87 malicious-crate advisories
in RustSec (0 caught) exposed it, we fixed it, and re-tested under a new registration
(research/49). The
faithful port of chrono_anchor is rejected, as it was in the screen, and its
capability-passing version is now admitted. Every check is consistent with that
registration being anchored before the fix landed, and independent proof of that order is not
established. The re-test ran admission and type-checking only. No port was executed. It is
not a first-time catch and not a rate, and the fix also reversed an earlier, deliberate
removal of the same conversion.
Your world is tiny: one crate, no dependencies, little of the network.
Mostly true today, and the strongest critique. The std has one HTTP GET over TLS, name lookup and starting processes, but the driver still admits one crate with no dependencies, and there is no UDP and no Unix sockets. The answer is graded claims: authority and replay you can read for the Tide-written part, with every hole listed. Imported Rust crates are planned for v1 as listed trust holes, unmodeled runs would be marked not replayable, and the kernel sandbox, whatever the language, bounds them in driver-started test runs and, from v1, in deployed programs. The rest of the effect surface, such as UDP, Unix sockets and more of HTTP, is the next priority question.
What if my Rust service uses async?
Then keep it in plain Rust. Tide leaves async out by design and has structured tasks instead, which cannot outlive their scope. Code that needs an async runtime, such as Tokio, does not fit Tide.
You depend on a pinned nightly's compiler internals. That's fragile.
It is a real, chosen cost. The driver links seventeen of rustc's internal libraries on one pinned nightly, and the pin has not moved yet. In exchange, Tide reuses rustc's type checker, borrow checker and code generator instead of building its own. 393 conformance cases check that stable rustc and the driver give the expected verdicts. In the latest recorded run, 390 pass and 3 await rules not built yet. There is no CI yet: an agent runs them, usually when a code change lands. A rehearsal pin bump is the recommended next check.
What actually runs today?
tide-admit, the checker, Tide's std with files, TCP, one HTTP GET, name lookup,
starting processes, the clock, random draws, the environment, stdin and structured tasks, the
simulator and replay for tests, the trust artifact and its diff, the test sandbox, and a demo
that shows replay and the trust diff in one command. Not yet: the tide command, packages, UDP,
Rand::rng(), fault injection, the fast incremental checker and proofs.
Who should use Tide today?
No one in production: it is an alpha. Try it for replayable tests or authority you can read in signatures, in small, synchronous Rust that agents write, inside one crate on x86_64 Linux. Otherwise plain Rust with turmoil, madsim or cackle is the practical choice (Tide or Rust?).