Core domain models, IDs, events, and state machines.
Research search harness for policy comparison across substrates.
ExperimentConfig- Configuration for search experimentsPolicyComparison- Main harness for running policy comparisons- Workloads:
toy,hpo(KNN),s2,transform
Knowledge layer with evidence tracking and operator management.
evidence- Immutable scientific evidence recordsoperators- Operator catalog and credit budgetsregistry- Append-only skill registry
Meta-Search / policy-evolution subsystem (protocols 241+). Search strategies are typed, versioned experimental objects; all stochastic choices are seeded.
traces—DiscoveryTrace/TraceNode: append-only, content-addressed, sha256-chained discovery lineage with canonical JSON.replay—ReplayEnv: prefix-only decisions on a frozen trace; counterfactual branches are labelled uncertain with no manufactured outcome and are never prospective evidence.policies—SearchPolicywith deterministicselect(),SearchPolicy.checksum(),propose_policy()and the frozenBASELINE/REPLAY/EVOLVED/CONTROLpresets.evaluation— stagedevaluate_policy()and fail-closedpromote(); replay can only diagnose, prospective and independent held-out stages can promote.protocol_241— sealed bundle writerrun_pilot()and independentverify_pilot()re-hasher/verdict checker.transfer— Protocol 244 real-workload runner: reuses the same evaluator and promotion gate on frozentransform/hpoattempt traces; replay remains diagnostic only.
Deterministic statistical inference utilities.
- Bootstrap confidence intervals
- Welch's t-test
- Cohen's d effect size
- Benjamini-Hochberg FDR correction
Persistent storage layer.
- SQLite schema (v3) with append-only triggers
- Event store
- Repositories
Execution engine for experiments and runs.
- Worker with isolated subprocess execution
- Queue with leases
- Artifact store (write-once, hash-sealed)
- Recovery and aggregation
See implementation/algolab/README.md for full CLI documentation.
Meta-Search commands:
algolab meta-search-run --dir <bundle> ...— run a preregistered policy comparison and seal every artifact inchecksums.json.algolab meta-transfer-run --dir <bundle> ...— run the preregistered real-workload transfer protocol with the same evaluator/promotion gate.algolab meta-verify --dir <bundle> [--json]— independently re-hash the bundle, check trace integrity and detect replay-only promotion.