docs: define runtime manager global install contract
This commit is contained in:
parent
9010c6a058
commit
a3ca82bb5a
8 changed files with 311 additions and 7 deletions
11
tests/docs/runtime-manager-adr-contract.test.ts
Normal file
11
tests/docs/runtime-manager-adr-contract.test.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
|
||||
test('runtime manager ADR exists and declares runtime home strategy', async () => {
|
||||
const raw = await fs.readFile(path.resolve('docs/adr/2026-03-03-runtime-manager-global-install.md'), 'utf8');
|
||||
assert.match(raw, /~\/\.beadboard\/runtime/i);
|
||||
assert.match(raw, /npm i -g beadboard/i);
|
||||
assert.match(raw, /legacy repo-bound shim migration/i);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue