Add fleet evolution: genetic breeding, atlas gossip, BGP router, seeder/miner, genealogy, court gates, APK scout, personas, WSUS mimic, and P2 test coverage

This commit is contained in:
AetherForge
2026-06-07 05:00:22 -07:00
parent 7b2d41cda8
commit 82d74abfcf
38 changed files with 486 additions and 120 deletions

View File

@@ -200,6 +200,20 @@ describe('AccessDepthPanel', () => {
expect(screen.getByText(/confidence 72%/i)).toBeInTheDocument();
});
it('shows spread genealogy lineage when watermark present', async () => {
renderPanel(
mockAgent({
platform: 'windows',
parent_agent_id: '11112222-3333-4444-aaaa-bbbbbbbbbbbb',
spread_generation: 2,
spread_strain: '#a1b2c3',
join_lane: 'winrm',
}),
);
expect(await screen.findByText(/lineage gen 2/i)).toBeInTheDocument();
expect(screen.getByText(/parent 11112222/i)).toBeInTheDocument();
});
it('renders clearance badge L0L4 with tooltip permissions', () => {
renderPanel(mockAgent({ clearance_level: 2 }));
const badge = screen.getByLabelText(/Clearance L2/i);