Status
What ships, and what the records show
Tide is a checked subset of the Rust programming language, in which code reaches files, the
clock, the network, other programs and randomness only through values it is handed. This page is
generated when the site is built, from records committed in Tide's repository at commit
18e58d8, one saved state of
its history. Every number links to the file it comes from.
Words on this page
- Rust, rustc, crate
- Rust is a systems programming language. rustc is its standard compiler. A crate is a Rust package.
- v0, alpha
- v0 is the first version of Tide's design. The alpha is its first public test release.
- Capability, method
- A capability is a value a function must be handed before it can touch the outside world, such as files, the clock, the environment (the variables and arguments a program starts with), the network, other programs or randomness.
&Fsis the capability for files. Its methods are the functions it offers. - Ambient authority
- Access to the outside world that code has without being handed a capability.
- Narrowing
- Making a weaker copy of a capability to hand on, such as one confined to a directory.
- Inherent, receiver, handle
- An inherent method belongs to a type itself rather than to a shared interface. Its receiver is the value it is called on, such as
&self. A handle is a value that stands for something running or open, such as a started program. - Admission,
tide-admit - Admission is Tide's check, run by
tide-admit, which admits or rejects a crate before rustc compiles it. Every rejection by one of its rules carries a message with a numberedTDcode such asTD0501. Code that rustc itself rejects gets rustc's own errors. unsafe, theunsafegrantunsafemarks Rust code the compiler cannot check. Safe code is everything outside it. The grant is an explicit opt-in passed totide-admitthat allowsunsafe.- Conformance corpus
- A set of small Rust programs, the cases, each marked with the verdict that rustc and
tide-admitmust give it. - AI, model, token
- An artificial intelligence (AI) model is a program that reads and writes text. A token is the unit a model reads text in.
- Core reference, companion
- The core reference is the document that teaches Tide to a model. The companion is its longer part, which a model loads when needed. A number such as §6.3 or companion 20 names one of their sections.
- D8, D14
- Numbered decisions in Tide's design record.
- Planned, Later tier
- Planned means specified for v0 and not built yet. The Later tier lists what comes after v0.
- Threads, tasks, structured tasks
- Threads are parts of a program that run at the same time. Tasks are Tide's units of concurrent work. Structured tasks run inside a scope and cannot outlive it.
- Locks, channels, synchronization handles, scheduling point
- A lock lets one task at a time use shared data. A channel is a queue tasks send each other values through. Synchronization handles are such shared locks and channels. A scheduling point is a place where a task may pause and let another run.
- Async, future, state machine
- Async is Rust's model of functions that pause and resume later. A future is such a paused function, and a state machine is the code that records where it stopped.
- Atomics, memory ordering
- Atomics are memory operations that happen as one indivisible step. Sequentially consistent atomics take effect in one global order. Weaker memory orderings let threads see each other's writes out of order.
- Simulator, seed, replay
- The simulator runs a test against a model of tasks, files, the network, the clock and the environment. A seed is one number that decides every choice the simulator makes, so a failing seed reruns the same way. That rerun is replay.
- Virtual time, deadline, latency
- Virtual time is the simulator's own clock. A deadline is a time limit on an operation. Latency is the delay before an operation completes.
- Real backend, kernel, CPU
- The real backend is the code that does the work outside simulation, through the operating system. The kernel is the core of the operating system. CPU time is the time the processor spends computing.
- Pinned artifacts
- The exact builds of the compiler and tools a run used, fixed to one version.
- Stack depth, parallel speed-up
- Stack depth is how deeply function calls nest. Parallel speed-up is work finishing sooner on several processors.
- Fault, fault injection
- A fault is a failure, such as a disk error. Fault injection makes operations fail on purpose to test how code handles failure.
- Links
- Extra names for the same file.
- Host, TCP, stream, loopback, half-close, RST
- A host is a machine on a network. A network protocol is a set of rules for how programs talk over a network. TCP is the standard protocol for a reliable connection between two programs, a stream of bytes. Loopback is a machine's connection to itself, at address
127.0.0.1. A half-close ends one direction of a connection. RST is the message that resets a TCP connection. - DNS, domain, UDP
- DNS turns domain names such as example.com into network addresses. UDP sends single messages without a connection.
- HTTP, status, TLS
- HTTP is the protocol of the web, and a status is the numbered outcome a web server returns. TLS encrypts a connection, and its certificate validation checks that a server is who it claims to be.
- Peer, wire parsing
- A peer is the program at the other end of a connection. Wire parsing reads a protocol's bytes as they arrive.
- stdin, sink output
- stdin is a program's standard input. Sink output is what a program prints, which the simulator collects.
- Shell, child process, pipes, signals, PTY
- A shell is a program that runs other programs. A child process is a program another program starts. Pipes connect a child's input and output to its parent. Signals are notices the operating system sends a running program, such as a request to stop. A PTY, a pseudo-terminal, lets a program act as the terminal of another.
- Repository, commit
- A repository holds a project's files and their history. A commit is one saved state of it.
- Bead
- An entry in Tide's issue tracker, named like
fx-zu4f.6. - Diff, trust diff, E3
- A diff lists what a change edits. The trust diff is
tide-admit's summary of what a change may do. E3 is a pilot that tested whether it helps reviewers find a planted change, one added on purpose. - Gate, interval
- A gate is the result a pilot set in advance as success. An interval is the range a statistical method gives for the true value, at a stated confidence.
- Protocol, registration, port, portable source
- A search's protocol is its written method, and registering it means fixing it before the search. To port a bug is to rewrite its code in Tide. A portable source is a page that quotes the code a port needs.
- E4
- The searches' eligibility criterion that a bug can be ported to Tide v0.
- RustSec, advisory
- RustSec is the Rust security advisory database. An advisory is its notice of a vulnerable or malicious package. In-date advisories fall inside a search's date range.
- GitHub issues and pull requests
- Bug reports and proposed changes on GitHub, a code hosting site.
- std
- Rust's standard library, the library every program builds on.
- Qin et al. PLDI 2020
- A published study of real concurrency bugs in Rust programs, presented at PLDI, a programming-languages conference.
- Agent-marked commits, candidate units
- Agent-marked commits are commits whose message marks them as written by an AI agent. Candidate units count candidates with duplicates merged.
- crates.io, concurrent core, property
- crates.io is the public registry of Rust crates. A crate's concurrent core is the part of its code that runs threads or tasks at the same time. A property is a statement a crate's own docs or tests make about its behavior, which a test can check.
- chrono_anchor, re-test
- chrono_anchor is a malicious crate that RustSec lists. A re-test runs a row an earlier search already saw again, under a new registration.
- Self-attested
- The order of a search's protocol and its search rests on Tide's own records and commits.
- OpenTimestamps-anchored
- The search's protocol has a complete OpenTimestamps proof, a timestamp anchored in the Bitcoin blockchain. It shows only that the file existed by its attestation time. When the search examined its candidates still rests on Tide's own records.
1 · Conformance
390 of 393 conformance cases give every expected verdict.
The other 3 match every mark today's checker decides, and 0 fail.
Each case also names the numbered rule it tests (the rules). The
runner, cargo run -p tide-conformance, ran the whole corpus at commit
d751d4a on
2026-11-19T19:56:30Z, and exited with status 0.
The corpus and the checkers it ran are unchanged at this page's revision.
- 390 PASS: both checkers give exactly the marked verdicts.
- 3 AWAITS CHECKER: both match every mark they decide, and the case also marks diagnostics a later part of the checker will add.
- 0 FAIL: a checker gives a different verdict.
| Area | PASS | AWAITS CHECKER | FAIL |
|---|---|---|---|
authority |
159 | 0 | 0 |
codec |
1 | 0 | 0 |
contracts |
30 | 2 | 0 |
errors |
5 | 0 | 0 |
memory |
139 | 1 | 0 |
modules |
21 | 0 | 0 |
tasks |
35 | 0 | 0 |
The cases not marked PASS
contracts/clause_param_reject.rsAWAITS CHECKER:TD0809contracts/clause_pure_reject.rsAWAITS CHECKER:TD0808memory/opaque_auto_reject.rsAWAITS CHECKER:TD0205
2 · Capabilities
Shipped and planned, as the core reference labels them.
The table is the core reference's own table, split where it marks methods planned.
| Capability | Shipped | Planned | Narrowing |
|---|---|---|---|
Fs (std::fs) |
reference §6.3 | — | dir(path, Mode) -> io::Result<Fs>, read_only() -> Fs |
Net (std::net) |
connect(addr) -> io::Result<TcpStream>, bind(addr) -> io::Result<TcpListener>, get, resolve (6.7) |
bind_udp(addr) |
only(hosts) -> Net, no_bind() -> Net |
Clock (std::time) |
now() -> Instant, system_time() -> SystemTime, sleep(d), sleep_until(t), both -> Result<(), Cancelled> |
— | monotonic_only() -> Clock |
Rand (std::rand) |
next_u64(), fill_bytes(&mut [u8]), random_range(a..b) (integers), random_bool(p), shuffle(&mut [T]) (companion 22) |
rng() -> Pcg64 |
— |
Env (std::env) |
args() (program name first), var(k), vars(), current_dir(), as std::env's |
— | only(["HOME", ..]), args_only() |
Stdin (std::io) |
read_line, lines, read_to_string, read_to_end, is_terminal: inherent, receivers &self (below) |
— | — |
Proc (std::process) |
command(prog) -> Command (a handle. The child has ambient authority: companion 20) |
exit(code: i32) -> ! |
only(["git", ..]), exact names. An allowed shell is full authority |
Tasks (std::task) |
scope, spawn_isolated, shield, checkpoint, yield_now (7.1). Creating synchronization handles (7.4) |
fault_point(name) -> bool (false outside simulation, companion 17) |
limit(n) -> Tasks |
The companion lists in its Later tier: modeled signals, raw PTYs, parent-only process death and process faults through Proc.
3 · Simulator and real backends
What the simulator models, and what only the real backend does.
A test handed simulated capabilities runs against the simulator. The same code, handed real capabilities, runs against the real backend. The README's fidelity table states where the two differ.
| The simulator models | It does not model |
|---|---|
Scheduling of structured tasks, Shared and channels, one task at a time between scheduling points, chosen by the seed | CPU time: virtual time advances only when every task is blocked, so a slow computation never fires a deadline |
| Virtual time for the clock, sleeps and deadlines | Memory exhaustion, stack depth, and parallel speed-up (par_* work runs in order on the calling task) |
Files (sim.fs), each call with a seed-drawn latency | Disk faults, crashes, links, and partial effects within a compound file operation |
TCP loopback on 127.0.0.1, with bounded streams and half-close | Other hosts, DNS names, UDP, and real kernel behaviour such as RST timing |
Net::get against world.http peers: replies, statuses, delays, resets, TLS failures. Net::resolve (synthetic 198.18.0.n addresses for world.http domains) | TLS certificate validation and HTTP wire parsing (a peer models the application response) |
Arguments, environment variables, stdin, and sink output. Child processes as declared sim.world.proc models (lifecycle, pipes, kill). Rand draws from the seed | Signals, real child processes (only declared models run), and fault injection |
The real and simulated backends are separate implementations, so a bug that lives only in the real backend or in the kernel is invisible to the simulator. Replay reproduces the model, not the program, and only on the same machine with identical pinned artifacts.
4 · Outside v0
Async is out by design, and safe code keeps one memory order.
Tide v0 replaces async with structured tasks. Safe Tide code, everything outside
unsafe, gets only sequentially consistent atomics, and weaker orderings are planned
behind the unsafe grant. The records say so here:
- D8. Concurrency: structured tasks, no async, compiled to state machines
- Atomics (
std::sync::atomic) are sequentially consistent only and meant for library authors.MutexandRwLockare instd::sync::raw(11). Both are planned. std::sync::rawlocks, weaker atomic orderings (planned):unsafegrant (TD0520without it)
Four of the searches recorded, per bug, the first criterion it failed. The last of them maps those reasons, and separates what Tide leaves out from what is planned and from what only the search's own rules excluded:
| Reason | Kind |
|---|---|
| Safe Tide code cannot write the pattern, such as taking one lock while holding another (“Safe-design restriction”) | a design choice |
| The bug needs raw locks, which are planned (“Planned, unshipped interfaces”) | planned |
| The search's frozen portability criterion, E4 in its bead, barred outside libraries, the network and other programs (“Frozen experiment operation bans (bead E4)”) | a rule of the search, not of Tide |
| Tide leaves out a waiting mechanism the bug needs, and the search barred rebuilding it (“Omitted by design, plus a reconstruction ban”) | a design choice |
The search did not use the unsafe grant, and left out bugs whose symptom is memory corruption (“Protocol-only unsafe and symptom exclusions”) | a rule of the search, not of Tide |
| The search barred rebuilding the behavior of old Rust versions (“Protocol-only historical fidelity”) | a rule of the search, not of Tide |
| Kernels, hardware, signals and calls into other languages (“Platform mechanisms outside the model”) | outside the simulator |
| The search capped program size (“Protocol-only size budget”) | a rule of the search, not of Tide |
Candidates that failed first on portability, per search, each search named by its bead:
fx-zu4f.6 15, fx-zu4f.7 26, fx-zu4f.9 68, fx-zu4f.10 10 rows.
5 · Evidence
Each registered search is published with what it screened, found eligible and caught.
E3 ran under a protocol frozen before the run, an order that rests on Tide's own records (self-attested). With the trust diff, 66 of 72 review sessions caught the planted change, and with the plain diff, 67 of 72 (ratio 0.99, 95% interval [0.95, 1.00]). Its gate result: not met.
Each search below registered its protocol before examining a candidate, by its own record. For fx-zu4f.5 that order rests on tracker timestamps alone, since its criteria and protocol hash reached git about three minutes after its first request. Rounds fx-zu4f.13 and .15 chose their pools after their rows had been seen. An admission search ports a bug's code to Tide and asks whether admission rejects it. A simulation search asks whether a seeded test catches the bug and replays it. A re-screen runs rows that earlier rounds had already seen again, after a capability landed. Each count carries its record's own label: eligible means a bug passed every screening criterion, and in an admission search the record also counts the candidates whose quoted code could be ported or assessed. A dash means the record has no such stage.
| Round | Kind | Screened | Eligible | Caught | Registration |
|---|---|---|---|---|---|
RustSec malicious-crate advisories (fx-zu4f.5) |
admission | 1,507 in-date advisories | 87 qualify, 12 with quoted code ported or assessed | 0 | self-attested |
GitHub issues and pull requests (fx-zu4f.5) |
admission | 60 unique results, 60 excluded before assessment | 0 examined candidates | 0 | self-attested |
GitHub concurrency issues in Rust repositories (fx-zu4f.6) |
simulation | 32 unique issues past the filters | 0 | 0 | self-attested |
Issues in std and its concurrency neighbours (fx-zu4f.7) |
simulation | 119 unique issues past the scope filter | 0 | 0 | self-attested |
Qin et al. PLDI 2020 concurrency bugs (fx-zu4f.9) |
simulation | 100 rows of the dataset | 0 | 0 | self-attested |
Concurrency fixes and cores in popular crates.io crates (fx-zu4f.10) |
simulation | 24 crates, 5,075 candidate rows, 1 unresolved | 0 candidate rows, 0 portable cores in 10 hunted crates | 0 | OpenTimestamps-anchored |
Rust repositories with agent-marked commits (fx-zu4f.11) |
simulation | 7 repositories, 42 candidate rows | 0 candidate units | 0 candidate units | OpenTimestamps-anchored |
RustSec malicious-crate advisories, re-screened with Proc and Net (fx-zu4f.8) |
admission | 87 advisories | 16 with a portable source, the pool less those its record finds none for | 0 | OpenTimestamps-anchored |
Crypto and blockchain Rust crates (fx-zu4f.12) |
simulation | 30 crates, 9 candidate rows, 430 listed properties | 0 candidate rows, 47 properties modeled | 0 | OpenTimestamps-anchored |
Earlier rows that failed only for want of Proc or Net, re-screened (fx-zu4f.13)Its pool of 4 earlier rows was chosen after they were seen. Its one catch is the fx-zu4f.15 catch below, not a second one. |
re-screen | 4 rows | — | 1 the fx-zu4f.15 catch, counted once there | OpenTimestamps-anchored |
chrono_anchor, re-tested after the std fix (fx-zu4f.15)Not a first-time catch and not a rate. Tide's std had a gap, the fx-zu4f.8 screen exposed it, we fixed it, and re-tested under a new registration. The one-row pool was chosen after the screen had seen the row, so the outcome was close to predictable, and the screen's result stays 0 caught of 87. Every check is consistent with the registration being anchored before the fix landed, and independent proof of that order is not established. Admission and type-checking only. No port was executed. |
admission | 1 advisory | 1 with a portable source | 1 | OpenTimestamps-anchored |
The counts describe each registered sample, not a catch rate.
6 · Reference size
The core reference is 24,932 tokens, against a budget of 25,000.
The budget is design decision D14's limit on the reference. The count was taken on
2026-11-19 with scripts/count-tokens.sh design/reference.md.