Repository navigation
Description
Goal
Make tinystoragedrivers (tsd) a static, hardened storage primitive in the same mould as tinybus and tinytools.
- Crates: one crate of data types, one crate of API traits, one crate per primitive (documents/streams as "no-sql", JSON key-value, blob/file, queue, secrets), and a test kit.
- Engines: sqlite, mongodb, file/fs, s3, rabbitmq, keyring/KMS and memory are cargo features of the primitive crates, not separate crates.
- Consumers: every tiny* crate depends on
tinystoragedrivers-types+tinystoragedrivers-apionly (plus-busproxyfor loadable modules) and builds its tests on in-memory engines through dev-deps. - Models: schema registries, migrations, repos, leases and counters belong to the crates that own the records, not to tsd.
- OpenHuman is the composition root. It opens engines from
OPENHUMAN_STORAGE_URLand owns the scope grammar, legacy importers, the queue manifest and secret file formats.
Acceptance criterion: no child crate has a normal (or build) dependency on a storage engine (rusqlite/libsqlite3-sys, mongodb/bson, aws-sdk-s3, lapin, sqlx, redb, sled, rocksdb), directly or through tsd. A CI gate in openhuman (senamakel#442) enforces it, and so does an engine-tree step in every module repo.
This epic supersedes #7419. #7419 grew tsd into a model and policy layer, which the restructure removes. Its still-valid leaves are re-linked below; the rest are closed with a pointer here.
Where we are (deep dive, 2026-10-19)
tsd upstream main ae2fc08 is about 100k lines in 14 crates. The vendored pin is be94f75, 93 commits behind.
| Problem | Evidence | Fixed by |
|---|---|---|
-core bundles types, traits, the memory engine and the model helpers, so consumers get all of it through one normal dep |
crates/tinystoragedrivers-core/src/lib.rs:75-125; primitives/ 1.3k (Repo, Kv, Counters, Leases); schema/ 3.5k (registry, migrations, delivery) |
senamakel/tinystoragedrivers#25, Phase 3 |
| Composite backend and scope purge (policy) | backend/composite*, backend/purge/, driver purge modules, ~3.5k (tsd #65, #69) |
senamakel/tinystoragedrivers#24 (revert) |
| Fence/lease ownership crate | crates/tinystoragedrivers-fence 0.7k (tsd #74), no consumers |
senamakel/tinystoragedrivers#24 (revert) |
| OpenHuman secret formats, migration ledger, transaction | tinystoragedrivers-secrets/src/file/{migration,transaction,hex_key_source}.rs 1.8k |
senamakel/tinystoragedrivers#30, senamakel#440 |
| Queue manifest (host config) | core/src/queue/manifest.rs, schemas/queues.schema.json |
senamakel/tinystoragedrivers#29, senamakel#440 |
SQLite v0 upgrade, SqliteNative escape hatch |
tinystoragedrivers-sqlite/src/{sql/upgrade.rs,native/} 0.6k |
senamakel/tinystoragedrivers#26, senamakel#440 |
| Engines are crates; the facade selects them by optional crate | -sqlite, -mongodb, -file, -s3, -rabbitmq |
senamakel/tinystoragedrivers#26–senamakel/tinystoragedrivers#30, senamakel/tinystoragedrivers#33 |
-bus re-declares core types; -client pulls secrets crypto into every module |
tinystoragedrivers-bus, tinystoragedrivers-client → -secrets |
senamakel/tinystoragedrivers#32 |
| Driver-free gate is a blocklist grep (misses aws-sdk and lapin, matches paths) | tsd .github/workflows/ci.yml ~175-193 |
senamakel/tinystoragedrivers#25, senamakel/tinystoragedrivers#33 |
Engines in consumers' normal deps
| Consumer | Engine | Fixed by |
|---|---|---|
| openhuman-core | facade sqlite + file always on; re-exports rusqlite; core unit tests run SQLite in tempdirs |
senamakel#440 |
| tinyagents-session | tinystoragedrivers-sqlite via default legacy-import; WorkspaceStores::open opens SQLite itself |
senamakel/tinyagents#116 |
| tinyflows-import | tinystoragedrivers-sqlite, SqliteNative, raw rusqlite |
senamakel/tinyflows#39 |
| tinymcp, tinyinference-providers | whole -secrets engine crate for the trait |
senamakel/tinymcp#12, senamakel/tinyinference#27 |
| tinyagents-harness, tinymcp, tinywallet-x402 | MemoryStorage as the production default |
senamakel/tinyagents#115, senamakel/tinymcp#12, senamakel/tinywallet#7 |
| tinychannels | rusqlite (read-only iMessage chat.db) |
senamakel/tinychannels#55 |
| tinycortex (in tinymemory) | unconditional rusqlite; 5 DBs and ~172 write sites outside tsd |
senamakel/tinycortex#1 |
State written outside tsd (vendor audit; legitimate workspace output, caches and temp files excluded)
| Repo | Sites | Fixed by |
|---|---|---|
| tinyagents | FileSubagentPersistence (+fs2), Claude Code session store and settings |
senamakel/tinyagents#115 |
| tinybox | jail FileIndexStore default; CLI FileStore/FileTemplates |
senamakel/tinybox#8 |
| tiny-artifacts | FsArtifactStore, FsFileStore |
senamakel/tinyartifacts#3 |
| tinymemes | FileIndexStore |
senamakel/tinymemes#5 |
| tinyjuice | CCR disk tier | senamakel/tinyjuice#11 |
| tinyskills | run log | senamakel/tinyskills#10 |
| tinyinference | OAuth pending state | senamakel/tinyinference#27 |
| tinycortex | chunks, kv, entity index, vectors, people DBs; conversations, audit, persona, composio, sources | senamakel/tinycortex#1 |
Out of scope: tinyruntime toolchain cache, the tinycomputer browser/desktop runtime and caches, agent-browser (vendored third-party CLI), and the tinycortex markdown vault (user-editable files).
Target architecture (tsd v2.0.0)
tinystoragedrivers-types data only (Scope, Key, Filter/Query/Page, Version/Precondition, specs, errors, capabilities)
tinystoragedrivers-api traits: DocumentStore, StreamStore, BlobStore, KvStore, QueueStore, SecretStore, Watch;
slim StorageBackend::for_scope -> Storage bundle; CONTRACT_VERSION
tinystoragedrivers-document documents + streams features: memory(default) sqlite mongodb file
tinystoragedrivers-kv JSON key-value features: memory(default) sqlite mongodb file
tinystoragedrivers-blob blob/file + trees features: memory(default) fs sqlite mongodb s3
tinystoragedrivers-queue queues features: memory(default) document rabbitmq
tinystoragedrivers-secrets secrets features: memory(default) file document keyring kms-aws kms-gcp
tinystoragedrivers-connect (publish=false) shared engine connection handles: one URL -> one storage.db
tinystoragedrivers facade for composition roots: URL -> engines
tinystoragedrivers-testkit dev-dep: conformance per primitive, memory Storage, fault decorators
tinystoragedrivers-bus wire contract on -types
tinystoragedrivers-busproxy module connect + host serve, on -api
consumers (tinyagents, tinyflows, modules ...) -> -types + -api (+ -busproxy); own their models
openhuman -> facade + engine features; scope grammar, importers, leases, manifest
Ground rules
- The tsd spine lands first. S0 → S1 → S2. Tag
v2.0.0-alpha.1after S2, S4 and S5. Then every consumer leaf runs in parallel, each in its own repo and worktree, while S3/S6 finish tsd. - Upstream before the gitlink. Each repo's PR lands in that repo; openhuman bumps gitlinks only in [tsd-primitive] bump tsd v2 and all module gitlinks; patch tables; feature forwarding senamakel/openhuman#441.
- No shims. Delete old code in the same slice, and tests move with the code. tsd's internal
-corere-export during S2–S6 is the only scaffolding, and S6 deletes it. - Models are copied into their owners. Copy the minimum, then adapt; don't redesign. Each crate migrates its own collections on open.
- No silent fallbacks. No production
MemoryStoragedefaults; the host passes a backend. - On-disk compatibility. A storage.db written by tsd 1.0 opens unchanged. Every engine leaf carries that fixture test.
- Engine-tree gate everywhere. Each module repo gets a CI step on its library crates (forward
cargo tree -e normal,build, names only, never-i). - Merging. Fork PRs merge on green CI with at most two review rounds. OpenHuman host PRs merge once they build locally and the focused tests pass.
Sub-issues
Phase 0: tsd spine (sequential)
- [tsd-primitive] spec: primitives-v2 crate map, trait surface, engine feature matrix, ADR senamakel/tinystoragedrivers#23 spec: primitives-v2 crate map, trait surface, feature matrix, ADR
- [tsd-primitive] revert model PRs: #74 fence, #69 composite URL, #65 scope purge/composite senamakel/tinystoragedrivers#24 revert model PRs (Update TODO.md #74 fence, Fix Memory Module Integration in Rust #69 composite URL, The current codebase doesn't make any tool calls. fix that in the loop and get it to work. #65 scope purge/composite)
- [tsd-primitive] new tinystoragedrivers-types and -api crates with allowlist dependency gates senamakel/tinystoragedrivers#25
-typesand-apicrates, allowlist gates
Phase 1: tsd primitives (parallel)
- [tsd-primitive] tinystoragedrivers-document (documents + streams; memory/sqlite/mongodb/file features) and -connect senamakel/tinystoragedrivers#26
-document(documents + streams) and-connect - [tsd-primitive] tinystoragedrivers-blob (memory/fs/sqlite/mongodb/s3 features, trees) senamakel/tinystoragedrivers#27
-blob - [tsd-primitive] tinystoragedrivers-kv: JSON key-value primitive (memory/sqlite/mongodb/file) senamakel/tinystoragedrivers#28
-kv(new JSON key-value primitive) - [tsd-primitive] tinystoragedrivers-queue (memory/document/rabbitmq features); queue manifest leaves senamakel/tinystoragedrivers#29
-queue(queue work kept; manifest leaves) - [tsd-primitive] tinystoragedrivers-secrets on -api with engine features; OpenHuman formats leave senamakel/tinystoragedrivers#30
-secretson-api - [tsd-primitive] tinystoragedrivers-testkit: conformance, memory Storage, fault decorators senamakel/tinystoragedrivers#31
-testkit - [tsd-primitive] transport: -bus reuses -types, -busproxy absorbs -client/-tinybus; tag v2.0.0-alpha.1 senamakel/tinystoragedrivers#32 transport (
-bus/-busproxy) and tagv2.0.0-alpha.1
Phase 2: tsd release
- [tsd-primitive] facade on primitive crates, delete old crates, hardening CI, release v2.0.0 senamakel/tinystoragedrivers#33 facade, delete old crates, hardening CI,
v2.0.0
Phase 3: consumers (all parallel after the alpha tag)
- [tsd-primitive] harness/graph/tasks/orchestration on tsd types+api; own models; drop file persistence senamakel/tinyagents#115 tinyagents: harness, graph, tasks, orchestration
- [tsd-primitive] session on tsd types+api; drop sqlite + legacy-import (to host); own models senamakel/tinyagents#116 tinyagents: session
- [tsd-primitive] providers/image on tsd api; OAuth pending state off disk senamakel/tinyinference#27 tinyinference
- [tsd-primitive] tinyflows on tsd types+api; own models; tinyflows-import out senamakel/tinyflows#39 tinyflows
- [tsd-primitive] tinymcp on tsd types+api; no prod memory default; secrets trait from api senamakel/tinymcp#12 tinymcp
- [tsd-primitive] tinychannels on tsd types+api; rusqlite behind imessage feature senamakel/tinychannels#55 tinychannels
- [tsd-primitive] tinyconnectors on tsd types+api; gate bus storage module senamakel/tinyconnectors#9 tinyconnectors
- [tsd-primitive] tinywallet on tsd types+api; drop x402 memory default; engine boundary check senamakel/tinywallet#7 tinywallet
- [tsd-primitive] tinybox on tsd types+api; jail index on drivers; cli as composition root senamakel/tinybox#8 tinybox
- [tsd-primitive] tinyjuice on tsd types+api; CCR disk tier out of the library senamakel/tinyjuice#11 tinyjuice
- [tsd-primitive] tinyskills on tsd types+api; run log onto StreamStore senamakel/tinyskills#10 tinyskills
- [tsd-primitive] tinymemes on tsd types+api; delete FileIndexStore; module via busproxy senamakel/tinymemes#5 tinymemes
- [tsd-primitive] tiny-artifacts on tsd types+api; delete Fs stores; pin by tag senamakel/tinyartifacts#3 tiny-artifacts
- [tsd-primitive] tracker: tinycortex engine state onto tsd primitives senamakel/tinycortex#1 tinycortex tracker: [tsd-primitive] chunk DB core onto DocumentStore/BlobStore senamakel/tinycortex#2, [tsd-primitive] chunk DB adjuncts: job queue onto QueueStore; scores, trees, graph onto documents senamakel/tinycortex#3, [tsd-primitive] KV DB onto KvStore senamakel/tinycortex#4, [tsd-primitive] entity index DB onto DocumentStore senamakel/tinycortex#5, [tsd-primitive] vector DB onto tsd primitives senamakel/tinycortex#6, [tsd-primitive] people DB onto DocumentStore senamakel/tinycortex#7, [tsd-primitive] file state (conversations, audit, composio map, persona, sources) onto tsd senamakel/tinycortex#8, then [tsd-primitive] rusqlite optional (legacy-import only) in tinycortex and tinymemory; engine CI senamakel/tinymemory#40 (tinymemory)
Phase 4: host
- [tsd-primitive] host storage domain on tsd v2: owns scope grammar, importers, leases, manifest senamakel/openhuman#440 host storage domain on tsd v2
- [tsd-primitive] bump tsd v2 and all module gitlinks; patch tables; feature forwarding senamakel/openhuman#441 gitlinks,
[patch], feature forwarding - [tsd-primitive] engine-dependency gate: no child crate reaches a storage engine senamakel/openhuman#442 engine-dependency gate (the acceptance criterion)
- [tsd-primitive] definition of done: structural checks, e2e, existing profile opens senamakel/openhuman#443 definition of done
Suggested order
- [tsd-primitive] spec: primitives-v2 crate map, trait surface, engine feature matrix, ADR senamakel/tinystoragedrivers#23, then [tsd-primitive] revert model PRs: #74 fence, #69 composite URL, #65 scope purge/composite senamakel/tinystoragedrivers#24, then [tsd-primitive] new tinystoragedrivers-types and -api crates with allowlist dependency gates senamakel/tinystoragedrivers#25.
- In parallel: [tsd-primitive] tinystoragedrivers-document (documents + streams; memory/sqlite/mongodb/file features) and -connect senamakel/tinystoragedrivers#26, [tsd-primitive] tinystoragedrivers-blob (memory/fs/sqlite/mongodb/s3 features, trees) senamakel/tinystoragedrivers#27, [tsd-primitive] tinystoragedrivers-kv: JSON key-value primitive (memory/sqlite/mongodb/file) senamakel/tinystoragedrivers#28, [tsd-primitive] tinystoragedrivers-queue (memory/document/rabbitmq features); queue manifest leaves senamakel/tinystoragedrivers#29, [tsd-primitive] tinystoragedrivers-secrets on -api with engine features; OpenHuman formats leave senamakel/tinystoragedrivers#30, [tsd-primitive] tinystoragedrivers-testkit: conformance, memory Storage, fault decorators senamakel/tinystoragedrivers#31, [tsd-primitive] transport: -bus reuses -types, -busproxy absorbs -client/-tinybus; tag v2.0.0-alpha.1 senamakel/tinystoragedrivers#32. [tsd-primitive] transport: -bus reuses -types, -busproxy absorbs -client/-tinybus; tag v2.0.0-alpha.1 senamakel/tinystoragedrivers#32 cuts
v2.0.0-alpha.1once [tsd-primitive] new tinystoragedrivers-types and -api crates with allowlist dependency gates senamakel/tinystoragedrivers#25 and [tsd-primitive] tinystoragedrivers-testkit: conformance, memory Storage, fault decorators senamakel/tinystoragedrivers#31 are merged. - All of Phase 3 at once, one subagent per leaf (
implementing-an-epic). In parallel, [tsd-primitive] facade on primitive crates, delete old crates, hardening CI, release v2.0.0 senamakel/tinystoragedrivers#33 finishes tsd and tagsv2.0.0. Consumers re-pin from alpha tov2.0.0before merging. - [tsd-primitive] host storage domain on tsd v2: owns scope grammar, importers, leases, manifest senamakel/openhuman#440 → [tsd-primitive] bump tsd v2 and all module gitlinks; patch tables; feature forwarding senamakel/openhuman#441 → [tsd-primitive] engine-dependency gate: no child crate reaches a storage engine senamakel/openhuman#442 → [tsd-primitive] definition of done: structural checks, e2e, existing profile opens senamakel/openhuman#443. [tsd-primitive] definition of done: structural checks, e2e, existing profile opens senamakel/openhuman#443 is the definition of done.
Decisions (2026-10-19)
- A new epic supersedes Epic: cloud-ready storage — every piece of user state behind the tinystoragedrivers ports (file-by-file audit) #7419; it does not rewrite Epic: cloud-ready storage — every piece of user state behind the tinystoragedrivers ports (file-by-file audit) #7419 in place.
- Each consumer owns its models. There is no shared models crate.
- The "json" primitive is a key-value store of JSON values.
- Recently merged model PRs on tsd main are reverted (Update TODO.md #74, Fix Memory Module Integration in Rust #69, The current codebase doesn't make any tool calls. fix that in the loop and get it to work. #65). The queue work (Improve Autocomplete and Screenshot Features #71–Use Hosted Models via Fireworks AI #73) and Fix false service gate blocking when service is already running #64 stay.
- Still standing from Epic: cloud-ready storage — every piece of user state behind the tinystoragedrivers ports (file-by-file audit) #7419: D1 (SaaS refuses to boot without a URL), D7 (importer retirement after one release), D9 (sticky routing plus
runs.cancel_requests), D12 (no Postgres).
Related
- Epic: cloud-ready storage — every piece of user state behind the tinystoragedrivers ports (file-by-file audit) #7419: superseded by this tree.
- Epic: test ownership — move module-behaviour tests to their tiny* repos, delete duplicates and coverage padding #8089 (test ownership): [test-ownership] storage: replace host leases and fencing with tsd primitives::Leases and fence; delete 1.6k lines of duplicate tests senamakel/openhuman#238 (host onto tsd fence) is superseded, [test-ownership] secret_storage: put the plaintext FileBackend and file_store helpers on tsd-secrets file; delete the copies and tests senamakel/openhuman#239 is re-scoped, and [test-ownership] tsd: export URL redaction and add capability flags for a shared backend and cross-process CAS senamakel/tinystoragedrivers#4 is done in feat(storage): expose URL redaction and concurrency capabilities tinystoragedrivers#64.
- memory/: move generic memory mechanics into tinymemory, shrink memory/ to wiring (file-by-file audit) #8000 (memory → tinymemory): overlaps [tsd-primitive] tracker: tinycortex engine state onto tsd primitives senamakel/tinycortex#1.
- flows/ + cron/: put workflows behind tinyflows-bus (Catalog, Runs, CapsHost), relocate product code, shrink to host adapters (file-by-file audit) #8055 (flows/cron → tinyflows): schedule claims stay in tinyflows ([tsd-primitive] tinyflows on tsd types+api; own models; tinyflows-import out senamakel/tinyflows#39).
- Epic: Smaller modules folder #8056 (modules → tinybus): tsd feat: split screen intelligence from accessibility and add dedicated settings #50–Get documentation added to the rust files #55, Update our memory module to use the neocortex code (gliner, glirel processing) #60–Improve service lifecycle E2E coverage and align CI workflows #62, Fix E2E Testing (Deep Link Login Issue) #70 coordinate with [tsd-primitive] transport: -bus reuses -types, -busproxy absorbs -client/-tinybus; tag v2.0.0-alpha.1 senamakel/tinystoragedrivers#32.
- Primitive models: tinytools
vendor/tinyagents/vendor/tinytools(vocabulary crate plus allowlist gate), tinybus (feature-selected transports), tinywalletscripts/check-bus-boundaries.py(resolve-graph gate).
Completion status
All 37 direct and nested sub-issues are closed. Final upstream pin correction is in tinyhumansai/openhuman#8231; it closes this epic when merged.
Activity
9 remaining items
senamakel commentedon Oct 19, 2026
Stopped at the user's request on 2026-10-19T20:52:21 UTC. All three Luna implementation agents have stopped, and their active/queued local Cargo process trees were canceled. Files and commit history are preserved. This epic supersedes the earlier #7419 work.
Status: 3 of 36 leaf issues completed and closed; 3 partially implemented; 30 not started. Shared connection work from #26 has additionally merged, but #26 itself is incomplete and remains open. No final upstream rollup PRs have been opened.
Merged on the fork
All work targets
senamakel/tinystoragedrivers:epic/8131-storage-primitives, using normal merges, preserving individual commits.15490784,d97e15de8c0455ebb1b956d5bec40bdcPRs #36 and #37 each had all 22 hosted checks successful when their completed state was verified. #25 also passed focused API/types tests, core checks, workspace tests, strict Clippy, rustdoc, cargo-deny and over 90% coverage in every new production source file. Regression fixes preserved cursor-cycle detection, tree-write metadata/results, non-deleting tree-write behavior and reserved sealed-stream paths. The SQLite fixture was generated with the actual historical driver and verifies legacy document/stream/blob data preservation.
PR #38 was merged separately by
senamakelwhile its CI was still running. At the stop snapshot its checks were {'SUCCESS': 17, 'IN_PROGRESS': 5}; it is not claimed fully green. Its previous failures identified rustfmt differences and a missingtempfiledependency in the connect lockfile entry; head78179bf3addresses those. Follow its remaining CI on resumption.Current fork epic tip:
bec40bdc9d3c64bdc001a163b74140df79651c8f. The OpenHuman fork epic branch exists; host migration/integration has not been completed.Preserved implementation in progress
senamakel/tinystoragedrivers#26 — document/stream engines, part 2
/home/enamakel/work/openhuman/worktrees/epic-8131-26-document-connect, TSD head78179bf3. RootCargo.toml/Cargo.lockchanges and the entire new document crate remain uncommitted. The queued Mongo compile was canceled with exit 130.senamakel/tinystoragedrivers#27 — blob engines
BlobListing,BlobListEntry,BlobListPage, an exclusive key cursor, limits 1–1000, expired-object visibility, and unknown legacy ages; existing live-onlylist(prefix)stays intact. API contract version is incremented separately from the bus wire contract._tsd_blobsbucket, indexes, concurrent replacement ordering and retry behavior. Added real historical SQLite readback, old file-driver compatibility, streamed length/error handling and upload abort cleanup. Shared FileConnection integration is present./home/enamakel/work/openhuman/worktrees/epic-8131-27-blob, TSD head9bcc84f0; substantial blob, tests, README, types and CI changes remain uncommitted. A local superproject gitlink checkpoint exists, but no host gitlink PR was published.senamakel/tinystoragedrivers#28 — native JSON KV
_tsd_kvstorage, CAS, monotonic versions, prefix cursors, deterministic TTL and the shared file connection. Tests preserve unrelated legacykvdata.memory_tests.rs:216: a localstorebinding shadows thestore()helper. No updated coverage report exists. Strict KV Clippy still needs a fresh run after the shared connect fix./home/enamakel/work/openhuman/worktrees/epic-8131-28-kv, TSD heade6ca2b68; latest own committed KV change4a282ad. Uncommitted changes are the expanded memory/Mongo test files. Initial coverage is preserved atvendor/tinystoragedrivers/target/kv-coverage.jsonand in the coordinator evidence directory.Not started / remaining epic scope
Handoff and cautions
/home/enamakel/work/openhuman/.git/implementing-an-epic/tinyhumansai-openhuman-8131.json; saved issue bodies, merge snapshots, failure logs and coverage evidence are alongside it. Some newer agent gate results exist only in their terminal output; they must be rerun before relying on an unchanged or dirty tree for completion.senamakel commentedon Oct 21, 2026
Stopped and pushed: continuation handoff
Stopped at the user's explicit request on 2026-10-21. All three Luna agents are interrupted. Local implementation and validation jobs have stopped. Work is incomplete: 44 of 51 leaf issues are complete. No final upstream PRs have been opened.
All six working branches below were pushed to the forks and checked with
git ls-remote; their remote heads exactly match these SHAs. No force pushes, squashes, rebases, or history rewrites were used.Start here
senamakel/openhuman:epic-8131-440-host-storage. It includes the foundation/test ports, scoped-document CAS admission fix, and C2's captured-profile/admission-lineage changes. Its latest integrated HEAD has not been compiled.9553b1a3cab538c9c13aca8b77835c93b5f820e0failed with 26 compile errors. The subsequent A/B/C2 batches address those errors, but no post-merge success is claimed.implementing-an-epic.Important merge state
0de2d283f35cbbff08efad6fbe05537ffb74611b. All 13 exact-head CI checks, 9 independent local gates, focused collision/concurrency tests, and native90 (46 measured files) passed. Fork issue Open source the memory layer #25 is closed.77a4d4d2ccd47743f296461663a039d0065c9472. All 13 exact-head CI checks, 9 independent local gates, and native90 (113 files, minimum 90.2985%) passed. Converter5 and owner-migration23 tests passed, including malformed-source preservation. Fork issue Memory Layer Only #17 is closed.e1d075bdd1b096d4572dcec71902dfc405674694, before its pending collision fix was pushed. Its merged source is the original8a8bd701..., with 24 passing and 2 failing CI checks. Scoped registration still uses replacement-styleserve_at. Duplicate registration and partial rollback can replace/delete an existing endpoint. Issue Refactor UI auth/bootstrap and remove legacy UI runtime layers #63 remains open and incomplete; Get the skills to work for the model (Google, Notion, etc.) #67 carries the correction. Do not treat PR64 as a validated final dependency or publish/consume its callback API before Get the skills to work for the model (Google, Notion, etc.) #67 is verified.2ac18cfd6fa7adc9b6c8888bf36776b79813d16e. All 7 head checks and 16 independent Rust/viewer/inspector gates passed, plus explicit-memory/missing-scope inspector smoke tests. Fork issue feat: add Developer Options panel with tools for skills, AI configura… #15 is closed.dcae938261ccd8ccffdbff36637688191234b1eb, TinyWallet #13 at51b68a0c23b805a343dd19e71ad2797927db4cfe, and TinyBus #24 at24ec2ccafcc98fab35fa10ffcbcefa87eb32e3e8. Their gates and fork issue closures are recorded in the ledger.Pushed branches
115a7b6a8bac348f6b0b5605ba5882974d5d5650fe47f0151352b79b3797e51bb00130b1953703de0b65f673a5e151ceb47ee2f8fcf8c6bc4ca59b7ce241a7b24573cba3985ca58990487e7ad908d3068ce0c3980baa45854b4c74e25af51a7c4f306457b304cca565bff8ec9e5cd76d5c3fae7d276c1549What each unfinished branch contains
CrossProcessCas; captured module-import profile backend; private context-admission lineage inherited by same-profile derived contexts and replaced on profile switch/new admission. Tests for stale contexts and the takeover window are present but not yet executed in the integrated tree. TinyMCP's direct importer now uses the shared captured claim path.3332061434c01872b0161191268166c12563af87and merged TinyBus2424ec2cc...; final callback consumption needs corrected TSD67 and the merged SDK26.aa2405e76a44e8e325dbd6e1522203203fadd18dimplementation checkpoint; do not merge this branch again blindly.try_serve_atfix, based on merged PR64. All five direct TinyBus manifest pins and three lock identities now reference merged SDK260de2d283.... Locked metadata validation passed in the native root and both callback proof workspaces. The updated regression/proof GREEN runs and full native90 remain pending. Earlier original-source native90 failed at busproxy host.rs 88.9%; no threshold/exclusion weakening is allowed. There is no Get the skills to work for the model (Google, Notion, etc.) #67 PR yet.SharedAcrossProcessesandCrossProcessCas, without changing transaction-dependent features. Causal capability RED then GREEN1/1 and independent two-client Absent/Version races1/1 passed against the owned replica set. Root fmt passed. Remaining independent gates and full native90 were canceled on stop, not passed; interrupted logs are retained. PR68 is ready/open but not merge-validated.ImportSavingsAtwith transient request-scoped storage client, avoiding replacement of the module's ordinary provider and retaining owner adoption/CAS semantics. An isolated provisional copy passed one integration test using a source-patched TSD63 and aligned SDK; the pushed primary branch has not passed final dependency validation. Its lock contains a preservedpatch.unusedcheckpoint from the initial provisional attempt. Finalize dependency pins and any fixture API adaptations after corrected TSD67 is available; do not mistake the throwaway proof for final native validation.Verification and remaining acceptance gaps
cargo test --locked -p openhuman-cli --test storage_backend_capabilities -- --nocapture. This ran before the final lineage merge. Earlier failed attempts inhost440-cas-redandhost440-cas-red-retrystopped at embed/RPC compile errors and are not causal REDs.cargo test --locked -p openhuman --lib --features storage-sqlite --no-run --message-format=jsonat9553b1a3...: exit101, 26 errors, source remained frozen. Diagnostics:evidence/host440-libtests-9553-sqlite/diagnostics.json. No host unit-test success is claimed.fixtures/legacy-v1-profile/storage.dbis authentic physical TSD v1 format, written through the old public API at0c6dcfce57201fadd830431f36fd759c3baa897a, SHA2568de140563e2f985b5340d29f89f03889b7aff2fe90f486358a39ceb84d4d1404. Its hand-authored owner JSON is currently synthetic. It is not an authentic semantic multi-domain old profile. Replace/prove those bodies with historical owner models/public writers, then test actual boot import, typed owner readback, unchanged source hashes, and delete/reboot/no-resurrection. Secrets and module/artifact imports have separate production paths; do not pretendrun_allcovers them all.session_raw; no MD-only import path was found. Markdown companions remain unchanged; no MD-only migration support is claimed.generator/targetoutput was accidentally checkpointed by the hook. Both source branches now remove all 653 build files (299,241,202 bytes) from tracking and add/target/ignore rules. Build files are preserved under each checkout'starget/epic8131-fixture-generator-build-preserved. All historical commits remain intact. Do not reintroduce build output or rewrite history.Local continuation details
/home/enamakel/work/openhuman..git/implementing-an-epic/tinyhumansai-openhuman-8131.json; evidence and root gate helpers are in.git/implementing-an-epic/evidence/and.git/implementing-an-epic/. These ignored local files remain available in this workspace; the public branch SHAs and issue links above are sufficient to retrieve code elsewhere.worktrees/epic-8131-440-host-storage; B:worktrees/epic-8131-440-host-ports; C2:worktrees/epic-8131-440-legacy-import..epic-repositories/tinystoragedrivers(Get the skills to work for the model (Google, Notion, etc.) #67),.epic-repositories/tinystoragedrivers-mongo-cas(The current codebase doesn't make any tool calls. fix that in the loop and get it to work. #65). Juice source under A:.epic-repositories/tinyjuice-import-destination..git/implementing-an-epic/8131-cargo.lockwithflock --close, the superproject's absolutescripts/ci-cancel-aware.sh, ownedTMPDIR, jobs1, andRUSTC_WRAPPER=''. Never exportCARGO_TARGET_DIR./tmphas a user quota problem despite free disk; avoid heredocs and set owned TMPDIR for gh/build/commit helpers.epic8131-mongo-rs-highfd); RabbitMQ fixture remains on25673. The interrupted native65 MinIO fixture was cleaned up. Root coverage helper sets all fixture environments; do not omit them and misclassify missing integration coverage.Completed leaves
Incomplete leaves
feat(ci): walk engine dependency closure in check-storage-owner gate
tinysweeper commentedon Oct 22, 2026
Epic restructuring tinystoragedrivers into a hardened static storage primitive: split types/API/per-primitive crates, convert engines to cargo features, remove storage-engine deps from consumers, and migrate models to their owning crates. This is a large umbrella/tracking epic, not a bug report; it is organizational work. None of the candidate issues report the same underlying work (they are sibling epics in adjacent areas).
Labelled
priority: p2.