feat(voyage)!: marketplace handoff — rename plugins/ultraplan-local to plugins/voyage [skip-docs]
Session 5 of voyage-rebrand (V6). Operator-authorized cross-plugin scope. - git mv plugins/ultraplan-local plugins/voyage (rename detected, history preserved) - .claude-plugin/marketplace.json: voyage entry replaces ultraplan-local - CLAUDE.md: voyage row in plugin list, voyage in design-system consumer list - README.md: bulk rename ultra*-local commands -> trek* commands; ultraplan-local refs -> voyage; type discriminators (type: trekbrief/trekreview); session-title pattern (voyage:<command>:<slug>); v4.0.0 release-note paragraph - plugins/voyage/.claude-plugin/plugin.json: homepage/repository URLs point to monorepo voyage path - plugins/voyage/verify.sh: drop URL whitelist exception (no longer needed) Closes voyage-rebrand. bash plugins/voyage/verify.sh PASS 7/7. npm test 361/361.
This commit is contained in:
parent
8f1bf9b7b4
commit
7a90d348ad
149 changed files with 26 additions and 33 deletions
|
|
@ -1,48 +0,0 @@
|
|||
// tests/lib/gates-flag-coverage.test.mjs
|
||||
// Step 11 (plan-v2) — pin that all four pipeline commands document the
|
||||
// --gates autonomy-control flag and consume the autonomy-gate state
|
||||
// machine via the lib/util/autonomy-gate.mjs CLI shim.
|
||||
|
||||
import { test } from 'node:test';
|
||||
import { strict as assert } from 'node:assert';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { dirname, join } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
const HERE = dirname(fileURLToPath(import.meta.url));
|
||||
const ROOT = join(HERE, '..', '..');
|
||||
|
||||
function read(rel) { return readFileSync(join(ROOT, rel), 'utf-8'); }
|
||||
|
||||
const COMMANDS = [
|
||||
'commands/trekbrief.md',
|
||||
'commands/trekresearch.md',
|
||||
'commands/trekplan.md',
|
||||
'commands/trekexecute.md',
|
||||
];
|
||||
|
||||
for (const cmdPath of COMMANDS) {
|
||||
test(`${cmdPath} documents the --gates flag`, () => {
|
||||
const text = read(cmdPath);
|
||||
assert.ok(
|
||||
text.includes('--gates'),
|
||||
`${cmdPath} should document the --gates autonomy-control flag (Step 11)`,
|
||||
);
|
||||
});
|
||||
|
||||
test(`${cmdPath} wires the autonomy-gate.mjs CLI shim`, () => {
|
||||
const text = read(cmdPath);
|
||||
assert.ok(
|
||||
text.includes('autonomy-gate.mjs'),
|
||||
`${cmdPath} should reference lib/util/autonomy-gate.mjs as the state-machine implementation`,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
test('commands/trekexecute.md mentions MAIN_MERGE_GATE', () => {
|
||||
const text = read('commands/trekexecute.md');
|
||||
assert.ok(
|
||||
text.includes('MAIN_MERGE_GATE'),
|
||||
'commands/trekexecute.md should name MAIN_MERGE_GATE — the only boundary that always pauses regardless of --gates',
|
||||
);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue