Repository navigation
docs(design): evaluate local-first Rust architecture and agent runtimes - #1202
Merged
Merged
Conversation
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Document a proposed local-first Rust Decepticon architecture, grounded in OSS main
1c0df395and 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
.envheld stable. An initial run failed because parallel test fixtures raced over that file; recorded rather than changed.go test -p 4 ./..., exit zero, 16 packages reportedok./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_cffiremain unqualified. Framework upstream tests were read, not run. No external benchmark was reproduced.make quality, full production builds andmake smokewere 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