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

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:
AetherForge
2026-06-07 09:29:26 -07:00
parent fac324ff80
commit 6dd5cbd461
17 changed files with 1856 additions and 0 deletions

View File

@@ -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);