Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(modules): exclude separately removed TinyRuntime from migration audit

Steven Enamakel693d88058db2
diff --git a/docs/module-boundary-inventory.md b/docs/module-boundary-inventory.md
index 0c4b132186..bbc3a6b6db 100644
--- a/docs/module-boundary-inventory.md
+++ b/docs/module-boundary-inventory.md
@@ -43,6 +43,11 @@ implementation imports independently of host feature selection. Probes do not
compile native module code, and their manifests and lockfiles are kept under
`target/module-boundaries/` in the checkout.
+TinyRuntime is explicitly outside this migration, as requested, and is recorded
+in `excludedSubsystems` instead of the temporary exception list. Its removal
+is separate work. It still cannot enter another audited contract's approved
+serialization closure.
+
Exceptions are exact package/scope pairs with reasons. Host exceptions still
traverse their descendants. Contract exceptions stop at the first unsafe edge:
its implementation closure is not approved, and that edge must be removed with
@@ -208,3 +213,8 @@ and query host callers remain pending compatible released artifacts and digest
pins. The isolated `module-tinyjuice-host` checkout now owns the turn-bound
summary callback registry instead of re-exporting its implementation from
TinyJuice; its 57 TokenJuice domain tests pass using the existing callback DTO.
+
+The TinyRuntime scope exclusion removes its temporary exception from this
+branch's acceptance count (31 remaining exceptions before the next module
+cut). This is an inventory scope change, not a dependency reduction or a
+TinyRuntime implementation change.
diff --git a/scripts/__tests__/check-module-boundaries.test.mjs b/scripts/__tests__/check-module-boundaries.test.mjs
index 323c03c015..bd49690297 100644
--- a/scripts/__tests__/check-module-boundaries.test.mjs
+++ b/scripts/__tests__/check-module-boundaries.test.mjs
@@ -126,3 +126,14 @@ test('bare owning packages and their implementation descendants are both forbidd
if (contract) assert.equal(isImplementation(contract.name, strict), false, contract.name);
}
});
+
+
+test('the separately removed runtime is outside this migration but cannot enter another contract', () => {
+ const excluded = policy.excludedSubsystems?.find(item => item.owner === 'tinyruntime');
+ assert.ok(excluded?.reason?.trim());
+ const host = metadata({ host: [['tinyruntime-pyserver'], ['tinyjuice']] });
+ assert.deepEqual(auditGraph(host, ['host'], strict).violations.map(item => item.package), ['tinyjuice']);
+ assert.ok(!policy.exceptions.some(item => item.package.startsWith('tinyruntime')));
+ const contract = metadata({ 'tinyjuice-bus': [['tinyruntime-bus']] });
+ assert.equal(auditGraph(contract, ['tinyjuice-bus'], strict, 'tinyjuice-bus').violations[0].package, 'tinyruntime-bus');
+});
diff --git a/scripts/ci/module-boundaries.json b/scripts/ci/module-boundaries.json
index 4f2f5eb3a6..7d38c1b67d 100644
--- a/scripts/ci/module-boundaries.json
+++ b/scripts/ci/module-boundaries.json
@@ -14,7 +14,6 @@
"tinybox-ssh",
"tinycomputer-accessibility",
"tinyvoice",
- "tinyruntime-pyserver",
"tinywallet-crypto",
"tinywallet-web3",
"tinywallet-x402",
@@ -28,7 +27,6 @@
"tinydocs-extract",
"tinysearch",
"tinysearch-core",
- "tinyruntime",
"cpal"
],
"implementationPrefixes": [
@@ -41,7 +39,6 @@
"tinywallet-",
"tinycomputer-",
"tinyvoice-",
- "tinyruntime-",
"tinydocs-",
"tinysearch-"
],
@@ -81,11 +78,6 @@
"manifest": "vendor/tinyvoice/crates/tinyvoice-bus/Cargo.toml",
"owner": "https://github.com/tinyhumansai/tinyvoice"
},
- {
- "name": "tinyruntime-bus",
- "manifest": "vendor/tinyruntime/crates/tinyruntime-bus/Cargo.toml",
- "owner": "https://github.com/tinyhumansai/tinyruntime"
- },
{
"name": "tinydocs-bus",
"manifest": "vendor/tinydocs/crates/tinydocs-bus/Cargo.toml",
@@ -172,11 +164,6 @@
"package": "tinyvoice",
"reason": "Capture and hotkey lifecycles need module operations."
},
- {
- "scope": "hosts",
- "package": "tinyruntime-pyserver",
- "reason": "Python-worker lifecycle needs module operations."
- },
{
"scope": "hosts",
"package": "tinywallet-crypto",
@@ -272,5 +259,11 @@
"package": "cpal",
"reason": "Voice capture and the accessibility microphone probe still link host audio-device access."
}
+ ],
+ "excludedSubsystems": [
+ {
+ "owner": "tinyruntime",
+ "reason": "Excluded by user: TinyRuntime removal is being implemented separately. This migration does not change its host or module."
+ }
]
}