Skip to content

[codex] Native runtime routes and viewer recovery#37

Merged
ActiveInAI merged 8 commits into
mainfrom
codex/local-runtime-followup-20260516
May 16, 2026
Merged

[codex] Native runtime routes and viewer recovery#37
ActiveInAI merged 8 commits into
mainfrom
codex/local-runtime-followup-20260516

Conversation

@ActiveInAI

@ActiveInAI ActiveInAI commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a backend file_runtime_registry that maps the requested DXF/DWG/RVT/STEL/STL/IGES/IFC/SKP/3DM/USD/glTF/OBJ/FBX/Office/media/image/PDF formats to explicit operations, adapters, standards, and fail-closed production routes.
  • Routes conversion jobs by real source filename so proprietary/vendor BIM formats go to licensed_bim_adapter, open CAD goes to OCCT/DXF paths, mesh/scene formats go to Blender, and IFC remains the openBIM semantic source path.
  • Adds the worker-side licensed_bim_adapter boundary, requiring real source bindings and real returned artifacts/object references instead of placeholder success.
  • Restores engineering viewer behavior for blocked native formats by showing source-file lightweight signatures and registry route data instead of blank/unsupported pages, and fixes DXF redraw on container resize.
  • Extends browser viewing for FBX/Collada and keeps USD/RVT/SKP/3DM routed through source/lightweight or derivative paths instead of fake redraw.
  • Fixes production PostgreSQL module seeding idempotency so existing module rows do not block gateway startup.
  • Updates OpenAPI and docs to expose runtime routes, Open CDE/CDE capability surface, and the native/lightweight/IFC-first policy.

Validation

  • git diff --check
  • cargo clippy --manifest-path 04-backend/Cargo.toml --all-targets --all-features -- -D warnings
  • cargo test --manifest-path 04-backend/Cargo.toml -p architoken-harness-core file_runtime_registry
  • cargo test --manifest-path 04-backend/Cargo.toml -p architoken-harness-core capabilities_include_cde_generation_and_file_surface
  • cargo test --manifest-path 04-backend/Cargo.toml -p architoken-harness-core --bin architoken-gateway
  • cargo test --manifest-path 04-backend/Cargo.toml -p architoken-harness-core
  • cargo test --manifest-path 04-backend/Cargo.toml
  • uv run pytest in 06-workers (43 passed)
  • bun run typecheck
  • bun run test (44 passed)
  • bun run lint
  • bun run build
  • 04-backend/scripts/smoke-production-local.sh passed end-to-end, including durable Postgres, asset, conversion, openBIM, documents, GIS, and CAD smoke checks.

CI

  • GitHub Actions CI run #133 passed for head 064e52f.

…time-contract

# Conflicts:
#	03-frontend/components/FileContextMenu.tsx
#	03-frontend/components/FilePreviewDrawer.tsx
#	03-frontend/components/ModuleFileExplorer.tsx
#	03-frontend/components/ModuleWorkbenchShell.tsx
#	03-frontend/components/OfficeDocumentViewer.tsx
#	03-frontend/components/OpenEngineeringViewer.tsx
#	03-frontend/components/UniversalFileViewer.tsx
#	04-backend/agent-orchestrator/src/architoken_agent/inference.py
#	06-workers/architoken_workers/ifcdb_agent_worker.py
#	06-workers/tests/test_ifcdb_agent_worker.py
#	README.md
@ActiveInAI ActiveInAI marked this pull request as ready for review May 16, 2026 12:35
@ActiveInAI ActiveInAI changed the title [codex] Publish local runtime viewer follow-up [codex] Native runtime routes and viewer recovery May 16, 2026
@ActiveInAI ActiveInAI force-pushed the codex/local-runtime-followup-20260516 branch from f302046 to 064e52f Compare May 16, 2026 13:58
@ActiveInAI ActiveInAI merged commit f023e4d into main May 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant