docs: restore long-term Strategy and separate six-month horizons

This commit is contained in:
jarvis-at-skic committed 2026-10-08 18:08:08 +00:00
1 parent a283d6a34a
commit e96e780beb
41 files changed
+558 -293

No files matched your search

+9 -15
View File
@@ -4,21 +4,15 @@ import {readFileSync} from 'node:fs';
const read = p => readFileSync(p, 'utf8');
const stages = ['Scope', 'Architecture', 'UI/UX', 'Planning', 'Delivery', 'UAT', 'Security', 'Releases'];
test('Strategy opens at the assignment and retains autonomy only as a conditional reference', () => {
assert.match(read('sidebars/strategy.ts'), /strategySidebar:\s*\[\s*'target-operating-model',\s*'roadmap'/);
assert.match(read('docs/strategy/target-operating-model.mdx'), /^sidebar_label: Six-month strategy$/m);
for (const id of ['target-operating-model']) {
const page = read(`docs/strategy/${id}.mdx`);
const primary = page.split('<details>')[0];
assert(primary.includes('name="strategy-six-months"'));
assert(!primary.includes('name="strategy-target"'));
assert(page.includes('Conditional long-term Target operating model'));
assert(page.includes('Scope → Architecture → UI/UX → Planning → Delivery → UAT → Security → Releases → Scope'));
assert(page.includes('human-controlled AI Agent'));
assert(!/code[ -]agent/i.test(page));
assert(primary.includes('Proposed strategy'));
assert(!/only routes|People authorize|independent gates protect release/.test(primary));
}
test('Strategy opens at the long-term Target and separates the six-month contribution', () => {
const page=read('docs/strategy/target-operating-model.mdx');
const primary=page.split('<details>')[0];
assert.match(page, /^title: Target$/m);
assert.match(page, /^sidebar_label: Target$/m);
assert(primary.includes('name="strategy-target"'));
assert(!primary.includes('name="strategy-six-months"'));
for(const marker of ['not a six-month commitment or present authorization','Scope → Architecture → UI/UX → Planning → Delivery → UAT → Security → Releases → Scope','human-controlled AI Agent','Humans direct, guide and review','./six-months-target.mdx','./six-months-roadmap.mdx']) assert(primary.includes(marker),marker);
assert(!page.includes('conditional long-term option'));
});
test('both target diagrams have eight stages, eight governed phases and eight human-controlled contributors', () => {