interplane.io
Source of interplane.io: a Rust generator that renders the page from the protocol repository's public record, deployed hourly from the Spark.
Brought by drakestapleton
Comparing 25caeb93c0ddca3bf452ca0cbb02dfaa3cd847c3 ... 4573e1d996e0c8673dba07bad861c4b25da392aa
- Make the native GB10 file-read demo available from Downloads
- Retire the mixed pack installer and point readers to the seeded compiler
- Offer the integrated GB10 preview alongside the ARM64 foundation
- Let ARM64 Linux users install and verify the Interplane foundation
- Take readers to the Omega repository to get the source
- Correct writing illustration alt text to match the image
- Integrate upstream Omega compiler download layout
- Explain Omega with illustrated bootstrap and writing guides
- Put Omega download and paste-to-install at the top
- Add contextual agent prompts and a plain-text index
- Offer a verified Arm Linux Omega compiler download and installer
36 files changed, +859 -22
README.md
| @@ -47,6 +47,7 @@ leave an incomplete directory behind. | ||
| 47 | 47 | | `content/_layout.html`, `content/_layout-hopbot.html` | the page frame of each site | |
| 48 | 48 | | `content/<route>/index.html` | a page: `key: value` lines, a line of three dashes, then HTML | |
| 49 | 49 | | `content/llms.txt` | the agent guide, a text template; `{{pages}}` is the generated page list | |
| 50 | +| `content/agents/prompts.txt` and `content/agents/prompts/*.txt` | the task index and individually fetchable prompts; pages embed a prompt by its route, for example `{{agents/prompts/find-project.txt}}` | | |
| 50 | 51 | | `content/yard.snapshot.tsv` | dated copy of the public project registry; the yard is generated from it | |
| 51 | 52 | | `content/papers.snapshot` | dated copy of the Zenodo records for the ORCID iD; `/papers/`, `papers.json` and `papers.bib` are generated from it | |
| 52 | 53 | | `content/papers.sources` | which papers have their source in an Interplane project, with the checksum that ties them | |
| @@ -64,7 +65,8 @@ Route kinds: `page` (front matter and HTML in the layout), `tpl` (`llms.txt`), ` | ||
| 64 | 65 | text file such as `papers.json`: placeholders expanded, then checked like `raw`), `css`, `svg`, `raw` |
| 65 | 66 | (copied as it is), `font` (an OpenType file under `/public/fonts/`, name ending `.otf`, copied as |
| 66 | 67 | it is; it must start with the bytes `OTTO`), `png` (an image under `/public/`, name ending `.png`, |
| 67 | -copied as it is and not scanned as text; it must start with the eight PNG signature bytes) and | |
| 68 | +copied as it is and not scanned as text; it must start with the eight PNG signature bytes), | |
| 69 | +`gzip` (a `.tar.gz` under `/omega/downloads/` on interplane.io, copied after a gzip header check) and | |
| 68 | 70 | `forge` (a page the Interplane forge serves, `/explore` or `/drakestapleton/NAME`, with source `-`: |
| 69 | 71 | nothing is built for it and it is listed in `sitemap.xml` only; interplane.io only). The sitemap |
| 70 | 72 | lists pages, data files and forge routes, and `llms.txt` must name every page and data file. |
content/_layout.html
| @@ -10,7 +10,7 @@ | ||
| 10 | 10 | <div class="foot-top"><div class="foot-brand"><a class="brand" translate="no" href="/" aria-label="Interplane home"><svg class="mark" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 2v20M2 12h20M4.9 4.9l14.2 14.2M4.9 19.1L19.1 4.9" fill="none" stroke="currentColor" stroke-width="2"/></svg><span>interplane<i class="dot">.</i></span></a><p>Good things come from unfinished things.</p><p class="rule-line">No proof. Not done.</p></div> |
| 11 | 11 | <nav class="foot-cols" aria-label="Footer"> |
| 12 | 12 | <div><p class="foot-h">Interplane</p><a href="/yard/">The yard</a><a href="/how-it-works/">How it works</a><a href="/evidence/">Evidence</a>{{#receipts}}<a href="/receipts/">Receipts</a>{{/receipts}}<a href="/mission/">Mission</a><a href="/papers/">Papers</a><a href="/ada/">ADA</a><a href="/contribute/">Contributions</a><a href="/privacy/">Privacy</a><a href="/terms/">Terms</a></div> |
| 13 | -<div><p class="foot-h">The forge</p><a href="/forge/">About the forge</a><a href="/omega/">Omega language</a><a href="https://interplane.io/explore">Explore projects</a>{{#map}}<a href="https://interplane.io/galaxy/">The map</a>{{/map}}{{#hop}}<a href="/hop/">Hop for Mac</a>{{/hop}}<a href="/agents/">For agents</a></div> | |
| 13 | +<div><p class="foot-h">The forge</p><a href="/forge/">About the forge</a><a href="/omega/">Omega language</a><a href="https://interplane.io/explore">Explore projects</a>{{#map}}<a href="https://interplane.io/galaxy/">The map</a>{{/map}}{{#hop}}<a href="/hop/">Hop for Mac</a>{{/hop}}<a href="/agents/#prompts">Agent prompts</a></div> | |
| 14 | 14 | <div><p class="foot-h">The protocol</p><a href="/protocol/">Overview</a><a href="/quick-start/">Quick start</a><a href="/concepts/">Concepts</a><a href="/adapter/">Writing an adapter</a><a href="/conformance/">Conformance</a><a href="/status/">Status</a></div> |
| 15 | 15 | </nav></div> |
| 16 | 16 | <p class="si-line">Interplane is part of <a href="/sovereign-intelligence/">Sovereign Intelligence™</a>. SI means sovereign, not super: intelligence you own, run on hardware you own, and can check yourself.</p> |
content/agents/index.html
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | title: Interplane: For agents |
| 2 | -description: What an AI agent can do on Interplane today, with exact addresses, and one line you can give your agent so it checks claims instead of repeating them. | |
| 2 | +description: Ready-made prompts to find projects, clone source, check evidence, prepare a contribution or try Omega. | |
| 3 | 3 | --- |
| 4 | 4 | <section class="page-head"><div class="shell"><div class="col"> |
| 5 | 5 | <span class="eyebrow">For agents, and the people they work for</span> |
| @@ -9,8 +9,39 @@ description: What an AI agent can do on Interplane today, with exact addresses, | ||
| 9 | 9 | |
| 10 | 10 | <section class="band"><div class="shell"><div class="col prose"> |
| 11 | 11 | <p>Why it matters to you: when your agent says "this download is the right one" or "that project passed its checks", you want it to have looked. The things listed below each have a fixed address, so an agent can do the looking.</p> |
| 12 | -<p>There is a plain-text guide written for agents. Give your agent this one line:</p> | |
| 13 | -<pre class="wrap"><code>Read https://interplane.io/llms.txt and follow it</code></pre> | |
| 12 | +<h2 id="prompts">Ready-made agent prompts</h2> | |
| 13 | +<p>Open a prompt, select its text and paste it into your agent. Replace the bracketed words with your task. Agents can fetch the <a href="/agents/prompts.txt">plain-text prompt index</a> and open just the prompt they need.</p> | |
| 14 | +<details class="agent-prompt" id="prompt-find-project"> | |
| 15 | +<summary>Find a project by topic</summary> | |
| 16 | +<pre class="wrap"><code>{{agents/prompts/find-project.txt}}</code></pre> | |
| 17 | +<p><a class="button dark small" href="/agents/prompts/find-project.txt">Open plain text</a></p> | |
| 18 | +</details> | |
| 19 | +<details class="agent-prompt" id="prompt-clone-project"> | |
| 20 | +<summary>Clone and pin a project</summary> | |
| 21 | +<pre class="wrap"><code>{{agents/prompts/clone-project.txt}}</code></pre> | |
| 22 | +<p><a class="button dark small" href="/agents/prompts/clone-project.txt">Open plain text</a></p> | |
| 23 | +</details> | |
| 24 | +<details class="agent-prompt" id="prompt-verify-evidence"> | |
| 25 | +<summary>Verify a claim or replay evidence</summary> | |
| 26 | +<pre class="wrap"><code>{{agents/prompts/verify-evidence.txt}}</code></pre> | |
| 27 | +<p><a class="button dark small" href="/agents/prompts/verify-evidence.txt">Open plain text</a></p> | |
| 28 | +</details> | |
| 29 | +<details class="agent-prompt" id="prompt-prepare-contribution"> | |
| 30 | +<summary>Prepare a contribution or failure record</summary> | |
| 31 | +<pre class="wrap"><code>{{agents/prompts/prepare-contribution.txt}}</code></pre> | |
| 32 | +<p><a class="button dark small" href="/agents/prompts/prepare-contribution.txt">Open plain text</a></p> | |
| 33 | +</details> | |
| 34 | +<details class="agent-prompt" id="prompt-try-omega"> | |
| 35 | +<summary>Try the Omega compiler</summary> | |
| 36 | +<pre class="wrap"><code>{{agents/prompts/try-omega.txt}}</code></pre> | |
| 37 | +<p><a class="button dark small" href="/agents/prompts/try-omega.txt">Open plain text</a></p> | |
| 38 | +</details> | |
| 39 | + | |
| 40 | +<details class="agent-prompt" id="prompt-write-omega"> | |
| 41 | +<summary>Write and verify an Omega program</summary> | |
| 42 | +<pre class="wrap"><code>{{agents/prompts/write-omega.txt}}</code></pre> | |
| 43 | +<p><a class="button dark small" href="/agents/prompts/write-omega.txt">Open plain text</a></p> | |
| 44 | +</details> | |
| 14 | 45 | |
| 15 | 46 | <h2>What an agent can do here today</h2> |
| 16 | 47 | <ul> |
content/agents/prompts.txt
| new file mode 100644 | ||
| @@ -0,0 +1,10 @@ | ||
| 1 | +# Interplane agent prompts | |
| 2 | + | |
| 3 | +Pick the task that matches the user's request. Fetch only that plain-text prompt. Resolve bracketed inputs from the conversation or ask for missing values. The user's authorization and your runtime rules govern what you can do. | |
| 4 | + | |
| 5 | +- Find a project by topic: https://interplane.io/agents/prompts/find-project.txt | |
| 6 | +- Clone and pin a project: https://interplane.io/agents/prompts/clone-project.txt | |
| 7 | +- Verify a claim or replay evidence: https://interplane.io/agents/prompts/verify-evidence.txt | |
| 8 | +- Prepare a contribution or failure record: https://interplane.io/agents/prompts/prepare-contribution.txt | |
| 9 | +- Try the Omega compiler: https://interplane.io/agents/prompts/try-omega.txt | |
| 10 | +- Write and verify an Omega program: https://interplane.io/agents/prompts/write-omega.txt |
content/agents/prompts/clone-project.txt
| new file mode 100644 | ||
| @@ -0,0 +1 @@ | ||
| 1 | +Find the Interplane project page for [project name or URL]. If given a name, look it up in https://interplane.io/explore.json. Use the project's advertised Git over HTTPS URL. Clone into a new directory if authorized. Report the Git URL, checked-out branch and exact commit SHA, or report the clone command and blocker. |
content/agents/prompts/find-project.txt
| new file mode 100644 | ||
| @@ -0,0 +1 @@ | ||
| 1 | +Find the best Interplane project for [goal]. Start with https://interplane.io/explore.json. Open only the likely matches on interplane.io and use their project pages to confirm the fit. Return up to three project links, what each does for this goal, and the next step. Say if the registry has no close match. |
content/agents/prompts/prepare-contribution.txt
| new file mode 100644 | ||
| @@ -0,0 +1 @@ | ||
| 1 | +Prepare a review handoff for [change or failed attempt]. Check https://interplane.io/contribute/index.txt for current submission status. Include the goal, Interplane project URL, exact commit, commands and results, artifact SHA-256 where applicable, and checks that did not run. Draft the handoff without publishing or submitting it. |
content/agents/prompts/try-omega.txt
| new file mode 100644 | ||
| @@ -0,0 +1 @@ | ||
| 1 | +Help me run the published Omega compiler example. Get the portable archive from https://interplane.io/omega/#downloads and find the checksum and example under Package details on that page. Check my host first. With permission, verify the archive against the published checksum, extract it in a scratch directory and run the example with ./omc from the archive. Skip the installer. Report the source commit, SHA-256, commands and observed exit code, or the blocker. |
content/agents/prompts/verify-evidence.txt
| new file mode 100644 | ||
| @@ -0,0 +1 @@ | ||
| 1 | +Check [claim or evidence URL] against https://interplane.io/evidence/index.txt. Identify the exact source commit, command, expected result and artifact SHA-256. Inspect commands before running them. If authorized and equipped, replay in a clean environment and compare the result and hash. Report what matched, what differed and what did not run. |
content/agents/prompts/write-omega.txt
| new file mode 100644 | ||
| @@ -0,0 +1 @@ | ||
| 1 | +Write and verify an Omega program for [task]. Start at https://interplane.io/omega/tools.txt. Obtain the Harness and identify the target project's compiler pin before editing. Use the writing guide and one relevant tested example. Write .om source, run the positive test and a deliberate negative control on the named target, and report the source revision, compiler hash, commands, results and any checks that could not run. |
content/contribute/index.html
| @@ -11,6 +11,11 @@ description: Contribution routes under construction, how to prepare a project, a | ||
| 11 | 11 | <p><span class="reg rule">The rule here</span> What failed comes too. If you bring work here, you bring the failures with it, not only the work that almost made it, and you say what went wrong. This is required of people who build here.</p> |
| 12 | 12 | <p>While contributions are unavailable, prepare a README that says what you were trying to make, what you tried, where it stopped working, and what you would not try again. Keep the command that failed and what came back alongside the source.</p> |
| 13 | 13 | <p><span class="reg rule">The rule here</span> A recorded failure helps the next builder, and the agents that learn from public work, avoid repeating the same dead end.</p> |
| 14 | +<details class="agent-prompt" id="prompt-prepare-contribution"> | |
| 15 | +<summary>Agent prompt: Prepare a contribution or failure record</summary> | |
| 16 | +<pre class="wrap"><code>{{agents/prompts/prepare-contribution.txt}}</code></pre> | |
| 17 | +<p><a class="button dark small" href="/agents/prompts/prepare-contribution.txt">Open plain text</a></p> | |
| 18 | +</details> | |
| 14 | 19 | <h2>Copy an existing public project</h2> |
| 15 | 20 | <p><span class="reg check">What you can check today</span> Existing public repositories can be read and copied with Git. The project page gives its clone address. <a href="https://interplane.io/explore">Explore the projects</a> or <a href="https://interplane.io/drakestapleton/hop">open the Hop project</a>.</p> |
| 16 | 21 | <pre><code>git clone https://interplane.io/drakestapleton/hop.git hop</code></pre> |
content/download/bootstrap-v1-8be4c26c3b89.sh
| new file mode 100644 | ||
| @@ -0,0 +1,17 @@ | ||
| 1 | +#!/bin/sh | |
| 2 | +# A checkout gives the installer its exact source and history. | |
| 3 | +set -eu | |
| 4 | +case "$(uname -s)/$(uname -m)" in | |
| 5 | + Linux/aarch64|Linux/arm64) ;; | |
| 6 | + *) echo 'This preview requires ARM64 Linux.' >&2; exit 2 ;; | |
| 7 | +esac | |
| 8 | +work=$(mktemp -d) | |
| 9 | +trap 'rm -rf -- "$work"' EXIT | |
| 10 | +trap 'exit 1' HUP INT TERM | |
| 11 | +git clone --quiet --no-checkout https://interplane.io/projects/interplane-install/repo.git "$work/source" | |
| 12 | +cd "$work/source" | |
| 13 | +revision=8be4c26c3b89bfbe72157344c0e3c76884f55e9e | |
| 14 | +git checkout --quiet --detach "$revision" | |
| 15 | +test "$(git rev-parse HEAD)" = "$revision" | |
| 16 | +printf '%s install.sh\n' 70d4c1c805587fc037c91602fc3929abe97981556938e39ab8824db8a872dd06 | sha256sum -c - | |
| 17 | +sh ./install.sh |
content/download/index.html
| new file mode 100644 | ||
| @@ -0,0 +1,22 @@ | ||
| 1 | +title: Native Omega components and pack status | |
| 2 | +description: Download the native GB10 file-read demo or the seeded compiler for 64-bit Arm Linux, and check the status of the full pack. | |
| 3 | +--- | |
| 4 | +<section class="page-head"><div class="shell"><div class="col"> | |
| 5 | +<h1>Native Omega components and pack status</h1> | |
| 6 | +<p class="lede"><span class="reg build">Being built</span> The full Sovereign Intelligence™ pack written in pure seeded Omega is under construction. The earlier mixed GB10 preview installer is retired.</p> | |
| 7 | +</div></div></section> | |
| 8 | +<section class="band"><div class="shell"><article class="col prose"> | |
| 9 | +<h2 id="native-components">Available native components</h2> | |
| 10 | +<h3>GB10 file-read demo</h3> | |
| 11 | +<p>One seeded Omega executable combines the round40 model sampler, native GB10 GPU code and a small file-read tool. The archive includes the reference round40 weights, tokenizer and test file.</p> | |
| 12 | +<p>In the extracted component directory, run <code>./cycle</code>. The model requests a file, the tool reads the bundled <code>fixture.om</code>, and the model uses its contents to generate an <code>omega_check</code> request. The read is the only tool action the demo executes.</p> | |
| 13 | +<p>Use ARM64 Linux on an NVIDIA GB10 with the NVIDIA kernel driver and firmware. The demo executable uses no C, C++, Python or CUDA user-space libraries.</p> | |
| 14 | +<div class="actions"><a class="button orange" href="https://interplane.io/drakestapleton/omega-tool-model/releases/download/native-tool-gb10-20261118.1/native-omega-tool-gb10.tar.gz" download>Download the GB10 file-read demo</a><a class="text-link" href="https://interplane.io/drakestapleton/omega-tool-model/blob/25408dd0c8f16811404110bc8265fbc948585396/native-tool/README.md">Source and build instructions</a></div> | |
| 15 | +<p>Archive SHA-256: <code>4a460332a691895714dbb0612373420beba900521440a153f93c7a9e1a84a2ef</code>.</p> | |
| 16 | +<h3>Seeded Omega compiler</h3> | |
| 17 | +<p>The archive contains <code>omc</code>, the command-line compiler for 64-bit Arm Linux. It reads Omega source and writes an executable. <a href="/omega/#downloads">Package details and SHA-256 checksums</a>.</p> | |
| 18 | +<div class="actions"><a class="button orange" href="/omega/downloads/{{omega.archive}}" download>Download the Arm Linux compiler</a><a class="text-link" href="https://interplane.io/drakestapleton/omega-mv">Browse the Omega source</a></div> | |
| 19 | +<h4>Compiler host requirements</h4> | |
| 20 | +<p>The prebuilt compiler runs on AArch64 Linux. The optional <a href="/omega/downloads/{{omega.installer}}">installer script</a> uses a POSIX shell, GNU tar, gzip and GNU Coreutils, including <code>sha256sum</code>.</p> | |
| 21 | +<p>To reproduce the <a href="/omega/bootstrap/#reproduce">seed-chain check</a>, use a 64-bit Arm Linux host with Git, a POSIX shell, awk, sed, tar and Coreutils. The checkout must contain the revision named by the challenge.</p> | |
| 22 | +</article></div></section> |
content/evidence/index.html
| @@ -20,6 +20,11 @@ description: What counts as proof on Interplane, what a passed check does and do | ||
| 20 | 20 | <p>With those three things, the same version and the same tools, someone else can run the command and compare. Without them, a claim is a sentence. It may be true. A reader has no way to tell.</p> |
| 21 | 21 | <p>A fingerprint is a short code worked out from a file's contents; its technical name is SHA-256. Change one letter of the file and the fingerprint changes.</p> |
| 22 | 22 | |
| 23 | +<details class="agent-prompt" id="prompt-verify-evidence"> | |
| 24 | +<summary>Agent prompt: Verify a claim or replay evidence</summary> | |
| 25 | +<pre class="wrap"><code>{{agents/prompts/verify-evidence.txt}}</code></pre> | |
| 26 | +<p><a class="button dark small" href="/agents/prompts/verify-evidence.txt">Open plain text</a></p> | |
| 27 | +</details> | |
| 23 | 28 | <div class="box limits"><h2>What our checking proves, and what it does not</h2> |
| 24 | 29 | <p><span class="reg rule">The rule here</span> A passed check means one thing: the checks we named were run on that exact version, they passed, and a deliberately broken version failed them.</p> |
| 25 | 30 | <p>It does not mean the software has no faults. It does not mean it is safe for what you want to do with it, or that it will behave the same on a different machine. It does not mean a check that was not written would also pass. A matching fingerprint shows that two files are the same file, not that the file is good.</p> |
content/forge/index.html
| @@ -23,6 +23,11 @@ description: The Interplane forge is where public projects live with their histo | ||
| 23 | 23 | <h2>Keep your own copy</h2> |
| 24 | 24 | <p><span class="reg check">What you can check today</span> A project can be copied in full, history included, with plain Git and no account. A project's page on the forge gives the line for that project under Git over HTTPS. <a href="https://interplane.io/drakestapleton/interplane.io">This website's own project page</a></p> |
| 25 | 25 | |
| 26 | +<details class="agent-prompt" id="prompt-clone-project"> | |
| 27 | +<summary>Agent prompt: Clone and pin a project</summary> | |
| 28 | +<pre class="wrap"><code>{{agents/prompts/clone-project.txt}}</code></pre> | |
| 29 | +<p><a class="button dark small" href="/agents/prompts/clone-project.txt">Open plain text</a></p> | |
| 30 | +</details> | |
| 26 | 31 | <div class="box note"><h3>Interplane on Git</h3><p><span class="reg rule">The rule here</span> Interplane is Interplane on Git. Radicle is not used.</p> |
| 27 | 32 | <p><span class="reg build">Being built</span> Bazinga, zinga for short, Interplane's own protocol for keeping code and its history, is being written in Omega. It is not live yet.</p> |
| 28 | 33 | <p><span class="reg rule">The rule here</span> The rule about who may add a change is ours, and it stays the same.</p></div> |
content/index.html
| @@ -10,7 +10,8 @@ description: Interplane is a forge for Git repositories. Keep the repositories y | ||
| 10 | 10 | <p class="term-note"><span class="reg rule">The rule here</span> A finished repository, a half-built agent experiment and an honest failure are each welcome. Work is called working only after someone who did not build it has run it again from a clean copy. <a href="#agent">Is your agent telling you the truth?</a></p> |
| 11 | 11 | <p class="term-note"><span class="reg build">Being built</span> Public contributions and the open shelf are unavailable while the Interplane store migration is completed. <a href="/contribute/">Contribution status</a></p> |
| 12 | 12 | <p class="term-note"><span class="reg build">Being built</span> Bringing a repository here with its commits is not open yet. Bazinga, zinga for short, Interplane's own protocol for keeping code and its history, is being written in Omega. <a href="#today">What runs here today and what is being built</a></p> |
| 13 | -<div class="actions"><a class="button orange" href="/contribute/">Contribution status</a><a class="text-link" href="https://interplane.io/explore">Explore the projects <span aria-hidden="true">→</span></a><a class="text-link" href="/omega/">Looking for the Omega language? <span aria-hidden="true">→</span></a></div> | |
| 13 | +<p class="term-note"><span class="reg build">Being built</span> The full pack written in pure seeded Omega is under construction.</p> | |
| 14 | +<div class="actions"><a class="button orange" href="/download/">Get the seeded Omega compiler</a><a class="text-link" href="/contribute/">Contribution status</a><a class="text-link" href="https://interplane.io/explore">Explore the projects <span aria-hidden="true">→</span></a><a class="text-link" href="/omega/">Looking for the Omega language? <span aria-hidden="true">→</span></a></div> | |
| 14 | 15 | </div> |
| 15 | 16 | <figure class="hero-art"><img class="big-art" src="/public/orbit.svg" alt="A code window, a broken satellite and an unfinished idea circling a blue planet" width="640" height="620"><img class="small-art" src="/public/orbit-small.svg" alt="A code window and a card that reads still has potential, circling a blue planet" width="360" height="300"></figure> |
| 16 | 17 | </div></section> |
| @@ -19,7 +20,7 @@ description: Interplane is a forge for Git repositories. Keep the repositories y | ||
| 19 | 20 | <div class="sec-head"><div><span class="eyebrow">For people who build with AI agents</span><h2>Is your agent telling you the truth?</h2> |
| 20 | 21 | <p><strong>Check it yourself, on hardware you own.</strong></p> |
| 21 | 22 | <p>Your agent says the work is done. Maybe it is. The way to know is to run it again. Interplane is built around that: a working rule, a public forge you can check today, and a planned open shelf for unfinished and failed work. What you rerun on your own machine, you do not have to take on our word, or your agent's.</p> |
| 22 | -<div class="hooks">{{#receipts}}<a class="hook" href="/receipts/#check"><span class="tickbox" aria-hidden="true"></span>Verify this page's claims yourself</a>{{/receipts}}<a class="hook" href="/agents/">For agents <span aria-hidden="true">→</span></a></div></div> | |
| 23 | +<div class="hooks">{{#receipts}}<a class="hook" href="/receipts/#check"><span class="tickbox" aria-hidden="true"></span>Verify this page's claims yourself</a>{{/receipts}}<a class="hook" href="/agents/#prompts">Ready-made agent prompts <span aria-hidden="true">→</span></a></div></div> | |
| 23 | 24 | <div class="actions"><a class="button orange" href="/contribute/">Prepare a contribution</a><a class="text-link" href="/how-it-works/">See how checking works <span aria-hidden="true">→</span></a></div></div> |
| 24 | 25 | <ol class="steps"> |
| 25 | 26 | <li><span class="num">01</span><h2>Prepare what you built.</h2><p>The almost-working app, the abandoned experiment, the beautiful mess. Unfinished is welcome. So is the thing that failed.</p></li> |
content/llms.txt
| @@ -7,7 +7,10 @@ Three registers are kept apart here and on the site: the rule (policy, not prova | ||
| 7 | 7 | |
| 8 | 8 | ## What you can do here today |
| 9 | 9 | |
| 10 | -- Omega programming language home and where it lives now: https://interplane.io/omega/ | |
| 10 | +- Start with a task prompt: https://interplane.io/agents/prompts.txt | |
| 11 | +- Download the seeded Omega compiler for 64-bit Arm Linux. The full pure seeded Omega pack is under construction: https://interplane.io/download/ | |
| 12 | +- Omega programming language, compiler preview and installer for 64-bit Arm Linux: https://interplane.io/omega/ | |
| 13 | +- Omega Harness, compiler pins and task-specific tools: https://interplane.io/omega/tools.txt | |
| 11 | 14 | - List the public projects ({{yard.count}} as of {{yard.asof}}): https://interplane.io/explore |
| 12 | 15 | The same list as a dated page on this site: https://interplane.io/yard/ |
| 13 | 16 | - Open a project page (files, history, the command that copies it). The pattern is https://interplane.io/drakestapleton/<project> |
| @@ -58,7 +61,6 @@ The rule: Interplane is Interplane on Git. Radicle is not used. | ||
| 58 | 61 | - Submission intake (handing in a build to be checked): not yet available. |
| 59 | 62 | - Bazinga, zinga for short: Interplane's own protocol for keeping code and its history, being written in Omega: not yet available. |
| 60 | 63 | - An MCP server: not yet available. |
| 61 | -- Downloads of the Omega compiler, and an installer: not yet available. | |
| 62 | 64 | |
| 63 | 65 | ## Pages on this site |
| 64 | 66 |
content/omega/bootstrap/index.html
| new file mode 100644 | ||
| @@ -0,0 +1,33 @@ | ||
| 1 | +title: How Omega was built | Interplane | |
| 2 | +description: Follow the seed from hand-written machine words to a compiler that can rebuild itself. Read the versioned checks and run the bootstrap challenge. | |
| 3 | +--- | |
| 4 | +<section class="page-head omega-sky omega-feature"><div class="shell"><div class="col wide omega-feature-grid"> | |
| 5 | +<div><span class="eyebrow">Omega · Bootstrap</span><h1>How Omega was built</h1><p class="lede">Start with a loader small enough to read word by word. Give the next program names for jumps, then names for instructions. Keep going until the compiler can read its own source.</p><div class="actions"><a class="button orange" href="#chain">Follow the chain</a><a class="text-link" href="/omega/write/">Write your first program</a></div></div> | |
| 6 | +<figure class="omega-illustration"><img src="/public/omega-seed.png" width="1200" height="800" alt="Illustration of a silicon die with luminous traces and etched layers rising from it against a sparse starfield."><figcaption>Illustration of the seed and the layers built from it.</figcaption></figure> | |
| 7 | +</div></div></section> | |
| 8 | +<section class="band"><div class="shell"><article class="col prose"> | |
| 9 | +<h2 id="chain">From hex words to a compiler</h2> | |
| 10 | +<p>Read downward. Each row describes what becomes possible at that rung. The shell performs the first conversion, from written hex to machine bytes. Each program that follows builds the next one. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/README.md">Seed source and rung records</a>.</p> | |
| 11 | +<figure class="omega-diagram"> | |
| 12 | +<ol class="omega-flow" aria-label="Omega bootstrap sequence"> | |
| 13 | +<li><strong>Hand-written hex</strong><span><code>load0.sh</code> uses shell <code>printf</code> to turn <code>seed0.hex</code> into executable bytes.</span></li> | |
| 14 | +<li><strong>The 408-byte loader</strong><span><code>seed0</code> reads eight hex digits at a time, emits machine words and builds <code>hex1</code>.</span></li> | |
| 15 | +<li><strong>Names for jumps</strong><span><code>hex1</code> resolves labels into branch distances and builds <code>asm2</code>.</span></li> | |
| 16 | +<li><strong>Names for instructions</strong><span><code>asm2</code> uses an Arm instruction table to encode assembly and build <code>om4</code>.</span></li> | |
| 17 | +<li><strong>A language for the compiler</strong><span><code>om4</code> reads enough Omegese to compile <code>omc.om</code> into the first <code>omc</code>.</span></li> | |
| 18 | +<li><strong>The compiler builds itself</strong><span><code>omc</code> recompiles the same source. The challenge compares the resulting stage binaries byte for byte.</span></li> | |
| 19 | +</ol> | |
| 20 | +<figcaption>The main compiler chain. Atlas is a separate boot-image branch built by <code>asm2</code>. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/challenge/CHALLENGE.md">Challenge and expected hashes</a>.</figcaption> | |
| 21 | +</figure> | |
| 22 | +<h2>What the first program actually does</h2> | |
| 23 | +<p>The hex source includes a Linux ELF header and the Arm instructions that follow it. The header tells Linux how to load and start the program. The instructions read text, ignore spaces and comments, and write the binary value of each complete word. A bad character or an unfinished word is rejected. This is enough to build a slightly more capable program from another text file. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/rung0/seed0.hex">Read the annotated seed</a>.</p> | |
| 24 | +<h2>Why the intermediate steps matter</h2> | |
| 25 | +<p>A label replaces a hand-counted branch distance. An instruction table replaces hand-encoded operands. Omegese replaces rows of assembly with named values, typed operations and structured branches. Each step removes a chore from the author and gives the next tool a larger vocabulary. The assembly table cites the Arm manual, so an instruction can be checked against an independent description. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/README.md">Rung walkthrough and controls</a>.</p> | |
| 26 | +<h2 id="reproduce">Rebuild the published check</h2> | |
| 27 | +<p>Use a 64-bit Arm Linux host with Git, a POSIX shell, awk, sed, tar and Coreutils. Clone with history so the challenge can find the revision named in its expected table. The command builds in a scratch directory inside the checkout and writes its log to <code>build/seed/challenge/challenge.log</code>. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/challenge/CHALLENGE.md">Reproduction instructions</a>.</p> | |
| 28 | +<pre class="wrap"><code>git clone https://interplane.io/projects/omega-mv/repo.git omega-mv | |
| 29 | +cd omega-mv | |
| 30 | +sh seed/challenge/run.sh</code></pre> | |
| 31 | +<p>The challenge selects its own source pin and compares the rungs with the published SHA-256 table for that pin. A match establishes a reproducible build along this chain. Program behavior takes separate tests. A different release or target needs its own evidence. When reading a result, look for the revision, the commands, the hashes and a control that was deliberately broken. <a href="/evidence/">How to read evidence</a>.</p> | |
| 32 | +<div class="actions"><a class="button dark" href="/omega/write/">Write and check an Omega program</a><a class="text-link" href="/omega/">Back to Omega</a></div> | |
| 33 | +</article></div></section> |
content/omega/examples/sum.om
| new file mode 100644 | ||
| @@ -0,0 +1,7 @@ | ||
| 1 | +fn main to int | |
| 2 | + total = int 0 | |
| 3 | + for i int 4 bound 4 | |
| 4 | + total = add total i | |
| 5 | + end | |
| 6 | + ret total | |
| 7 | +end |
content/omega/index.html
| @@ -1,13 +1,18 @@ | ||
| 1 | 1 | title: Omega programming language: from a 408-byte seed | Interplane |
| 2 | 2 | description: Omega is a systems language with a compiler rebuilt from a 408-byte seed. Read the source, bootstrap challenge and limits. Omega's home is Interplane. |
| 3 | 3 | --- |
| 4 | -<section class="page-head"><div class="shell"><div class="col"> | |
| 4 | +<section class="page-head omega-sky"><div class="shell"><div class="col"> | |
| 5 | 5 | <span class="eyebrow">Omega programming language</span> |
| 6 | -<h1>Omega: from a 408-byte seed to a compiler you can inspect.</h1> | |
| 7 | -<p class="lede">Omega is a systems language with a compiler written in Omega. Its bootstrap chain grows from a small hand-written loader into a compiler for AArch64 Linux.</p> | |
| 8 | -<div class="actions"><a class="button orange" href="https://interplane.io/drakestapleton/omega-mv">Read the source</a><a class="text-link" href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/challenge/CHALLENGE.md">Inspect the bootstrap challenge</a></div> | |
| 9 | -</div></div></section> | |
| 6 | +<h1>Omega</h1> | |
| 7 | +<p class="lede">A systems programming language built from a 408-byte seed.</p> | |
| 8 | +<div class="prose"> | |
| 9 | +<div class="actions"><a class="button orange" href="https://interplane.io/drakestapleton/omega-mv#:~:text=Get%20this%20repository">Get the repository</a></div> | |
| 10 | +<nav class="doc-nav" aria-label="Learn Omega"><a href="/omega/bootstrap/">See how it was built</a><a href="/omega/write/">Write an Omega program</a><a href="/omega/tools.txt">Agent tool index</a></nav> | |
| 11 | +</div></div></div></section> | |
| 10 | 12 | <section class="band"><div class="shell"><div class="col prose"> |
| 13 | +<h2>What Omega is</h2> | |
| 14 | +<p>Omega is a systems programming language. Its source notation gives names to values and spells out operations, types and control flow. The seeded compiler, <code>omc</code>, translates that source into executable code for supported targets. On the Arm Linux path it can write a runnable file directly. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/README.md">Compiler and output formats</a>.</p> | |
| 15 | +<p>A compiler checks the language rules. A test checks the behavior you asked for. Omega's development workflow calls for both and records the exact inputs so somebody else can repeat the work. Start with the <a href="/omega/write/#harness">Omega Harness</a> for that workflow or give an agent the <a href="/omega/tools.txt">plain-text tool index</a>.</p> | |
| 11 | 16 | <h2>Where Omega lives now</h2> |
| 12 | 17 | <p>Omega's source and history live on Interplane, in the <a href="https://interplane.io/drakestapleton/omega-mv">omega-mv project</a>. The old GitHub addresses under aien-dev, including aien-dev/omega-mv, aien-dev/omega and the aien-dev Homebrew tap, are gone. If an older article, GitHub topic or search result sent you to one of them, start here.</p> |
| 13 | 18 | <h2>What you can do now</h2> |
| @@ -18,10 +23,23 @@ description: Omega is a systems language with a compiler rebuilt from a 408-byte | ||
| 18 | 23 | <p><span class="reg check">What you can check today</span> On 13 November 2026 a launcher written in Omega ran the Qwen3.8-27B-FP8 model on one AMD Instinct MI300X, with 18 GPU kernels produced by Omega's own tooling. Its process held no AMD user-space runtime (HIP or ROCr) and no PyTorch. For each token step it replayed a dispatch plan that a Python script prepared beforehand on the CPU, so the Omega part is the launcher and the kernels, not the model description. The median decode time was 26.7 ms per token, over five runs of 256 generated tokens each. They were command-line runs, one request at a time on one card, not a server. <a href="https://interplane.io/drakestapleton/CUDApp/blob/main/evidence/amd-qwen38-native-refusal-20261113/README.md">The run record</a> <a href="https://doi.org/10.5281/zenodo.24237047">The technical note</a></p> |
| 19 | 24 | <h2>Papers</h2> |
| 20 | 25 | <p><span class="reg check">What you can check today</span> Three records on Zenodo: <a href="https://doi.org/10.5281/zenodo.23547811">Omega: A Programming Language Built for Verified Programs</a> (preprint, 2 October 2026), a design proposal for the language; <a href="https://doi.org/10.5281/zenodo.23677465">Reverse Engineering the CUDA Software Stack: An Independently Implemented GPU Machine-Code Toolchain for the NVIDIA GB10</a> (preprint, version 2, 26 October 2026), on a GPU toolchain for the NVIDIA GB10 that sits beside Omega; and <a href="https://doi.org/10.5281/zenodo.24237047">Omega running Qwen3.8-27B on an AMD Instinct MI300X</a> (technical note, 15 November 2026), on the run above. The second paper's source links point to old addresses that no longer answer; its code is now in the <a href="https://interplane.io/drakestapleton/CUDApp">CUDApp project</a>. The <a href="/papers/">papers page</a> lists the first two with their file fingerprints.</p> |
| 21 | -<h2>Downloads and installer</h2> | |
| 22 | -<p><span class="reg build">Being built</span> A packaged Omega download and an installer. Neither is published yet, and no release date is set. To try Omega today, build it from the source as the README describes.</p> | |
| 26 | +<h2 id="downloads">Package details</h2> | |
| 27 | +<p><span class="reg check">What you can check today</span> This preview packages the Omega command-line compiler for 64-bit Arm Linux. <a href="https://interplane.io/drakestapleton/interplane.io/blob/main/docs/OMEGA-DOWNLOADS.md">Reproduce the package and check its source</a>.</p> | |
| 28 | +<p>Compiler source commit <code class="val">{{omega.commit}}</code>. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/README.md">Browse the current Omega README</a>.</p> | |
| 29 | +<p><a href="/omega/downloads/{{omega.archive}}" download>Download the Arm Linux compiler</a> · <a href="/omega/downloads/{{omega.checksums}}" download>Download SHA-256 checksums</a> · <a href="/omega/downloads/{{omega.installer}}" download>Download the installer script</a></p> | |
| 30 | +<h3>Try the compiler</h3> | |
| 31 | +<p>Run this example in an empty folder. It prints <code>7</code>, the program's exit code.</p> | |
| 32 | +<pre class="wrap"><code>printf 'fn main to int\nret 7\nend\n' > seven.om | |
| 33 | +"$HOME/.local/bin/omc" < seven.om > seven && | |
| 34 | + chmod +x seven && { ./seven; echo "$?"; }</code></pre> | |
| 35 | +<p>For a portable copy, use <code>./omc</code> from the folder where you extracted the archive in place of the compiler path above. The <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/README.md">README</a> also explains how to build from source.</p> | |
| 36 | +<details class="agent-prompt" id="prompt-try-omega"> | |
| 37 | +<summary>Agent prompt: Try the Omega compiler</summary> | |
| 38 | +<pre class="wrap"><code>{{agents/prompts/try-omega.txt}}</code></pre> | |
| 39 | +<p><a class="button dark small" href="/agents/prompts/try-omega.txt">Open plain text</a></p> | |
| 40 | +</details> | |
| 23 | 41 | <h2>Follow the engineering</h2> |
| 24 | 42 | <p>The <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/ENGINEERING-NOTES.md">engineering notes</a> record earlier work. The <a href="https://interplane.io/drakestapleton/omega-mv/tree/main/evidence">evidence directory</a> holds records tied to particular versions. A result applies to the version, machine and command named in its record.</p> |
| 25 | 43 | <p><a href="https://interplane.io/drakestapleton/omega-mv/blob/main/docs/ROADMAP-1.0.md">Read the road to 1.0</a>. Work described there is a plan until its implementation and checks are published.</p> |
| 26 | -<p>Last updated: 17 November 2026.</p> | |
| 44 | +<p>Last updated: 18 November 2026.</p> | |
| 27 | 45 | </div></div></section> |
content/omega/tools.txt
| new file mode 100644 | ||
| @@ -0,0 +1,30 @@ | ||
| 1 | +# Omega tools for agents | |
| 2 | + | |
| 3 | +Start with the Harness and compiler pin. Load only the guide needed for the task. Use the user's authorization and your runtime rules for builds, installs and hardware access. | |
| 4 | + | |
| 5 | +Harness clone: git clone https://interplane.io/projects/omega-harness/repo.git omega-harness | |
| 6 | +Use the Harness PIN for its example gate and the target project's own compiler pin for project work. The forge's rendered file view can lag Git. | |
| 7 | +Workflow: omega-harness/skills/omega-harness/SKILL.md | |
| 8 | +Writing: omega-harness/skills/writing-omega/SKILL.md | |
| 9 | +Syntax, diagnostics and target limits: omega-harness/skills/omega-encoding/SKILL.md | |
| 10 | +Compiler pin and SHA-256: omega-harness/PIN | |
| 11 | +Example gate: omega-harness/examples/gate.sh /absolute/path/to/pinned/omc (uses Bash) | |
| 12 | + | |
| 13 | +Compiler clone: git clone https://interplane.io/projects/omega-mv/repo.git omega-mv | |
| 14 | +Compiler source: omega-mv/seed/omc/omc.om | |
| 15 | +Language rules: omega-mv/docs/one_layer/OMEGESE.md | |
| 16 | +Target status: omega-mv/docs/one_layer/OM_COMPLETION.md | |
| 17 | +Bootstrap challenge: omega-mv/seed/challenge/CHALLENGE.md | |
| 18 | +Arm Linux preview and SHA-256: https://interplane.io/omega/#downloads | |
| 19 | +First program: https://interplane.io/omega/examples/sum.om | |
| 20 | +Writing walkthrough: https://interplane.io/omega/write/index.txt | |
| 21 | + | |
| 22 | +Optional paths in the Harness clone: | |
| 23 | +- Evidence and handoffs: skills/omega-communication/SKILL.md | |
| 24 | +- Lean and Wolfram: skills/lean-verify/SKILL.md and skills/wolfram-math/SKILL.md | |
| 25 | +- GB10: skills/nvidia-gb10/SKILL.md, with authorization and device-specific evidence | |
| 26 | +- omp context pack: coder/README.md | |
| 27 | +- Conversion: https://interplane.io/drakestapleton/omega-bridge | |
| 28 | +- Local stdio tool server: https://interplane.io/drakestapleton/omega-mcp (see its checkout for the pin and Bubblewrap) | |
| 29 | +- VS Code source and setup: https://interplane.io/drakestapleton/vscode-omega | |
| 30 | +- Scalar IR: omega-mv/seed/README.md and omega-mv/docs/SPIRV.md |
content/omega/write/index.html
| new file mode 100644 | ||
| @@ -0,0 +1,59 @@ | ||
| 1 | +title: Write and check Omega programs | Interplane | |
| 2 | +description: Set up the Omega Harness and seeded compiler, write a bounded program, and verify the result with a negative control. | |
| 3 | +--- | |
| 4 | +<section class="page-head omega-sky omega-feature"><div class="shell"><div class="col wide omega-feature-grid"><div> | |
| 5 | +<span class="eyebrow">Omega · Field guide</span><h1>Write it. Run it. Check it.</h1> | |
| 6 | +<p class="lede">Get the Harness, learn the few rules that shape an Omega program, and use a compiler refusal to test your first working example.</p> | |
| 7 | +<div class="actions"><a class="button orange" href="#harness">Get the Omega Harness</a><a class="text-link" href="/omega/tools.txt">Agent tool index</a></div> | |
| 8 | +</div><figure class="omega-illustration"><img src="/public/omega-writing.png" width="1200" height="800" alt="Illustration of three clear glass plates etched with parallel lines, two stacked at the back and one large in front, beside a metal block with two raised blocks and a metal scribing pen."><figcaption>Illustration of a program at the workbench.</figcaption></figure></div></div></section> | |
| 9 | +<section class="band"><div class="shell"><article class="col prose"> | |
| 10 | +<h2>What you write</h2> | |
| 11 | +<p>Omega source uses <code>.om</code> files. Omegese is the source notation described in the language reference. Operators come first, followed by their inputs. In <code>add mul a b c</code>, <code>mul</code> consumes <code>a</code> and <code>b</code>, and <code>add</code> consumes that result and <code>c</code>. A name introduced inside a block goes out of scope at its <code>end</code>. Declare shared state before the block that updates it. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/docs/one_layer/OMEGESE.md">Language reference</a>.</p> | |
| 12 | +<p>A function spells out its argument and return types. The compiler checks the types of operations and rejects incompatible operands. Loops can carry explicit bounds, and the executable can trap if it crosses a bound at runtime. Choose a small positive case and a deliberately broken input, and record the expected outcome of each before running. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/README.md">Compiler checks and controls</a>.</p> | |
| 13 | +<h2 id="harness">Start with the Omega Harness</h2> | |
| 14 | +<p>The Harness gives people and agents a shared workflow, with language guides, compiler pins and executable examples. Get the Git checkout, then read the workflow and writing guide before editing <code>.om</code>. Use the encoding guide when you need a specific rule, host operation or diagnostic. <a href="https://interplane.io/drakestapleton/omega-harness">Omega Harness project</a>.</p> | |
| 15 | +<pre class="wrap"><code>git clone https://interplane.io/projects/omega-harness/repo.git omega-harness | |
| 16 | +cd omega-harness | |
| 17 | +git rev-parse HEAD | |
| 18 | +cat PIN | |
| 19 | +cat skills/omega-harness/SKILL.md skills/writing-omega/SKILL.md</code></pre> | |
| 20 | +<figure class="omega-diagram"><ol class="omega-flow omega-workflow" aria-label="Omega writing and verification workflow"> | |
| 21 | +<li><strong>Pin</strong><span>Identify the source, target and compiler hash before writing.</span></li> | |
| 22 | +<li><strong>Write</strong><span>Use the language guide and a nearby compiled example.</span></li> | |
| 23 | +<li><strong>Compile and run</strong><span>Capture diagnostics, exit status and output on the named target.</span></li> | |
| 24 | +<li><strong>Try to break it</strong><span>Change one input or one rule and require the expected failure.</span></li> | |
| 25 | +<li><strong>Hand off evidence</strong><span>Retain the exact commands, results and hashes for another run.</span></li> | |
| 26 | +</ol><figcaption>The Harness workflow from source selection to reproducible evidence.</figcaption></figure> | |
| 27 | +<details class="agent-prompt" id="prompt-write-omega"> | |
| 28 | +<summary>Agent prompt: Write and verify an Omega program</summary> | |
| 29 | +<pre class="wrap"><code>{{agents/prompts/write-omega.txt}}</code></pre> | |
| 30 | +<p><a class="button dark small" href="/agents/prompts/write-omega.txt">Open plain text</a></p> | |
| 31 | +</details> | |
| 32 | +<h2 id="example">Trace a small program</h2> | |
| 33 | +<p><code>total</code> starts as an <code>int</code> outside the loop. Each iteration adds the counter to it. <code>bound 4</code> makes the loop limit explicit. <code>ret total</code> sends the result back as the process exit code.</p> | |
| 34 | +<pre class="wrap"><code id="sum-source">fn main to int | |
| 35 | + total = int 0 | |
| 36 | + for i int 4 bound 4 | |
| 37 | + total = add total i | |
| 38 | + end | |
| 39 | + ret total | |
| 40 | +end</code></pre> | |
| 41 | +<p>Save <a href="/omega/examples/sum.om">sum.om</a> and obtain the <a href="/omega/#downloads">verified compiler preview</a>. These commands assume you extracted the preview into the same scratch directory and are running 64-bit Arm Linux. The example reports through its exit status. The expected status is <code>6</code>.</p> | |
| 42 | +<pre class="wrap"><code>if ./omc < sum.om > omega-sum && chmod +x omega-sum; then | |
| 43 | + ./omega-sum | |
| 44 | + printf 'exit=%s\n' "$?" | |
| 45 | +fi</code></pre> | |
| 46 | +<p>For a negative control, replace the integer return value with a boolean in a separate file. The published preview refuses this program with compiler error <code>7</code>, a type mismatch at line <code>6</code>.</p> | |
| 47 | +<pre class="wrap"><code>sed 's/ret total/ret true/' sum.om > sum-bad.om | |
| 48 | +./omc < sum-bad.om > sum-bad | |
| 49 | +printf 'compiler exit=%s\n' "$?"</code></pre> | |
| 50 | +<h2 id="tools">Choose the guide for your next task</h2> | |
| 51 | +<dl class="deflist"> | |
| 52 | +<dt>Compiler rules and examples</dt><dd>In the Harness clone, read <code>skills/omega-encoding/SKILL.md</code>. The <code>examples/gate.sh</code> runner checks the compiler hash in <code>PIN</code> before compiling or running examples. For work in another repository, use that project's compiler pin.</dd> | |
| 53 | +<dt>Compiler internals and targets</dt><dd>Read <code>seed/omc/omc.om</code> and <code>docs/one_layer/OM_COMPLETION.md</code> in the <a href="https://interplane.io/drakestapleton/omega-mv">compiler repository</a>. The scalar OSC IR backends cover specific WebAssembly and SPIR-V subsets. Start with the target's test and refusal evidence, and check your runtime separately. <a href="https://interplane.io/drakestapleton/omega-mv/blob/main/seed/README.md">Backend and smoke-test references</a>.</dd> | |
| 54 | +<dt>Conversion of existing code</dt><dd><a href="https://interplane.io/drakestapleton/omega-bridge">Omega Bridge</a> documents accepted source subsets and refusals. Use its source and tests for a migration, and use the seeded compiler and Harness for new Omega source.</dd> | |
| 55 | +<dt>Focused tools</dt><dd>Read <code>coder/README.md</code> in the Harness for the optional <code>omp</code> workflow. Use the dedicated Harness guides for Lean 4 proofs, Wolfram calculations and authorized GB10 hardware work only when your task needs them.</dd> | |
| 56 | +<dt>Local agent and editor tools</dt><dd><a href="https://interplane.io/drakestapleton/omega-mcp">Omega MCP</a> offers local language lookup, compilation and execution over standard input and output. Its checkout documents its compiler pin and Bubblewrap requirement. See <a href="https://interplane.io/drakestapleton/vscode-omega">Omega for VS Code</a> for source, syntax highlighting and optional compiler diagnostics.</dd> | |
| 57 | +</dl> | |
| 58 | +<div class="actions"><a class="button dark" href="/omega/tools.txt">Open the agent tool index</a><a class="text-link" href="/omega/bootstrap/">See how the compiler was built</a></div> | |
| 59 | +</article></div></section> |
content/routes.txt
| @@ -2,12 +2,25 @@ | ||
| 2 | 2 | # kind: page (front matter and HTML, placed in the site layout), tpl (llms.txt: text with placeholders), |
| 3 | 3 | # data (a generated text file, such as papers.json), css, svg, raw, font (an OpenType file |
| 4 | 4 | # under /public/fonts/, copied as it is), png (a PNG image under /public/, copied as it is), |
| 5 | +# gzip (an Omega download archive under /omega/downloads/, copied as it is), | |
| 5 | 6 | # forge (a page the Interplane forge serves, /explore or /drakestapleton/NAME, with source "-": |
| 6 | 7 | # nothing is built for it; it is listed in sitemap.xml only, main site only). |
| 7 | 8 | # site: main (interplane.io) or hopbot (hopbot.org, built only with Hop data). |
| 8 | 9 | # The last word makes an entry depend on optional data: hop, receipts, or install (content/hop.install.sh). |
| 9 | 10 | page main / content/index.html |
| 11 | +page main /download/ content/download/index.html | |
| 12 | +raw main /si.sh public/si.sh | |
| 13 | +raw main /download/bootstrap-v1-8be4c26c3b89.sh content/download/bootstrap-v1-8be4c26c3b89.sh | |
| 10 | 14 | page main /omega/ content/omega/index.html |
| 15 | +page main /omega/bootstrap/ content/omega/bootstrap/index.html | |
| 16 | +page main /omega/write/ content/omega/write/index.html | |
| 17 | +raw main /omega/tools.txt content/omega/tools.txt | |
| 18 | +raw main /omega/examples/sum.om content/omega/examples/sum.om | |
| 19 | +png main /public/omega-seed.png public/omega-seed.png | |
| 20 | +png main /public/omega-writing.png public/omega-writing.png | |
| 21 | +gzip main /omega/downloads/omega-compiler-3086ed3ca106-linux-aarch64.tar.gz public/omega-downloads/omega-compiler-3086ed3ca106-linux-aarch64.tar.gz | |
| 22 | +raw main /omega/downloads/install-omega-3086ed3ca106.sh public/omega-downloads/install-omega-3086ed3ca106.sh | |
| 23 | +raw main /omega/downloads/omega-3086ed3ca106.sha256 public/omega-downloads/omega-3086ed3ca106.sha256 | |
| 11 | 24 | page main /translate/ content/translate/index.html |
| 12 | 25 | page main /yard/ content/yard/index.html |
| 13 | 26 | page main /how-it-works/ content/how-it-works/index.html |
| @@ -17,6 +30,13 @@ page main /receipts/ content/receipts-page/index.html receipts | ||
| 17 | 30 | raw main /receipts/verify.sh content/receipts-page/verify.sh receipts |
| 18 | 31 | page main /forge/ content/forge/index.html |
| 19 | 32 | page main /agents/ content/agents/index.html |
| 33 | +raw main /agents/prompts.txt content/agents/prompts.txt | |
| 34 | +raw main /agents/prompts/find-project.txt content/agents/prompts/find-project.txt | |
| 35 | +raw main /agents/prompts/clone-project.txt content/agents/prompts/clone-project.txt | |
| 36 | +raw main /agents/prompts/verify-evidence.txt content/agents/prompts/verify-evidence.txt | |
| 37 | +raw main /agents/prompts/prepare-contribution.txt content/agents/prompts/prepare-contribution.txt | |
| 38 | +raw main /agents/prompts/try-omega.txt content/agents/prompts/try-omega.txt | |
| 39 | +raw main /agents/prompts/write-omega.txt content/agents/prompts/write-omega.txt | |
| 20 | 40 | page main /mission/ content/mission/index.html |
| 21 | 41 | page main /ada/ content/ada/index.html |
| 22 | 42 | page main /sovereign-intelligence/ content/sovereign-intelligence/index.html |
content/yard/index.html
| @@ -19,6 +19,11 @@ description: The public projects on the Interplane forge, listed from a dated sn | ||
| 19 | 19 | <section class="band line"><div class="shell"><div class="col wide"> |
| 20 | 20 | <div class="sec-head"><div><span class="eyebrow">The public list</span><h2>The {{yard.count}} public projects, as of {{yard.asof}}.</h2> |
| 21 | 21 | <p class="yard-meta">This list is made when the site is built, from a dated copy of the public registry. For each project it shows the name, the version the registry recorded, and the day it was recorded. A project may have moved on since. Open its own page for its current state. Fingerprint of the copy this page was built from (SHA-256): <span class="mono">{{yard.sha256}}</span></p></div></div> |
| 22 | +<div class="prose"><details class="agent-prompt" id="prompt-find-project"> | |
| 23 | +<summary>Agent prompt: Find a project by topic</summary> | |
| 24 | +<pre class="wrap"><code>{{agents/prompts/find-project.txt}}</code></pre> | |
| 25 | +<p><a class="button dark small" href="/agents/prompts/find-project.txt">Open plain text</a></p> | |
| 26 | +</details></div> | |
| 22 | 27 | <ul class="yard-list"> |
| 23 | 28 | {{yard.rows}}</ul> |
| 24 | 29 | <div class="actions"><a class="button dark" href="https://interplane.io/explore">Explore them on the forge</a><a class="text-link" href="/contribute/">Contribution status <span aria-hidden="true">→</span></a></div> |
docs/CLAIMS.md
| @@ -59,6 +59,8 @@ sentence as built, with tags removed. | ||
| 59 | 59 | | kind | page | register | sentence | evidence | |
| 60 | 60 | |---|---|---|---|---| |
| 61 | 61 | | claim | / | build | Bazinga, zinga for short, Interplane's own protocol for keeping code and its history, is being written in Omega. It is not live yet. | Not live. | |
| 62 | +| claim | / | build | The full pack written in pure seeded Omega is under construction. | Not live. | | |
| 63 | +| claim | /download/ | build | The full Sovereign Intelligence™ pack written in pure seeded Omega is under construction. The earlier mixed GB10 preview installer is retired. | Not live. | | |
| 62 | 64 | | claim | / | build | Bringing a project to the open shelf is not available in the current store. Read the contribution status | Not live. | |
| 63 | 65 | | claim | / | build | Bringing a repository here with its commits is not open yet. Bazinga, zinga for short, Interplane's own protocol for keeping code and its history, is being written in Omega. What runs here today and what is being built | Not live. | |
| 64 | 66 | | claim | / | build | Handing in a build so that it is checked for you is not open yet. How checking works today | Not live. | |
| @@ -132,7 +134,7 @@ sentence as built, with tags removed. | ||
| 132 | 134 | | claim | /mission/ | rule | What is published through Interplane is published in the open, under the licence its author chose. Take it, use it, build on it, within that licence. What you do not publish stays with you. | Policy. This site cannot prove it. | |
| 133 | 135 | | claim | /mission/ | rule | What you keep private stays with you. Only what you choose to publish goes in. | Policy. This site cannot prove it. | |
| 134 | 136 | | claim | /mission/ | rule | You do not need permission to change it. Clone it and change it, and keep or publish your version within its licence. | Policy. This site cannot prove it. | |
| 135 | -| claim | /omega/ | build | A packaged Omega download and an installer. Neither is published yet, and no release date is set. To try Omega today, build it from the source as the README describes. | Not live. | | |
| 137 | +| claim | /omega/ | check | This preview packages the Omega command-line compiler for 64-bit Arm Linux. Reproduce the package and check its source . | https://interplane.io/drakestapleton/interplane.io/blob/main/docs/OMEGA-DOWNLOADS.md | | |
| 136 | 138 | | claim | /omega/ | check | On 13 November 2026 a launcher written in Omega ran the Qwen3.8-27B-FP8 model on one AMD Instinct MI300X, with 18 GPU kernels produced by Omega's own tooling. Its process held no AMD user-space runtime (HIP or ROCr) and no PyTorch. For each token step it replayed a dispatch plan that a Python script prepared beforehand on the CPU, so the Omega part is the launcher and the kernels, not the model description. The median decode time was 26.7 ms per token, over five runs of 256 generated tokens each. They were command-line runs, one request at a time on one card, not a server. The run record The technical note | https://interplane.io/drakestapleton/CUDApp/blob/main/evidence/amd-qwen38-native-refusal-20261113/README.md https://doi.org/10.5281/zenodo.24237047 | |
| 137 | 139 | | claim | /omega/ | check | The project page shows the files, the history and the command that copies them. The omega-mv project | https://interplane.io/drakestapleton/omega-mv | |
| 138 | 140 | | claim | /omega/ | check | Three records on Zenodo: Omega: A Programming Language Built for Verified Programs (preprint, 2 October 2026), a design proposal for the language; Reverse Engineering the CUDA Software Stack: An Independently Implemented GPU Machine-Code Toolchain for the NVIDIA GB10 (preprint, version 2, 26 October 2026), on a GPU toolchain for the NVIDIA GB10 that sits beside Omega; and Omega running Qwen3.8-27B on an AMD Instinct MI300X (technical note, 15 November 2026), on the run above. The second paper's source links point to old addresses that no longer answer; its code is now in the CUDApp project . The papers page lists the first two with their file fingerprints. | https://doi.org/10.5281/zenodo.23547811 https://doi.org/10.5281/zenodo.23677465 https://doi.org/10.5281/zenodo.24237047 https://interplane.io/drakestapleton/CUDApp /papers/ | |
docs/OMEGA-DOWNLOADS.md
| new file mode 100644 | ||
| @@ -0,0 +1,46 @@ | ||
| 1 | +# Omega compiler preview | |
| 2 | + | |
| 3 | +The download contains the compiler executable from omega-mv commit | |
| 4 | +`3086ed3ca1061b2625a48d175cd5ac990e783655`. It runs on 64-bit Arm Linux. The | |
| 5 | +archive includes the upstream license and notices. The compiler's SHA-256 is | |
| 6 | +`34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3`. | |
| 7 | + | |
| 8 | +To reproduce the archive with Git, GNU tar and gzip, run this from an | |
| 9 | +[omega-mv clone](https://interplane.io/drakestapleton/omega-mv). It copies the | |
| 10 | +compiler that is tracked at the named commit. For compiler bootstrap | |
| 11 | +reproduction, see that repository's seed instructions. | |
| 12 | + | |
| 13 | +```sh | |
| 14 | +set -eu | |
| 15 | +commit=3086ed3ca1061b2625a48d175cd5ac990e783655 | |
| 16 | +stage=$(mktemp -d) | |
| 17 | +trap 'rm -rf "$stage"' 0 | |
| 18 | +umask 022 | |
| 19 | +git show "$commit:seed/out/omc" > "$stage/omc" | |
| 20 | +git show "$commit:LICENSE" > "$stage/LICENSE" | |
| 21 | +git show "$commit:NOTICE" > "$stage/NOTICE" | |
| 22 | +printf 'Omega compiler for AArch64 Linux\nSource: https://interplane.io/drakestapleton/omega-mv\nSource commit: %s\nBinary in source: seed/out/omc\n' "$commit" > "$stage/README.txt" | |
| 23 | +chmod 644 "$stage/LICENSE" "$stage/NOTICE" "$stage/README.txt" | |
| 24 | +chmod 755 "$stage/omc" | |
| 25 | +timestamp=$(git show -s --format=%ct "$commit") | |
| 26 | +tar --format=ustar --owner=0 --group=0 --numeric-owner --mtime="@$timestamp" \ | |
| 27 | + -C "$stage" -cf "$stage/package.tar" LICENSE NOTICE README.txt omc | |
| 28 | +gzip -n -c "$stage/package.tar" > omega-compiler-3086ed3ca106-linux-aarch64.tar.gz | |
| 29 | +``` | |
| 30 | + | |
| 31 | +Compare the resulting archive with the SHA-256 file linked from | |
| 32 | +[Downloads and installer](https://interplane.io/omega/#downloads). The checksum | |
| 33 | +file covers the archive and installer. The installer also pins the archive and | |
| 34 | +compiler hashes. It installs only the compiler, at `$HOME/.local/bin/omc`, and | |
| 35 | +refuses to replace a file, directory or symlink at that path. | |
| 36 | + | |
| 37 | +The archive and installer carry a fixed compiler revision. The site builder has | |
| 38 | +its own compiler pin in `native/omc.sha256`. It can be upgraded without changing | |
| 39 | +the compiler already published at these versioned download URLs. | |
| 40 | + | |
| 41 | +The builder pins the published checksum file and checks both payloads through | |
| 42 | +their registered source routes in build and verify. The download directory serves | |
| 43 | +only those pinned release files. Review new checksum metadata alongside any | |
| 44 | +new package, installer and page. The site checks also compare the | |
| 45 | +archive's source revision and executable with the upstream Git tree when that | |
| 46 | +repository is available. |
docs/REVIEW-LESSONS.md
| @@ -52,3 +52,35 @@ Website head ac9962e485efa3ab8ceaa3364811c459c1a6d80f was rejected in round five | ||
| 52 | 52 | | Evidence specificity and legacy prose | F5, F6, E1, E2 | Repeated citation ranges hid which caller supported a row, and the legacy placeholder description was not checked against the final template. A historical asset remains intentionally served. | Give each row its actual caller reference; remove unused placeholder prose, disclose retained historical assets, and verify cited lines against the whole sentence rather than trusting earlier checks. | |
| 53 | 53 | |
| 54 | 54 | Publication prerequisites P1-P3 remain separate: advance and read back both public Git clone routes and the native HTML source view before static deployment, owner-sign the exact reviewed head, and verify served site and release bytes afterward. Prior test results are reused only for unchanged inputs. The matrix and whole-content scan are manual review obligations, not an automated proof of completeness or a replacement for existing gates. |
| 55 | + | |
| 56 | +## Omega download release corrective action, 2026-11-18 | |
| 57 | + | |
| 58 | +The first three candidates were 7f3cfbfc, fe249cf7 and d0f01c01. The first | |
| 59 | +reviewer emitted a follow-up that recorded its rejection and findings. Its | |
| 60 | +session was ephemeral, so the retained raw output is the available record. | |
| 61 | +The next two full verdicts and each disposition are in the release evidence. | |
| 62 | + | |
| 63 | +| Finding kind | Review findings | Why the author and existing checks missed it | Corrective action | | |
| 64 | +|---|---|---|---| | |
| 65 | +| Published copy and provenance | R1 F1; R2 F4, F5; R3 F1, F3, F4, F8 | The page diff did not include the text guide, a moving README was used to support a frozen version, and package provenance and public links were checked separately. | Generate the page's release filenames from the pinned checksum manifest and supply the source commit from the builder. Native build and verify require the section, downloads and text-guide entry. Test each missing action and stale copy. Compare the page and archive with the named upstream tree. Emit NOT_RUN if that comparison cannot run. Link the release reproduction. | | |
| 66 | +| Payload binding and negative controls | R1 F2; R2 F2, F3; R3 F2, F5 | A header check or a successful install did not show that a route, source file, checksum and shipped bytes stayed tied together. Some controls broke multiple conditions or stopped at an earlier gate. | Check checksums for the registered archive and installer in native setup. Exercise each route restriction and the gzip method independently. Tamper with a built archive and recompute its manifest digest to exercise the verifier's binary branch. Check that route failures name the route registry. | | |
| 67 | +| Installer requirements and errors | R1 F3; R2 F6, F7; R3 F6 | The package smoke test described the successful GNU/Linux path and missed dependency, path and failure details. | State the GNU tar, gzip and Coreutils dependencies, keep the bootstrap in shell, force local archive extraction, and exercise installer refusal without replacing the existing target. | | |
| 68 | +| Review and readback evidence | R2 F1, F8, F9; R3 F7 | The first reviewer emitted a follow-up instead of a complete verdict. Review evidence was carried forward without pointing each claim at the exact source or payload it supported. | Preserve the raw reviewer output, full verdicts when available, and exact-head dispositions. Record rerun commands or byte-equality evidence for reused checks. Require an exact-head release checksum and installation from public bytes before recording completion. | | |
| 69 | + | |
| 70 | +Before any Omega download review, run the exact release build and verify plus | |
| 71 | +`check-site.sh` with the upstream Omega repository available, and record the | |
| 72 | +render and installer results in the head-bound checklist. Read the release | |
| 73 | +variants in that suite. Each must be refused at the intended check. The | |
| 74 | +successful upstream comparison is required for publication. The release | |
| 75 | +receipt names the exact reviewed head and the checksum file read back from | |
| 76 | +the public site. | |
| 77 | + | |
| 78 | +Round four found that changing a whole gzip header exercised the method check | |
| 79 | +without proving the magic checks. The controls now mutate each magic byte and | |
| 80 | +the method independently. When one assertion checks multiple independent | |
| 81 | +conditions, run the pre-review suite with each condition removed or bypassed | |
| 82 | +to prove that it detects the resulting error. Keep the first wrong result and | |
| 83 | +the named refusal in the release evidence. A valid extra gzip or text route | |
| 84 | +in the download directory must also be refused. For a linked release document, | |
| 85 | +read back the native HTML and exact raw source after source landing and before | |
| 86 | +publishing the static page. |
native/site.om
| @@ -454,6 +454,8 @@ text erperm "the contribute page must exist and carry the notice: Publishing is | ||
| 454 | 454 | text vpages "pages" |
| 455 | 455 | text vdesc "description" |
| 456 | 456 | text fllms "llms.txt" |
| 457 | +text promptdir "/agents/prompts/" | |
| 458 | +text erprompt "agent prompt must be one nonempty line of plain text followed by a line feed" | |
| 457 | 459 | text lexplore "explore" |
| 458 | 460 | text lexplorej "explore.json" |
| 459 | 461 | text lowner "drakestapleton" |
| @@ -490,6 +492,26 @@ text kpng "png" | ||
| 490 | 492 | text xpng ".png" |
| 491 | 493 | text tpubl "/public/" |
| 492 | 494 | text erpng "a png route must hold a PNG file: the eight PNG signature bytes first" |
| 495 | +text kgzip "gzip" | |
| 496 | +text xgzip ".tar.gz" | |
| 497 | +text odloads "omega/downloads/" | |
| 498 | +text ergzip "a gzip route must start with a gzip header" | |
| 499 | +text odloadsums "omega-3086ed3ca106.sha256" | |
| 500 | +text odloadpin "b30366023e11969408948ae21847cffc6739326c626d73670c3f8d79ccd29842" | |
| 501 | +text erodload "Omega downloads must match the pinned checksum file and its registered routes" | |
| 502 | +text erodextra "Omega download directory must contain only the three pinned release routes" | |
| 503 | +text odcommit "3086ed3ca1061b2625a48d175cd5ac990e783655" | |
| 504 | +text odhome "/omega/" | |
| 505 | +text odtitle "<h2 id=\"downloads\">package details</h2>" | |
| 506 | +text odhref "href=\"/omega/downloads/" | |
| 507 | +text odend "\" download" | |
| 508 | +text odguide "compiler preview and installer for 64-bit arm linux: https://interplane.io/omega/" | |
| 509 | +text odkarch "omega.archive" | |
| 510 | +text odkinst "omega.installer" | |
| 511 | +text odksums "omega.checksums" | |
| 512 | +text odkcommit "omega.commit" | |
| 513 | +text erodcopy "Omega download page must name its pinned compiler and offer all three release files" | |
| 514 | +text erodguide "llms.txt must list the Omega compiler preview and installer" | |
| 493 | 515 | text kforge "forge" |
| 494 | 516 | text kdash "-" |
| 495 | 517 | text nzip "hop.zip_name" |
| @@ -2302,6 +2324,15 @@ if eq kind 9 | ||
| 2302 | 2324 | chkpng |
| 2303 | 2325 | ret |
| 2304 | 2326 | end |
| 2327 | +if eq kind 11 | |
| 2328 | +if lt sg OBN 18 | |
| 2329 | +die ergzip | |
| 2330 | +end | |
| 2331 | +if not and eq og 0 31 and eq og 1 139 eq og 2 8 | |
| 2332 | +die ergzip | |
| 2333 | +end | |
| 2334 | +ret | |
| 2335 | +end | |
| 2305 | 2336 | polscan true |
| 2306 | 2337 | if eq kind 1 |
| 2307 | 2338 | chkmark true |
| @@ -5052,7 +5083,8 @@ end | ||
| 5052 | 5083 | note ---- routes: content/routes.txt, "kind site route source [hop|receipts|install]" per line. |
| 5053 | 5084 | note Kinds: 1 page, 2 css, 3 svg, 4 raw, 5 receipts payload (verify only), 6 tpl (llms.txt), |
| 5054 | 5085 | note 7 data (a text template, such as papers.json), 8 font (an OpenType file copied as it is), |
| 5055 | -note 9 png (a PNG image under /public/, copied as it is). | |
| 5086 | +note 9 png (a PNG image under /public/), 10 forge (sitemap only), | |
| 5087 | +note 11 gzip (an Omega download archive, copied as it is). | |
| 5056 | 5088 | |
| 5057 | 5089 | fn rkind s ulong n ulong to ulong |
| 5058 | 5090 | if mist s n kpage |
| @@ -5082,6 +5114,9 @@ end | ||
| 5082 | 5114 | if mist s n kforge |
| 5083 | 5115 | ret 10 |
| 5084 | 5116 | end |
| 5117 | +if mist s n kgzip | |
| 5118 | +ret 11 | |
| 5119 | +end | |
| 5085 | 5120 | ret 0 |
| 5086 | 5121 | end |
| 5087 | 5122 | |
| @@ -5147,6 +5182,11 @@ if not forgert fg 4 fg 5 | ||
| 5147 | 5182 | die erroute |
| 5148 | 5183 | end |
| 5149 | 5184 | end |
| 5185 | +if eq kind 11 | |
| 5186 | +if or ne site 0 or ne nf 4 not gziprt add fg 4 1 fg 5 | |
| 5187 | +die erroute | |
| 5188 | +end | |
| 5189 | +end | |
| 5150 | 5190 | rdup nr site fg 4 sub fg 5 fg 4 |
| 5151 | 5191 | put rt b kind |
| 5152 | 5192 | put rt add b 1 site |
| @@ -5222,6 +5262,25 @@ end | ||
| 5222 | 5262 | ret okset add s len tpubl e 1 |
| 5223 | 5263 | end |
| 5224 | 5264 | |
| 5265 | +fn gziprt s ulong e ulong to bool | |
| 5266 | +note a gzip route is /omega/downloads/NAME.tar.gz without subdirectories | |
| 5267 | +n = sub e s | |
| 5268 | +if le n add len odloads len xgzip | |
| 5269 | +ret false | |
| 5270 | +end | |
| 5271 | +if not mistf s odloads false | |
| 5272 | +ret false | |
| 5273 | +end | |
| 5274 | +if not mist sub e len xgzip len xgzip xgzip | |
| 5275 | +ret false | |
| 5276 | +end | |
| 5277 | +p = add s len odloads | |
| 5278 | +if eq mg p 46 | |
| 5279 | +ret false | |
| 5280 | +end | |
| 5281 | +ret okset p e 1 | |
| 5282 | +end | |
| 5283 | + | |
| 5225 | 5284 | fn routes to void |
| 5226 | 5285 | pbset froutes |
| 5227 | 5286 | put st CXO keep froutes |
| @@ -5253,6 +5312,128 @@ end | ||
| 5253 | 5312 | put st NR nr |
| 5254 | 5313 | end |
| 5255 | 5314 | |
| 5315 | +fn omdlread name ulong n ulong kind ulong to ulong | |
| 5316 | +note read the registered source file, so hashes bind the bytes that will actually be published | |
| 5317 | +nr = sg NR | |
| 5318 | +r = ulong 0 | |
| 5319 | +while lt r nr bound RTCAP | |
| 5320 | +b = mul r 8 | |
| 5321 | +a = add rg add b 2 1 | |
| 5322 | +if and eq rg b kind and eq rg add b 1 0 eq rg add b 6 0 | |
| 5323 | +if eq rg add b 3 add add n len odloads 1 | |
| 5324 | +if and mistf a odloads false mcmp add a len odloads name n | |
| 5325 | +put st PBL 0 | |
| 5326 | +pbaddm rg add b 4 rg add b 5 | |
| 5327 | +put st CXO rg add b 4 | |
| 5328 | +put st CXL rg add b 5 | |
| 5329 | +ret slurp | |
| 5330 | +end | |
| 5331 | +end | |
| 5332 | +end | |
| 5333 | +r = add r 1 | |
| 5334 | +end | |
| 5335 | +put st CXO keep froutes | |
| 5336 | +put st CXL len froutes | |
| 5337 | +die erodload | |
| 5338 | +ret 0 | |
| 5339 | +end | |
| 5340 | + | |
| 5341 | +fn omdownloads to void | |
| 5342 | +note the checksum file is pinned like robots.txt; its two rows name the archive and installer | |
| 5343 | +name = keep odloadsums | |
| 5344 | +start = omdlread name len odloadsums 4 | |
| 5345 | +n = sg FLEN | |
| 5346 | +hashm start n | |
| 5347 | +for j ulong 64 | |
| 5348 | +if ne get hx j get odloadpin j | |
| 5349 | +die erodload | |
| 5350 | +end | |
| 5351 | +end | |
| 5352 | +stop = add start n | |
| 5353 | +pos = start | |
| 5354 | +for row ulong 2 | |
| 5355 | +last = eol pos stop | |
| 5356 | +name = add pos 66 | |
| 5357 | +size = sub last name | |
| 5358 | +kind = ulong 11 | |
| 5359 | +if eq row 0 | |
| 5360 | +setv odkarch name size | |
| 5361 | +else | |
| 5362 | +kind = 4 | |
| 5363 | +setv odkinst name size | |
| 5364 | +end | |
| 5365 | +mark = sg TOP | |
| 5366 | +off = omdlread name size kind | |
| 5367 | +if eq row 0 | |
| 5368 | +put st OBN 0 | |
| 5369 | +om off sg FLEN | |
| 5370 | +lint 11 | |
| 5371 | +end | |
| 5372 | +hashm off sg FLEN | |
| 5373 | +if not hxis pos | |
| 5374 | +die erodload | |
| 5375 | +end | |
| 5376 | +put st TOP mark | |
| 5377 | +pos = add last 1 | |
| 5378 | +end | |
| 5379 | +setvt odksums odloadsums | |
| 5380 | +setvt odkcommit odcommit | |
| 5381 | +note every route in the download directory is either one of those three or a release error | |
| 5382 | +count = ulong 0 | |
| 5383 | +nr = sg NR | |
| 5384 | +for r ulong nr bound RTCAP | |
| 5385 | +b = mul r 8 | |
| 5386 | +if ge rg add b 3 add len odloads 1 | |
| 5387 | +if mistf add rg add b 2 1 odloads false | |
| 5388 | +count = add count 1 | |
| 5389 | +end | |
| 5390 | +end | |
| 5391 | +end | |
| 5392 | +if ne count 3 | |
| 5393 | +put st CXO keep froutes | |
| 5394 | +put st CXL len froutes | |
| 5395 | +die erodextra | |
| 5396 | +end | |
| 5397 | +end | |
| 5398 | + | |
| 5399 | +fn omdllink key view uchar * to bool | |
| 5400 | +note find a download anchor targeting the file name read from the pinned release | |
| 5401 | +v = mul sub vlook key 1 4 | |
| 5402 | +name = vg add v 2 | |
| 5403 | +n = vg add v 3 | |
| 5404 | +i = ofind 0 odhref | |
| 5405 | +while lt i sg OBN bound 100000 | |
| 5406 | +p = add i len odhref | |
| 5407 | +e = add p n | |
| 5408 | +if le e sg OBN | |
| 5409 | +if and obeqm p e name n omatch e odend | |
| 5410 | +ret true | |
| 5411 | +end | |
| 5412 | +end | |
| 5413 | +i = ofind add i 1 odhref | |
| 5414 | +end | |
| 5415 | +ret false | |
| 5416 | +end | |
| 5417 | + | |
| 5418 | +fn omdlcopy r ulong to void | |
| 5419 | +b = mul r 8 | |
| 5420 | +if ne rg add b 1 0 | |
| 5421 | +ret | |
| 5422 | +end | |
| 5423 | +a = rg add b 2 | |
| 5424 | +n = rg add b 3 | |
| 5425 | +if mist a n odhome | |
| 5426 | +if not and ohas odtitle and ohas odcommit and omdllink odkarch and omdllink odkinst omdllink odksums | |
| 5427 | +die erodcopy | |
| 5428 | +end | |
| 5429 | +end | |
| 5430 | +if mist add a 1 sub n 1 fllms | |
| 5431 | +if not ohas odguide | |
| 5432 | +die erodguide | |
| 5433 | +end | |
| 5434 | +end | |
| 5435 | +end | |
| 5436 | + | |
| 5256 | 5437 | fn enabled r ulong to bool |
| 5257 | 5438 | b = mul r 8 |
| 5258 | 5439 | if eq rg b 10 |
| @@ -5561,6 +5742,7 @@ end | ||
| 5561 | 5742 | ret |
| 5562 | 5743 | end |
| 5563 | 5744 | lint kind |
| 5745 | +omdlcopy r | |
| 5564 | 5746 | end |
| 5565 | 5747 | |
| 5566 | 5748 | fn permchk r ulong to void |
| @@ -5827,7 +6009,7 @@ sitemap site | ||
| 5827 | 6009 | manwrite site |
| 5828 | 6010 | end |
| 5829 | 6011 | |
| 5830 | -fn kindof s ulong e ulong to ulong | |
| 6012 | +fn kindof s ulong e ulong site ulong to ulong | |
| 5831 | 6013 | note check kind of an output path (arena s..e) by its ending |
| 5832 | 6014 | n = sub e s |
| 5833 | 6015 | if mist s n fllms |
| @@ -5861,6 +6043,9 @@ if mist sub e 4 4 xpng | ||
| 5861 | 6043 | ret 9 |
| 5862 | 6044 | end |
| 5863 | 6045 | end |
| 6046 | +if and eq site 0 gziprt s e | |
| 6047 | +ret 11 | |
| 6048 | +end | |
| 5864 | 6049 | ret 4 |
| 5865 | 6050 | end |
| 5866 | 6051 | |
| @@ -6106,7 +6291,7 @@ om off n | ||
| 6106 | 6291 | put st TOP sg TOPB |
| 6107 | 6292 | if not insfile add i 66 e site |
| 6108 | 6293 | if not trformpath add i 66 e |
| 6109 | -lint kindof add i 66 e | |
| 6294 | +lint kindof add i 66 e site | |
| 6110 | 6295 | end |
| 6111 | 6296 | end |
| 6112 | 6297 | files = add files 1 |
| @@ -6266,6 +6451,34 @@ po = stash | ||
| 6266 | 6451 | setv vpages po sg FLEN |
| 6267 | 6452 | end |
| 6268 | 6453 | |
| 6454 | +fn agentprompts to void | |
| 6455 | +note Bind each plain-text prompt route as a template variable without the leading slash. | |
| 6456 | +note Mode 6 excludes HTML and template delimiters so the displayed text stays literal. | |
| 6457 | +for r ulong sg NR bound RTCAP | |
| 6458 | +b = mul r 8 | |
| 6459 | +ro = rg add b 2 | |
| 6460 | +rl = rg add b 3 | |
| 6461 | +if and eq rg b 4 eq rg add b 1 0 | |
| 6462 | +if and gt rl len promptdir mistf ro promptdir false | |
| 6463 | +if enabled r | |
| 6464 | +so = rg add b 4 | |
| 6465 | +sl = rg add b 5 | |
| 6466 | +put st CXO so | |
| 6467 | +put st CXL sl | |
| 6468 | +put st PBL 0 | |
| 6469 | +pbaddm so sl | |
| 6470 | +off = slurp | |
| 6471 | +e = sub add off sg FLEN 1 | |
| 6472 | +if not and eq mg e 10 okset off e 6 | |
| 6473 | +die erprompt | |
| 6474 | +end | |
| 6475 | +setvm add ro 1 sub rl 1 off sub e off | |
| 6476 | +end | |
| 6477 | +end | |
| 6478 | +end | |
| 6479 | +end | |
| 6480 | +end | |
| 6481 | + | |
| 6269 | 6482 | fn setup to void |
| 6270 | 6483 | note loads everything a build or a verify needs: data, flags, layouts and routes |
| 6271 | 6484 | luminit |
| @@ -6282,6 +6495,8 @@ receipts | ||
| 6282 | 6495 | hop |
| 6283 | 6496 | live |
| 6284 | 6497 | routes |
| 6498 | +agentprompts | |
| 6499 | +omdownloads | |
| 6285 | 6500 | zhnone |
| 6286 | 6501 | pbset flay0 |
| 6287 | 6502 | put st CXO keep flay0 |
public/omega-downloads/install-omega-3086ed3ca106.sh
| new file mode 100644 | ||
| @@ -0,0 +1,38 @@ | ||
| 1 | +#!/bin/sh | |
| 2 | +# Install the matching Omega compiler archive into the current user's home. | |
| 3 | +set -eu | |
| 4 | + | |
| 5 | +die() { | |
| 6 | + printf 'Omega installer: %s\n' "$*" >&2 | |
| 7 | + exit 1 | |
| 8 | +} | |
| 9 | + | |
| 10 | +[ "$#" -eq 1 ] || die "usage: sh $0 ARCHIVE" | |
| 11 | +[ "$(uname -s)" = Linux ] && [ "$(uname -m)" = aarch64 ] || | |
| 12 | + die 'this compiler requires 64-bit Arm Linux' | |
| 13 | +: "${HOME:?set HOME to your home directory}" | |
| 14 | + | |
| 15 | +bindir=$HOME/.local/bin | |
| 16 | +mkdir -p -- "$bindir" || die "could not create $bindir" | |
| 17 | +stage=$(mktemp -d "$bindir/.omega-install.XXXXXXXX") || die "could not stage in $bindir" | |
| 18 | +trap 'rm -rf -- "$stage"' 0 | |
| 19 | +trap 'exit 1' 1 2 15 | |
| 20 | + | |
| 21 | +cat -- "$1" > "$stage/archive" || die 'could not read the archive' | |
| 22 | +expected=47990e5333737e157faae09d47f9faf3fc87bed58bef7fe8a8fec729a78f3c0a | |
| 23 | +actual=$(sha256sum < "$stage/archive") | |
| 24 | +[ "${actual%% *}" = "$expected" ] || die 'archive SHA-256 mismatch' | |
| 25 | +tar --force-local -xOzf "$stage/archive" omc > "$stage/omc" || die 'could not extract omc' | |
| 26 | +expected_compiler=34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3 | |
| 27 | +actual_compiler=$(sha256sum < "$stage/omc") | |
| 28 | +[ "${actual_compiler%% *}" = "$expected_compiler" ] || die 'compiler SHA-256 mismatch' | |
| 29 | +chmod 755 "$stage/omc" | |
| 30 | + | |
| 31 | +# The hard link creates the destination atomically and refuses existing files. | |
| 32 | +if ! ln -T -- "$stage/omc" "$bindir/omc"; then | |
| 33 | + if [ -e "$bindir/omc" ] || [ -L "$bindir/omc" ]; then | |
| 34 | + die "could not install at $bindir/omc (an existing file will not be replaced)" | |
| 35 | + fi | |
| 36 | + die "could not create $bindir/omc" | |
| 37 | +fi | |
| 38 | +printf 'Installed Omega compiler at %s\n' "$bindir/omc" |
public/omega-downloads/omega-3086ed3ca106.sha256
| new file mode 100644 | ||
| @@ -0,0 +1,2 @@ | ||
| 1 | +47990e5333737e157faae09d47f9faf3fc87bed58bef7fe8a8fec729a78f3c0a omega-compiler-3086ed3ca106-linux-aarch64.tar.gz | |
| 2 | +1e7680ea8f5565fe744c9249a7332299b2d0b3b9df28df8272f82aee009d05ce install-omega-3086ed3ca106.sh |
public/omega-downloads/omega-compiler-3086ed3ca106-linux-aarch64.tar.gz
| new file mode 100644 | ||
| Binary files /dev/null and b/public/omega-downloads/omega-compiler-3086ed3ca106-linux-aarch64.tar.gz differ |
public/omega-seed.png
| new file mode 100644 | ||
| Binary files /dev/null and b/public/omega-seed.png differ |
public/omega-writing.png
| new file mode 100644 | ||
| Binary files /dev/null and b/public/omega-writing.png differ |
public/si.sh
| new file mode 100644 | ||
| @@ -0,0 +1,3 @@ | ||
| 1 | +#!/bin/sh | |
| 2 | +printf '%s\n' 'The mixed GB10 preview installer is retired. The full pure seeded Omega pack is under construction.' 'For the available Omega compiler and source, visit https://interplane.io/download/' >&2 | |
| 3 | +exit 1 |
public/style.css
| @@ -1,4 +1,4 @@ | ||
| 1 | -:root{--print-paper:#ffffff;--print-ink:#111118;--paper:#06051a;--ink:#f5f2ff;--muted:#b9b6d6;--line:#25214a;--white:#110e2b;--panel:#0b0920;--orange:#a9b8ff;--orange-ink:#a9b8ff;--accent-hover:#f3d9a0;--header:#05041a;--lime:#17133a;--lime-text:#a9b8ff;--lime-line:#322b66;--lime-ink:#b9b6d6;--green:#6ee7c8;--orcid:#2563eb;--night:#120f30;--night-ink:#f5f2ff;--night-muted:#b9b6d6;--night-line:#322b66;--card-a:#1d1552;--card-b:#0e2147;--card-c:#2c1446;--ok:#6ee7c8;--bad:#ff6568;--focus-ring:#7dd3fc;--btn-orange-bg:#6d4aff;--btn-orange-hover:#5b3be6;--btn-orange-press:#4c2fd0;--btn-orange-ink:#ffffff;--btn-dark-bg:#6d4aff;--btn-dark-hover:#5b3be6;--btn-dark-press:#4c2fd0;--btn-dark-ink:#ffffff;--btn-lime-bg:#6d4aff;--btn-lime-hover:#5b3be6;--btn-lime-press:#4c2fd0;--btn-lime-ink:#ffffff;--star:#ffffff;--star-dim:#8d88bd;--neb-violet:#2c1b70;--neb-blue:#0f2c5c;--neb-rose:#45164f;--gold:#f3d9a0;--glow:#5a3fe0;--s2:8px;--s4:16px;--s5:24px;--s6:32px;--s7:40px;--s8:56px;--s9:72px;--s10:88px;--r1:4px;--r2:8px;--r3:14px;--rp:999px;--ease:cubic-bezier(.2,.7,.3,1)} | |
| 1 | +:root{--omega-black:#050608;--omega-charcoal:#0c0e12;--omega-panel:#111318;--omega-rail:#30353e;--omega-ashen:#afb4bf;--omega-starlight:#f4f6fa;--omega-silver:#dce1e8;--omega-halo:#434954;--omega-btn:#292d35;--omega-btn-hot:#393d47;--omega-champagne:#ecd6aa;--print-paper:#ffffff;--print-ink:#111118;--paper:#06051a;--ink:#f5f2ff;--muted:#b9b6d6;--line:#25214a;--white:#110e2b;--panel:#0b0920;--orange:#a9b8ff;--orange-ink:#a9b8ff;--accent-hover:#f3d9a0;--header:#05041a;--lime:#17133a;--lime-text:#a9b8ff;--lime-line:#322b66;--lime-ink:#b9b6d6;--green:#6ee7c8;--orcid:#2563eb;--night:#120f30;--night-ink:#f5f2ff;--night-muted:#b9b6d6;--night-line:#322b66;--card-a:#1d1552;--card-b:#0e2147;--card-c:#2c1446;--ok:#6ee7c8;--bad:#ff6568;--focus-ring:#7dd3fc;--btn-orange-bg:#6d4aff;--btn-orange-hover:#5b3be6;--btn-orange-press:#4c2fd0;--btn-orange-ink:#ffffff;--btn-dark-bg:#6d4aff;--btn-dark-hover:#5b3be6;--btn-dark-press:#4c2fd0;--btn-dark-ink:#ffffff;--btn-lime-bg:#6d4aff;--btn-lime-hover:#5b3be6;--btn-lime-press:#4c2fd0;--btn-lime-ink:#ffffff;--star:#ffffff;--star-dim:#8d88bd;--neb-violet:#2c1b70;--neb-blue:#0f2c5c;--neb-rose:#45164f;--gold:#f3d9a0;--glow:#5a3fe0;--s2:8px;--s4:16px;--s5:24px;--s6:32px;--s7:40px;--s8:56px;--s9:72px;--s10:88px;--r1:4px;--r2:8px;--r3:14px;--rp:999px;--ease:cubic-bezier(.2,.7,.3,1)} | |
| 2 | 2 | /* One spacing scale (--s*) for section rhythm, grid gaps and card padding; one radius scale (--r*). Small inline offsets and the 11px padding that makes 44px tap targets stay literal. */ |
| 3 | 3 | @font-face{font-family:"Latin Modern Roman";src:url(/public/fonts/lmroman10-regular.otf) format("opentype");font-weight:400;font-style:normal;font-display:swap} |
| 4 | 4 | @font-face{font-family:"Latin Modern Roman";src:url(/public/fonts/lmroman10-italic.otf) format("opentype");font-weight:400;font-style:italic;font-display:swap} |
| @@ -174,6 +174,39 @@ a>span[aria-hidden="true"]:last-child:not(.tickbox){display:inline-block} | ||
| 174 | 174 | .prose pre.wrap{white-space:pre-wrap;overflow-wrap:anywhere} |
| 175 | 175 | .prose pre code{background:transparent;padding:0;font-size:inherit;overflow-wrap:normal;color:inherit} |
| 176 | 176 | .prose pre.wrap code{overflow-wrap:anywhere} |
| 177 | +.agent-prompt{margin:var(--s4) 0;padding:0 var(--s4);border:1px solid var(--line);border-radius:var(--r2);background:var(--panel)} | |
| 178 | +.agent-prompt summary{padding:var(--s2) 0;cursor:pointer;color:var(--ink);font-weight:600} | |
| 179 | +.agent-prompt pre{cursor:text;user-select:all} | |
| 180 | +.omega-feature-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:var(--s7);align-items:center} | |
| 181 | +.omega-feature-grid>*{min-width:0} | |
| 182 | +.omega-illustration{margin:0} | |
| 183 | +.omega-illustration img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:var(--r3)} | |
| 184 | +.omega-diagram{margin:var(--s6) 0;padding:var(--s5);border:1px solid var(--line);border-radius:var(--r3);background:var(--panel)} | |
| 185 | +.omega-illustration figcaption,.omega-diagram figcaption{margin:var(--s2) 0 0;color:var(--muted);font-size:.9rem} | |
| 186 | +.prose .omega-flow{display:grid;gap:var(--s4);list-style:none;margin:0;padding:0 0 0 var(--s4);border-left:1px solid var(--line)} | |
| 187 | +.omega-flow li{position:relative;margin:0;padding:var(--s2) var(--s4);border:1px solid var(--line);border-radius:var(--r2);background:var(--paper)} | |
| 188 | +.omega-flow li::before{content:"";position:absolute;top:1.35em;left:calc(0px - var(--s4));width:var(--s4);border-top:1px solid var(--orange)} | |
| 189 | +.omega-flow li::after{content:"";position:absolute;top:calc(1.35em - 2px);left:-6px;width:4px;height:4px;border-top:1px solid var(--orange);border-right:1px solid var(--orange);transform:rotate(45deg)} | |
| 190 | +.omega-flow strong,.omega-flow span{display:block} | |
| 191 | +.omega-flow strong{color:var(--ink)} | |
| 192 | +.omega-flow span{color:var(--muted)} | |
| 193 | +.omega-flow li:hover{outline:1px solid var(--accent-hover);outline-offset:-1px} | |
| 194 | +.omega-workflow li::before{border-color:var(--accent-hover)} | |
| 195 | +@media (max-width:760px){.omega-feature-grid{grid-template-columns:1fr;gap:var(--s5)}.omega-diagram{padding:var(--s4)}} | |
| 196 | +@media screen and (prefers-reduced-motion:no-preference){ | |
| 197 | +.omega-illustration img{animation:omega-illustrate 900ms ease-out both} | |
| 198 | +.omega-flow li{animation:omega-stage 850ms ease-out;animation-delay:var(--omega-delay,0ms)} | |
| 199 | +.omega-flow li:nth-child(2){--omega-delay:280ms} | |
| 200 | +.omega-flow li:nth-child(3){--omega-delay:560ms} | |
| 201 | +.omega-flow li:nth-child(4){--omega-delay:840ms} | |
| 202 | +.omega-flow li:nth-child(5){--omega-delay:1120ms} | |
| 203 | +.omega-flow li:nth-child(6){--omega-delay:1400ms} | |
| 204 | +@keyframes omega-illustrate{from{opacity:.7;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}} | |
| 205 | +@keyframes omega-stage{0%,100%{border-color:var(--line)}45%{border-color:var(--accent-hover);box-shadow:0 0 18px var(--line)}} | |
| 206 | +@supports (animation-timeline:view()){ | |
| 207 | +.omega-flow li:nth-child(n){animation:omega-stage linear both;animation-timeline:view();animation-range:entry 5% cover 40%} | |
| 208 | +} | |
| 209 | +} | |
| 177 | 210 | .fine{font-size:16px} |
| 178 | 211 | .nb{white-space:nowrap} |
| 179 | 212 | .prose .features,.prose .modules,.prose .statelist,.prose .steps-list,.prose .plain,.prose .stage-list{padding-left:0} |
| @@ -495,6 +528,19 @@ body{background:transparent} | ||
| 495 | 528 | body::before,body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none} |
| 496 | 529 | body::before{opacity:.38;background-image:radial-gradient(circle at 23px 41px,var(--star-dim) 0,var(--star-dim) .6px,transparent 1.3px),radial-gradient(circle at 231px 97px,var(--star-dim) 0,var(--star-dim) .8px,transparent 1.5px),radial-gradient(circle at 67px 281px,var(--star) 0,var(--star) .5px,transparent 1.2px),radial-gradient(circle at 401px 263px,var(--star-dim) 0,var(--star-dim) .7px,transparent 1.4px),radial-gradient(circle at 189px 437px,var(--orange) 0,var(--orange) .8px,transparent 1.6px);background-size:263px 311px,349px 281px,457px 363px,431px 519px,621px 557px} |
| 497 | 530 | body::after{opacity:.55;background-image:radial-gradient(circle at 211px 59px,var(--star) 0,var(--star) .9px,transparent 2.1px),radial-gradient(circle at 409px 349px,var(--gold) 0,var(--gold) .9px,transparent 2px),radial-gradient(circle at 97px 503px,var(--star) 0,var(--star) .8px,transparent 1.9px);background-size:683px 607px,913px 741px,1001px 887px} |
| 531 | +html:has(.omega-sky){ | |
| 532 | + --paper:var(--omega-black);--header:var(--omega-black);--white:var(--omega-panel);--panel:var(--omega-charcoal); | |
| 533 | + --night:var(--omega-panel);--lime:var(--omega-panel);--line:var(--omega-rail);--night-line:var(--omega-rail);--lime-line:var(--omega-rail); | |
| 534 | + --ink:var(--omega-starlight);--night-ink:var(--omega-starlight);--muted:var(--omega-ashen);--night-muted:var(--omega-ashen);--lime-ink:var(--omega-ashen); | |
| 535 | + --orange:var(--omega-silver);--orange-ink:var(--omega-silver);--lime-text:var(--omega-silver);--star-dim:var(--omega-ashen); | |
| 536 | + --accent-hover:var(--omega-champagne);--gold:var(--omega-champagne);--focus-ring:var(--omega-silver);--glow:var(--omega-halo); | |
| 537 | + --neb-violet:var(--omega-charcoal);--neb-blue:var(--omega-charcoal);--neb-rose:var(--omega-black); | |
| 538 | + --btn-orange-bg:var(--omega-btn);--btn-orange-hover:var(--omega-btn-hot);--btn-orange-press:var(--omega-panel); | |
| 539 | + --btn-dark-bg:var(--omega-btn);--btn-dark-hover:var(--omega-btn-hot);--btn-dark-press:var(--omega-panel); | |
| 540 | + --btn-lime-bg:var(--omega-btn);--btn-lime-hover:var(--omega-btn-hot);--btn-lime-press:var(--omega-panel); | |
| 541 | + background-image:none | |
| 542 | +} | |
| 543 | +html:has(.omega-sky) body::before{opacity:.62} | |
| 498 | 544 | body:not(:has(.hop-stage,.hop-brand)) :where(h1,h2){font-family:"Latin Modern Roman","Latin Modern","CMU Serif",Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:-.012em;line-height:1.08} |
| 499 | 545 | .paper-type h1,.paper-type h2{letter-spacing:0} |
| 500 | 546 | .steps h2,.steps-list h2{line-height:1.2} |
scripts/tests/check-site.sh
| @@ -107,6 +107,40 @@ passes repeat base2 | ||
| 107 | 107 | cmp "$T/base.out/manifest.sha256" "$T/base2.out/manifest.sha256" || fail 'two builds differ' |
| 108 | 108 | ok "two builds from separate copies are identical: manifest sha256 $BASEMAN" |
| 109 | 109 | |
| 110 | +# ---- task prompts share their source in the catalog, the contextual page and the raw route | |
| 111 | +PROMPTS=/agents/prompts | |
| 112 | +grep -Fq "https://interplane.io$PROMPTS.txt" "$T/base.out/llms.txt" || fail 'agent guide omits prompt discovery' | |
| 113 | +cmp "$ROOT/content$PROMPTS.txt" "$T/base.out$PROMPTS.txt" || fail 'prompt index differs from source' | |
| 114 | +for entry in find-project:yard clone-project:forge verify-evidence:evidence prepare-contribution:contribute try-omega:omega write-omega:omega/write; do | |
| 115 | + slug=${entry%:*} | |
| 116 | + route=$PROMPTS/$slug.txt | |
| 117 | + cmp "$ROOT/content$route" "$T/base.out$route" || fail "$slug plain text differs from source" | |
| 118 | + for page in agents "${entry#*:}"; do | |
| 119 | + card=$(sed -n "/id=\"prompt-$slug\"/,/<\/details>/p" "$T/base.out/$page/index.html") | |
| 120 | + printf '%s\n' "$card" | grep -Fxq "<pre translate=\"no\" class=\"wrap\"><code>$(cat "$T/base.out$route")</code></pre>" || fail "$slug on /$page/ differs from plain text" | |
| 121 | + printf '%s\n' "$card" | grep -Fq "href=\"$route\"" || fail "$slug on /$page/ links to the wrong prompt" | |
| 122 | + done | |
| 123 | + grep -Fq "https://interplane.io$route" "$T/base.out$PROMPTS.txt" || fail "$slug missing from prompt index" | |
| 124 | +done | |
| 125 | +ok 'agent prompt index and raw text agree with the catalog and contextual pages' | |
| 126 | +tree c; printf '%s\n' 'Try {{title}}.' > "$T/c/content$PROMPTS/find-project.txt" | |
| 127 | +refused 'agent prompt with a template directive' c 'agent prompt must be one nonempty line of plain text' | |
| 128 | +tree c; printf '%s\n' 'Try <b>this</b>.' > "$T/c/content$PROMPTS/find-project.txt" | |
| 129 | +refused 'agent prompt with markup' c 'agent prompt must be one nonempty line of plain text' | |
| 130 | +tree c; printf '%s' 'Find a project.' > "$T/c/content$PROMPTS/find-project.txt" | |
| 131 | +refused 'agent prompt without a final line feed' c 'agent prompt must be one nonempty line of plain text' | |
| 132 | +tree c; printf '%s\n' 'Find a project.' 'Return its address.' > "$T/c/content$PROMPTS/find-project.txt" | |
| 133 | +refused 'agent prompt with a second line' c 'agent prompt must be one nonempty line of plain text' | |
| 134 | + | |
| 135 | +# The lesson's displayed source must agree with the locally downloadable example. | |
| 136 | +O=$T/base.out/omega | |
| 137 | +cmp "$ROOT/content/omega/tools.txt" "$O/tools.txt" || fail 'Omega tool index differs from source' | |
| 138 | +grep -Fq 'https://interplane.io/omega/tools.txt' "$T/base.out/llms.txt" || fail 'agent guide omits the Omega tool index' | |
| 139 | +sed -n '/id="sum-source"/,/<\/code>/p' "$O/write/index.html" | | |
| 140 | + sed -e '1s/^.*id="sum-source">//' -e '$s/<\/code><\/pre>.*$//' > "$T/omega-displayed.om" | |
| 141 | +cmp "$T/omega-displayed.om" "$O/examples/sum.om" || fail 'Omega lesson and download differ' | |
| 142 | +ok 'Omega tool discovery and lesson source agree with the built downloads' | |
| 143 | + | |
| 110 | 144 | # ---- the papers page, from content/papers.snapshot only |
| 111 | 145 | P=$T/base.out/papers |
| 112 | 146 | SN=$ROOT/content/papers.snapshot |
| @@ -484,6 +518,147 @@ tree c; rm "$T/c/content/mission/index.html"; ln -s /dev/null "$T/c/content/miss | ||
| 484 | 518 | tree c; mkdir "$T/c.out"; build c; [ "$RC" -eq 1 ] && grep -q 'must be new' "$T/c.err" || fail 'existing output directory accepted'; rmdir "$T/c.out"; ok 'existing output directory refused, exit 1' |
| 485 | 519 | RC=0; (cd "$T/base" && "$BIN" build only-one > /dev/null 2>&1) || RC=$?; [ "$RC" -eq 2 ] || fail "usage error gave $RC"; ok 'wrong arguments give usage, exit 2' |
| 486 | 520 | |
| 521 | +# ---- Omega downloads | |
| 522 | +OMEGA_ARCHIVE=omega-compiler-3086ed3ca106-linux-aarch64.tar.gz | |
| 523 | +OMEGA_INSTALL=install-omega-3086ed3ca106.sh | |
| 524 | +OMEGA_SUMS=omega-3086ed3ca106.sha256 | |
| 525 | +for f in "$OMEGA_ARCHIVE" "$OMEGA_INSTALL" "$OMEGA_SUMS"; do | |
| 526 | + cmp "$ROOT/public/omega-downloads/$f" "$T/base.out/omega/downloads/$f" || | |
| 527 | + fail "Omega download was changed by the builder: $f" | |
| 528 | + grep -Fq "href=\"/omega/downloads/$f\" download" "$T/base.out/omega/index.html" || | |
| 529 | + fail "the Omega downloads section does not offer $f" | |
| 530 | +done | |
| 531 | +(cd "$T/base.out/omega/downloads" && sha256sum -c --quiet "$OMEGA_SUMS") || | |
| 532 | + fail 'the public Omega download checksums do not match the package and installer' | |
| 533 | +gzip -t "$T/base.out/omega/downloads/$OMEGA_ARCHIVE" || fail 'the Omega archive is not valid gzip' | |
| 534 | +OMEGA_COMMIT=$(tar -xOzf "$T/base.out/omega/downloads/$OMEGA_ARCHIVE" README.txt | sed -n 's/^Source commit: //p') | |
| 535 | +[ "${#OMEGA_COMMIT}" -eq 40 ] || fail 'Omega archive does not name its exact source revision' | |
| 536 | +grep -Fq ">$OMEGA_COMMIT</code>" "$T/base.out/omega/index.html" || | |
| 537 | + fail 'Omega page and archive name different source revisions' | |
| 538 | +if [ -d "$OMEGA_GIT" ]; then | |
| 539 | + git -C "$OMEGA_GIT" show "$OMEGA_COMMIT:seed/out/omc" > "$T/omega-upstream" || | |
| 540 | + fail 'could not read the compiler from the named Omega revision' | |
| 541 | + tar -xOzf "$T/base.out/omega/downloads/$OMEGA_ARCHIVE" omc > "$T/omega-packed" | |
| 542 | + cmp "$T/omega-upstream" "$T/omega-packed" || fail 'the archive compiler differs from the named Omega revision' | |
| 543 | + ok "Omega archive executable and page source revision match upstream ($OMEGA_COMMIT)" | |
| 544 | +else | |
| 545 | + printf 'NOT_RUN Omega upstream archive comparison: no repository at %s\n' "$OMEGA_GIT" | |
| 546 | +fi | |
| 547 | +grep -Fq 'compiler preview and installer for 64-bit Arm Linux: https://interplane.io/omega/' "$T/base.out/llms.txt" || | |
| 548 | + fail 'the Interplane text guide does not list the Omega downloads' | |
| 549 | +DOWNLOADS="$T/base.out/omega/downloads" | |
| 550 | +OMEGA_HOME="$T/install omega" | |
| 551 | +mkdir "$OMEGA_HOME" | |
| 552 | +if HOME="$OMEGA_HOME" sh "$DOWNLOADS/$OMEGA_INSTALL" "$T/base.out/llms.txt" > "$T/omega-bad.log" 2>&1; then | |
| 553 | + fail 'the Omega installer accepted an archive with a wrong hash' | |
| 554 | +fi | |
| 555 | +grep -Fq 'archive SHA-256 mismatch' "$T/omega-bad.log" && | |
| 556 | + [ ! -e "$OMEGA_HOME/.local/bin/omc" ] || fail 'the Omega installer wrote a compiler before checking' | |
| 557 | +HOME="$OMEGA_HOME" sh "$DOWNLOADS/$OMEGA_INSTALL" "$DOWNLOADS/$OMEGA_ARCHIVE" || | |
| 558 | + fail 'the Omega installer refused the archive offered by the site' | |
| 559 | +printf 'fn main to int\nret 7\nend\n' > "$T/omega-seven.om" | |
| 560 | +"$OMEGA_HOME/.local/bin/omc" < "$T/omega-seven.om" > "$T/omega-seven" || fail 'installed Omega did not compile' | |
| 561 | +chmod +x "$T/omega-seven" | |
| 562 | +OMEGA_RC=0 | |
| 563 | +"$T/omega-seven" || OMEGA_RC=$? | |
| 564 | +[ "$OMEGA_RC" -eq 7 ] || fail "installed Omega example exited $OMEGA_RC" | |
| 565 | +printf 'previous omc\n' > "$OMEGA_HOME/.local/bin/omc" | |
| 566 | +if HOME="$OMEGA_HOME" sh "$DOWNLOADS/$OMEGA_INSTALL" "$DOWNLOADS/$OMEGA_ARCHIVE" > "$T/omega-existing.log" 2>&1; then | |
| 567 | + fail 'the Omega installer accepted an occupied destination' | |
| 568 | +fi | |
| 569 | +[ "$(cat "$OMEGA_HOME/.local/bin/omc")" = 'previous omc' ] || fail 'the Omega installer replaced existing omc' | |
| 570 | +ok 'Omega download links verify; the installer compiles the example and rejects a bad archive and an occupied destination' | |
| 571 | +tar -xOzf "$DOWNLOADS/$OMEGA_ARCHIVE" omc > "$T/lesson-omc" | |
| 572 | +chmod +x "$T/lesson-omc" | |
| 573 | +"$T/lesson-omc" < "$O/examples/sum.om" > "$T/lesson-sum" || fail 'Omega lesson did not compile' | |
| 574 | +chmod +x "$T/lesson-sum" | |
| 575 | +LESSON_RC=0 | |
| 576 | +"$T/lesson-sum" || LESSON_RC=$? | |
| 577 | +[ "$LESSON_RC" -eq 6 ] || fail "Omega lesson exited $LESSON_RC" | |
| 578 | +sed 's/ret total/ret true/' "$O/examples/sum.om" > "$T/lesson-bad.om" | |
| 579 | +LESSON_RC=0 | |
| 580 | +"$T/lesson-omc" < "$T/lesson-bad.om" > "$T/lesson-bad" 2> "$T/lesson-bad.log" || LESSON_RC=$? | |
| 581 | +[ "$LESSON_RC" -eq 7 ] && [ ! -s "$T/lesson-bad" ] && grep -Fxq 'omc: line 6: error 7' "$T/lesson-bad.log" || fail 'Omega lesson did not refuse the wrong return type' | |
| 582 | +ok 'Omega lesson exits 6 and its wrong return type is refused at line 6, error 7' | |
| 583 | +for byte in 0 1; do | |
| 584 | + tree c | |
| 585 | + printf '\000' | dd of="$T/c/public/omega-downloads/$OMEGA_ARCHIVE" bs=1 seek="$byte" conv=notrunc status=none | |
| 586 | + refused "gzip route with only magic byte $byte changed" c 'a gzip route must start with a gzip header' | |
| 587 | +done | |
| 588 | +tree c | |
| 589 | +printf '\000' | dd of="$T/c/public/omega-downloads/$OMEGA_ARCHIVE" bs=1 seek=2 conv=notrunc status=none | |
| 590 | +refused 'gzip route with gzip magic bytes and a non-deflate method' c 'a gzip route must start with a gzip header' | |
| 591 | +rm -rf "$T/omega-tamper.out" | |
| 592 | +cp -R "$T/base.out" "$T/omega-tamper.out" | |
| 593 | +head -c 3 "$ROOT/public/omega-downloads/$OMEGA_ARCHIVE" > "$T/omega-tamper.out/omega/downloads/$OMEGA_ARCHIVE" | |
| 594 | +redigest "$T/omega-tamper.out" "omega/downloads/$OMEGA_ARCHIVE" | |
| 595 | +vrefused 'an output archive with a short header and a recomputed manifest digest' base omega-tamper.out base.hop 'a gzip route must start with a gzip header' | |
| 596 | +tree c | |
| 597 | +head -c 3 "$ROOT/public/omega-downloads/$OMEGA_ARCHIVE" > "$T/c/public/omega-downloads/$OMEGA_ARCHIVE" | |
| 598 | +refused 'gzip route shorter than the minimum stream size' c 'a gzip route must start with a gzip header' | |
| 599 | +tree c | |
| 600 | +head -c 100 "$ROOT/public/omega-downloads/$OMEGA_ARCHIVE" > "$T/c/public/omega-downloads/$OMEGA_ARCHIVE" | |
| 601 | +refused 'truncated archive with its gzip header intact' c 'Omega downloads must match' | |
| 602 | +tree c | |
| 603 | +printf '# added line\n' >> "$T/c/public/omega-downloads/$OMEGA_INSTALL" | |
| 604 | +refused 'installer whose bytes differ from the checksum' c 'Omega downloads must match' | |
| 605 | +tree c | |
| 606 | +sub "$T/c/public/omega-downloads/$OMEGA_SUMS" '1s/^./0/' | |
| 607 | +refused 'checksum file whose bytes differ from the release pin' c 'Omega downloads must match' | |
| 608 | +vrefused 'a source tree with a changed Omega checksum file' c base.out base.hop 'Omega downloads must match' | |
| 609 | + | |
| 610 | +gzsub() { tree c; sub "$T/c/content/routes.txt" "$1"; } | |
| 611 | +gzsub 's|^gzip main /omega/downloads/|gzip main /public/|' | |
| 612 | +refused 'gzip route outside /omega/downloads/' c 'malformed line' | |
| 613 | +gzsub 's|^gzip main |gzip hopbot |' | |
| 614 | +refused 'gzip route on hopbot.org' c 'malformed line' | |
| 615 | +gzsub '/^gzip main /s/$/ hop/' | |
| 616 | +refused 'gzip route with an optional-data word' c 'malformed line' | |
| 617 | +gzsub 's|^gzip main /omega/downloads/|gzip main /omega/downloads/sub/|' | |
| 618 | +refused 'gzip route in a download subdirectory' c 'malformed line' | |
| 619 | +gzsub 's|^gzip main /omega/downloads/|gzip main /omega/downloads/.|' | |
| 620 | +refused 'gzip route whose filename starts with a dot' c 'malformed line' | |
| 621 | +gzsub '/^gzip main /s/\.tar\.gz /\.tgz /' | |
| 622 | +refused 'gzip route without a .tar.gz suffix' c 'malformed line' | |
| 623 | +gzsub '/^raw main .*install-omega-.*\.sh /d' | |
| 624 | +refused 'missing installer route' c 'Omega downloads must match' | |
| 625 | + | |
| 626 | +gzsub 's|^gzip main /omega/downloads/|raw main /omega/downloads/|' | |
| 627 | +refused 'archive route declared as raw instead of gzip' c 'Omega downloads must match' | |
| 628 | +gzsub '/^raw main .*install-omega-.*\.sh /s/$/ hop/' | |
| 629 | +refused 'installer route with an optional-data word' c 'Omega downloads must match' | |
| 630 | +grep -Fq 'in: content/routes.txt' "$T/c.err" || fail 'installer route error does not name the route registry' | |
| 631 | +gzsub '/^raw main .*install-omega-.*\.sh /s/^raw main /raw hopbot /' | |
| 632 | +refused 'installer route on hopbot instead of interplane' c 'Omega downloads must match' | |
| 633 | +tree c | |
| 634 | +printf 'extra\n' | gzip -n > "$T/c/public/omega-downloads/extra.tar.gz" | |
| 635 | +printf '%s\n' 'gzip main /omega/downloads/extra.tar.gz public/omega-downloads/extra.tar.gz' >> "$T/c/content/routes.txt" | |
| 636 | +refused 'valid gzip route outside the pinned download set' c 'must contain only the three pinned release routes' | |
| 637 | +tree c | |
| 638 | +printf 'extra\n' > "$T/c/public/omega-downloads/extra.txt" | |
| 639 | +printf '%s\n' 'raw main /omega/downloads/extra.txt public/omega-downloads/extra.txt' >> "$T/c/content/routes.txt" | |
| 640 | +refused 'ordinary file route outside the pinned download set' c 'must contain only the three pinned release routes' | |
| 641 | + | |
| 642 | +# Published HTML and guide assertions belong to the builder, so verify also | |
| 643 | +# refuses a source change even if the existing output manifest itself is valid. | |
| 644 | +tree c | |
| 645 | +sub "$T/c/content/omega/index.html" 's/{{omega.commit}}/0000000000000000000000000000000000000000/' | |
| 646 | +refused 'Omega page with a different compiler revision' c 'Omega download page must name' | |
| 647 | +vrefused 'a source page with a different compiler revision' c base.out base.hop 'Omega download page must name' | |
| 648 | +tree c | |
| 649 | +sub "$T/c/content/omega/index.html" '/<h2 id="downloads">/d' | |
| 650 | +refused 'Omega page missing its download section heading' c 'Omega download page must name' | |
| 651 | +for key in archive installer checksums; do | |
| 652 | + tree c | |
| 653 | + quote='"' | |
| 654 | + sub "$T/c/content/omega/index.html" "s|/omega/downloads/{{omega.$key}}$quote download|/omega/downloads/{{omega.$key}}$quote|" | |
| 655 | + refused "Omega page missing the $key download action" c 'Omega download page must name' | |
| 656 | +done | |
| 657 | +tree c | |
| 658 | +sub "$T/c/content/llms.txt" '/^- Omega programming language,/s/ compiler preview and installer for 64-bit Arm Linux/ compiler downloads not yet available/' | |
| 659 | +refused 'stale Omega download availability in llms.txt' c 'llms.txt must list the Omega compiler' | |
| 660 | +vrefused 'a source guide with stale Omega download availability' c base.out base.hop 'llms.txt must list the Omega compiler' | |
| 661 | + | |
| 487 | 662 | # ---- papers: the snapshot, the source links, fonts and data routes |
| 488 | 663 | psub() { tree c; sub "$T/c/content/papers.snapshot" "$1"; } |
| 489 | 664 | psub 's|^record 10.5281/zenodo.24047504$|record 10.5281/zenodo.2404750x|'; refused 'record DOI with a letter in the number' c 'a DOI must be 10.5281/zenodo. followed by digits' |