Work / Machine
Song
An operating system whose primary input is an intent contract, not code.
Song is the operating-system lineage and Iota is its language. The design: the user states an outcome, approves the restated contract, and receives a verified witness and an Iota artifact.
The final implementation, build, artifact, tests and trust chain are Iota only. The runnable slice is a Rust bootstrap under bootstrap/; it is not final and is scheduled for archive at G2. The general intent-to-Iota-artifact path is specified, not yet demonstrated. The tree is private.
The shape
Intent -> contract -> resolver -> candidate -> verifier -> Witness + Strand
Strand -> TokenStream -> AST -> verified core -> artifact
The intent contract carries the goal, the scope, the hard limits, preferences, the world and the budget. The resolver is untrusted. The verifier is trusted. A witness can be written to a machine file and replayed; the replay recomputes the witness and fails on a tampered record.
What runs today
| Path | Command | What it shows |
|---|---|---|
| Closed result | ./song resolve programs/intents/emit-h.intent | verdict ACCEPT, output H (0x48), and a witness, with no code input |
| Replay | ./song replay <witness> | The witness is recomputed and compared; a tampered file fails |
| Machine protocol | ./song protocol < programs/intents/result-s.request | The same contract and candidate over a line protocol return the same witness |
| No-code dialogue | ./song intent programs/intents/choose-first.intent | The contract is restated, then approve, the candidate, then accept or reject |
| Executable kernel | ./song run programs/iota-tower.iota | The term iiiii....;! reduces to the S combinator |
| Cell stream | ./song run-cells 110110110110110101101101101011111 | The same program as a canonical 3-bit cell stream |
The witness records the contract hash, candidate source, cells, reductions and verdict. The intent dialogue does not ask the user to type code. artifact and witness print only when asked. SONG_SPEAK=1 sends the same transcript to speech.
The commands do not yet show an arbitrary intent producing an Iota artifact. The bootstrap also checks term, number and ring certificates, including a Farkas replay and a bounded real-shadow generator. Those paths are developer evidence, not the final user method.
Iota
A tri-cell is one column of three tactile nodes with eight states. A cut makes two channels; Iota makes a one-bit choice of which to reduce. The executable object is a strand of tri-cells.
An alphabet is a total, injective map from tokens to spellings with an optional separator. The design states two laws:
parse A (render A ts) = some ts
translate A B s = render B <$> parse A s
The round trip is tested on one fixture, text_round_trip_through_cells. translate relabels the same token and AST stream; it is specified, not implemented. The core does not parse a second surface syntax.
Where it sits in the network
Song and Apeiron are independent implementations of the same underlying algebra. The canonical definitions sit in the Sanguine corpus. Apeiron uses Rust with Lean refinements. Song's Rust bootstrap generates native code today; the final Iota generator is ahead. A cross-implementation correspondence theorem is open. The Song tree treats the Apeiron workload as a reference and a benchmark target, not a runtime dependency. No other project runs on Song today.
The next gate
G2 is the number and ring register gate. The build driver must route every block to one register. A bad certificate or a double claim fails the build, and an unclaimed block file is rejected. The unclaimed verified-core function check waits on the function-signature layer. The same phase replaces the ./song Cargo wrapper with the Iota build launcher and archives bootstrap/. The final isolation gate must reject any remaining Cargo path.
Status: WIP. The certificate replay, the register routing and the manifest census run. The function-signature layer, the dependency walk and the final Iota driver remain open.
Record
- Song on lucasrosewinters.com, the research record.
- From the operation to its bytes, the native multiplication result.
- The Sanguine corpus, the canonical formal basis.