Skip to content

docs(design): evaluate local-first Rust architecture and agent runtimes - #1202

Merged
PurpleCHOIms merged 2 commits into
mainfrom
research/rust-port-audit-20261116
Nov 16, 2026
Merged

PurpleCHOIms merged 2 commits into
mainfrom
research/rust-port-audit-20261116

Conversation

@PurpleCHOIms

@PurpleCHOIms PurpleCHOIms commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Document a proposed local-first Rust Decepticon architecture, grounded in OSS main 1c0df395 and current primary-source research. Cover native and Docker distributions, file/database ownership, durable execution, authority and sandbox boundaries, model/tool integration, migration and rollback. Compare released Rig, Goose, ADK-Rust and AutoAgents evidence, and allow a bounded custom framework if existing candidates fail the same maturity gates.

This is a documentation/research PR ready for document review. It does not implement a port, select a framework, change runtime behavior, or certify replacement parity.

Changes and intent

Requested scope: examine the OSS codebase, design a fully local-first Rust port, explain Docker continuity, research filesystem/database agent systems, and assess framework maturity with a custom Rust framework as a fallback. Preserve the ownership boundaries of ADR-0019, the current extension/session contracts and release policy. These documents propose future choices; they do not approve implementation or alter those contracts.

Anti-goal: no production source, dependency, public API, deployment, user data or version change. The Python inventory under docs/research/ is a research reproducer, not product implementation. Seven files, zero product-runtime lines, one design/research concern.

End-to-end verification statement

On the isolated worktree from fetched main, ran the inventory against the immutable Git tree twice and compared both outputs to the checked-in JSON; the outputs match. Parsed local Markdown targets, ran Markdownlint on all four guide documents (zero issues), Ruff check/format on the research script, git diff --check, and the contributor skill audit (329 documents, zero violations). Read the research/design diff and checked the material framework claims against tagged sources. No proposed runtime path exists to exercise; no live model, replacement Docker stack, actual migration or framework crash qualification is claimed.

Local baseline results

  • Selected Python boundaries: 3,139 passed, 10 skipped, 85.68 s.
  • Data/search/reporting/browser/Compose contracts: 460 passed, 1 skipped, 46.56 s, with a pre-existing empty .env held stable. An initial run failed because parallel test fixtures raced over that file; recorded rather than changed.
  • Launcher: go test -p 4 ./..., exit zero, 16 packages reported ok.
  • CLI: frozen npm install and shared streaming build succeeded. Full serial run: 294 tests / 40 files passed, 39.03 s. Initial four-worker run had a transcript-pager timing failure; isolated cases and the full serial rerun passed without source changes. The initial failure and its unresolved cause are preserved in the evidence.
  • Shared TypeScript build used /home/catow/.local/bin/with-build-slot.

Python total above is 3,599 selected passing cases and 11 skips, not a full-suite or coverage claim. Root/UID1500, Windows locking and missing sandbox-only curl_cffi remain unqualified. Framework upstream tests were read, not run. No external benchmark was reproduced. make quality, full production builds and make smoke were not performed for this documentation-only scope. GitHub Actions is unavailable under the user's account billing constraint; no CI success or protection bypass is claimed.

Review classification

  • Tier-auto: non-policy research/proposal documents and evidence; no effective runtime/security policy changes.
  • New deployment/engine choices stay proposed until their explicit qualification gates pass.

@PurpleCHOIms
PurpleCHOIms merged commit 78cae5c into main Nov 16, 2026
15 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