0x0LearnReferenceLibrariesMigration0x0.jmp0x1b.com

Index And Kukulkan Real Production Rewrite Roadmap

This roadmap is the implementation plan for rewriting Index and Kukulkan as

real production 0x0 applications.

It starts after the repository-level replacement foundation is present. The

existing docs/index-kukulkan-production-roadmap.html created workspace,

runtime-boundary, release, cutover, and safety scaffolding. This roadmap is

stricter: a milestone is not complete because a surface exists, a schema exists,

a fixed fixture passes, or a host script simulates behavior. Completion requires

production behavior exercised by production-shaped gates.

Non-Negotiable Scope

In scope:

the 0x0 app build path;

error behavior;

and deployment behavior with production implementations plus isolated test

adapters;

runner;

Out of scope:

build and smoke gates;

Disallowed Done Signals

These are useful during bring-up, but they do not complete a milestone:

Test fakes are allowed only when a matching production adapter exists and the

fake is clearly scoped to deterministic tests.

Session Safety Rules

The default rewrite path must not repeat known session-breaking behavior.

cleanup.

opt-in until resource budgets are recorded.

joining a parent gate.

Production Definition

Index is production-ready only when:

compatibility pack, and artifact-inspection behavior are implemented rather

than simulated;

Kukulkan is production-ready only when:

idempotency, database workflows, background jobs, object store, search, email,

observability, backup, restore, and deployment paths are executable;

deploy gates are available with documented resource modes;

Milestone 0: Production Gap Inventory

Status: done.

Goal: replace "we have a surface" with an exact list of behavior that still has

to become production implementation.

Required work:

- production implementation;

- partial implementation;

- constructor-only scaffold;

- obsolete scaffold to delete;

.0x0;

milestone.

Artifacts:

Exit gate:


make apps-real-rewrite-gap-check

Completion rule: the gate must fail if any constructor-only scaffold is listed

as production-ready.

Milestone 1: Production 0x0 App Build Path

Status: done.

Goal: make production app artifacts come from the 0x0 build path, not Python

probes or checker-side behavior.

Required work:

- compiled native executable when supported;

- or a supported 0x0 runtime launcher with app bytecode/source package;

Artifacts:

Exit gate:


make apps-production-build-check

Completion rule: the gate must fail if production app behavior depends on a

Python release shim.

Milestone 2: Runtime Capability Implementations

Status: done.

Goal: replace capability declarations with production runtime implementations

that app code can actually call.

Submilestones:

2.1 Local Runtime

Required behavior:

process cleanup;

failures.

Exit gate:


make runtime-local-production-check

2.2 Network And Browser Runtime

Required behavior:

and stable failure diagnostics;

artifact metadata, timeout, and redaction;

Exit gate:


make runtime-network-browser-production-check

2.3 Server And Live Runtime

Required behavior:

behavior.

Exit gate:


make runtime-server-live-production-check

2.4 Service Runtime

Required behavior:

Exit gate:


make runtime-service-production-check

Parent gate:


make runtime-production-capabilities-check

Completion rule: each production adapter must have at least one deterministic

test adapter and one production-shaped smoke path.

Milestone 3: Accepted Test Corpus Migration

Status: done.

Goal: migrate behavior tests from the source applications into this repo so the

rewrite is judged by real behavior, not handpicked examples.

Required work:

adapter, and browser snapshot tests;

events, compliance, geospatial, service stack, orchestration, API runtime, and

UI runtime;

dependencies, and timeout behavior.

Artifacts:

Exit gate:


make apps-accepted-corpus-check

Completion rule: a behavior is not accepted unless a migrated test executes

against the production app path.

Milestone 4: Index Core Rewrite

Status: done.

Goal: implement Index's pure application logic in .0x0.

Required behavior:

sections, actions, and diagnostics;

Artifacts:

Exit gate:


make index-core-production-check

Completion rule: the gate must run app code, not reimplement parsing in Python.

Milestone 5: Index State, Capture, And Local Effects Rewrite

Status: done.

Goal: implement Index behavior that touches local state and local artifacts.

Required behavior:

Artifacts:

Exit gate:


make index-local-effects-production-check

Completion rule: the gate must create and validate real files in a temporary

state directory and leave no untracked runtime state.

Milestone 6: Index Network, Browser, Auth, And Compatibility Rewrite

Status: done.

Goal: implement Index features that interact with network and browser-facing

workflows.

Required behavior:

Artifacts:

packs, adapters, IDX, and benchmark behavior;

Exit gate:


make index-network-production-check

Completion rule: no external network is required by default, but the code path

must use the same runtime interface that production uses.

Milestone 7: Index Production Release

Status: done.

Goal: make Index installable and supportable as a real production CLI.

Required behavior:

hashes, and rollback metadata;

Artifacts:

Exit gate:


make index-production-release-check

Parent gate:


make index-real-production-check

Completion rule: Index is complete only when the release artifact passes the

accepted CLI corpus from a clean checkout.

Milestone 8: Kukulkan Shared Package Rewrite

Status: done.

Goal: implement the shared Kukulkan packages as real app logic.

Required behavior:

normalization;

deduplication;

Artifacts:

- jmp0x1b_kukulkan_api_contract/src/lib.0x0;

- jmp0x1b_kukulkan_client/src/lib.0x0;

- jmp0x1b_kukulkan_events/src/lib.0x0;

Exit gate:


make kukulkan-shared-packages-production-check

Completion rule: tagged constructors are insufficient; validation and

serialization behavior must run.

Milestone 9: Kukulkan Compliance Domain Rewrite

Status: done.

Goal: implement supplier compliance behavior as production domain logic.

Required behavior:

evidence.

Artifacts:

Exit gate:


make kukulkan-compliance-production-check

Completion rule: every state transition must be tested with accepted valid and

invalid inputs.

Milestone 10: Kukulkan Geospatial Domain Rewrite

Status: done.

Goal: implement geospatial behavior as production domain logic.

Required behavior:

Artifacts:

Exit gate:


make kukulkan-geospatial-production-check

Completion rule: no provider network call is required by default, but provider

adapter boundaries must be the production boundaries.

Milestone 11: Kukulkan Service And SaaS Rewrite

Status: done.

Goal: implement service orchestration and tenant/workspace behavior.

Required behavior:

Artifacts:

Exit gate:


make kukulkan-service-saas-production-check

Completion rule: tenant isolation and authorization failures must be tested

before this milestone can pass.

Milestone 12: Kukulkan API Production Runtime

Status: done.

Goal: replace the API runtime probe with a production API process.

Required behavior:

geospatial, dashboard, history, and admin surfaces;

idempotency policy;

Artifacts:

Exit gate:


make kukulkan-api-production-check

Completion rule: fixed JSON responses are insufficient; routes must execute the

domain, auth, and persistence code paths.

Milestone 13: Kukulkan UI And Live Runtime

Status: done.

Goal: replace the UI runtime probe with a production UI process.

Required behavior:

reconnect, and malformed WebSocket rejection;

Artifacts:

Exit gate:


make kukulkan-ui-production-check

Completion rule: static strings do not pass unless they are rendered through the

production template and runtime path.

Milestone 14: Kukulkan Production Integrations

Status: done.

Goal: make external integrations real and operable.

Required behavior:

managed services;

Artifacts:

Exit gate:


make kukulkan-integrations-production-check

Completion rule: every fake adapter must have a production adapter and a smoke

gate, even if the production gate remains opt-in by default.

Milestone 15: Kukulkan Deployment Productionization

Status: done.

Goal: make Kukulkan deployable through production artifacts, not static plans.

Required behavior:

Secret references, readiness probes, and liveness probes;

Artifacts:

Exit gate:


make kukulkan-deployment-production-check

Completion rule: a static YAML file is insufficient; build/render/smoke gates

must prove the artifact path.

Milestone 16: Security, Reliability, And Performance Hardening

Status: done.

Goal: prove the rewritten apps can survive production failure modes.

Required behavior:

Artifacts:

Exit gate:


make apps-security-reliability-production-check

Completion rule: all high-severity findings must be fixed or explicitly

accepted with mitigation before release.

Milestone 17: Final Production Cutover

Status: done.

Goal: make the real rewrite the only normal path.

Required behavior:

browser, accessibility, load, and security gates;

fixtures, report hashes, image hashes, deployment artifacts, and rollback

metadata;

dependency profile, and incident drill sections;

Artifacts:

Exit gate:


make apps-real-production-rewrite-check

Completion rule: the repository must be able to prove production readiness from

a clean checkout using only documented gates and documented opt-in heavy gates.

Recommended Execution Order

1. Milestone 0: expose every scaffold and fake that must disappear.

2. Milestones 1-3: make the build path, runtime capabilities, and accepted

corpus real enough to judge implementation work.

3. Milestones 4-7: finish Index end to end.

4. Milestones 8-11: finish Kukulkan package and domain logic.

5. Milestones 12-15: finish Kukulkan runtime, integrations, and deployment.

6. Milestone 16: harden security, reliability, and performance.

7. Milestone 17: cut over only after all production gates pass.

Completion Signal

The rewrite is complete when:

mentioned only as archived parity evidence.