Skip to main content

SHEET 15 OF 49

/SYSTEM

PART:
03 DOCUMENTATION
CIRCULATION:
PUBLIC
SOURCE:
pages/System.astro
AS OF:
2026-12-03

FIVE CROSSINGS, ONE DECLARING CRATE, AND THREE LOOPBACK PORTS

LAYOUT READING

GIVES:
RAIL MEASURE MARGIN
FOR:
THE BOUNDARIES
TRACKS:
RAIL MEASURE

# READING_17

  1. a rail (the document's own contents, or the set it belongs to)
  2. a measure (72-88ch of prose, or `full` for a page that also carries grids)
  3. a margin (the notes, the facts, the aside) - or nothing, and then the measure takes the rail's side

LAND / FIELD RECORD / TECHNICAL

# SYSTEM_01

BOUNDARIES, AND WHO OWNS WHAT

Every capability is declared once, implemented once, and reached across a seam; this page is the table that says which element owns it.

SYSTEMBOUNDED

STATUSACTIVE
PROCESSES:
3 a native host, an extension host and a renderer
CROSSINGS:
5 two Tauri mechanisms, three gRPC ports
ELEMENTS:
16 eleven of them Rust workspace members
ROOTS:
3 Cache, Common and Rest depend on no other element
DECLARED BY:
COMMON every capability is a trait in one crate, implemented by one host
LICENCE:
CC0

LAND:

READ THE BOUNDARIES

/THE CROSSINGS

Five ways out of a process

Land is three processes and an optional daemon, and the boundary between them is the architecture. A call leaves one of them in exactly five ways: a Tauri command in, a Tauri event out, and protobuf over loopback to one of three servers. Two of the five have no port at all, which is the difference the table keeps rather than hides.

/THE SYSTEM

PROCESSES:

3

SOURCE: SOURCE/CONTENT/DOC/ARCHITECTURE.MD

DAEMON:

1 OPTIONAL

SOURCE: SOURCE/CONTENT/DOC/ARCHITECTURE.MD

CROSSINGS:

5

SOURCE: SOURCE/CONTENT/DOC/ARCHITECTURE.MD

ELEMENTS:

16

SOURCE: LAND/ELEMENT/.GITMODULES

RUST MEMBERS:

11

SOURCE: LAND/CARGO.TOML

DEPENDENCY ROOTS:

3

SOURCE: SOURCE/CONTENT/ELEMENT/WORKING.TS

The 6 extents of the system this page can count. The crossings are five, not two: a call into the host and an event out of it are different mechanisms with different guarantees, and the table under this panel keeps them apart.

SOURCE: SOURCE/CONTENT/DOC/ARCHITECTURE.MD TWO MECHANISMS ARE IN-PROCESS IPC AND CARRY NO PORT ALL THREE PORTS ARE LOOPBACK
DIRECTION MECHANISM PORT FAR END
IN Tauri command NONE `Mountain`'s dispatch match
OUT Tauri event NONE `Sky`'s bridge, on a `sky://` channel
ACROSS gRPC (`Vine`) 50052 the extension host's server
ACROSS gRPC (`Vine`) 50051 the host's own server
ACROSS gRPC 50053 the daemon's server
TOTAL 5 mechanisms 3 ports 5 far ends
CONTAINS:
A CRASH an extension host that dies takes its own process down, not the window the reader is typing in
ISOLATES:
PERMISSIONS `Mountain` owns the file system, the terminal and the dialogs, so the capability surface is one process's
SEPARATES:
RUNTIMES `Rust` in the host, `Node.js` in the extension host, `Astro` and `Effect-TS` in the renderer - three toolchains that do not have to agree
COSTS:
A SERIALISED HOP every cross-process argument is a JSON byte array inside a protobuf field, so nothing crosses by reference
COSTS:
4194304 `MAX_MESSAGE_SIZE`, in bytes (4 MB) - a payload over it fails at the envelope boundary rather than being chunked
COSTS:
30 `CONNECTION_TIMEOUT`, in seconds - and the reason `Cocoon` binds its server before it connects

SOURCE: SOURCE/CONTENT/DOC/ARCHITECTURE.MD TWO MECHANISMS ARE IN-PROCESS AND THREE PORTS ARE LOOPBACK ONLY A PORT COLUMN PRINTING `NONE` IS A PROPERTY OF THE MECHANISM

/THE RESPONSIBILITY

Declared once, implemented once, called twice

A capability is an async trait in `Common`, an implementation in `Mountain`, and two callers that never implement it - `Cocoon` and `Wind` reach it through IPC. That is the boundary's whole design in one sentence, and this table is the sentence one row at a time, because a reader deciding which element to open needs the row and not the paragraph.

SOURCE: SOURCE/CONTENT/DOC/ARCHITECTURE.MD COMMON DECLARES MOUNTAIN IMPLEMENTS COCOON AND WIND CALL THROUGH IPC AND NEVER IMPLEMENT
CAPABILITY DECLARED IN IMPLEMENTED BY REACHED THROUGH
FileSystem
FileSystemReader `Common/Source/FileSystem` Mountain IPC
FileSystemWriter `Common/Source/FileSystem` Mountain IPC
FileWatcherProvider `Common/Source/FileSystem` Mountain IPC
Configuration
ConfigurationProvider `Common/Source/Configuration` Mountain IPC
ConfigurationInspector `Common/Source/Configuration` Mountain IPC
Terminal
TerminalProvider `Common/Source/Terminal` Mountain IPC
Command
CommandRegistry `Common/Source/Command` Mountain IPC
Document
DocumentProvider `Common/Source/Document` Mountain IPC
LanguageFeature
Hover, completion, definition `Common/Source/LanguageFeature` Mountain gRPC 50051
Symbols, references, rename `Common/Source/LanguageFeature` Mountain gRPC 50051
The rest of the tree
ExtensionManagement `Common/Source/ExtensionManagement` Mountain IPC
Search, Secret, Storage, SCM `Common/Source/` Mountain IPC
StatusBar, TreeView, UserInterface, Webview, CustomEditor `Common/Source/` Mountain IPC
Debug, Diagnostic, Output, Telemetry `Common/Source/` Mountain IPC
No trait at all
Clipboard, dialog, window, process - `NativeHost/` IPC

SOURCE: SOURCE/CONTENT/DOC/ARCHITECTURE.MD `COMMON` DECLARES; `MOUNTAIN` IMPLEMENTS; `COCOON` AND `WIND` CALL FOUR SURFACES REACH THE MACHINE WITH NO TRAIT AT ALL

/THE DEPENDENCY

What each element says it needs

Every element's manual answers one question about the tree - what do you need to be here - and the answers make a graph with three roots and one very depended-on crate. It is a declaration rather than a call graph: an edge says an element needs another to exist, not that it calls it at runtime.

ROOTS:
CACHE, COMMON, REST the three elements whose `DEPENDS ON` row is `NONE`
COMMON:
4 DEPENDENTS Echo, Grove, Mountain and Vine - the contract crate is the tree's most depended-on element
MOUNTAIN:
3 DEPENDENTS Air, Cocoon and Mist - every element that needs the host to be running
VINE:
2 DEPENDENTS Cocoon and Mountain - the two hosts that speak the contract
LONGEST CHAIN:
6 EDGES Worker → Sky → Wind → Cocoon → Mountain → Vine → Common
BUILD-ONLY:
MAINTAIN depends on `cargo` and `tauri` rather than on an element - a workspace member that never runs inside the editor
UNANSWERED:
0 all sixteen elements carry a `DEPENDS ON` row, so no edge here is a guess

# TRACE / /THE BOUNDARY 04 STEPS

  1. 01 Source/Content/doc/architecture.md THE PROCESS MODEL, THE TRAIT TREE AND THE IPC MATRIX
  2. 02 Source/Content/Element/Working.ts EACH ELEMENT'S DECLARED FORM, BOUNDARY AND DEPENDENCY
  3. 03 Land/Element/Vine/Source/Server/Constants.rs THE THREE PORTS AND THE TWO LIMITS
  4. 04 Land/Cargo.toml THE ELEVEN WORKSPACE MEMBERS

SOURCE: SOURCE/CONTENT/DOC/ARCHITECTURE.MD SOURCE/CONTENT/ELEMENT/WORKING.TS A DEPENDENCY HERE IS A DECLARATION, NOT A CALL GRAPH

SOURCE: SOURCE/CONTENT/ELEMENT/WORKING.TS A DECLARED EDGE IS NOT A MEASURED CALL THE CHAIN IS SIX EDGES FROM THE SERVICE WORKER TO THE CONTRACT CRATE

/THE PORTS

Three servers, none of them reachable

Each process that answers gRPC binds one port, and all three bind loopback. A name resolves to `127.0.0.1` through the local DNS sandbox beside them, so neither a port nor a hostname on this page crosses the machine - the transport is a boundary between processes, not a network surface.

50051:
MOUNTAIN SERVICE `DEFAULT_MOUNTAIN_PORT`, bound by the host; `Cocoon` and `Air` connect as clients
50052:
COCOON SERVICE `DEFAULT_COCOON_PORT`, bound by the extension host; `Mountain` connects as a client
50053:
AIR SERVICE `DEFAULT_AIR_PORT`, bound by the daemon; `Mountain` and external clients connect
BINDS:
[::1] all three default addresses are loopback - no port here is reachable off the machine
BUDGET:
100 `MAX_CONNECTIONS`, exposed for the embedder to apply - `tonic` does not enforce it on its own
RESOLVES:
MIST `*.editor.land` resolves to `127.0.0.1` through the local DNS sandbox, which is why a name never leaves the machine either

SOURCE: LAND/ELEMENT/VINE/SOURCE/SERVER/CONSTANTS.RS LAND/ELEMENT/VINE/SOURCE/LIBRARY.RS ALL THREE DEFAULT ADDRESSES ARE `[::1]`

NEXT: /BLOG 04 BLOG

NOTES FROM THE BUILD, NEWEST FIRST

〈15〉 /SYSTEM 49 SHEETS AS OF: 2026-12-03