docs: present organization as an operating model rather than a research report
Build and publish Eldorado documentation / build (pull_request) Successful in 31s

This commit is contained in:
jarvis-at-skic committed 2026-10-02 15:27:57 +00:00
1 parent f004e14f36
commit 6b487643b3
9 files changed
+291 -178

No files matched your search

+8 -13
View File
@@ -59,24 +59,19 @@ test('Archify is pinned, licensed and rebuilt, not a remote embed', () => {
assert(!wrapper.includes('target="_blank"'));
assert(wrapper.includes('Close full-screen diagram'));
});
test('organization research distinguishes evidence, advertised roles and assumptions', () => {
test('organization page presents an operating model, not research notes', () => {
const page = read('docs/organization/structure.mdx');
assert(page.includes('2026-10-02') && page.includes('not a verified employee roster'));
assert(page.includes('operating model') && page.includes('## Departments and teams'));
const prohibited = /assum|job.advert|vacanc|publicly evidenced|research snapshot|## Sources|\[\d+\]|\b[EJA]:\s/i;
assert(!prohibited.test(page));
assert(page.includes('Vladas Jurkevičius') && page.includes('Lukas Deksnys'));
assert(page.includes('Assumed') && page.includes('Publicly evidenced'));
assert(!page.includes('Illustrative integration example'));
const ledger = JSON.parse(read('research/organization/sources.json'));
const citations = [...page.split('## Sources')[0].matchAll(/\[(\d+)\]/g)].map(m => Number(m[1]));
assert(citations.length > 10);
for (const id of citations) assert(ledger.sources.some(s => s.id === id && s.quotes?.length), `Missing evidence ${id}`);
assert(existsSync('research/organization/reconstruction-snapshot.mdx'));
assert(JSON.parse(read('research/organization/sources.json')).sources.every(s => s.quotes?.length));
for (const name of ['organization-structure', 'organization-reporting']) {
const spec = JSON.parse(read(`diagrams/${name}.architecture.json`));
assert(!prohibited.test(JSON.stringify(spec)));
const ids = new Set(spec.components.map(n => n.id));
assert.equal(ids.size, spec.components.length);
for (const edge of spec.connections) {
assert(ids.has(edge.from) && ids.has(edge.to));
assert(edge.label.startsWith('J:') || edge.label.startsWith('A:'));
if (edge.label.startsWith('A:')) assert.equal(edge.variant, 'dashed');
}
for (const edge of spec.connections) assert(ids.has(edge.from) && ids.has(edge.to));
}
});
+6 -3
View File
@@ -21,12 +21,15 @@ if (process.argv.includes('--build')) {
}
assert(!readdirSync('build/diagrams', {recursive: true}).some(f => f.endsWith('.delivery.json')), 'Private build receipts must not be published');
const diagram = read('build/diagrams/organization-structure/index.html');
assert(diagram.includes('A: placement') && diagram.includes('node-technology'));
assert(diagram.includes('Coordinates') && diagram.includes('node-technology'));
assert(!/A: placement|E: careers|J: advertised/.test(diagram));
assert(!diagram.includes('Example leadership'));
const reporting = read('build/diagrams/organization-reporting/index.html');
assert(reporting.includes('AI Architect') && reporting.includes('A: assumed'));
assert(reporting.includes('AI Architect') && reporting.includes('Leads'));
assert(!/A: assumed|J: direct/.test(reporting));
const structure = read('build/organization/structure/index.html');
assert(structure.includes('Vladas Jurkevičius') && structure.includes('not a verified employee roster'));
assert(structure.includes('Vladas Jurkevičius') && structure.includes('operating model'));
assert(!/Research snapshot|Job-advertised|careers\.eldorado\.gg|Assumed/.test(structure));
assert(!structure.includes('Illustrative integration example'));
assert(!diagram.includes('/opt/data/'), 'No build paths in published diagrams');
const home = read('build/index.html');