Skip to content

Replace Lua integration contracts and docs with mruby Code Mode - #4

Draft
ruttydm wants to merge 5 commits into
mainfrom
feat/mruby
Draft

ruttydm wants to merge 5 commits into
mainfrom
feat/mruby

Conversation

@ruttydm

@ruttydm ruttydm commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Coordinated breaking mruby-only Code Mode migration for OpenCompany draft PR #8. Isolated from the application's uncommitted VFS/run-control work.

  • Replace Lua core contracts with language-neutral ScriptBridge, collision-safe catalog mappings, exact aliases, typed pre-dispatch dispositions and Ruby documentation rendering.
  • Migrate 600 repository-owned documentation pages (3,942 Ruby examples), review ambiguous operations against actual source schemas, and remove active Lua adapters/docs.
  • Regenerate the public catalog: 591 integrations and 41,493 tools. No fabricated documentation fallback.
  • Add self-contained public CI dependency setup, source-first contract tests, exhaustive catalog-map checks and real-engine compilation of documentation examples.
  • Correct case-sensitive provider service/class references exposed by Linux qualification.
  • Treat missing/custom/legacy action effects as writes and make successful write ledger entries non-retryable. Explicit read/write classifications are unchanged; 183 legacy action entries now receive conservative write handling.

Verified evidence

  • Hosted CI 34243098751 is green at d8666a50966d51d8420d9908c5e7c1beca3dfdfd, the source pinned by the coordinated app and Docker workflows.
  • 3,942 examples compile with the pinned mruby engine; zero failures. Compilation is not live provider execution.
  • Contract export: 608 source packages, 41,995 tools, 224,442 published paths; no overwrites or missing mappings. Public counts exclude hidden/legacy aliases by design.
  • Focused core/catalog suites pass. Provider metadata migration batches passed 1,013 tests / 11,913 assertions; overlapping reruns are not summed.
  • No credentials or live provider/API calls were used for verification.

Coordination / remaining gates

The engine now has a separately qualified v0.1.0-rc.1 prerelease, including three-platform native archives, a minimal PHP adapter, checksums and provenance/SPDX attestations. Integration CI consumes that exact released PHP adapter and verifies the Linux AMD64 native archive before extraction. All 3,942 examples compile against the released artifacts; native source qualification remains in the engine repository.

Keep this PR draft while coordinated app release/cutover, parser-backed schema analysis, matched-model AX benchmarking, deeper native fuzz/security qualification and remaining dependency release coordination are outstanding. The app now enforces real catalog write classification, durable task-owned callback receipts and bounded host transports; that does not constitute a live deployment.

Existing QuickJS PRs are preserved, not merged or closed. Persisted user scripts are not translated or relabeled by this migration.

Signed-off-by: ruttydm <rutger.demaeyer@gmail.com>
…r loading

Signed-off-by: ruttydm <rutger.demaeyer@gmail.com>
Signed-off-by: ruttydm <rutger.demaeyer@gmail.com>
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