Skip to content

API reference

WARNING

This documentation is almost entirely "vibe coded"; while a helpful resource for humans and agents to understand this codebase, it should not be considered a source of ground truth in the way documentation normally is, and the user is responsible for verifying that all instructions given here are safe.

abc-mine is primarily a CLI, but every module is importable for embedding or testing. The layering:

cli                          argument parsing, reporting, drift enforcement
  stages/{screen,rank,build}  the three workflow stages
    sandbox                   staging and running one agent in a container
    parallel                  serial / local-process / MPI backends
    prompts                   templates, slot packs, gated overrides
    rubric                    axes, weights, gates, deterministic scoring
    repo                      commit selection, worktrees, bundle-cutoff
    preflight                 proving the toolchain works, measuring cost
    manifest                  run provenance, config lock, drift detection
    config                    the run configuration schema

Nothing below stages/ depends on anything above it.

Where to look first

If you want to Read
Understand the config schema config
Change how commits are scored rubric
Understand prompt composition prompts
Understand starting-state construction repo — build_cutoff_workspace
Understand verifier polarity checking stages.build
Understand resume and drift manifest
Add a parallel backend parallel

Notable entry points