ROADMAP 0.1-b is the milestone where iroh-ffi stops being an assumption:
0.1-b is where iroh-ffi on darwin/arm64 stops being an assumption. Three checks, in order: in-process loopback dial, two machines on a LAN, two machines across NATs.
Because
syncdepends ontransportinterfaces only, a failure here delays 0.1.0 without invalidating anything in 0.0.x. Fallbacks in descending preference: pin an older iroh-ffi release; contribute the fix upstream; implementtransportoverquic-gowith relay-only connectivity and no hole punching. Name the fallback before you need it.
So this document declares what each check means before reporting any of them, says plainly which were run and which were not, and lists the things that were predicted wrongly rather than quietly correcting them.
Two of the three checks were run and both pass. The third was removed from the gate by the project owner rather than passed — NAT traversal is iroh's job to prove, not this project's (ROADMAP, Gate B). Its threshold is still in §1, struck through nothing and deleted from nothing, because a scoping decision that leaves no trace becomes indistinguishable from a result. Nothing in this file is evidence about NAT traversal.
DESIGN.md §15.2 already specifies what this is:
allons doctor… runs a live loopback connection test: it starts two endpoints in-process, dials one from the other over the real iroh stack, exchanges a HELLO, and reports the negotiated path.
HELLO belongs to 0.1-d, so at 0.1-b the exchange is bytes over the streams HELLO will use. The check passes when all of the following hold in one process on darwin/arm64, with relays disabled and address discovery off — so that nothing in it can pass by reaching the network:
| Criterion | Where it comes from | |
|---|---|---|
| 1a | Two endpoints bind against a statically linked archive, not a dylib | §15.1 |
| 1b | One dials the other by ticket, and both sides report the other's endpoint id | §9.1, §9.5 |
| 1c | The path is reported as direct — not relay, not none | §14.1 |
| 1d | A bidirectional stream round-trips, and a half-close terminates the peer's read | §8.2 |
| 1e | A unidirectional stream delivers a batch and then EOF, with no reply channel | §8.2 |
| 1f | An undrained 32 MiB transfer does not block an ACK on another stream | §8.2 |
| 1g | A datagram crosses; an oversize one is refused with ErrTooLarge, not fragmented |
§8.2 |
| 1h | CloseWith's code and reason arrive at the peer |
§8.3 |
| 1i | Unreachable ⇒ ErrUnreachable; a cancelled context returns promptly; a closed endpoint ⇒ ErrClosed |
§8.3, §16.4 |
| 1j | go build ./... and go test ./... stay green on a machine with no Rust toolchain |
ROADMAP 0.1-c, §15.3 |
1f and 1j are the two that would be easiest to skip and are the two most worth
having. 1f is the property the whole stream discipline rests on, and a transport
that multiplexed everything onto one ordered stream would satisfy
transport.Conn exactly and break it silently. 1j is what keeps a native-build
failure from being mistaken for a correctness failure — the reason ROADMAP puts
transport behind an interface in the first place.
Two builds on two physical machines on one subnet converge. Requires two machines — and, as it turned out, a second platform: the LAN host is Linux x86_64, so check 2 depends on the carried item "only darwin/arm64 has a native transport" being pulled forward from 0.6.0 (ROADMAP, Carried forward).
The in-process version of this already exists — TestTwoAppsPairAndConvergeOverIroh
in local/replication_iroh_test.go — and the criteria below are that test's
assertions plus the four things one process cannot state: two hosts, two
platforms, a ticket that travelled as text, and a named remote address. Relays
are disabled and discovery is off on both sides, so nothing here can pass by
reaching somebody else's infrastructure.
| Criterion | Where it comes from | |
|---|---|---|
| 2a | Two endpoints on two physical machines, each linking its own statically linked archive for its own GOOS/GOARCH | §15.1 |
| 2b | Both bind their host's LAN address, relays disabled, discovery off — so no relay and no third party can carry the session | §14.1, §8.3 |
| 2c | The ticket is minted by the framework's own endpoint, keyed by keys/endpoint.key, not by an injected transport |
§9.1, §9.5 |
| 2d | The pairing offer crosses the machine boundary as text, and is parsed on the other host | §9.5 |
| 2e | pairing.Redeem resolves that ticket through the redeeming host's endpoint |
§9.5 |
| 2f | Each side reports the other's replica identity, not just an endpoint id — so HELLO completed and the replica is authenticated, not only the connection | §9.1 |
| 2g | The path is reported as direct on both sides — not relay, not none | §14.1 |
| 2h | The selected path's remote address is on the local link — inside a prefix declared in the invocation. Not a relay URL, and not any other interface the host happens to have. Measured on the probe connection; deduced for the App session from its dialed candidate set plus zero path migrations | §14.1 |
| 2i | Both replicas author, and both converge: equal Fingerprint() on both hosts, and each host's materialized total includes the other's operations |
§7.3, §7.4, §13.3 |
| 2j | Status().Network reads direct on both hosts, so the report an application renders agrees with the transport |
§14.1 |
| 2k | go build ./... and go test ./... stay green on the default tags, with no Rust toolchain and no archive on disk, on both platforms |
ROADMAP 0.1-c, §15.3 |
2h is the one that would be easiest to leave out and is the one that makes this a LAN check rather than a connectivity check. The LAN host runs tailscale and several docker bridges; a direct path over any of those satisfies 2g exactly and measures something else. Naming the address is the only way to tell them apart.
2i insists on both directions because one-directional convergence is what a pull-only implementation would also produce, and §7.3's merge rules are only commutative if both sides actually merge.
PathInfo.RTT is not a criterion. §4.6 records that it truncates to whole
milliseconds and reads 0 on a fast path; a LAN at ~4 ms is the first place it
could be non-zero, so it is measured and reported below rather than asserted.
Removed from Gate B by the project owner (ROADMAP, Gate B). It previously read: "the same two machines behind different NATs, connecting by hole punching, and then again with relays only." The reasoning for removing it: proving hole punching is iroh's job, not this project's, and a hosted peer to demonstrate it buys little. The threshold is kept here rather than deleted so that a reader six months from now can see that it was descoped, not passed.
| Criterion | Where it comes from | |
|---|---|---|
| P1 | The archive is a .a linked into the Go binary; no @rpath, no install_name_tool, no DYLD_* |
§15.1 |
| P2 | Nobody hand-edits linker flags | §15 preamble |
| P3 | The build is reproducible from a pinned upstream tag, with a SHA-256 per artifact | §15.2 |
| P4 | The archive is 20–40 MB | §15.1 |
The loopback dial was working before this list was written down. The list is
derived from the transport interface contract and from the assertions
localtest already makes against the same interface — not from what happened to
pass. Nothing in it was added or removed after the fact.
Two entries did move: 1f's blob started at 4 MiB and became 32 MiB once it was clear the smaller size might fit inside a receive window and quietly test nothing, and 1h grew the words "and reason" once it turned out that could actually be verified rather than assumed.
Check 2's table was written before check 2 was run, from
TestTwoAppsPairAndConvergeOverIroh's assertions and from the transport
contract. Three things changed afterwards and all three are additions of rigour,
not relaxations:
- 2h gained the zero-migration requirement. The criterion as first written
said the selected path's remote address must be the peer's LAN address, and then
it turned out the App session cannot report an address at all —
sync.PeerStatuscarries atransport.PathInfoandPathInfohas no address field, correctly (§3). So 2h is now established by one measurement and one deduction, and the deduction needs the migration count to be closed: a session dialed at a local-link address and never migrated is still at one. Without that clause the criterion would have been a statement about the first packet only. - 2h's "the peer's LAN address" became "inside a declared set of local-link prefixes", and the set includes IPv6. Not a weakening: the alternative was an IPv4-only criterion that fails a genuine LAN path, because both hosts have global IPv6 on the same /64 and iroh picks either family (§4.9). The prefixes are passed in explicitly rather than inferred, so what counts as the LAN is in the invocation and reviewable.
- 2i grew "each host's materialized total" beside the fingerprint, after the
fingerprintmutation turned out to be caught by the total rather than by the fingerprint (§4.9). A fifth mutation was then added to isolate the fingerprint.
Nothing was removed, and no criterion was reworded to match an observed result.
PathInfo.RTT was deliberately left out of the table before the run, because a
number nobody had measured on a LAN was not a threshold anybody could set
honestly — and it is just as well, since §4.6's prediction about it was wrong.
MacBook-Pro-3.local |
slate |
|
|---|---|---|
go env GOOS GOARCH |
darwin arm64 |
linux amd64 |
| CPU | Apple M5 Pro (18 logical CPUs) | 16 cores, x86_64 |
| RAM | 48 GB | 19 GiB |
| Disk | internal APFS volume, SSD; 520 GB free | ext4; 52 GB free |
| OS | macOS 26.5.1 (build 25F80) | NixOS 25.05 (25.05.20260102.ac62194), Linux 6.12.63 |
| Go | 1.26.5 | 1.26.5, from nix shell — the system Go is 1.24.10, below go.mod's 1.26.0 |
| Rust | rustc 1.96.0, cargo 1.96.0 | rustc 1.97.0, cargo 1.97.0, from nix shell; the machine has no Rust of its own |
| LAN | 10.0.0.187/24 and 2601:280:4800:d2e0::/64 on en0 |
10.0.0.172/24 and the same IPv6 /64 on enp5s0 |
| Also present | tailscale (100.96.61.79) |
tailscale (100.87.226.30, fd7a:115c:a1e0::2634:e21f), six docker bridges, one podman bridge |
| Network | residential, dual-stack: routable IPv4 behind NAT and global IPv6 | same subnet, same router; ICMP RTT to the Mac ~4.4 ms |
Pinned versions, both in internal/irohbuild/main.go:
| iroh-ffi | v1.1.0 (iroh 1.0.0, uniffi 0.31.2 resolved) |
| uniffi-bindgen-go | v0.7.1+v0.31.0 (third party, NordSecurity) |
Two machines, and — not by design — two platforms, which is why check 2 required the linux/amd64 archive first (§4.8). The overlay interfaces in the "also present" row are the reason criterion 2h exists: a direct path over tailscale would satisfy every other criterion in the check.
Nothing here is a second network. Both hosts are on one router. That was check 3's requirement and check 3 is out of the gate (§1).
local/transport/iroh implements the interfaces in local/transport over
internal/irohffi, which is the vendored UniFFI binding plus the static archive.
Everything that touches C is behind //go:build iroh, so the default build
compiles the package to a New that returns ErrUnavailable and needs no
archive on disk. The tag is a 0.1-b measure and 0.1-c removes it: DESIGN.md
§15.2's shape is one Go module per platform, where the module cache handles
download and integrity through go.sum and Go's own build constraints pick the
right archive. Until those modules exist, the tag is the only honest way to keep
criterion 1j true.
Check 1 is local/transport/iroh/loopback_test.go: 14 tests, two endpoints per
test, DisableRelay on and Discovery off in every one. Run with
-tags iroh, and also under -race, because the implementation is mostly
goroutines around blocking FFI calls and that is exactly what -race is for.
local/transport/iroh/relay_test.go holds one test that reaches the public
internet, skipped unless -iroh.relay is passed. It is not part of check 1 and
is not part of any check; it exists because ROADMAP's third fallback is
"relay-only connectivity", and whether the relay leg works at all is worth
knowing before that fallback is ever chosen.
The build is go run ./internal/irohbuild, which clones the pinned tag, builds
the archive, installs the pinned generator, generates the bindings,
post-processes them, derives the link line, and writes a checksum manifest.
-verify re-derives everything and reports differences instead of writing. It
keys off runtime.GOOS/GOARCH and builds natively; nothing cross-compiles,
because the value of the command is that the link line is derived from the
toolchain that built the archive, and a cross build would derive one target's
link line from another target's rustc.
local/transport/iroh/lan_test.go, one test binary with two roles, and the ssh in
the invocation rather than in the Go. It is TestTwoAppsPairAndConvergeOverIroh
with the second local.App on another computer: the same reducer, the same
counters table, the same fingerprint definition, so a green run here and a green
run there are statements about the same thing.
The file is package iroh_test rather than package iroh, because it imports
local and local imports local/transport/iroh. An external test package is
the only place in that directory that can hold both.
Two halves, and the difference between them matters.
The App half is the check. Two local.Apps, each building its own endpoint
from its own keys/endpoint.key — nothing injected through
Config.Sync.Endpoint, which is the whole difference between this and the
simulator. The offer is minted by pairing.Mint, encoded, carried to the far host
as text over ssh, and parsed there by pairing.Parse; pairing.Redeem resolves
the ticket through the far host's endpoint, which is the step no simulator can
exercise because only iroh parses an iroh ticket. Both hosts then author five
operations each — 1..5 on one side, 1000..5000 on the other, so a correct total
requires both — and both wait for SELECT SUM(pos) to reach 15015 and compare
Workspace.Fingerprint.
What the App half cannot do is name an address. sync.PeerStatus carries a
transport.PathInfo and PathInfo carries no address — correctly: nothing above
the transport may make a routing decision, and DESIGN.md §14.1 asks the UI for the
kind of path, not for a socket.
So a probe half runs beside it: one plain iroh.New endpoint per host, bound
to the same LAN address as that host's App, dialing across and exchanging one
message. iroh.PathAddr — added for this, and documented as a diagnostic rather
than part of the transport contract — reads the selected path's remote address out
of live QUIC state on both sides. That is a measured address on a real
cross-host connection between the same two interfaces.
Criterion 2h therefore rests on one measurement and one deduction, and §4.9 keeps them apart:
- measured: the probe connection's selected path is direct and its remote address is inside a declared local-link prefix, on both sides.
- deduced: the App session is direct, the ticket the far side dialed contains no relay and no address outside those prefixes, and the session reports zero path migrations — so it is still on the address it was dialed at.
-iroh.lan.subnet takes the prefixes explicitly (10.0.0.0/24 and the LAN's IPv6
/64) rather than inferring them, because "which of this machine's eight interfaces
count as the LAN" is not a question a test should answer for itself.
Both hosts must be observed while both are up, and that is not tidiness. The
first draft read its own PathKind after the far process had exited:
sync.Engine.Peers() still had the peer — the map entry outlives the session —
but no session, so Path was a zero value reporting none with RTT 0. Every
field of that report was a zero and none was a measurement. The far side now stays
alive until the driver closes its stdin.
All ten criteria of check 1 pass. The 14 tests in loopback_test.go are
green, and green under -race.
ok github.com/FelineStateMachine/allons/local/transport/iroh 4.07s
ok github.com/FelineStateMachine/allons/local/transport/iroh 5.32s (-race)
Artifacts and costs:
libiroh_ffi.a |
26.1 MiB (27,344,656 bytes) |
bindings.go |
9,851 lines, generated |
iroh_ffi.h |
2,816 lines, generated |
cargo build --release --lib |
1m37s warm-cache-cold-target |
cmd/allons, no tag |
15.9 MiB |
cmd/allons, -tags iroh |
32.5 MiB |
| Implementation | 1,206 lines of Go across six files |
| Tests | 918 lines across three files |
P1, P4: pass. The archive links into cmd/allons and into the test binary, and
the result runs with no DYLD_* anything. 26.1 MiB is inside §15.1's 20–40 MB —
though see §4.7, because that range turns out to be a property of the build
profile rather than of iroh.
P3: pass, and better than expected. A rebuild from a fresh clone in a different directory produces all four artifacts byte-for-byte identically, the 26 MiB archive included:
irohbuild: 4 artifacts match a rebuild of v1.1.0
So the SHA-256s in internal/irohffi/checksums.json are a real pin, and moving
the iroh version is reviewable as "these four hashes changed" rather than as a
binary diff.
§15.1 sketches this:
#cgo LDFLAGS: -framework CoreFoundation -framework Security -framework SystemConfiguration
#cgo LDFLAGS: -lresolv -lc++
What iroh-ffi v1.1.0 actually needs, per cargo rustc -- --print native-static-libs:
-framework Security -framework SystemConfiguration -framework CoreWLAN
-framework SecurityFoundation -framework Foundation -framework CoreFoundation
-lSystem -lobjc -liconv -lc -lm
Three frameworks and two libraries missing; -lresolv and -lc++ listed and not
required.
The missing one that matters is CoreWLAN, and it does not fail at link time.
It links clean and then panics inside the first Endpoint::bind:
panic: class CWWiFiClient could not be found
Because iroh's macOS network monitor reaches CoreWLAN through Objective-C runtime class lookup, the symbol is never referenced at link time — the class is resolved by name at runtime, and the lookup fails when the framework was never loaded. There is no undefined-symbol wall to warn you. A build that shipped like this would be a binary that compiles, installs, starts, and cannot open a socket.
This is Gate B's most valuable finding and it is not a code fix, it is a process
one: the link line is now derived, not written. internal/irohbuild asks
rustc for it and generates internal/irohffi/cgo_darwin_arm64.go from the
answer, so an iroh upgrade that reaches for another framework updates the line by
being rebuilt. That is what makes §15's "authors must never hand-edit linker
flags" survive an upgrade rather than being true once. P2: pass, by construction.
DESIGN.md §15.1 describes bindings.go as "UniFFI-generated Go, vendored, never
hand-edited". It is generated and vendored. It is not usable unedited.
(a) map[[]byte]T — the generated file does not compile. iroh-ffi's
EndpointOptions.protocols is a Rust HashMap<Vec<u8>, Arc<dyn ProtocolCreator>>, keyed by ALPN. uniffi-bindgen-go renders it as
map[[]byte]ProtocolCreator, and a Go map key cannot be a slice:
irohffi/bindings.go:8133:17: invalid map key type []byte
… 21 occurrences
The correct rendering is map[string]T — Go strings hold arbitrary bytes,
compare by value, and hash. Three conversions move with the key type.
(b) Error() throws the message away. The generator gives an error object
this:
func (_self IrohError) Error() string { return "IrohError" }
The message crosses the FFI and is then discarded by the one accessor Go's
error interface uses. Formatting any failure with %v produces the string
IrohError — which is worse than useless, because it looks like a diagnosis.
Handled at our layer, in detail(), which reaches for Message(): a refused
dial now reads
transport: peer unreachable: 4 direct addresses: TransportError(Error { code:
Code::crypto(78), … reason: "peer doesn't support any known protocol" })
and there is a test that fails if it ever reads IrohError again.
That test did not cover every path, and check 2 found the gap. ParseTicket
returned the binding error unwrapped, so a malformed ticket produced sync: resolve ticket: IrohError — see §4.9. Fixed there; the general point is that a workaround
applied "at our layer" is only as complete as the enumeration of that layer's exits.
(c) A value receiver over an atomic. The same method copies an FfiObject,
which contains an atomic.Int64, so go vet -tags iroh ./... fails copylocks.
A pointer receiver is also the only correct one: the counter is what stops a
handle being freed while a call is in flight, and a copy of it protects nothing.
(a) and (c) are patched mechanically by internal/irohbuild, from a list where
every entry declares the exact number of occurrences it must match — so an
upstream change that alters the shape fails the build at the point of the change
instead of producing a compile error somewhere in 9,851 generated lines. (b) is
handled in our own code, because patching behaviour into generated output is a
different and worse thing than patching it into compiling.
Named fallback: this is ROADMAP's second one, "contribute the fix upstream." It has not been done and is not blocking. See §6.
The tests worth naming, because each covers a property that a plausible implementation could satisfy the interface without having:
- Half-close terminates the peer's read.
io.ReadAllon a bidirectional stream returns only becauseCloseWritearrives as EOF. If it were a no-op the test would hang, which is the failure it is there to catch — and the control stream's frames have no length prefix to fall back on. - A stalled 32 MiB transfer does not block an ACK. The blob is written with nobody reading it, so its writer is genuinely parked in flow control; the ACK round-trips on another stream while it sits there; and the test then asserts the writer is still parked, because if the whole transfer had fit in a buffer the test would be green while measuring nothing.
CloseWithcarries its reason. Read back off the receiving connection's QUIC close reason, which is the only place that proves the string crossed the wire rather than being formatted locally.- An empty address is
ErrUnreachable, and says so. A stale row in theendpointshint table must back off gently like a network fault, not hard like a semantic rejection (§8.3) — and the message has to say the address was empty or the two are indistinguishable in a log. - A different ALPN cannot connect. Refused at connection time, and nothing reaches the listener's accept queue. An implementation that let the connection up and quarantined the operations afterwards would present as data corruption.
No disagreement was found between localtest and the real transport on any property both assert. That is a result, not an absence of one: it is the first evidence that the fault matrix in DESIGN.md §13 has been validating behaviour QUIC actually has.
Not part of any check, and run explicitly with -iroh.relay:
| Home relay acquired | ~400 ms (usw1-1.relay.n0.iroh.link, and use1-1 on another run) |
| Dial with only a relay address | 569 ms, path reported relay, RTT 568 ms |
| Data over the relay | delivered |
| Upgrade to direct | within one poll interval, Migrations → 1 |
| STUN-discovered public address | correct |
Two things follow. The relay path carries data on its own, so ROADMAP's third
fallback — quic-go with relay-only connectivity — is a decision that can be made
rather than a hope. And PathKind genuinely distinguishes the two states on one
connection, with the migration counted, which is the distinction §14.1 forbids
collapsing.
It says nothing about NAT traversal between two machines. Both endpoints are in one process, so the hole punch is trivially successful. That is check 3 and it needs two networks.
Endpoint::bind, discovery off |
6–21 ms |
| Loopback dial, ticket to connection | ~10 ms |
Close, idle / established / abandoned dial in flight |
100–600 µs |
| Relay-path RTT as reported | 568 ms |
| Direct-path RTT as reported | 0 s |
PathInfo.RTT is unusable on a fast path. iroh-ffi reports RTT as whole
milliseconds (PathSnapshot.rtt_ms), so a direct path on one machine — and, by
extension, on a LAN — truncates to zero. transport.PathInfo documents zero as
"unknown", which means a healthy direct connection is indistinguishable from one
whose RTT was never measured. The relay path reports 568 ms and is fine, so the
defect only bites where the answer matters least; it still means the inspector
cannot show a LAN RTT at all. Millisecond granularity is the wrong unit and the
fix is upstream, in the FFI record. Belongs in docs/deferred.md against 0.1-f,
which is the milestone that displays this number.
Addendum after check 2, and the prediction in the sentence above was too pessimistic. A LAN was named here as a place the number would truncate to zero. It does not. Across two machines it reads 2–6 ms on the App session and 3–7 ms on the probe, on every run:
darwin/arm64 linux/amd64 App session PathInfo.RTT3 ms 2 ms Probe connection PathInfo.RTT4 ms 5 ms Against an ICMP RTT of ~4.4 ms that is the right order and the granularity is coarse but usable. So the defect is narrower than recorded: the unit is wrong only for a path faster than about a millisecond, which is loopback and nothing else. The inspector can show a LAN RTT after all — it will show it in whole milliseconds, and a same-machine session will show
0smeaning "unknown". The deferral against 0.1-f stands; its justification shrinks.
One unexplained observation, recorded rather than smoothed over:
TestDialHonoursContextCancellation takes 3.0 s, all of it in teardown, and the
cost is not in Close — that was measured at ~120 µs in the same shape,
including with an abandoned dial in flight toward an address that never answers.
It was not isolated. It is inside DESIGN.md §16.4's 10 s shutdown budget and
inside the test's own bound, so it is not blocking, but three seconds of
unexplained teardown in a transport is the kind of thing that becomes a hang
later.
Kept rather than deleted, because the pattern in them is the finding.
"iroh-ffi ships vendored UniFFI Go bindings." Read straight off §15.1's
bindings.go // UniFFI-generated Go, vendored. It does not. iroh-ffi v1.1.0 has
Swift, Kotlin, Python and JavaScript targets, CI workflows for each, and no Go
target at all. Go bindings come from a third-party generator versioned
separately against uniffi-rs, and the two pins are coupled: an iroh-ffi release
that moves to a uniffi minor the generator has not caught up to cannot be bound.
That coupling is now the single most likely way this build breaks on an upgrade,
and it is why both pins live next to each other in one file.
"§15.1's link line works." §4.2. It is short by three frameworks and two libraries, and lists two that are not needed. The important part of being wrong here is how it fails: at runtime, in a class lookup, with no link error.
"The risky part is the dial." The dial worked the first time it linked, and so did streams, datagrams, tickets, close codes and path reporting. Every problem was in the toolchain seam — the generator, the link line, and object lifetime across the FFI. Gate B was written expecting to learn whether iroh works on darwin/arm64. What it actually measured is whether the binding pipeline works, and that is where every defect was: three in the generator and one in the link line.
"BindAddr: 127.0.0.1:0 confines the endpoint to loopback." It binds
127.0.0.1:<p> and [::]:<p'> — an IPv6 socket on all interfaces — and its
ticket then advertises this machine's global IPv6 addresses. The loopback tests
are hermetic in the sense that matters (relays disabled, discovery off, nothing
outside the process contacted), but "bound to loopback" was wrong and the comment
in the test file now says so.
"The archive will be 20–40 MB, per §15.1." True, but not for the reason assumed. With upstream's release profile (fat LTO) it is 26.1 MiB; with LTO turned off during early iteration it is 88 MiB. §15.1's figure is a property of the build profile, so it is not a number to check a build against without also checking the profile.
Four more from check 2, in the same spirit.
- "
PathInfo.RTTtruncates to zero on a LAN." Written into §4.6 as a prediction and it is wrong: 2–6 ms, on every run, on both hosts. See the addendum there. - "The archive is what needs building; Go 1.25 is the easy half."
go.modsaysgo 1.26.0, so nixpkgs 25.05'sgo_1_25would not have built this module at all. The handoff note and ROADMAP both say "Go 1.25+", which was already stale when they were written. Caught by readinggo.modrather than the prose. - "nixpkgs' released channel will have a new enough cargo." It has 1.86.0 and iroh-ffi v1.1.0 needs rustc 1.91. §4.8.
- "The accepting side is slow to mark a path selected." This was the first
diagnosis of an App session reporting
PathKindnonefor thirty seconds on the accepting host, and it was wrong in a way worth recording: the real cause was that the far process had already exited, sosync.Engine.Peers()was returning a peer with no session and therefore a zero-valuedPathInfo. The reading was a struct's zero value, not a measurement, and it looked exactly like a transport finding. Measured properly, the path is reported direct 193 µs after convergence. The lesson generalises past this check: a report about a session is only meaningful while both ends of it exist.
One bug my own test found, worth recording because the test looked
unnecessary. Dial had defer target.Destroy() on the FFI address object. On
a cancelled context, Dial returns while the connect goroutine is still using
it, so the defer freed it out from under the call — and the bindings answer a
use-after-free with a panic, not an error. Found by
TestDialHonoursContextCancellation, which existed only to check that a
cancelled context returns promptly.
Check 2 needed a second platform, so internal/irohbuild was run natively on
slate. The interesting part is how little had to change.
cargo 1.86 is not enough. nixpkgs 25.05's cargo is 1.86.0 and the build fails before it starts:
[email protected] requires rustc 1.91
[email protected] requires rustc 1.91
… 36 lines
irohbuild: cargo build --release --lib: exit status 101
nixos-unstable's cargo 1.97.0 builds it. Recorded because "the channel version first" was the right thing to try and the wrong answer, and because the floor is now a known number: iroh-ffi v1.1.0 needs rustc ≥ 1.91, which is not written down anywhere in this repository's pins.
The derived link line, verbatim:
#cgo LDFLAGS: -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc
from cargo rustc --release --lib --crate-type staticlib -- --print native-static-libs, generated into internal/irohffi/cgo_linux_amd64.go by the
same code path that generates the darwin one. Nothing was typed. Worth one note
against §4.2: ldd on the linked binary also shows libresolv.so.2, which is
not on that line — it arrives with Go's own cgo resolver, not with iroh. §15.1's
darwin sketch listed -lresolv and darwin does not need it; linux needs it and
does not ask for it. Neither direction is guessable, which is the whole argument
for deriving.
bindings.go and iroh_ffi.h are byte-identical across the two platforms,
and the uniffi patch list matched with exactly its declared occurrence counts on
the first linux run. That was not assumed. internal/irohbuild now checks it:
requireSharedMatch compares every artifact the package keeps one copy of against
every other platform's manifest and fails the build if they differ, with the
message saying that one copy cannot serve both. Verified by corrupting a digest on
purpose:
irohbuild: bindings.go differs between platforms: checksums.json records
0000000000000000 for bindings.go and a linux_amd64 build produces 695d5d328a5670d4.
The destination package keeps one copy of it, so it cannot serve both — this needs
per-platform bindings, not a rebuild
Costs, beside darwin's:
| darwin/arm64 | linux/amd64 | |
|---|---|---|
libiroh_ffi.a |
26.1 MiB | 38.9 MiB (40,782,932 bytes) |
cargo build --release --lib |
1m37s | 4m32s |
cargo install uniffi-bindgen-go |
— | 6m44s |
cmd/allons, no tag |
15.9 MiB | 19.8 MiB |
cmd/allons, -tags iroh |
32.5 MiB | 39.4 MiB |
bindings.go, iroh_ffi.h |
9,851 / 2,816 lines | identical bytes |
38.9 MiB is inside §15.1's 20–40 MB and close enough to the top of it that the range is worth re-reading as a coincidence rather than a specification — see §4.7 on the build profile.
checksums.json does not hold two platforms, and this is the decision. It
keeps the darwin_arm64 digests byte-for-byte unchanged; linux's go beside it in
checksums_linux_amd64.json. The format is one-platform-per-manifest by
construction and not by preference: packaging.Manifest.Verify treats its
sha256 map as the complete set of files that must be present, so a union
manifest has one missing artifact on every machine — only one platform's
archive is ever on disk. DESIGN.md §15.2's shipping shape is one Go module per
platform, each carrying its own checksums.json, and the vendored tree stands in
for exactly one of them. internal/irohbuild names which one in a constant with
that reasoning next to it.
The consequence, stated rather than hidden: allons doctor on linux/amd64
reads checksums.json, correctly reports "records artifacts for darwin_arm64, and
this is a linux/amd64 build", and does not verify the linux artifacts. go run ./internal/irohbuild -verify does, and reports 4 artifacts match a rebuild of v1.1.0 on both platforms. Fixing doctor means teaching internal/packaging to
look for a platform-suffixed manifest, which is 0.1-c's work — the milestone that
replaces the vendored tree with per-platform modules and makes the question
disappear.
What this archive is not evidence of. It was built against nixpkgs glibc
2.42, linked by nixpkgs gcc 15.3.0, and run on the same machine. That is
internally consistent and says nothing about portability. ldd on the linked
binary is explicit about it:
libc.so.6 => /nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib/libc.so.6
/nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib/ld-linux-x86-64.so.2
=> /nix/store/i3ibgfskl99qd8rslafbpaa1dmxdzh1z-glibc-2.40-66/lib64/ld-linux-x86-64.so.2
Those paths do not exist on Debian, on a GitHub runner, or on any machine that is
not this one. No claim is made that this archive links on another Linux, and
no claim is made that the build is byte-reproducible on linux either — the darwin
reproducibility result in §4.1 came from a rebuild in a fresh clone, and that has
not been repeated here. Both belong to Gate D and to 0.1-c's CI, which is where a
glibc floor and a manylinux-style baseline get chosen.
All eleven criteria of check 2 pass. One run, verbatim except for the JSON being reflowed:
=== RUN TestTwoHostsPairAndConvergeOverLAN
this host advertises relay="" direct=[10.0.0.187:53360
[2601:280:4800:d2e0::abe6]:55241 [2601:280:4800:d2e0:1b2:2515:8a68:5421]:55241
[2601:280:4800:d2e0:487:f46c:e11f:f8f9]:55241]
probe: the far host reached this one from
[2601:280:4800:d2e0:301a:67:af3a:2a5a]:39252 (direct, rtt 4ms)
this host reported a direct path 193.458µs after converging
--- PASS: TestTwoHostsPairAndConvergeOverLAN (0.72s)
ok github.com/FelineStateMachine/allons/local/transport/iroh 1.034s
MacBook-Pro-3.local (darwin/arm64) |
slate (linux/amd64) |
|
|---|---|---|
| fingerprint | e0e1f8a03303aefa…d8de1a02 |
e0e1f8a03303aefa…d8de1a02 |
SUM(pos) |
15015 | 15015 |
| own replica | ffe37ad205213c1a… |
032e9ede115c2804… |
| peer replica from HELLO | 032e9ede115c2804… |
ffe37ad205213c1a… |
| peers | 1 | 1 |
| App session path | direct, RTT 3 ms, 0 migrations |
direct, RTT 2 ms, 0 migrations |
Status().Network |
direct |
direct |
| ticket relay | (empty) | (empty) |
| probe selected path | [2601:280:4800:d2e0:301a:…:2a5a]:39252, direct, 4 ms |
[2601:280:4800:d2e0:487:…:f8f9]:57733, direct, 5 ms |
Both fingerprints are equal and both totals are 15015, so both directions converged: 15 comes from one host's five operations and 15000 from the other's, and neither number can be right unless the other host's work arrived.
The path was IPv6, and that is a finding rather than a detail. Both hosts bind
their IPv4 socket to their own 10.0.0.0/24 address, which is what keeps the
tailscale IPv4 out of the candidate set — and iroh binds an IPv6 socket on [::]
anyway (§4.7), so the ticket also advertises the LAN's global IPv6 addresses. Path
selection then picks either family from run to run; across the runs recorded here
it chose IPv6 more often than IPv4, and both are on the local link. This is why
-iroh.lan.subnet takes a list of prefixes rather than one: an IPv4-only
criterion would have failed a perfectly good LAN path, and a criterion that
accepted "any direct path" would have accepted tailscale.
slate's own ticket does advertise [fd7a:115c:a1e0::2634:e21f] — its tailscale
address — because that socket is on [::]. Nothing dialed it (slate dialed the
Mac, not the reverse), so the check logs that candidate set and does not assert on
it. Being explicit: the deduction in criterion 2h covers the direction that was
dialed, and it is closed by the zero migration count rather than by the ticket
alone.
Convergence took 0.72 s end to end, including the ssh round trip that carried the offer, and the direct path was reported 193 µs after convergence — so the polling in the harness is insurance, not a wait.
Five mutations, each run against the same two hosts. Each one had to fail, and each one did.
-iroh.lan.break=workspace — the offer names a workspace id nobody holds:
the far host exited before the probe connected: exit status 1
lan_test.go:655: open the offer's workspace 700e28f8:
local: not found: workspace 700e28f8
-iroh.lan.break=ticket — one character of the encoded ticket perturbed:
MUTATION ticket: the perturbed ticket no longer parses (IrohError)
MUTATION "ticket": the far host reported failure, which is the intended outcome:
lan_test.go:693: redeem the offer: pairing: add the offer's device as a peer:
sync: resolve ticket: IrohError
That output is itself a defect, and it is now fixed. IrohError is §4.3b's
generator bug — an error object whose Error() returns its type name — and §4.3
claimed it was handled at our layer in detail(). It was handled everywhere
except ParseTicket, which returned the binding error unwrapped, so the one
user-facing path that starts with a bad string produced a message naming neither
the string nor what was wrong with it. ParseTicket and Ticket now go through
detail(). §4.3's "there is a test that fails if it ever reads IrohError again"
did not cover this path; a mutation of an unrelated check did.
-iroh.lan.break=fingerprint — one extra operation authored locally:
this host did not converge: total is 15022 after 1m30s, want 15015
MacBook-Pro-3.local totals 15022, want 15015 — an operation from one side is missing
slate totals 15022, want 15015 — an operation from one side is missing
And this mutation does not prove what its name suggests, which is why there is a fifth. The extra operation replicated, so both hosts reached 15022 with equal fingerprints. The failure was caught by the total, not by the fingerprint. Left in place and renamed in the reader's mind: it demonstrates that convergence-by-total is load-bearing, and it demonstrates that a local write is not a way to make two replicas differ.
-iroh.lan.break=state — seven units moved between two replica rows in one
host's materialized table, with no operation written, so the total is unchanged and
only the fingerprint can see it:
MUTATION state: moved 7 between two replica rows locally, so the total is
unchanged and only the fingerprint can catch it
the two hosts did not converge: MacBook-Pro-3.local has
9d4c264ec3d35fae…eb27e4bf, slate has 454064426332a40a…175f860b
Totals stayed at 15015 on both hosts and nothing else in the check fired. That is the fingerprint assertion earning its place.
-iroh.lan.break=relay — both probe endpoints get relays and discovery, and
the far side strips the direct addresses and dials the relay alone, which is the
construction relay_test.go already uses:
probe: the far host reached this one from https://usw1-1.relay.n0.iroh.link./
(relay, rtt 88ms)
MacBook-Pro-3.local's probe path is relay, want direct
MacBook-Pro-3.local probe remote: "https://usw1-1.relay.n0.iroh.link./" is not
an IP address, so it cannot be shown to be on the local link — a relay URL
lands here
Criterion 2h rejects a relayed path on both counts — the kind and the address — and the address check is the one that would also catch a direct path over the wrong interface.
Two honest notes on that last one. It failed on the accepting side only: by the
time the dialer sampled, its path had already migrated to 10.0.0.187:61994,
direct, 4 ms. So the mutation also measured something nobody asked for — a
relay-started connection on a LAN upgrades to direct in under the time it takes to
exchange one message. And it reaches n0's public relays, so it is a mutation to run
deliberately and not part of the check.
With no Rust toolchain on PATH and internal/irohffi/lib/ moved off disk,
default build tags:
| darwin/arm64 | linux/amd64 | |
|---|---|---|
go build ./... |
OK | OK |
go test ./... |
green except docs (below) |
green |
The one failure is docs.TestDocumentedSnippetsAreVerbatim, and it is not
related to this work: a concurrently edited examples/notes/projections/tag_facets.go
has drifted from the snippet quoted in daily.md. Named here so that a re-run
seeing it does not attribute it to the archive.
Check 1 was re-run on darwin after every change in this session and is unchanged:
ok github.com/FelineStateMachine/allons/local/transport/iroh 4.457s
ok github.com/FelineStateMachine/allons/local/transport/iroh 5.632s (-race)
The two new tests skip cleanly when their flags are absent, so nothing about a
default go test -tags iroh ./local/transport/iroh/ changed.
Check 1 — in-process loopback dial: PASS. All ten criteria, on
darwin/arm64, against the real iroh stack, statically linked, green under
-race. iroh-ffi on this platform is no longer an assumption.
Check 2 — two machines on a LAN: PASS. All eleven criteria (§4.9), between
darwin/arm64 and linux/amd64 on one subnet, each host linking its own statically
built archive, relays disabled and discovery off on both. Two workspaces, a
pairing offer carried across the wire as text, both hosts authoring, equal
fingerprints, PathKind direct on both sides and the selected path's remote
address measured and shown to be on the local link. Five mutations were run and
all five failed the check, including one that isolates the fingerprint assertion
from the total.
Check 3 — two machines across NATs: REMOVED FROM THE GATE, not passed. The
project owner descoped it (ROADMAP, Gate B; docs/handoff.md §5): proving hole
punching is iroh's job, and local plus LAN verification is sufficient. Its
threshold is kept in §1 rather than deleted so that this cannot be misread later
as a check that succeeded. Nothing in this document is evidence about NAT
traversal. The relay leg and the relay→direct migration are verified (§4.5) in
one process, which is a strictly weaker statement than hole punching between two
networks; §4.9's relay mutation adds a relay→direct upgrade between two machines
on one network, which is also weaker.
Packaging P1–P4: PASS on darwin/arm64. P1, P2, P4 pass on linux/amd64; P3
partially. Both platforms link a static archive with a derived link line (§4.8),
both are inside §15.1's size range, and both have a per-artifact SHA-256 manifest
verified by irohbuild -verify. What linux does not have is a demonstrated
byte-identical rebuild from a fresh clone — darwin's came from one and linux's was
not attempted — nor any evidence of portability off the machine that built it
(§4.8). Two consequences are recorded rather than smoothed: allons doctor cannot
verify the linux manifest, because internal/packaging reads only
checksums.json; and the vendored tree holds two platforms in two manifests
because the format holds one each. Both dissolve at 0.1-c.
Gate B as a whole: PASS, on a two-check gate. ROADMAP named three checks; the third was removed by the project owner after the first was already green, and the two that remain both pass. A reader six months from now should take exactly this away: the gate got smaller and the evidence did not. Check 3 was never run. If NAT behaviour is ever wanted, host a peer and dial it from a laptop — and keep it out of the gate, which is the decision that was made here.
What 0.1.0 still does not have is the exit criterion for the release, which is a design partner running a real tool across three of their own devices for two weeks (ROADMAP). Two machines converging for 0.72 s is the gate, not the criterion.
No fallback has been taken. The pinned iroh-ffi release is the current one, not an older one; nothing was reimplemented over quic-go. Three things are being worked around rather than fixed, and all three are in the binding generator rather than in iroh:
map[[]byte]Tgenerating invalid Go, patched mechanically (§4.3a);- an error object's
Error()discarding its message, worked around indetail()(§4.3b); - a value receiver over an atomic, patched mechanically (§4.3c).
The right resolution for all three is ROADMAP's second fallback, "contribute
the fix upstream." They are small, they are in one third-party repository, and
until they are fixed there this repository carries a patch list that has to be
re-checked at every upgrade. Belongs in docs/deferred.md rather than here,
because it is a thing that is wrong rather than a result.
-
A different platform. §15.1 names four. Two now have an archive, a derived cgo file and evidence: darwin/arm64 and linux/amd64. darwin/amd64 and Windows have none, their link lines are unknown, and §4.2 is the reason not to guess them.
-
A different Linux. §4.8. The linux/amd64 archive was built against nixpkgs glibc and run on the machine that built it. Debian, a CI runner, or anything with an older glibc is untested, and the linked binary's interpreter is a
/nix/storepath. Nothing here supports a claim that this archive is portable. -
An iroh-ffi upgrade. The generator pin and the iroh pin are coupled through uniffi's contract version (§4.7). The patch list in
internal/irohbuildis the tripwire: it fails loudly on a shape change rather than mis-patching. -
A newer macOS SDK. Every link emits
object file … was built for newer 'macOS' version (26.2) than being linked (26.0). Harmless today. §15.3 already requiresMACOSX_DEPLOYMENT_TARGETpinned forallons build, and it is not pinned in this build. -
Two machines. Obviously, and it is the whole remainder of this gate.Done — §4.9. What remains outside this gate is a second network, which check 3 wanted and which the project owner descoped. -
MaxPeerSessionsat its default of 32. Each connection uses up to three blocking cgo calls, each of which occupies an OS thread while parked. One connection is three threads; 32 sessions is close to a hundred. Nothing here measured that, because nothing here opened more than one connection.Measured after the fact, and this was wrong. The reasoning was sound and the premise was false.
TestThreadCostPerConnectionopens eight live connections, each with a bidirectional stream carrying real bytes, and counts threads at the kernel rather than throughruntime/pprof— because pprof'sthreadcreateprofile only sees threads the Go runtime made, and iroh is Rust with its own runtime, so measuring it alone would have understated exactly the thing in question.connections OS threads above baseline goroutines 1 3 14 4 3 47 8 3 91 The thread count does not move between one connection and eight, so the cost is O(1) in connections, not O(n): the pumps park in Go rather than inside cgo, and iroh's runtime is a fixed-size pool. Only the goroutine count is linear (~11 per connection, so ~355 at 32 sessions), and that is the cheap axis.
Extrapolating "0.5 threads per connection" from these numbers would be its own mistake — the shape is flat, not shallow.
The test asserts the shape rather than the number, because the regression it guards against is invisible until it is expensive: a change that made any pump genuinely block inside cgo would restore the linear cost, and nothing else in the suite would notice. At 32 sessions that is the difference between about eleven threads and about a hundred.
Caveat: eight connections, one process, loopback, idle after one round trip. It falsifies the per-connection-thread claim; it says nothing about behaviour under sustained concurrent load.
# build the archive and regenerate the bindings (needs cargo; ~4 min cold on
# darwin/arm64, ~11 min cold on linux/amd64 including the generator)
go run ./internal/irohbuild
# check the committed artifacts against a rebuild of the pinned tag. It reads the
# manifest for the platform it is running on: checksums.json on darwin/arm64,
# checksums_<goos>_<goarch>.json elsewhere (§4.8).
go run ./internal/irohbuild -verify
# check 1 — the gate
go test -tags iroh -count=1 ./local/transport/iroh/
go test -tags iroh -race -count=1 ./local/transport/iroh/
# the relay leg, which contacts n0's public relays
go test -tags iroh -count=1 ./local/transport/iroh/ -iroh.relay
# 1j — the default build needs no Rust toolchain and no archive
go build ./... && go test ./local/transport/... ./localtest/...
-work <dir> on irohbuild reuses a checkout, a cargo target directory, and an
installed generator, which turns a four-minute build into seconds.
The far host is slate, reached by passwordless ssh. It has no Rust and its system
Go is 1.24.10, below go.mod's 1.26.0, so everything on it runs inside one
nix shell. The nixpkgs revision is pinned rather than named as a channel,
because nixos-unstable is a moving branch and "install Go 1.25" is not a
reproduction step:
# one shell for the whole far-host build. cargo 1.86 from nixpkgs 25.05 is NOT # enough — iroh-ffi v1.1.0 requires rustc 1.91 (§4.8). N=github:NixOS/nixpkgs/0954f7ee2f6bb3dc7d4e3d0d8bcb8fd4bde4cfc5 # go 1.26.5, cargo 1.97.0, gcc 15.3.0
1. Put the tree on the far host and build its archive. internal/irohffi/lib/
is gitignored and per-platform, so it is excluded from the copy and rebuilt there:
ssh slate 'mkdir -p ~/gateb' rsync -a --delete --exclude .git --exclude internal/irohffi/lib ./ slate:~/gateb/allons/ ssh slate "cd ~/gateb/allons && nix shell \$N#go \$N#cargo \$N#gcc -c \ go run ./internal/irohbuild -work ~/gateb/work"
That writes internal/irohffi/lib/linux_amd64/libiroh_ffi.a,
cgo_linux_amd64.go and checksums_linux_amd64.json. bindings.go and
iroh_ffi.h are byte-identical to darwin's and are left alone; the two generated
files come back into the repository, the archive does not.
2. Build the same test binary on both hosts.
ssh slate "cd ~/gateb/allons && nix shell \$N#go \$N#gcc -c \ go test -tags iroh -c -o ~/gateb/lan.test ./local/transport/iroh/"
3. Write the far side's launcher. It reads one JSON request on stdin and prints
one GATEB-LAN-RESULT line on stdout:
# ~/gateb/run-peer.sh on slate #!/bin/sh exec /home/tank/gateb/lan.test \ -test.run TestLANPeerSide -test.v -test.timeout 10m \ -iroh.lan.serve /home/tank/gateb/data \ -iroh.lan.bind 10.0.0.172 \ -iroh.lan.subnet 10.0.0.0/24,2601:280:4800:d2e0::/64
4. Run the check from this host. -iroh.lan.bind is this machine's LAN IPv4
address and -iroh.lan.subnet is every prefix that counts as the local link — both
families, because path selection uses either (§4.9):
go test -tags iroh -count=1 -timeout 15m -v \ -run TestTwoHostsPairAndConvergeOverLAN ./local/transport/iroh/ \ -iroh.lan.bind 10.0.0.187 \ -iroh.lan.subnet '10.0.0.0/24,2601:280:4800:d2e0::/64' \ -iroh.lan.push-cmd "ssh slate 'rm -rf /home/tank/gateb/data && mkdir -p /home/tank/gateb/data && tar xf - -C /home/tank/gateb/data'" \ -iroh.lan.peer-cmd "ssh slate /home/tank/gateb/run-peer.sh"
5. Break it on purpose. Add one of these; each must fail, and §4.9 records the output of each:
-iroh.lan.break=workspace # an offer for a workspace nobody holds -iroh.lan.break=ticket # a perturbed ticket -iroh.lan.break=fingerprint # one extra local operation (caught by the total) -iroh.lan.break=state # local state divergence at an unchanged total -iroh.lan.break=relay # relay-only probe dial; contacts n0's relays
Both tests skip when their flags are absent, so go test -tags iroh ./local/transport/iroh/ on one machine is unaffected. The addresses above are
this LAN's; substitute yours.
Take all three uniffi-bindgen-go defects upstream. map[[]byte]T generating
invalid Go, an error object's Error() returning its type name instead of its
message, and a value receiver over an atomic. Each is a few lines, each affects
every Go consumer of that generator, and each is currently carried here — two as
patches in internal/irohbuild and one as a workaround in detail() — with the
patch list re-verified at every upgrade. This is ROADMAP's second fallback taken
deliberately rather than drifted into, and it is the one piece of work that makes
bindings.go match what DESIGN.md §15.1 says it is.
Pin MACOSX_DEPLOYMENT_TARGET for the Rust build too, not only for wails build. §15.3 pins it on the Go side. The archive is compiled against whatever
SDK the machine has, which is why every link warns about objects built for macOS
26.2. Today it is noise; the moment a bottle is built on a newer runner than the
oldest supported target, it is a load failure on somebody's machine — and that is
Gate D's category of problem, which §15.3 explicitly wants found early.
Teach internal/packaging to find a platform-suffixed manifest, or bring the
per-platform modules forward. Right now the vendored tree carries two platforms'
digests in two files and internal/packaging reads only checksums.json, so
allons doctor on linux/amd64 reports — accurately — that the manifest it found
describes darwin_arm64 and verifies nothing local (§4.8). It is a two-line reader
change or a 0.1-c deliverable, and it should be one of the two rather than a thing
that stays true because nobody runs doctor on Linux.
Record a Rust floor beside the iroh pin. iroh-ffi v1.1.0 needs rustc ≥ 1.91 and
nothing in this repository says so, which is how the first linux build attempt spent
its time discovering it from 36 lines of cargo output. internal/irohbuild pins two
versions and explains their coupling; the toolchain floor is the third fact of the
same kind.
The MACOSX_DEPLOYMENT_TARGET one is filed here rather than in docs/deferred.md
because it is not wrong yet — it is a default that will become wrong on a build
machine newer than the oldest supported target. The generator defects are genuinely
wrong today and are recorded there too; they appear here because "who fixes it" is a
decision, not a defect. The last two arrived with check 2 and both belong on
ROADMAP's carried-forward table against 0.1-c.