A world engine controlled with Python

Omniweft

An early world engine with explicit permissions, recoverable changes and inspectable assets. Explain why content is retained and what ordinary collection would remove.

Incubating. The room capture has separate Windows GPU evidence. Asset inspection is CPU-only and adds no World authority or durable asset store. Native persistence does not make the worker host crash-durable.

Browser rendering of the retained Omniweft room geometry, with a table block and stool block between two walls.
Saved room / Browser view

Latest verified change · FP-008 / PR #30 ↗ · Merged

Explain retention before collecting assets

A read-only inspector lists retention reasons and predicts collection at an expected catalog revision. Shared bytes and distinct provenance remain separate.

Verified · FP-008 / PR #30 · 84e678f1593e

Source checked . Documentation and retained evidence review, not a new runtime test.

Read change evidence ↗

Professional relevance

Useful for designing state ownership, recovery and inspectable interfaces. These examples make failure behavior and authority explicit.

Explore the engineering background →

Inspect the latest evidence

Explain retention at one catalog revision

  1. Inspect roots. List every explicit current and history retention reason at the expected revision.
  2. Separate identity from bytes. Two provenance-distinct manifests can retain the same content-addressed blob.
  3. Predict collection. Return sorted removable manifests and blobs. A stale revision rejects without a report or mutation.
FIG 02 / Contract diagram derived from FP-008. Read-only CPU inspection; no inferred World references, durable storage or GPU result.

Inspect the pinned contract ↗

Earlier GLB import fixture
Imported geometry, XY projection · diagram from retained CPU values
Mirrored rootChild instance

1,184 source bytes. Two provenance identities share one blob; 12 rejected requests preserve the catalog and input. No renderer or World attachment is established.

OperationRevisionAssets / blobs
import11 / 1
deduplicate21 / 1
distinct-provenance32 / 1
recovery42 / 1

Download original import record · Original evidence manifest

Earlier worker recovery fixture
Retained worker fixture · CPU / seed 7
PhaseStatusWorld revision
timeouttimed_out0
cancelledcancelled0
crashedcrashed0
supersededsuperseded0
replacementcommitted1
restartedcommitted2

Recorded statuses from the public archive. Prevented proposals leave the world at revision zero.

Download retained JSON · Source and limits ↗

Explore the actual output / 3D

Step inside the saved room.

Turn the room, inspect each object and compare a rejected change with an accepted move. These are the five unit-cube prefabs from the retained workshop scene.

Browser rendering of the retained Omniweft room geometry, with a table block and stool block between two walls.Saved scene / Unit-cube geometry

Can a rejected edit leave the room unchanged?

Compare the rejected change with the initial room, then inspect the accepted move. The scene version tells you which edit took effect.

  • Five objects from saved engine states
  • Three retained states to compare
  • Original native captures below

Five objects. Three retained room states.

A saved view is shown. Open 3D to inspect the evidence from another angle.

Geometry, transforms and revisions come from saved engine states. Colors and lighting distinguish the objects in this browser rendering. Original native engine captures are shown below. No new engine or AI run is implied.

In plain terms

Build a five-block room from Python, reject an out-of-bounds edit, then rearrange it within the allowed region.

Why it matters

Software tools need to know whether a requested change actually happened. Omniweft separates changes to the world from the optional graphics that display it.

Follow the example, step by step
  1. Connect locally

    A Python client starts an authenticated session with the native engine on the same computer.

  2. Submit a change

    Create or move an object. A rejected batch leaves the world unchanged.

  3. Read back the world

    Inspect the current in-memory state. If a response is uncertain, check the world before trying again.

Decision and trade-off

Validate geometry before publishing catalog state

Documented approach

Prepare the complete detached scene and source-asset bundle before one expected-revision Catalog Import command. Keep source bytes, provenance identity and World authority separate.

Alternative and scope

Publishing partial geometry while parsing could leave a mutated catalog after a late validation failure. Treating shared bytes as the whole identity would also erase distinct source and license attribution.

Cost of the choice

A deliberately narrow GLB profile rejects textures, external URIs and unsupported features. The detached scene and explicit retention roots do not automatically attach assets to the World or make the catalog durable.

What the evidence establishes

The retained CPU fixture shows distinct provenance sharing one blob, transformed mesh instances and twelve rejected requests with unchanged catalog states and original input. The website projects those saved values; it does not run the native importer or renderer.

Read the decision source (opens in a new tab)
Source-backed system map

Local control and downstream presentation

An architectural map of the room showcase: a scripted Python client submits scoped edits, the owner commits complete state, and optional Vulkan presentation captures the result. This diagram is editorial; the gallery holds actual output.

Local control and downstream presentationPYTHON CONTROL: Scripted Python client. Scoped permissions and budgets. CANONICAL WORLD: Owner-thread atomic transactions. Detached snapshots and receipts. OPTIONAL PRESENTATION: Detached room snapshots. Windows GPU evidence; Linux not_run. These are selected boundaries, not a sequential execution trace.
Selected documented boundaries, illustrated here; not a runtime screenshot or complete execution trace. Read the diagram source (opens in a new tab)
01

Explain retention before collecting assets

FP-008 returns sorted current and history retention reasons, shared-blob retainers and collection candidates at an expected Catalog revision. Stale requests reject without mutation. The CPU fixture checks predictions against ordinary collection in a private Catalog and verifies that detached-report edits preserve the original state.

Inspection adds no authority, inferred World references, durable asset store or rendering. PR #30 is merged despite historical draft wording in the example. Other adopted proposals remain separate from implemented capability.

02

Content identity is separate from provenance

PR #23 adds a bounded native catalog of opaque bytes and immutable manifests. The content hash identifies bytes; the asset identity includes source and license metadata. Identical bytes with different provenance can share one blob while retaining distinct asset identities. These fields preserve attribution but do not authenticate a license claim.

Expected-revision commands stage validation before publication. Successful commands, including no-ops, advance the catalog once; rejection preserves it. Current and history roots explicitly retain assets. They do not automatically connect to World undo, replay or persistence, and the catalog is not a durable asset store.

03

A bounded GLB importer, not a renderer

PR #24 accepts one embedded buffer and scene, indexed POSITION-only triangles, TRS nodes and a small material-factor subset. The entire input is validated before one catalog import. The returned scene is detached: changing it grants no World or catalog authority. Import does not install retention roots.

The original 1,184-byte seed-7 fixture contains two triangles and hierarchical and mirrored mesh instances. Twelve rejected requests preserve complete catalog states and input bytes. The diagram below projects the original recorded vertices through their world matrices; it is not a GPU frame.

External URLs, textures, skins, animation, matrix-authored nodes and unsupported extensions reject. Files are bounded to 64 KiB, with bounded JSON and geometry. No file or network resolution, full glTF support, remote endpoint, World attachment, cooked mesh format or renderer integration is claimed. GitHub records PR #24 as merged despite historical draft wording in the README and example.

04

A worker proposes, the parent retains authority

The opt-in supervisor keeps at most eight request statuses and one active request, with at most two bounded children while draining old output. A worker receives no session token, epoch or prepared transaction. Timeout, cancellation, crash and supersession before submission prevent mutation; late output cannot revive a terminal proposal.

Submission crosses the cancellation boundary. Once it starts, cancellation returns too_late. If delivery is uncertain, the parent retains the exact prepared transaction for an explicit retry through policy.retry.v1. The existing four-receipt, 2,000 ms retention window does not extend on replay. Expired retention requires reconciliation, never a silently replaced request key.

PR #22 applies expiry before restart supersession. Restart just before the deadline can supersede a ready proposal; at or after the deadline it remains timed_out with DEADLINE_EXPIRED. Prepared and uncertain requests retain their recovery rules. Local statuses are not persistent, and this volatile policy host is not crash-durable.

05

Keep native history separate from worker recovery

The intervening merged slices add concurrent proposals and retained retries, bounded native undo/redo, recorded nonphysics command replay and native crash-safe persistence. Native history supports limited root tag and transform edits; it is not physical rewind or a remote editor endpoint.

Native persistence is a separate opt-in store with its own recovery contract. It does not make the worker supervisor or the volatile policy.retry.v1 host durable across a host crash. The worker article keeps that distinction explicit.

06

Ask only within the permission you hold

A native query combines required tags with an optional axis-aligned region. The host supplies an immutable read grant; tags never confer authority. A grant region must contain the complete cube, while the query region uses inclusive intersection.

Results arrive in UUID order, with bounded row and byte counts. A retained snapshot replays consistently after world edits. A successful new query replaces the earlier cursor, while an expired or closed session requires resynchronization.

The gallery plots real returned bounds from the Windows CPU proof. This does not add a remote endpoint: current Python SDK and policy gateways reject the native tag and query path. Session payload limits are not a global memory bound.

07

Move a parent, keep the relationship explicit

Native objects can now carry a generation-bearing parent link and an authored local transform. Reparenting can preserve either the object's world transform or its local transform. Moving a parent updates its descendants atomically.

The retained CPU example attaches child C to parent P, reparents C under Q without moving it in the world, rejects a cycle, moves Q and detaches C. Cycles, stale handles, ambiguous parent deletion and invalid numerical transforms reject the complete transaction. Parents require positive uniform world scale.

This native capability is separate from the Python room builder. Remote SDK and policy profiles reject hierarchy before scheduling. The CPU records establish neither physical-GPU behavior nor physics support.

08

A small room makes the control loop visible

A floor, back wall, side wall, table and stool are represented by five cubes. The scripted client assembles them through the existing east policy grant, then tries a batch containing a valid table move and a forbidden stool move. The rejection preserves the complete previous world. A corrected batch moves both objects within the permitted region.

This is an offline scripted provider using the public SDK, not a language model. The five live cubes consume 1,920 of the fixture's 2,048 retained charged bytes. Those numbers are deterministic policy accounting, not measured heap usage.

09

Permissions are checked before the world changes

The opt-in policy host has two separately credentialed principals with bounded write regions and explicit whole-world read grants. The coordinator checks complete cube bounds and commits world state and retained-memory sponsorship atomically.

Admission limits cover requests and working charges. The showcase uses the existing grant without expanding its permissions or quotas. After the sequence, idle observations check that outstanding request and working-byte usage return to zero.

10

A fixed-step owner feeds optional presentation

The earlier PR-006 slice adds a dedicated 60 Hz world owner and a separate scripted provider process. It caps catch-up at four executed ticks and reports discarded whole debt. Authoring revisions, simulation ticks and presentation stamps remain distinct.

The room showcase's optional Vulkan path renders detached snapshots and retains color, object-ID and depth attachments for revisions 3 and 4. Independent pixel checks compare expected object interiors and background while excluding a narrow expected-edge band.

11

Recovery is part of the interface

A lost or malformed mutation response can leave the result unknown even when the world changed. Legacy SDK profiles raise OutcomeUnknown and require explicit resynchronization. The separate opt-in retry profile retains a prepared request for explicit receipt recovery; neither path silently retries a change.

PR #12 integrated the Windows SDK compatibility correction after credential renewal. The original control host remains available alongside the newer agents and policy fixtures.

12

What was reviewed and what was actually run

The current source was checked on 6 October 2026 through PR #24. The worker table reads the retained PR-015-RESTART CPU archive. Earlier query evidence was reviewed on 21 September 2026 at 921c167980a0c2459c40e74d8d084e84437a0ce0. GitHub records native-query PR #16 as merged on 20 September, despite candidate wording in its evidence documents. Query pages belong to runtime 3b32f812232608af0203d579a9cb89ce9f71173c. Earlier hierarchy diagrams retain runtime 9630e3bf8dd934d7b91b6f06d0e458272d5d6e1c. This refresh reads their saved records without executing the engine.

The retained room evidence belongs to runtime de3d52e8a4937a1eae59c3a41b22f791fdd00149. It reports Windows CPU and physical-GPU proofs, regression proofs and hosted Windows/Linux checks. The gallery encodes original color readback bytes as lossless PNG and verifies decoded pixels against their recorded hashes. This portfolio refresh did not rerun the native engine.

13

What is still experimental

Linux physical-GPU verification remains not_run. Physics, renderer integration for imported meshes, voxel and pixel editing, and performance targets remain future slices. Bounded native persistence and detached GLB import are separate implemented contracts. This tiny fixture is not a finished editor or game.

Native read grants and query filtering do not extend the fixed two-principal remote policy fixture. General fairness, remote queries and arbitrary agent safety remain unestablished. No released Python installation package, language-model execution or production-readiness claim is made.

Continue the engineering story
Engineering history
Source snapshot

Inspect the checked source

Evidence reviewed . Individual decisions and captured examples retain their own source revisions and limitations.

Read the checked README (opens in a new tab)

Technical footprint

Repository-described tools and interfaces, not a proficiency rating.

  • C++20
  • Python
  • SDL3 / Vulkan
  • Scoped permissions