jonnify·bcs /bcs/overview

B0 · Overview

The whole idea, in three dives.

The shortest path into the Branded Component System: the one move it makes, the contract that move leaves behind, and the shape of the stack the rest of the course builds.

Three dives. Read these, and every later chapter is an elaboration of one of them.

The anchor: a 14-byte branded id. Select a field to read its job.
USRnamespace 0KHTOWnGLuC eleven base62 = the 63-bit snowflake below timestamp · 41 bits node · 10 seq · 12 epoch 2024-01-01 · horizon September 2093
readout · Select a field. The first three characters are the type; the remaining eleven are the instant, the machine, and the order within the millisecond.
§1

The three dives

each a leaf, the teaching

A chapter is three dives. Each dive is one idea with one figure you can take apart.

§2

The contract, verified

echo_data · branded_id.ex

The id is fourteen printable bytes: a three-byte namespace and eleven Base62 characters carrying a 63-bit snowflake. The course inherits one rule from the manuscript — a number the committed tree cannot prove does not appear — and the contract proves its own, asserted at boot before either code path is trusted: placement(USR0KHTOWnGLuC) is 234878118 on the native and pure paths alike.

echo_data · branded_id.ex · the vectors self_check! asserts at bootverified
placement(USR0KHTOWnGLuC)        →  234878118            native and pure agree
parse(USR0NgWEfAEJfs)            →  {:ok, "USR", 320636799581945856}
decode(USRzzzzzzzzzzz)           →  :error               an overflow is refused, not wrapped
§4

The doors

the sibling courses
§4

References

sources · related

Sources

Related