Add Android APK fleet nodes with Crucible UI integration and tests.

APK wrapper registers platform=android via AETHERFORGE_PLATFORM; fleet UI shows robot icons, Android Access Depth probes, and a shortened mining onion timeline.
This commit is contained in:
AetherForge
2026-06-07 02:44:29 -07:00
parent d9f36f182c
commit 50ebfe53cb
89 changed files with 2849 additions and 82 deletions

View File

@@ -43,3 +43,20 @@ describe('buildLotlTimelineModel atlas skips', () => {
expect(ps?.state).toBe('skipped_by_atlas');
});
});
describe('buildLotlTimelineModel android', () => {
it('shows shortened android chain instead of 14 spread tiers', () => {
const model = buildLotlTimelineModel(
agent({ platform: 'android', status: 'online', lotl_tier: 'foreground_service' }),
['docker', 'powershell', 'dotnet'],
[{ tier: 'foreground_service', ok: false }],
);
expect(model.total).toBe(3);
expect(model.tiers.map((t) => t.tier)).toEqual([
'foreground_service',
'cpu_inprocess',
'desktop_tiers_skipped',
]);
expect(model.tiers.find((t) => t.tier === 'desktop_tiers_skipped')?.state).toBe('skipped');
});
});