Add fleet phenotype cloning for sibling machines.
Publish winning tier paths per host fingerprint on hashrate success, inherit on auth before adaptive strategy, and surface clone badges in LOTL Timeline and Access Depth.
This commit is contained in:
@@ -40,6 +40,20 @@ describe('LotlTierTimeline', () => {
|
||||
expect(screen.getByText('GPO')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('shows cloned-from badge when inherited phenotype present', () => {
|
||||
const order = resolveLotlTierOrder();
|
||||
const agent = mockAgent({
|
||||
inherited_phenotype: {
|
||||
source_agent_name: 'worker-07',
|
||||
tier_order: ['container', 'wsl'],
|
||||
spread_lane: 'winrm',
|
||||
},
|
||||
});
|
||||
const model = buildLotlTimelineModel(agent, order, []);
|
||||
render(<LotlTierTimeline model={model} agentName="Node B" clonedFrom="worker-07" />);
|
||||
expect(screen.getByText('Cloned from worker-07')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('expands attempt detail on tier click', () => {
|
||||
const order = resolveLotlTierOrder();
|
||||
const agent = mockAgent({
|
||||
|
||||
Reference in New Issue
Block a user