Engineering specifications, source references and implementation details. The current architecture, November 2026: How CroakOS works (the whole machine, with a walkthrough linked to its tests), the simulator, every current result, and the source. The specification below is Draft 0.9 (2026-08-31). Each section carries implementation clauses current to CroakOS build fdf-2026-11-15-r54; where they differ from the older clauses, the implementation clauses govern. The same text is in the repository at docs/spec.

Specification

FrogNet Protocol Specification

Draft 0.9, revision 2026-08-31. Key words are as defined in §1.2 [RFC2119] [RFC8174].

Prerequisites

Technical prerequisites

This specification assumes the reader has an advanced working knowledge of the architecture and use of the following technologies:

FrogNet deliberately uses standard APIs, protocols, operating-system facilities, and tools wherever practical. As a result, its dependencies and relationships cross multiple engineering layers and are dispersed throughout the system.

Required

  • Linux
  • HTTPS proxies
  • Distributed systems
  • Shared memory
  • Semantic compression
  • Custom wire protocols
  • Python

Recommended

  • Conventional networking and routing
  • TCP/IP
  • DNS and DHCP
  • WireGuard
  • REST and HTTP
  • Relational databases and SQL
  • systemd
  • Shell scripting
  • Radio networking
  • FFmpeg
  • Real-time audio/video systems

It is strongly suggested that you load the FrogNet codebase into an AI capable of repository-wide analysis. This makes it considerably easier to trace those dependencies and relationships across the complete system.

The specification keeps its full mechanism record.

All twenty detailed specification documents, author walkthroughs, clause ids and citations remain available below. Each now includes current implementation clauses for r19-a15 (October 12, 2026; the CroakOS build now is fdf-2026-11-15-r54) and the modern Ribbit surface, while retaining the full existing technical explanation.

FD&F ownership and graph · Ribbit programming discipline · Exact implementation baseline · Current acceptance gates

FrogNet Specification — Draft 0.9, revision 2026-08-31. Cite a conformance claim against this revision, not against a section number alone.

Ribbit (§19–§22). The programming surface that §9 and §10 lead to is documented in Ribbit's own words: the model and the method, the programming rules, the conversion process and API++. Those four are rendered from the documents in the source tree and are descriptive, not RFC 2119 clauses.

Read in order or by section. Sections §4a and §11a are numbered on the half convention: they specify components that had no section of their own, and no existing section number changes because of them.

Documents20 normative (§1–§18), plus the four Ribbit reference documents §19–§22, rendered from the source tree and descriptive rather than normative
Normative statements476 MUST (of them 210 MUST NOT)
ProvenanceEvery requirement checked against the reference implementation; each constant cited with its source file
UnfinishedFour source-verification gaps remain, each marked PENDING SOURCE at the point it applies: discovery cadence and withdrawal in §6, the reassignment-callback registration API in §10, the template disuse interval in §11, and association retry policy in §13. None is filled with a plausible figure. Allocator exhaustion, previously listed here, is closed: the behaviour was stated in §17.4 from the broker’s allocator source; the broker was removed on 12 October 2026 (§7.8), and the region gives one edge address per member (fdf-invite free_edge, 64,008 per region).
StatusDraft 0.9, revision 2026-08-31. Experimental; no registry assignment is claimed.
LicenceThe implementation is open source under GPLv2. The specification is published so an implementation can be written against the contract rather than against the code.
§1
Scope and TerminologyWhat this specification covers, how conformance is claimed, the normative terminology, and the model the rest of it assumes.
§2
Architectural InvariantsFive statements that hold across every other section: one authoritative copy, one serialization point, no replication or merge, topology derived rather than distributed, and independent producer and consumer lifetimes.
§3
Node Model, Identity, Installation and BootstrapWhat a node is, its two unrelated identities, the GUID lifecycle, gateway and child roles, and the requirements an installer must meet.
§4
Discovery and MembershipThe bounded walk, per-path deduplication, the negative cache and what may never mark it, the liveness gate, and what a walk outputs. Depends on §11a: discovery's liveness probe is the daemon's :9009 exchange and its path-ranking round trip rides the proxy; its echo and getHosts go direct.
§4a
Triggering and the Merge ControllerWhat causes a merge to run: link and lease events, the single controller, re-entrancy, the converge loop, and how the mesh announces to itself.
§5
Addressing and RoutingObservations as evidence, metric roles, pure planning, fallback routes, commit and mutation flagging, and why tunnel existence is not tunnel usage.
§6
Pond Formation, Merge, Split and HealingFormation and splitting as one mechanism, local detection, re-establishment by re-assertion, and the definition of convergence.
§7
Internet Extension: the RegionWhat the region is (RAM manager, hub, one host), where it lives, admission by invitation, the hub derived from the records, loss of the region, tunnel liveness, trust, and what the broker was.
§8
Service Discovery and ElectionTwo hosts and only one elected, capability publication, the candidate pool, static scoring, and why nothing that moves with load may select a role.
§9
FrogNet MemoryThe store: addressing, write and read semantics, who decides freshness, coherence and the database-host election, partition behaviour, and non-goals.
§10
UnREST — the Programming ModelThe exchange before and after, the three operations, coupling and lifetime, what the application no longer writes, ownership rules, handlers and concurrency.
§11
FNWP-1 and BLDC-1Frame format and opcodes, template learning, the three reference states, how SAME is proven, sequencing, duplicate-work collapse and gossip bounds.
§11a
The Proxy and the DaemonInterception, socket sets and the cost of overlay, the daemon execution gate, worker pool sizing, and the two caches with their different standing. Prerequisite of §4: discovery's liveness probe is the daemon's :9009 exchange, and its path-ranking round trip rides the proxy (§4.1b).
§12
Security Architecture and Trust BoundariesNo cryptography of its own, the absent surface, the reference-only wire and its honest boundary, encryption as a bearer choice, and remaining exposure.
§13
Failure Semantics and RecoveryFailure classes and required responses, what does not expire, writes during a partition, and what is not provided.
§14
Performance and AdaptationSemantic versus media adaptation, the nine-rung ladder, pure rate derivation, why a failed rate is not a candidate, and what may be claimed for a figure.
§15
Reference ApplicationsThe Communicator as the reference application, the Monitor as the consumer half of §10, governed shared state in the games, and what a reference application is not.
§16
Simulator and Conformance TestingSubstitution points, the tier ladder, coverage proven from output, isolation requirements, hardware correspondence, and what is not modelled.
§17
Known Limits and Unresolved IssuesEvery known limit with its mechanism, consequence and status — structural limits distinguished from open work.
§18
Implementation and Security ConsiderationsReference platform, interchangeable bearers, registries and protocol naming, regulatory posture, falsification challenges, doctrine tags and deployment cautions.
§19
Ribbit: the model and the methodRibbit's own account: the shared-memory island, how to code like a frog, how the wire is optimised, debugging, building and deploying, and using AI for maximum code velocity.
§20
Programming Ribbit: best practicesWhat is yours to change, addressing, held views, one writer per truth, derived state, coordination as state, participants, the incumbent's tests as oracle, honest measurement, and what first implementers get wrong.
§21
Converting a system to RibbitThe reference conversion process: the contract kept and the machinery replaced, phase 1 and phase 2, the truth table, the question-3 register, what is reported, and how it goes wrong.
§22
API++: convenience functions over the shared RAMPublish and subscribe without a broker, cells gone with their writer, linger by family, held reads that watch and follow, Redis and MQTT on API++.

Clarifications

Nothing is copied. A connected pond holds one authoritative copy of each value at one place. There are no replicas, no deltas, no anti-entropy, and no merge procedure — on reunion after a partition nothing is merged and no value travels (§2, §6, §13).

Gossip carries topology, never memory. A change notification propagates between directly attached neighbours; a tuple value never does, because there is only one copy of it. (§4a, §11).

Companion material

Internals gives mechanism notes alongside the normative text. UnREST by example is worked code. The simulator and the demonstrations carry the evidence. Magnum Croakus is the build manual and the derivation for every section here.

This specification is normative. The reference implementation is one implementation expected to conform to it (§18.8). Where the two disagree, either this document has a defect — corrected by erratum and revision — or the implementation departs from what this document requires. Source is the arbiter of what the reference implementation does; it is not the arbiter of what a conforming implementation must do.