FallKard · the Forge

The card that IS the software

Put a working build inside a picture. It stays a picture — you can post it, save it, send it — and anyone who has it can open it and get the build back out.

What it is

The Forge turns a file into a picture that carries it. The file can be a web page, a report, a small app, the log of an automated run — anything that is one file of text. The picture is an ordinary PNG: it shows in any viewer, and you can post it, email it or drop it into a chat.

Inside, in two named slots every PNG is allowed to carry, sit the file (compressed) and a short label. The label holds the file's seal, a fingerprint of its exact bytes, and a signature from the key of whoever made the card. Anyone who has the picture can drop it on this page: it works the fingerprint out again from the bytes it actually holds, checks the signature, and tells you whether the file is exactly what was signed. Change one byte and it says so, and refuses to open it.

Nothing is hidden in the picture, nothing is uploaded, and nothing runs until you click. Everything on this page happens in your browser. The format is published in full in CARD-SPEC.md.

Start here

Five minutes, in this browser, with nothing to install.

  1. Forge a card. In Forge one, leave the sample build or paste your own single HTML file, then press Forge the card. The page shows the seal, the tier the build earned and the signature. Press Download the PNG.
  2. Read it back. In Read one back, drop the PNG you downloaded. You should see AUTHENTIC, the same seal worked out again, the signature checked, and the build you typed, back out.
  3. Watch it refuse a fake. In Trade one, pair this tab with a second browser or a second device (one makes an invite, the other a reply), then press Send a copy with its build swapped. The other side re-checks the card, refuses it at the seal, and shows nothing of it.
  4. Strip it and find it again. Screenshot the card, or save it as a JPEG, and drop that copy into Read one back. The build is gone from the copy, so the page reads the code printed on the card's face and finds the card in your deck — the cards this browser already holds — then checks the build against the full seal.
  5. Take the reader with you. Save the standalone reader: one HTML file that reads and checks cards with no network. For a team, the same checks run from the command line: node forge.mjs read card.png exits 0 only when the card verifies.

Forge one

Type anything below. It gets compressed, sealed with a hash, and tucked inside a real PNG.

You don't pick the tier — the build earns it. A build that passes the sovereignty gate (a real document, nothing reaching outside your device, the architecture line) is uncommon; anything else is common. Deeper tiers come only from a proven lineage, and anyone who opens the card re-checks this for themselves. Every card is signed with this browser's own key.

the forged card

The tier is worked out, not chosen. There is no control for it: the sovereignty gate runs on the build when the card is forged, and every reader runs it again on what comes out. A build that fails it is common however deep its lineage, and a card whose label claims more is called an overclaim. That is the whole point of a card: you cannot claim a grade, only earn one.

Read one back

Drop the card you just downloaded — or any picture — and see what it is really carrying. Even a copy a platform stripped, or turned into a JPEG: if the card is in your deck, its printed seal finds it.

Drop a card or any picture here, or click to choose one

Your deck on this device is empty.

Trade one · device to device, no server

Pair this device with another by swapping two codes however you already talk — a message, an email, in person. Then send cards straight across. The other device re-checks every card's seal and signature itself, and shows nothing that fails.

not connected

Cards this device receives appear here, each with what it re-checked.

Who sent it is proven, not claimed. An invite only names a key. Once the link opens, each device signs a fresh challenge from the other with its own key; until it has, a card is never described as coming from the device that sent it. The "swapped" button is there so you can watch a bad card get refused: the copy keeps the picture and the label but carries a different build, and the other device says so and shows nothing.

Fold one · forgeupgrade

A second cargo for the same forge. A structure is encoded as an origami crease pattern: a crown pole radiating out to a golden-angle ring of fold-points that the ground pole gathers in, twisting at κ = 0.618 as it collapses — and the center stays a hole the whole way, because a twist fold has no apex. Drag it between flat (possibility, creases latent) and folded (actual, collapsed). The fold motion is the teaching; the tier is earned from whether the pattern actually closes.

Build one · the studio

Not a cloud IDE — its sovereign opposite: you own the workshop and keep the outputs. Compose a build from estate organs, or have a model write one with your own key; test it live in a sealed frame; then mint it as a sovereign artifact — the card CONTAINS the working build, its tier is EARNED, and its lineage is Ed25519-signed and verifiable from the file alone. The bound, stated plainly: web-native, single-file, local-first builds only.

or

The seal you can read

Post a card and the platform may strip its build out, or turn it into a JPEG. The picture survives. So every card now prints the first 80 bits of its seal on its face, in a band anyone can read.

Two people holding the same card is what makes a stripped copy whole. The copy keeps the printed seal; whoever holds the card keeps the build. Drop the stripped copy here, the page reads the band off the pixels, finds the card in your deck, and re-checks the build against its full seal. The picture only says which card it is. What comes out is always your own copy, verified.

Made to be read back exactly. A sealed test had a vision model read 64 rendered texts blind (kar-pixel-cost). Every miss was one character, never a word: O read as 0, C as c, a curly quote straightened, an extra digit in a hex run, a long run miscounted. So the band uses Crockford base32, which has no I, L, O or U and is read case-blind. It prints in groups of four, so there are no long runs. Its blocky 5×7 letters all differ from each other in at least five dots. A read is matched to your deck by edit distance: a slip is corrected, and a read that could be two cards is refused, never guessed.

Nothing is hidden. The band is printed in plain sight, like a serial number, and carries only the seal. The build still rides in the named chunks, and the picture's own data is never used to smuggle anything.

Why it cannot be faked

The seal is a hash of the compressed build. Change one byte of what is inside and the seal stops matching, and this page tells you so. Nobody has to be trusted — the check is re-run in front of you, on your own machine.

It is still a real PNG. The build rides in the text chunks every PNG is allowed to carry, so a picture viewer shows a picture and ignores the rest. Nothing is hidden or smuggled — the chunks are named, and the whole point is that anybody can look.

Nothing leaves your browser. Compressing, hashing and reading all happen here. There is no server to send it to.

The fold teaches the structure, not its truth. A crease pattern that closes earns its tier by geometry — the medium physically cannot draw an apex at the center. Whether the structure folded into it is TRUE is a separate question the card never claims to settle.

How it works

The two paths a card takes, drawn from the code that runs on this page: card.mjs, studio.mjs's sovereignty gate, sealmark.mjs and the reader's judgement.

Forging a card
Forging a card, in six steps The build is compressed, sealed with sha256, given the tier the sovereignty gate earns it, signed with Ed25519, and written into a PNG beside the untouched picture, with the seal's code printed on the face. 1 · your buildone HTML file, or any text 2 · compressgzip, in this browser (CompressionStream) 3 · seal = sha256 of the compressed bytes the file's fingerprint: change one byteanywhere and it no longer matches 4 · tier, earned — never chosen the sovereignty gate runs on the build:passes → uncommon, fails → common 5 · sign with Ed25519 over the label, with the seal inside it, bya key this page can use but never read out 6 · the card: a real PNG picture chunks untouched · label + build in twonamed text chunks · the seal's code on the face
Reading a card
Reading a card, in seven steps, with the three places it refuses A card arrives. If its chunks are gone, the printed seal is read off the picture and matched in the deck. The seal is computed again, the signature checked, the build inflated under a cap and its tier re-derived; only then is a verdict given, and the build opens only on a click, sandboxed. 1 · a card arrivesdropped here, received in a trade, or saved 2 · are its chunks still there? no → read the code printed on its face, findthat card in your deck, use the deck's copy 3 · work the seal out again from the bytes actually held, never read offdiffers → REFUSED, nothing shown 4 · check the signature over the label + the seal worked out herefails → REFUSED · cannot check → not let out 5 · open the build, under a size cap a small file built to inflate enormouslypast the cap → REFUSED 6 · re-derive the tier from the builda label claiming more is an overclaim 7 · the verdict, then your clickopens only when you say, sandboxed

Traced from a real card

The genesis card in the repository (examples/seal-000.png), read by the same code when this page was built. Every figure below comes out of that file.

the fileexamples/seal-000.png · 21,088 bytes, a PNG any viewer shows
its chunks, in orderIHDR 13 B · IDAT 20,152 B · zTXt “konomi-payload” 590 B · tEXt “konomi-manifest” 265 B · IEND 0 B — the picture is the IHDR and IDAT; the card adds only the two named chunks before IEND
the build inside866 bytes of HTML, starting <!doctype html><meta charset=utf-8><title>hatched · fallkard
compressed538 bytes of gzip — what the seal covers
the seal on its label85e1c729615f27c54c2b3c3ad56eb0f3f18cb5554ae1095a121a249b69be559a
the seal worked out again85e1c729615f27c54c2b3c3ad56eb0f3f18cb5554ae1095a121a249b69be559a — the same, byte for byte
the code printed on its faceGQGW-EAB1-BWKW-AK1B — the seal's first 80 bits, in Crockford base32
signaturenone — this card carries no signature, so no key vouches for who forged it; cards forged on this page or by the command line today are signed
tier, re-derived from the buildcommon — the gate says: the architecture line is missing — every estate build carries it
parent(root) — this is the genesis card; the quine in examples/ names it as its parent
the command line says✓ SEAL MATCHES — unsigned (node forge.mjs read examples/seal-000.png, exit 0)
the standalone reader says✓ SEAL MATCHES — unsigned: no key vouches for who forged it — and it will open the build on a click

Blueprint

The organs, one file each, zero dependencies. Which tests guard each one and how it is gated are read from the repository when this page is built — the test files and .github/workflows/gate.yml.

organwhat it doesthe tests its gate runsgate
card.mjs
272 lines
The card kernel for the browser: PNG chunks, embedding, reading, the label, the signable string and the earned tier. Inlined into this page and the standalone reader.card.test.mjs (a self-checking script)mutation-gated on every push (witness v0.6 and v0.2); 2 exemptions on file, each with a written reason
forge.mjs
304 lines
The command line and Node library: forge a card, sign it with the key in ~/.fallkard/identity.json, read one (it never throws), hatch only on request.test.mjs (41 tests)
card.test.mjs (a self-checking script)
forge-estate.test.mjs (22 tests)
forge.green.test.mjs (4 tests)
reader.test.mjs (20 tests)
mutation-gated on every push (witness v0.6); 4 exemptions on file, each with a written reason
reader-core.mjs
176 lines
The standalone reader's judgement and every word of its verdict: the seal worked out again, the Ed25519 signature checked, the tier re-derived, card text escaped.reader.test.mjs (20 tests)mutation-gated on every push (witness v0.6); no exemptions
studio.mjs
368 lines
The sovereignty gate that earns a build its tier (a real document, nothing reaching outside, the architecture line), and the studio's catalogue and composer.studio-suite.test.mjs (18 tests)
reader.test.mjs (20 tests)
mutation-gated on every push (witness v0.6); no exemptions
sealmark.mjs
305 lines
The printed seal: the code on every card face, its dot font, the pixel reader, and the deck match that refuses rather than guesses.sealmark.test.mjs (17 tests)mutation-gated on every push (witness v0.6); no exemptions
art.mjs
219 lines
The card picture drawn from its own tags and seal, so a picture cannot contradict its reading key.test.mjs (41 tests)
forge-estate.test.mjs (22 tests)
art-band.test.mjs (3 tests)
mutation-gated on every push (witness v0.6); 14 exemptions on file, each with a written reason
png.mjs
57 lines
The PNG chunk primitives — CRC, parse, serialise — shared by the forge and the art.test.mjs (41 tests)
forge-estate.test.mjs (22 tests)
art-band.test.mjs (3 tests)
mutation-gated on every push (witness v0.6); 1 exemption on file, each with a written reason
lineage.mjs
164 lines
Walks a deck's parent links and reports what it can prove: depth, orphans, cycles, broken seals and overclaims.test.mjs (41 tests)
forge-estate.test.mjs (22 tests)
mutation-gated on every push (witness v0.6); 1 exemption on file, each with a written reason
trade.mjs
137 lines
Trading cards device to device: parts and reassembly, the proof of key bound to this link, and the verdict order transit → parse → seal → signature.trade.test.mjs (19 tests)mutation-gated on every push (witness v0.6); no exemptions
vision.mjs
89 lines
Grades a vision model's reads of the printed seal, for the sealed paid-read run.vision.test.mjs (7 tests)mutation-gated on every push (witness v0.6); no exemptions
artifact.mjs
150 lines
Sovereign-artifact bundles: who minted a build and what it forks from, signed with Ed25519 and verified from the file alone.studio-suite.test.mjs (18 tests)
page-safety.test.mjs (6 tests)
mutation-gated on every push (witness v0.6); 1 exemption on file, each with a written reason
babykcc.mjs
159 lines
The studio's local, hash-chained record of what this browser minted. Accounting only: no network, no money, kept on the device.studio-suite.test.mjs (18 tests)mutation-gated on every push (witness v0.6); no exemptions
fold.mjs
194 lines
The fold glyph: a crease pattern that either closes or does not, carried by the Fold-one cards.fold.test.mjs (12 tests)mutation-gated on every push (witness v0.6); no exemptions
forgecase.mjs
74 lines
The cost case in For a business, computed from the vendored, sourced basis.forgecase.test.mjs (6 tests)mutation-gated on every push (witness v0.6); no exemptions

Also built from these on every push and required to match what is committed: this page (index.html, from page.template.html) and the standalone reader (reader.html, from reader.template.html). Vendored, with provenance: vendor/fall-os/webrtc.mjs (the WebRTC link), vendor/fall-federate/signaling.mjs (the invite check), vendor/sovereign-enterprise/data/basis.json (the cost case's sources).

What "mutation-gated" means here. On every push, GitHub's runner fetches a pinned copy of witness, flips one operator at a time in the organ (< to <=, && to ||, === to !== …) and runs that organ's tests against each change. Every change must make a test fail. One that does not is a line no test really checks, and the push goes red. A change that cannot alter behaviour may be excused only with a written reason, kept in the repository beside the code.

Adoption

What it does for a team, and how a team starts using it.

What it does. Any file a team sends out — a report, a release, a dashboard, a quote, the log of an automated run — goes out as a card. Whoever receives it checks it themselves, in seconds, with no account and no server: it is exactly what was signed, by the key that signed it, or it is refused. Copies keep that property wherever they travel, and a copy a platform stripped still finds its build in the receiver's deck.

Where it fits first.

Rolling it out.

  1. Pick one recurring file a team already sends — a weekly report, release notes, a run log — and one team that receives it.
  2. Seal it where it is made. In the browser, on this page; in a build or a scheduled job, with node forge.mjs forge --build report.html --art --out report.png. Each person or machine has its own key (~/.fallkard/identity.json, made on first use).
  3. Publish the public keys of the people and machines whose cards count, somewhere the team already trusts — an intranet page, the repository.
  4. Check it where it lands. Receivers drop it on this page or on the saved standalone reader; a pipeline runs node forge.mjs read card.png and stops on a non-zero exit.
  5. Measure it with the cost case below, using your own counts from the pilot, then widen it to the next file.

Everything runs from the files in the repository: the page is one HTML file, the reader is one HTML file, the command line is Node with no packages. A team can host its own copy on its own origin, which also gives its builder keys an origin no other page shares.

For a business

The brochure: what it does, what it is worth to each role, what it costs to run, how it is kept safe, how it rolls out, who supports it, and the risks, answered straight.

What it does, in one line. It makes every file a team sends prove itself: anyone who receives it can check, in seconds and without asking anyone, that it is exactly the file its signer signed.

CEO

What goes out under the company's name can be shown to be what was approved. A doctored copy — a changed figure, a swapped attachment — is refused by whoever opens it, without a call to you.

CFO

The cost case below counts the staff time spent confirming files today, at the UK median wage from a cited source. There is no licence fee (MIT), no per-seat bill and no server to pay for; the running cost is the laptop time a check takes.

COO

Hand-offs stop needing a confirmation loop: the receiver checks the card themselves, over whatever channel it came by. A copy a platform stripped still resolves from the code printed on it, if the receiver holds the card.

CTO / CISO

No server, no dependencies, no account. sha256 seal, Ed25519 signature, decompression capped, card text escaped where it meets the page, builds opened only on a click in a sandbox with no access to this page. Every organ is mutation-gated on GitHub's runner (see the blueprint).

Delivery and client teams

Send the deliverable and its proof as one file. The client checks it on their own machine; a dispute about "which version" is settled by the file itself.

QA, compliance and audit

Seal evidence as it is produced. A copy that has been edited since fails its seal for any reader, and an unsigned card is always labelled unsigned.

Automation and AI teams

Seal each agent or pipeline result as it finishes, signed by the machine that produced it; an edited result is caught by anyone downstream.

The cost case, on your numbers

Put in your own figures. The wage, inflation, electricity and laptop power come from the cited sources listed under the result; nothing here is a price of ours.

Filled in with example inputs — they are not measurements. Confirming a file means what your team does today: open it, compare it with the approved one, ask the sender, wait for the answer.

Against what you pay now. The comparison is with your own costs: the staff time above and, if you enter it, whatever tool you pay for this today. We do not quote a rival's price here, because we hold no sourced price for one. What differs is where the proof lives: a shared drive or a document system keeps the record of what was approved on a server, while a card carries its proof inside the file, so it checks the same way after it has left every system, with nothing to install and no account to ask.

Security and data protection.

Deployment and roll-out. Use this page as it is, or host the two HTML files on your own origin — they are static files. Put forge.mjs in a build step to seal what the build produces, and forge.mjs read in the step that receives it. The roll-out above starts with one file and one team.

Ownership, support and exit. Supplied by AI Native Solutions (ai-nativesolutions.com; contact through that site). The code is MIT: you own your copy, and it keeps running without us — no account, no licence server, nothing to renew. Support, any service level, warranty and liability are agreed per deployment. Exit costs nothing: cards stay ordinary PNGs, and the format is published in full, so any team can write its own reader.

Risks, answered straight.

The case for the board. Files are where trust is hardest to keep: they are copied, edited and forwarded, and the record of what was approved usually lives somewhere else. The Forge puts the proof inside the file, so anyone can check it, anywhere, without asking anyone. It costs no licence and no server, the code is open and owned, every organ is mutation-tested on infrastructure we do not control, and a pilot needs one team and one recurring file. The question for the board is only which file to start with.

White paper · the card that carries its own proof

The problem. A file's history is not in the file. When a report, a build or a result is forwarded, edited or re-saved, the only way to know it is still the approved one is to ask the person who sent it, or a system that recorded it. Neither travels with the file.

The design. A card is a PNG that openly carries a single-file build in two declared text chunks, placed before the image's end marker, beside image data that is never changed (CARD-SPEC §2). The label records a seal — the sha256 of the compressed build — and is signed with Ed25519 over a canonical form in which the verifier puts the seal it computed itself, so one changed byte anywhere, build or label, fails the signature (§3.1). The card's tier is never written by its maker: it is earned by running the sovereignty gate on the build, and every reader runs it again (§5). The picture is drawn from the card's own tags, so it cannot contradict them (§4), and it prints the first 80 bits of the seal as a code a person or a camera can read (§7.1).

The trust argument. Nothing on a card is taken on the card's word. The seal is recomputed, the signature is checked against the recomputed seal, the tier is re-derived from the build, and a read of the printed code that could match two cards is refused rather than guessed. A stable process can still settle on a wrong reference; the reader's defence is to check the reference itself every time and to allow "I don't know" as an answer. That stance follows Gary W. Floyd's work on the Guided Entropy Principle (credited below).

What was measured. The printed seal was tested before it was trusted: a sealed survival run through platform-style damage, a paid read by a vision model, and the read rule that the kard-evolve creatures found, each sealed before it ran and published as it landed. The results are re-derived on this page by the same kernels, in The seal you can read, rather than typed here.

What it does not do. It does not keep a build secret, does not prove a build correct, and cannot bring back a stripped build for someone who never held the card. It never hides anything in the picture.

Read further. The wire format: CARD-SPEC.md. The implementation note: SPEC.md. The code, tests and sealed runs: the repository.