Add onion contingency miner tree with orchestrator and Seer telemetry.
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
Single-host branch runner complements fallback chain under Fleet AI Control: persona ghost forks, onion_miner_log hops, server exhaustion splice from graft mining genome, Crucible depth badge, and hospice retire after max cycles.
This commit is contained in:
@@ -3,6 +3,7 @@ import {
|
||||
isPathTraceTimelineEvent,
|
||||
isSurgicalReplayEvent,
|
||||
mergeSeerEvents,
|
||||
onionMinerLogSummary,
|
||||
pathTraceTimelineSummary,
|
||||
surgicalReplaySummary,
|
||||
type SeerEventRecord,
|
||||
@@ -26,6 +27,15 @@ describe('seerEvents', () => {
|
||||
expect(pathTraceTimelineSummary(ev)).toContain('800');
|
||||
});
|
||||
|
||||
it('summarizes onion miner log contingency hops', () => {
|
||||
const ev: SeerEventRecord = {
|
||||
event_type: 'onion_miner_log',
|
||||
payload: { method: 'inprocess', outcome: 'won', hashrate: 900, contingency_depth: 3 },
|
||||
};
|
||||
expect(onionMinerLogSummary(ev)).toContain('inprocess');
|
||||
expect(onionMinerLogSummary(ev)).toContain('depth 3');
|
||||
});
|
||||
|
||||
it('detects surgical replay events', () => {
|
||||
expect(isSurgicalReplayEvent(replay)).toBe(true);
|
||||
expect(isSurgicalReplayEvent({ event_type: 'court_debate' })).toBe(false);
|
||||
|
||||
Reference in New Issue
Block a user