docs: present organization as an operating model rather than a research report
Build and publish Eldorado documentation / build (pull_request) Successful in 31s
Build and publish Eldorado documentation / build (pull_request) Successful in 31s
This commit is contained in:
1 parent
f004e14f36
commit
6b487643b3
9 files changed
+291
-178
No files matched your search
+8
-13
@@ -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));
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user