fix: refine presentation slides 2, 5 and 7
Build and publish Eldorado documentation / build (pull_request) Successful in 56s

This commit is contained in:
jarvis-at-skic committed 2026-10-09 06:32:21 +00:00
1 parent 46bb8b2b48
commit 499049eff3
6 files changed
+57 -10

No files matched your search

+20
View File
@@ -14,6 +14,26 @@ test('deck preserves assignment coverage, 35+15 timing and traceable notes',()=>
for(const id of ['experiment']) assert.match(slides.find(s=>s.id===id).body,/fictional/i);
assert.match(slides.find(s=>s.id==='qualification').notes,/separately authorizes/);
});
test('starting point keeps content without the two removed headings',()=>{
const body=slides.find(s=>s.id==='starting-point').body;
assert.doesNotMatch(body,/Assignment facts|Unknown until discovery/);
for(const text of ['Solo architect → CTO','No formal authority over teams','Stack, tools, process, baselines','Capacity and actual bottlenecks'])assert(body.includes(text));
assert.doesNotMatch(body,/<p><br>/);
});
test('contributors explains human-controlled AI tools below the diagram',()=>{
const body=slides.find(s=>s.id==='contributors').body;
const definition='AI Agent = Claude, Cline, ChatGPT or a similar tool, used under human control.';
assert(body.includes(definition));
assert(body.indexOf(definition)>body.indexOf('contribution-grid'));
assert(body.includes('Dashed ⇢ contribution from outside the cycle.'));
});
test('learning loop staircase preserves the original semantic sequence',()=>{
const body=slides.find(s=>s.id==='learning-loop').body;
const loop=body.split('</div>')[0];
assert.deepEqual([...loop.matchAll(/<span>(.*?)<\/span>/g)].map(m=>m[1]),['Understand work','Measure + baseline','Engineer topology','Use in real work','Collect results','Reassess']);
assert.deepEqual([...loop.matchAll(/<i>(.*?)<\/i>/g)].map(m=>m[1]),['→','↓','→','↓','→']);
assert(body.includes('↻ Repeat within each phase.'));
});
test('build emits local pinned Reveal assets, stable IDs and no production CDN',()=>{
execFileSync(process.execPath,['scripts/build-presentations.mjs']);
const dir='static/presentations/less-prompting-more-shipping'; const html=read(`${dir}/index.html`);