ACRA Insight field unit / typed recursion issue

MoEA Loop

A typed rewrite system that drives two research skills into a self-extending, auditable research tree.

Static showcase only. The Python CLI runs locally because the loop is stateful, resumable, and long-running. Manual mode is dependency-free; the Claude backend only needs the optional Anthropic package.

The loop / no mystery meat in the middle

Brief → anchors → deliverables → typed forks.

The orchestrator does not reimplement the skills. It invokes the Stage 1 XML optimizer and Stage 2 Semantic Triple Transformation as the source of truth, then holds tree state between runs.

  1. 01

    brief

    One seed topic plus the tension worth researching.

  2. 02

    Stage 1 XML

    The gemini-deep-research-xml skill turns the brief into an anchored research prompt.

  3. 03

    anchored deep research

    Gemini, Grok, or ChatGPT Deep Research returns STT-ANCHOR blocks.

  4. 04

    Stage 2 STT

    Four deliverables: longform, infographic JSON, social copy, and an artifact prompt.

  5. 05

    typed fork

    One deepen primitive plus one diverge primitive are selected from the anchor set.

  6. 06

    recurse

    The tree expands until the frontier saturates or the budget runs out.

The hard problem, solved

Repeatable follow-ups without turning every topic into the same topic.

The fixed function is the selection logic. The adaptive part is the fork set it chooses from the anchor labels already present in the research.

Forking is typed

Each primitive declares which STT-ANCHOR labels make it fire. The anchor taxonomy becomes the type system.

Selection is paired

The loop returns one best DEEPEN plus one best DIVERGE, so the two children are complementary by construction.

Novelty is gated

A ledger scores each projected brief against prior theses. Saturated branches terminate instead of restating the tree.

The primitive library / seven ways out

Forks are not vibes. They are typed rewrite rules.

Each primitive is lifted from the README and classified as either convergent pressure or lateral reframing.

idrolelens
ANTITHESISdeepenFeynman steelman-the-objection
DEBATEdeepenAI-safety-via-debate / Oxford two-sided
DEPTHdeependrill one named open question to the studs
HOLOGRAPHICdivergeMaldacena boundary/bulk reframe
ANALOGICALdivergecross-domain isomorphism transplant
VERTICALdivergeapplied instantiation (sector / GTM / product)
POWERdivergecoalition / incentive map

Local loop / paste, ingest, branch, repeat

Manual mode matches the Gemini-by-hand workflow.

It prints paste-ready skill blocks, ingests the research files you save back, and keeps the tree plus novelty ledger on disk.

python3 moea_loop.py init --brief "Your topic + tension" --domain neuro
python3 moea_loop.py prompt 0
python3 moea_loop.py ingest 0 deep-research-report.md
python3 moea_loop.py fork 0
ACRA Insight LLCMoEA Loop v0.2 / Context Jamming