Add phenotype cloning, failure atlas, AI court session, and clearance L0-L4
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
This commit is contained in:
@@ -47,6 +47,20 @@ describe('parseAccessDepthServerPolicy', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('buildAccessDepthModel atlas skips', () => {
|
||||
it('marks tiers skipped_by_atlas and lists atlas summary', () => {
|
||||
const model = buildAccessDepthModel(
|
||||
agent({ platform: 'windows' }),
|
||||
parseAccessDepthDiagnostics({
|
||||
tier_chain_order: ['exe_subprocess', 'ps_inmemory', 'cpu_inprocess'],
|
||||
atlas_skips: [{ tier: 'ps_inmemory', condition: 'defender_on', reason: '5 failures with Defender on' }],
|
||||
}),
|
||||
);
|
||||
expect(model.atlasSkips).toHaveLength(1);
|
||||
expect(model.miningOnion.find((r) => r.tier === 'ps_inmemory')?.status).toBe('skipped_by_atlas');
|
||||
});
|
||||
});
|
||||
|
||||
describe('buildAccessDepthModel pending chain', () => {
|
||||
it('marks skipped tiers and pending remainder', () => {
|
||||
const model = buildAccessDepthModel(
|
||||
|
||||
Reference in New Issue
Block a user