0x0LearnReferenceLibrariesMigration0x0.jmp0x1b.com

Documentation Standard

0x0 documentation is part of the implementation discipline. A behavior is not

finished when it merely works once; it must be findable, explainable, and guarded

by the same self-host checks as the code.

Documentation Map

and release report rules.

rules.

and Kukulkan with production 0x0 applications.

rewrite plan that rejects constructor-only, demo, fixed-response, and draft

completion signals.

library registry, and jmp0x1b/lang obsolescence migration plan for making

0x0 the current public language surface.

docs/public-site-map.html, docs/safe-public-docs-gates.html, and

docs/static-sites-remote-inventory.html: Milestone 0 inventory, route,

safety, and read-only remote-site baseline for public documentation migration.

Start, Learn, Build, Reference, Cookbook, Tasks, Libraries, Migration,

Release, and Embedded Status entry points.

for implemented language, package, runtime, app, release, and migration

behavior.

docs/package-system.html, docs/api-cross-reference.html,

docs/capabilities.html, and docs/migration-policy.html: public reference

layer for implemented syntax, language, package, API, capability, runtime, and

migration behavior.

docs/safe-commands.html, docs/standalone-libraries.html,

docs/contributing.html, and docs/ai-contributing.html: public best-practice,

lint, safe-command, standalone library, and contribution guidance.

docs/public-recipe-map.html, and tools/public-cookbook-check.sh: public

recipe inventory, cookbook, and task-oriented validation for current examples,

libraries, runtime boundaries, and app docs.

libs/smoke-evidence.tsv, site/libs/, and

docs/libs-registry-inventory.html: generated static registry metadata and

pages for 0x0 libraries.

docs/jmp0x1b-to-0x0-command-map.html,

docs/jmp0x1b-to-0x0-syntax-migration.html,

docs/jmp0x1b-to-0x0-package-migration.html,

docs/feature-support-matrix.html, and

docs/public-domain-migration-plan.html: top-level migration and obsolescence

references for replacing jmp0x1b/lang and updating public domains.

tools/public-site-build.sh: static site styling and local build contract for

the public documentation portal.

apps/real-rewrite-target-map.tsv: strict production rewrite gap inventory

for constructor-only app source, Python release shims, checker-owned behavior,

fake adapters, and fixed-response paths.

apps/index/release/production-manifest.tsv, and

apps/kukulkan/release/production-manifest.tsv: deterministic 0x0

source-package build path that excludes checker code and Python release shims

from production app artifacts.

runtime/production-capabilities.tsv, runtime/production-host.0x0, and

tools/production-host-runtime.py: production host runtime boundary for

local effects, HTTP/browser capture, server/Live behavior, and service

adapters used by the real app rewrite.

apps/intentional-behavior-differences.html, and

apps/*/tests/accepted-corpus.0x0: executable migrated app corpus tests that

import app source through the production source-package path.

dependency matrices.

package/test discovery metadata for the Index and Kukulkan replacement work.

and runtime-boundary conventions for the Index and Kukulkan app ports.

apps/parity-runner.tsv: generated porting harness artifacts used by

make source-rewrite-foundation-check.

process hygiene gates for long-running app replacement work.

make apps-runtime-hygiene-check.

abi/runtime-calls.tsv: host runtime capability taxonomy and ABI call matrix

for app runtime boundaries.

deterministic fake 0x0-facing app host runtime contracts.

runtime/local-effects.0x0, and runtime/local-effects-fake.0x0: local

filesystem, CLI/environment, and subprocess runtime contracts.

runtime/fetch-browser.0x0, and runtime/fetch-browser-fake.0x0: HTTP

client, browser snapshot, and capture redaction runtime contracts.

and runtime/web-runtime-fake.0x0: HTTP server, router, WebSocket, and

LiveView-compatible runtime contracts.

runtime/service-boundary.0x0, and runtime/service-boundary-fake.0x0:

database, auth/OIDC, service adapter, backup/restore, and job runtime

contracts.

apps/index/src/*.0x0: pure Index document, extraction, rendering, and

policy-tool source surfaces.

apps/index/release/manifest.tsv: Index CLI runtime entrypoint and package

release metadata.

apps/kukulkan/packages/*/src/lib.0x0: pure Kukulkan package surfaces for API

contracts, client requests, events, compliance, geospatial, service-stack, and

SaaS orchestration domains.

apps/kukulkan/packages/kukulkan_api_runtime/src/lib.0x0, and

apps/kukulkan/packages/kukulkan_api_runtime/release/bin/kukulkan-api:

Kukulkan API runtime boundary, loopback API process, and runtime probes.

apps/kukulkan/packages/kukulkan_web_ui/src/lib.0x0, and

apps/kukulkan/packages/kukulkan_web_ui/release/bin/kukulkan-web: Kukulkan

UI, LiveView-compatible, browser bridge, and quality report runtime probes.

dependency profiles, image specs, Helm/Kubernetes templates, systemd units,

and remote deployment command plans.

docs/kukulkan-operator-runbook.html, apps/cutover-matrix.tsv, and

apps/release-candidate/: final Index and Kukulkan production replacement

cutover, release-candidate, acceptance, and operator runbook artifacts.

runtime primitives.

continuing the project without outside assistance.

invariants and backend/runtime boundaries.

zero-native, including the optional C and legacy object assembly paths.

generator written in 0x0.

feature it exercises and the expected observable result.

Markdown Rules

Markdown docs must describe what the repository actually implements today.

compiler guide in the same change.

exist.

0x0 Source Comment Rules

0x0 uses line comments beginning with ;.

Use this convention:


;;; File or major section comment.
;; Function group, invariant, ABI, or algorithm note.
; Local note for a line or small block.

Use source-level doc annotations for public functions in libraries and

frameworks:


(ƒ add
  (∷ (→ I64 I64 I64))
  (doc "Return the sum of two integers.")
  (a b)
  (+ a b))

The compiler skips doc annotations the same way it skips type annotations.

That makes documentation part of the language surface without changing emitted

OISA, C, or ELF behavior.

Comments should explain:

Comments should not:

Required Updates

Every compiler, backend, runtime, or language change must include at least one of

these documentation actions:

behavior.

allocation, retention, layout, emission, or measurement behavior.

grows.

Small internal cleanups may not need Markdown changes, but they still must not

make existing docs false.

Enforced Rules

The legacy broad documentation gate is:


make docs-check

That command is not a safe default for public documentation migration work until

its resource behavior is bounded. Use the public-docs milestone gates for this

roadmap:


make public-docs-milestone-0-check
make public-site-link-check

make docs-check remains part of tests/smoke.sh and the broader repository

verification path, but it must not be used as the default public docs migration

gate while it can break the user session.

The current policy enforces:

top-level doc form near the top.

inside strings and comments.

function metadata helpers, direct ELF backend, ELF ABI, and ELF serialization.

with either a preceding ;; comment or an inline (doc "...") annotation.

Regenerate API docs after changing public library functions:


make docs-api
make public-site-link-check

Regenerate the package lock after changing 0x0.pkg:


make package-lock
make package-check

Review Standard

Before committing documentation-related work:


git diff --check
make public-docs-milestone-0-check
make public-site-link-check
make package-check
make editor-check
make memory-check
make doctor
make selfhost-guard

The public docs gates are the default for public documentation migration work.

The broader self-host gates still matter for source, comments, examples,

compiler behavior, and release work, but they are not the default quick path for

site and migration documentation changes.