Commit Graph

2 Commits

Author SHA1 Message Date
jgrusewski
0ca2e5284a feat: LLM-driven hunters (fxhnt 2) — agents direct their own search
application/agent/hunter.AgentHunter: an LLM proposes the next batch of (market, strategy, window)
candidates, reasoning about strategy-market fit and the gaps the current population leaves — clamped to
the real universe + known strategies so hallucinations can't enter. FactoryRuntime now takes a
territory_provider (callable): fixed grids OR the agent's per-cycle proposals. CLI run --hunters agent.
Verified on local qwen2.5:3b: proposed 3 FOCUSED candidates (vs 18 grid) -> global trials 3 not 18 (the
discipline win of agentic search: lower multiple-testing burden) -> found buy_hold on GC in
trend_down|high_vol (gold flight-to-safety in panic). fxhnt 1+2 complete: [hunt] 6 new candidates → 1 specialists | global hypotheses 9 | by regime {'trend_down|high_vol': 1}
[book] as of 2026-06-08 | 0 active, 2 dormant | weights (flat)
on cron = the standing agentic force that constantly seeks regime-specialists and runs them side by side.
22/22 tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-13 01:20:53 +02:00
jgrusewski
c41dc088e9 feat: continuous factory runtime (fxhnt 1) — the standing 'constantly seeking' force
application/runtime.FactoryRuntime.cycle: hunt new regime-specialists (fleet) then assemble today's
regime-adaptive book (regime execution) in one pass. CLI run (single cycle = cron-friendly, like the
foxhunt paper trackers; --interval-minutes for a foreground daemon). Distinct-hypothesis DEDUP added to
the store (SeenCandidateRow + is_seen/mark_seen) and wired into the fleet, so re-running across cycles
does NOT re-inflate the global trial count or re-do work — honest multiple-testing accounting over time.
Verified: cycle 1 = 18 new candidates / global 18; cycle 2 = 0 new / global stays 18. 22/22 tests.
(Schedule [hunt] 0 new candidates → 0 specialists | global hypotheses 18 | by regime {}
[book] as of 2026-06-08 | 0 active, 3 dormant | weights (flat) via cron for the always-on force. Next: LLM-driven hunters = fxhnt 2.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-13 01:17:37 +02:00