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

+7 -6
View File
@@ -10,10 +10,11 @@ test('Strategy has Target, Roadmap, a linked Skills Adoption category and Autono
const sandbox = {exports:{}};
runInNewContext(compiled, sandbox);
const sidebar = JSON.parse(JSON.stringify(sandbox.exports.default.strategySidebar));
assert.deepEqual(sidebar, ['target-operating-model', 'roadmap', {
type:'category', label:'One bounded experiment',
link:{type:'doc', id:'stage-01-skills-adoption'}, collapsed:true,
assert.deepEqual(sidebar, ['target-operating-model', 'roadmap', 'six-months-target', {
type:'category', label:'6 Months Roadmap',
link:{type:'doc', id:'six-months-roadmap'}, collapsed:true,
items:[
'stage-01-skills-adoption',
{type:'category', label:'Measurement', collapsed:true, link:{type:'doc', id:'measurement/index'}, items:[
...JSON.parse(read('research/ai-adoption/measurement-migration.json')).metrics.map(m => m.docId),
'measurement/collection-and-safeguards','measurement/synthetic-example',
@@ -26,7 +27,7 @@ test('Strategy has Target, Roadmap, a linked Skills Adoption category and Autono
],
}, 'stage-02-autonomous-agent']);
assert.match(read('docs/strategy/target-operating-model.mdx'), /^sidebar_label: Six-month strategy$/m);
assert.match(read('docs/strategy/target-operating-model.mdx'), /^sidebar_label: Target$/m);
assert.match(read('docusaurus.config.ts'), /type: 'docSidebar', docsPluginId: 'strategy', sidebarId: 'strategySidebar', label: 'Strategy'/);
});
@@ -34,8 +35,8 @@ test('stage overviews explain the foundation and future without replacing topic
const first = read('docs/strategy/stage-01-skills-adoption.mdx');
const second = read('docs/strategy/stage-02-autonomous-agent.mdx');
for (const [id, title, page] of [
['stage-01-skills-adoption', 'One bounded experiment', first],
['stage-02-autonomous-agent', 'Beyond six months', second],
['stage-01-skills-adoption', 'Skills lifecycle reference', first],
['stage-02-autonomous-agent', 'Beyond 6 Months', second],
]) {
assert(page.includes(`id: ${id}\ntitle: ${title}`));
for (const link of ['./roadmap.mdx', './target-operating-model.mdx']) assert(page.includes(link));