Status: Accepted 2026-08-04
The Aidos roadmap is ordered around proving the product thesis — offline Git work on a phone — before building anything on top of it. It runs: contracts, execution kernel, first vertical slice, offline proof, Android application, desktop, paired execution. Milestones are gated on demonstrable behaviour rather than dates.
The MVP is Phases 0 through 4, ending at gate G4. This RFC states the phases and their
rationale; docs/mvp-roadmap.md is the ordered work breakdown that
implements them, and PIPELINE.md is the tracking document an agent works from.
A roadmap here does one thing: it fixes the order in which uncertainty gets resolved.
The riskiest claim in this project is that useful AI-assisted Git work is possible offline on a mid-range phone. Everything else — the UI, the desktop build, the ecosystem — is worth building only if that holds. So the plan is arranged to test it as early as it can be tested honestly, and each phase exists to make the next one's question answerable.
That is also why the audiences are narrow. A contributor needs to know what to work on and what it depends on; a reader needs to know what is deliberately absent and why. This document is not a pitch — Aidos is EUPL-licensed and F-Droid-distributed (RFC-0050), and an earlier version of this section listed "Investors: see long-term vision and market opportunity" among its readers, which described a project this is not.
- Define phases: What are the major milestones?
- Clarify timeline: Rough estimates for each phase.
- Specify deliverables: What ships in each phase?
- Explain rationale: Why this order?
- Show long-term vision: Where is Aidos headed?
- Identify risks and dependencies: What could delay progress?
This RFC does not commit to specific dates (too uncertain for 3+ year plan).
This RFC does not specify exact feature lists (those are RFCs themselves).
This RFC does not address pricing or business model (separate document).
The primary use case is making progress on Git projects, offline, from a phone: reading and understanding code, planning, editing, reviewing, and committing. It is not running CI on a handset.
That distinction drives the whole plan. Android cannot offer a general shell, cannot spawn arbitrary interpreters, and grants only short background execution windows (RFC-0049). None of those block the use case, but all of them constrain the runtime — and constrain it in ways that make it better: a runtime that must make progress in interruptible bursts with no subprocesses is a runtime with honest checkpointing and honest resource discipline. Android is the forcing function, not the obstacle.
Two consequences for sequencing:
- The execution kernel must be checkpointed from the first commit (RFC-0009). Retrofitting durable execution onto a runtime that assumed an uninterrupted process is a rewrite. This is the single most important thing Android-first changes about the plan.
- A CLI ships before the Android UI — not because desktop matters more, but because the CLI is how the runtime gets tested against the same Runtime API the Android app will consume. It is a test harness that happens to be useful, not a competing product.
No feature work. Three artifacts, each executable or checkable rather than prose.
1. schema.sql that actually runs
Every table, index, and constraint in one file. `sqlite3 < schema.sql` in CI.
This is the cheapest architectural test available and it resolves, by forcing a
single answer, the contradictions that prose could not.
2. Kernel interfaces in KMP common, compiling, with no implementations
RuntimeClient, ToolBroker, CapabilityManager, ModelAdapter, KnowledgeContextProvider
3. Decisions recorded, not deferred
Durable execution model (RFC-0009), Git backend (RFC-0053),
scope model (RFC-0054), platform profiles (RFC-0049)
Exit criteria: schema green in CI; interfaces published; the MVP RFC set marked Accepted.
Phase 0 closed on 2026-08-03. As of 2026-08-04 schema/ executes in CI as 56 tables across
three files, runtime/kernel/ compiles in KMP common with contract tests, and 34 decisions
are recorded in docs/decisions.md with none open.
A correction worth keeping. An earlier version of this paragraph reported that forty-five RFCs
had moved to Accepted. That number was wrong when it was written: the acceptance pass had marked
them on the strength of their headers, and sampling four found body-level contradictions in three,
so eighteen were reverted the same day. The count today is 53 Accepted, 8 Draft, reached by
reading each document end to end against docs/decisions.md, schema/, and runtime/kernel/.
The lesson is recorded rather than tidied away, because a status line nobody verified is the exact
defect the audit spent a day removing. See
Accepted is not frozen; the freeze list below is unchanged and
is the stronger commitment.
Identity and scopes (RFC-0054) Capability manager with handles (RFC-0018)
State store and migrations Audit log
Settings and `aidos.toml` (RFC-0036) Execution graph tables (RFC-0019)
Event-driven wake (RFC-0004/0005) Checkpointed executor (RFC-0009)
Project lock (RFC-0055) Error taxonomy (RFC-0029)
Exit criteria: a Run of hard-coded Tasks executes, checkpoints, is killed with kill -9 at
every checkpoint boundary, and resumes correctly every time. Budget and step ceilings enforce.
Capabilities cannot be escaped by path traversal.
Proving the kernel with no model in it is deliberate. If it cannot survive eviction deterministically, no amount of AI quality matters — and every later bug will be misattributed to the model.
Agent loop (RFC-0008) One remote provider adapter
Prompt construction (RFC-0025) Filesystem tool + Git tool (JGit)
Trust and taint (RFC-0027) CLI frontend over the Runtime API
MCP: stdio on desktop, HTTP anywhere (RFC-0031)
MCP is here rather than in a later ecosystem phase because it is the first real test of whether the tool abstraction can absorb tools the runtime did not write. Finding out now is cheap; finding out after every built-in tool has been written against the assumption is not.
Exit criteria: create project → task → model → tool → commit → artifact → audit, end to end, from the CLI. Injection test suite passes. A tainted Run is denied egress and escalates with a specific reason.
This is where the product thesis is validated, and it is scheduled before any UI because a beautiful UI over a runtime that cannot work offline is not this product.
Model runtime at user scope (RFC-0020, RFC-0054)
One local LLM small enough for a mid-range phone
Local embeddings; knowledge index — `gitsema-kotlin` consumed as a library (D29)
Routing policy with explicit degradation states
Treeless workers against the object database (RFC-0049)
Retention and compaction (RFC-0056)
Exit criteria, measured on a mid-range phone in airplane mode: open a real repository, ask a question about the code, receive a useful answer, make an edit, and commit — with no network, inside Android's execution windows, without exhausting storage.
And with no pre-built index bundle. The phone indexes the repository itself, from nothing. Importing an index built elsewhere is a real and useful idea (see Later), and it is deliberately not in the MVP: the moment a bundle is available, the temptation is to demonstrate G3 with one, and then the gate stops testing what it exists to test. If the offline scenario only feels good with an index someone else built, the phone has become a viewer for work done on a desktop — which is a different product, and the gate should fail rather than be set up around.
If this cannot be met, the correct response is to change the product, not to ship the UI and hope. It is scheduled here so that the answer arrives while it is still cheap to act on.
Amendment 2026-08-14 (RFC-0103) — Phase 3's scope list and G3's exit criteria don't budget Aidos Engine, and now they need to. "Model runtime at user scope" and "one local LLM small enough for a mid-range phone" above were written as Aidos's own Phase 3 deliverables. RFC-0103 splits that work into a second, independently-built and independently-installed app, Aidos Engine, plus Aidos SDK as the client library Aidos Agent links to reach it — with its own MVP list (RFC-0103's own "MVP" section: the Engine Core module, its foreground service and HTTP/Binder surface, Aidos SDK, Engine's own UI, its vault, license-acceptance records). None of that is named in this Phase's scope list, and it is real, separately-scoped work, not a detail folded into "model runtime at user scope."
Concretely, G3's exit criteria now has a precondition it didn't have when this section was
written: satisfying "open a real repository... with no network" on a real device requires Aidos
Engine installed, the user having completed its handshake/approval flow at least once (RFC-0103,
"Trust model" — a one-time, on-device, offline-capable step, but a real one), and Engine's own
foreground service reachable. This is still consistent with "no network" and "no pre-built index
bundle" above — Engine's approval flow and model residency are both entirely on-device — but it
is a new setup dependency the phone-in-airplane-mode scenario now has that this section doesn't
name. Whoever next revises the Phase 3/4 milestone breakdown (docs/mvp-roadmap.md) should add
Aidos Engine's MVP list as an explicit, tracked co-requisite rather than leaving it implicit inside
"local models."
Compose UI over the stable Runtime API Foreground service execution (RFC-0009)
Availability reporting (RFC-0049) Approval, preview, memory review (RFC-0026)
Diff and commit review, by hunk (D25) Voice capture → local STT
Run Summary as a projection (RFC-0057) Intent as a task list, last (RFC-0012)
Notifications (RFC-0044) F-Droid distribution
Exit criteria: the Phase 3 scenario performed by a person on a phone, comfortably. Degraded tools are reported at project open, never discovered mid-Run.
Runtime daemon (RFC-0055) Compose Multiplatform GUI
Shell tool (PLATFORM tier) MCP HTTP transport (RFC-0031)
Desktop worktree workers Import/export (RFC-0041)
Desktop arrives after Android because it is where the capable profile lives: shell, MCP, and subprocesses. Shipping it first would have let those tools become load-bearing before the constrained profile proved it could work without them.
Paired remote execution: a phone session delegates a PLATFORM-tier step
(run the tests, run the build) to the user's own desktop runtime, and
resumes when it returns.
This is the highest-value feature for the core use case and it is only expressible because platform profiles, the Runtime API, and checkpointed execution already exist. "I am on the bus, I made a change, run the tests at home and tell me" is the point at which Android-first stops being a constraint and becomes the product.
Pre-built index bundles. An index built on a desktop or in CI, exported as a content-addressed archive and imported by a phone, which then works offline forever. This is how the structural knowledge graph reaches a device that cannot build one — it needs tree-sitter, a native dependency D27 declines on Android. Deliberately after G3, so the gate measures a phone indexing for itself.
Worth distinguishing from pairing, because they look alike and are not: a bundle is a file, with no live link, no protocol, no authority question, and no network at the moment of use. It is closer to downloading a model than to delegating execution.
On-device structural extraction via WASM tree-sitter under a pure-JVM runtime such as Chicory, which would put graph building back on the phone and make bundles an optimisation rather than the only path. Unproven; gated on measured parse throughput and memory on real hardware.
Plugin SDK (WASM host, RFC-0043) once the extension boundary is proven by MCP. Intent Graph as a first-class UI surface. Vision and OCR. Life-management surfaces on the same runtime.
- A plugin marketplace. The extension boundary is not stable and will not be for a year.
- Real-time collaboration. Single-user is a design assumption, not a temporary limitation (RFC-0046 reserves the identity fields for later; that is the whole commitment).
- Distributed execution beyond Phase 6 pairing.
- Fixed calendar dates. The previous roadmap was anchored to quarters that have since passed with no code written, which made it misinformation rather than a plan. Durations are estimates; order is the commitment.
Milestones are gated on demonstrable behaviour, not on dates.
| Gate | Demonstrates | Blocking for |
|---|---|---|
G0 sqlite3 < schema.sql green; kernel interfaces compile |
the contracts are real | all implementation |
G1 Run survives kill -9 at every checkpoint |
durable execution works | any AI work |
| G2 end-to-end slice from the CLI, injection suite passes | the loop and its authority boundary work | any UI work |
| G3 offline edit-and-commit on a mid-range phone, airplane mode, no pre-built index | the product thesis holds | the Android app |
| G4 a person does G3 comfortably in the app | Android-first is delivered | desktop |
| G5 phone delegates a test run to a paired desktop | the profile model pays off | ecosystem work |
G3 is the gate that matters. It is scheduled before the UI precisely so that a negative answer arrives while it is still cheap. Everything before G3 is infrastructure; everything after depends on it being true.
schema.sql + kernel interfaces (G0)
│
├─ capability manager ──┬─ effect broker ──┬─ fs tool
│ │ ├─ git tool (JGit)
│ │ └─ shell tool (DESKTOP only)
├─ execution graph ─────┴─ checkpointed executor (G1)
│ │
├─ audit log ├─ agent loop ──┬─ prompt construction
│ │ ├─ trust and taint
├─ content graph │ └─ provider adapters
│ │
└─ Runtime API ──┬─ CLI (G2) ────┘
├─ Android app (G4)
└─ Desktop GUI (Phase 5)
model runtime (user scope) ─── local models ─── knowledge index ─── offline proof (G3)
Two things read off this graph:
- Intent Graph is a leaf. It depends on the execution model and nothing depends on it. It should be built late and small, despite being listed among the core concepts.
- The agent loop is the convergence point of five subsystems, which is why it is Phase 2 and why leaving it unspecified blocked everything.
Once G0 lands, these proceed independently against frozen contracts:
| Stream | Frozen contract required | Notes |
|---|---|---|
| Storage and migrations | schema.sql |
|
| Security | CapabilityManager, effect taxonomy |
|
| Tools | ToolBroker, EffectKind |
fs and git first |
| AI providers | ModelAdapter, tool-call envelope |
needs RFC-0008 |
| Knowledge | KnowledgeContextProvider |
the cleanest parallel stream, but no longer unblocked: it consumes gitsema-kotlin (D29), which has no androidTarget() yet |
| Frontends | RuntimeClient, MockRuntimeClient |
can start at G0 against the mock |
| Testing | fakes for provider, tool, clock, filesystem | crash-recovery suite is the priority |
Freeze at G0: object IDs and scopes; capability grant/validate/revoke; effect schema; audit
envelope; run/task/attempt schema; content-node schema; the model request/response and
tool-call envelope; RuntimeClient; the migration contract.
Do not freeze: plugin SDK surface; knowledge provider internals; Intent Graph shape; UI view modes; MCP trust policy beyond the basics; anything in Phase 6 and later.
The MVP's risks live in docs/mvp-roadmap.md, as a table of risk, the
signal that it is happening, and the response — including which decision to reopen. That is the
operational list and it is not duplicated here.
What belongs at this level is the small set of risks to the plan's shape:
| Risk | Why it is here rather than in the milestone list | Response |
|---|---|---|
| G3 fails — the thesis does not hold on a real phone | It invalidates Phases 4–6, not one milestone | Change the product. This is why G3 is scheduled before the UI, and a negative result is a successful outcome for that milestone |
| The corpus drifts from the code | It is how the last three architecture reviews each found items marked "addressed" that were not | Extend schema/check.py. Two rules already exist; a milestone-to-RFC check does not |
| Phase 2 starts with G1 amber | Every AI-layer bug found afterwards is misattributed to the model | Do not. This is the one gate with no acceptable degradation |
| A dependency stalls a phase | The knowledge engine is now an external library (D29) | Degrade the milestone rather than the gate: search works FTS-only without embeddings, and G3 is measured on what exists |
An earlier version of this section listed market adoption, competition from commercial AI IDEs, and insufficient funding, with mitigations like "start with power users" and "open-source (can't be killed)". Those are not risks this document can act on, and mixing them with engineering risk made the section unreadable as either.
Metrics are chosen so they can be measured on the target device and would actually change a decision if missed.
Product
- Offline session on a mid-range phone: useful answer to a question about a real repository.
- Time from opening the app to a committed edit, offline: under 5 minutes.
- Proportion of Runs on MOBILE completing without an unsatisfiable tool requirement.
Runtime
- Crash-recovery correctness: 100% of
kill -9points resume correctly. Not negotiable. - Storage per active project after 90 days of use: under 512MB with default retention.
- Cold start to first token, local model, mid-range phone: under 10 seconds.
- Zero unbounded-spend incidents: every Run terminates at a ceiling.
Ecosystem (later phases only)
- Runtime API: no breaking change for a year after G2.
- Third-party frontends built against the Runtime API without runtime changes.
Deliberately not tracked: uptime percentages (meaningless for a local single-user application), download counts as a primary goal, and star counts.
These were open. Six of them were business-strategy questions that this RFC's own Non-goals already exclude — pricing and business model are explicitly out of scope — so leaving them here made a roadmap look unsettled when what was unsettled was a different document that does not exist. The two that are answerable from settled decisions are answered.
- Target a specific domain first (e.g. Python developers)? No. Project types (RFC-0047) set defaults per domain without the roadmap committing to one, and the thesis is language-agnostic because it is about Git and attention, not syntax.
- Port to every platform — iOS, wearables, VR? Not a roadmap question. RFC-0049's platform profiles are the mechanism by which a new platform is possible; whether one is worth building is decided when someone wants to build it. Note that iOS in particular would fail D27's second test differently from Android, and that analysis has not been done.
- Success condition for declaring Aidos "complete"? There is none, and the gates are the substitute: G4 delivers Android-first, G5 delivers the pairing payoff. A project with a completion condition is a project that stops being maintained.
- Roadmap aggressiveness, paid features, community influence, enterprise forks, addressable market. Out of scope by this RFC's Non-goals. If a business model is ever needed it belongs in its own document, and this one should not pre-commit the engineering order to it.
Core RFC-0000 Vision · RFC-0001 Principles · RFC-0002 Runtime · RFC-0003 Security · RFC-0004 Event Bus · RFC-0005 Scheduler · RFC-0006 Session Execution Contract · RFC-0007 Concurrency Model · RFC-0008 Agent Loop · RFC-0009 Durable Execution
Concepts RFC-0010 Projects · RFC-0011 Sessions · RFC-0012 Intent Graph · RFC-0013 Resources (superseded by 0024) · RFC-0014 Artifacts (superseded by 0024) · RFC-0015 Knowledge Engine · RFC-0016 Instruction Engine · RFC-0017 State Model · RFC-0018 Capability Model · RFC-0019 Execution Graph
AI RFC-0020 AI Engine · RFC-0021 Model Providers · RFC-0022 Local Models · RFC-0023 Remote Models · RFC-0024 Resource Graph · RFC-0025 Prompt Construction · RFC-0026 Model Memory · RFC-0027 Trust and Taint · RFC-0028 Cost and Quota · RFC-0029 Error Taxonomy
Tools RFC-0030 Tool Broker · RFC-0031 MCP · RFC-0032 Git · RFC-0033 Shell · RFC-0034 Filesystem
Infrastructure RFC-0035 Secrets · RFC-0036 Settings · RFC-0037 Observability · RFC-0038 Testing · RFC-0039 Serialization · RFC-0040 Storage · RFC-0041 Export/Import · RFC-0042 Networking · RFC-0043 Plugin Packaging · RFC-0044 Notifications · RFC-0045 Performance · RFC-0046 Identity · RFC-0047 Project Templates · RFC-0048 Dependency Injection · RFC-0049 Platform Capability Profiles
Platforms and API RFC-0050 Android · RFC-0051 Desktop · RFC-0052 Runtime API · RFC-0053 Git Backend and Reconciliation · RFC-0054 Scope Model · RFC-0055 Runtime Instances · RFC-0056 Retention and Lifecycle · RFC-0057 Glanceable and Hands-Free Operation · RFC-0060 Plugin SDK · RFC-0103 Aidos Engine — added 2026-08-14, postdates this appendix's last full pass; see this document's own 2026-08-14 amendment above for what it changes about Phase 3/G3
Roadmap and reviews
RFC-0099 Roadmap (this document) · RFC-0100, RFC-0101, RFC-0102 Architecture reviews ·
docs/reviews/architecture-review-2026-08.md third-pass review
files: []