Recursive Reasoning Docs

This section groups the current Gollek recursive-reasoning materials into one reader path.

It is the best entrypoint if you are trying to answer one of these questions:

  • where the new GRAM-style recursive-reasoning family fits in Gollek
  • how to run the small in-memory recursive-reasoning demo
  • how to inspect one recursive-reasoning-report.json
  • how to compare two recursive-reasoning reports and reopen saved compare artifacts

See also:

Which Page Should I Read?

If you want the module and training-family placement, start with the repository integration note in GENERATIVE_RECURSIVE_REASONING_INTEGRATION_PLAN.md.

If you want the implementation package and starter contracts, go to:

  • gollek/training/gollek-train-recursive-reasoning/

If you want the fastest practical terminal path, start with:

  • gollek/examples/jbang/trainer/run_recursive_reasoning_workflow.sh

If you want one guided end-to-end walkthrough, use:

If you want a quick vocabulary reference for report, rollout, compare-result, and compare-bundle terms, use:

If you want to see the current JSON shapes before running the tools, use:

If you want one-report inspection, use:

  • trainer_recursive_reasoning_inspector.java

If you want two-report comparison, saved compare results, or compare bundles, use:

  • trainer_recursive_reasoning_compare_inspector.java

Do You Have One Report, Two Reports, Or Do You Want The Full Workflow?

If you have one recursive-reasoning report and want status, summary, or selected-state inspection, start with:

If you have two reports and want baseline-vs-current comparison, start with:

If you want the whole demo plus compare plus saved-artifact flow in one go, start with:

Rule of thumb:

  • one report means single-run rollout inspection
  • two reports mean delta, compare-result, and compare-bundle work
  • full workflow means “generate everything and print the next commands for me”

Main Surfaces

  • gollek-ml-recursive-reasoning is the new recursive-reasoning family for GRAM-style stochastic latent rollout work.
  • trainer_recursive_reasoning_demo.java runs the tiny in-memory recursive-reasoning demo and writes recursive-reasoning-report.json.
  • trainer_recursive_reasoning_inspector.java reads one recursive-reasoning report and supports overview, status, config, summary, and selected-state selectors.
  • trainer_recursive_reasoning_compare_inspector.java compares two recursive-reasoning reports, exports saved compare results, exports compare bundles, and reopens those saved artifacts later.
  • run_recursive_reasoning_workflow.sh is the one-command smoke path for baseline, current, compare result, and compare bundle generation.
  • Recursive Reasoning Glossary defines the main artifact, rollout, and comparison vocabulary used across the new recursive-reasoning docs set.
  • Recursive Reasoning Artifact Examples shows abbreviated shapes for the single-report artifact, saved compare result, and compare-bundle manifest.
  • Recursive Reasoning Workflow is the guided path for demo run, one-report inspection, direct comparison, saved compare result reopening, compare bundle reopening, and one-command workflow usage.

Starter Commands

cd gollek/examples/jbang

jbang trainer/trainer_recursive_reasoning_demo.java

jbang trainer/trainer_recursive_reasoning_inspector.java \
  trainer_checkpoints/recursive_reasoning_demo \
  overview

jbang trainer/trainer_recursive_reasoning_compare_inspector.java \
  /tmp/recursive-reasoning-demo-a \
  /tmp/recursive-reasoning-demo-b \
  comparison:ci

./trainer/run_recursive_reasoning_workflow.sh full /tmp/recursive-reasoning

That sequence gives you:

  • one demo report
  • one compact single-report inspection
  • one baseline-vs-current comparison
  • one end-to-end workflow that also materializes a compare result and bundle

Where Does This Live In The Repo?

Path Role
gollek/training/gollek-train-recursive-reasoning/ Main Java recursive-reasoning contracts, rollout executor, session, and report types
gollek/examples/jbang/trainer/ JBang demo, inspectors, and workflow script
gollek/docs/GENERATIVE_RECURSIVE_REASONING_INTEGRATION_PLAN.md High-level placement note for the GRAM-style family

Fast practical entrypoints:

  • gollek/training/gollek-train-recursive-reasoning/README.md
  • gollek/examples/jbang/trainer/trainer_recursive_reasoning_demo.java
  • gollek/examples/jbang/trainer/trainer_recursive_reasoning_inspector.java
  • gollek/examples/jbang/trainer/trainer_recursive_reasoning_compare_inspector.java
  • gollek/examples/jbang/trainer/run_recursive_reasoning_workflow.sh

What’s Stable Vs Evolving?

The current stable-enough surfaces for readers and downstream scripts are:

  • the persisted report name:
    • recursive-reasoning-report.json
  • the JBang entrypoints:
    • trainer_recursive_reasoning_demo.java
    • trainer_recursive_reasoning_inspector.java
    • trainer_recursive_reasoning_compare_inspector.java
    • run_recursive_reasoning_workflow.sh
  • the current single-report, compare-result, and compare-bundle selector families

The more likely-to-evolve areas are:

  • richer trainer/session strategy beyond the current in-memory reference path
  • larger bundle/export vocabularies
  • future rollout-policy, checkpoint, or campaign-style higher-order reporting

Rule of thumb: anchor first on the report artifact and the documented inspector/workflow entrypoints, then treat future higher-order reporting layers as the more changeable part of the family.

Docs Status

Current recursive-reasoning docs coverage includes:

  • training-family placement
  • repo entrypoints
  • single-report demo/report flow
  • one-report inspection
  • two-report comparison
  • saved compare result reopening
  • compare bundle export and reopening
  • one-command workflow automation
  • glossary coverage
  • artifact-shape examples
  • top-level workflow chooser

Recent additions:

  • recursive-reasoning JBang demo
  • single-report inspector
  • compare inspector
  • compare result export
  • compare bundle export
  • workflow shell script
  • workflow tutorial
  • glossary
  • artifact examples
  • top-level chooser

Fastest follow-up pages:

If this docs cluster still is not enough, the fastest next places to look are:

  • gollek/training/gollek-train-recursive-reasoning/README.md
  • gollek/examples/jbang/trainer/README.md
  • gollek/docs/GENERATIVE_RECURSIVE_REASONING_INTEGRATION_PLAN.md