research: reconstruct Eldorado organization with sourced roles and explicit assumptions
Build and publish Eldorado documentation / build (pull_request) Successful in 30s

This commit is contained in:
jarvis-at-skic committed 2026-10-02 12:12:57 +00:00
1 parent 0af096a285
commit c2665624e3
9 files changed
+792 -51

No files matched your search

+20 -7
View File
@@ -59,11 +59,24 @@ test('Archify is pinned, licensed and rebuilt, not a remote embed', () => {
assert(!wrapper.includes('target="_blank"'));
assert(wrapper.includes('Close full-screen diagram'));
});
test('example is explicitly illustrative and contains valid connected nodes', () => {
const spec = JSON.parse(read('diagrams/organization-structure.architecture.json'));
assert(spec.meta.title.includes('Illustrative'));
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(read('docs/organization/structure.mdx').includes('not Eldorado’s confirmed organization chart'));
test('organization research distinguishes evidence, advertised roles and assumptions', () => {
const page = read('docs/organization/structure.mdx');
assert(page.includes('2026-10-02') && page.includes('not a verified employee roster'));
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}`);
for (const name of ['organization-structure', 'organization-reporting']) {
const spec = JSON.parse(read(`diagrams/${name}.architecture.json`));
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');
}
}
});