The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(ci): allow pinned tinystoragedrivers-types in storage owner check
Steven Enamakel9058a30f3266
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lockindex ae17ce414b..c02e883576 100644--- a/crates/openhuman-app/Cargo.lock+++ b/crates/openhuman-app/Cargo.lock@@ -7852,7 +7852,7 @@ dependencies = [[[package]]name = "tinydocs-bus"-version = "0.2.4"+version = "0.2.5"dependencies = ["serde","thiserror 2.0.21",diff --git a/scripts/__tests__/check-storage-owner.test.mjs b/scripts/__tests__/check-storage-owner.test.mjsindex 10ca02ac7a..ed355dde31 100644--- a/scripts/__tests__/check-storage-owner.test.mjs+++ b/scripts/__tests__/check-storage-owner.test.mjs@@ -19,7 +19,32 @@ const pkg = (name, deps = [], source = null, manifest_path) => ({: `/repo/vendor/${name}/Cargo.toml`),dependencies: deps.map(d => ({ name: d, kind: null, optional: false })),});-const checkMetadata = (m, root = '/repo') => checkMetadataAt(m, root);+const checkMetadata = (input, root = '/repo') => {+ const packages = [...input.packages];+ for (const sourcePackage of [...packages]) {+ for (const dependency of sourcePackage.dependencies ?? []) {+ if (!packages.some((candidate) => candidate.name === dependency.name)) {+ packages.push(pkg(dependency.name, [], dependency.source ?? null));+ }+ }+ }+ for (const packageInfo of packages) packageInfo.id ??= packageInfo.name;+ return checkMetadataAt(+ {+ packages,+ resolve: {+ nodes: packages.map((packageInfo) => ({+ id: packageInfo.id,+ deps: (packageInfo.dependencies ?? []).map((dependency) => ({+ pkg: dependency.name,+ dep_kinds: [{ kind: dependency.kind }],+ })),+ })),+ },+ },+ root,+ );+};const registry = 'registry+https://github.com/rust-lang/crates.io-index';test('a clean workspace passes', () => {diff --git a/scripts/ci/check-storage-owner.mjs b/scripts/ci/check-storage-owner.mjsindex 243d95cd86..5d76dfbb15 100644--- a/scripts/ci/check-storage-owner.mjs+++ b/scripts/ci/check-storage-owner.mjs@@ -131,6 +131,14 @@ export function isUnderVendoredTsd(manifest, root) {}const TSD_GIT = /^git\+https?:\/\/[^?#]*\/tinystoragedrivers(?:\.git)?\?tag=([^#&]+)/;+const TSD_TYPES_REV =+ /^git\+https?:\/\/github\.com\/tinyhumansai\/tinystoragedrivers(?:\.git)?\?rev=([0-9a-f]{40})#([0-9a-f]{7,40})$/;++function isPinnedTsdTypesContract(pkg) {+ if (pkg.name !== "tinystoragedrivers-types") return false;+ const match = TSD_TYPES_REV.exec(pkg.source ?? "");+ return Boolean(match && match[1].startsWith(match[2]));+}// ---------------------------------------------------------------------------// Dependency-closure walk@@ -255,6 +263,7 @@ export function checkVendoredOwner(metadata, root = REPO_ROOT) {for (const pkg of packages) {if (!isOwner(pkg.name)) continue;const manifest = norm(pkg.manifest_path);+ if (isPinnedTsdTypesContract(pkg)) continue;if (!pkg.source && isUnderVendoredTsd(manifest, root)) {vendoredVersion ??= pkg.version ?? null;continue;diff --git a/scripts/ci/module-boundaries.json b/scripts/ci/module-boundaries.jsonindex c1dbbcdc49..c8d49a0352 100644--- a/scripts/ci/module-boundaries.json+++ b/scripts/ci/module-boundaries.json@@ -163,41 +163,6 @@"scope": "tinyflows-bus","package": "chrono","reason": "tinyflows-bus schedule contract v3 carries the job, run and schedule records (CronJob, CronRun, Schedule, DeliveryConfig, ...) with their DateTime<Utc> fields so hosts redeclare none of them. chrono is time arithmetic and RFC3339 serde only, with no I/O or runtime; the schedule maths themselves (cron expressions, time zones) run in the module. Recorded for contract-boundary review (tinyflows#143, openhuman cron cutover #7397)."- },- {- "scope": "tinyconnectors-bus",- "package": "tinystoragedrivers-types",- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."- },- {- "scope": "tinymcp-bus",- "package": "tinystoragedrivers-types",- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."- },- {- "scope": "tinychannels-bus",- "package": "tinystoragedrivers-types",- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."- },- {- "scope": "tinywallet-bus",- "package": "tinystoragedrivers-types",- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."- },- {- "scope": "tinymemes-bus",- "package": "tinystoragedrivers-types",- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."- },- {- "scope": "tinyeventqueues-bus",- "package": "tinystoragedrivers-types",- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."- },- {- "scope": "tinybox-bus",- "package": "tinystoragedrivers-types",- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."}],"excludedSubsystems": [