How alisonjieli-png/loop-engine works
Baltor is the product; Loop Engine is its open engine and Python package. Its documented customer workflow is: a harness searches the reviewed library, receives short references, fetches a chosen item after access is checked, and uses that material in a fresh, bounded step; an independent step can check the result. The library lifecycle runs from source discovery and admission checks through independent review to catalogue publication. The graph includes major documented capabilities and indexed core modules; many service routes and integrations were not excerpted, so their internal call edges are omitted.
Main entry points: recursive_loop.py Recursive Loop · pipeline.py Ingestion pipeline · catalog MCP endpoint · store_serve.py Serving access
Components 27
Harness delivery
- Agent harness
- Container worker
containers/worker
Search and delivery
- MCP endpoint
src/loop_engine/catalog - Typed catalogue query
src/loop_engine/catalog/query.py - Store contract
src/loop_engine/catalog/protocol.py - SQLite catalogue
src/loop_engine/catalog/stores/sqlite_store.py - Serving access
src/loop_engine/core/store_serve.py - Facet filtering
src/loop_engine/core/facets.py - Published catalogue
src/loop_engine/catalog
Library lifecycle
- Ingestion pipeline
src/loop_engine/core/library_ingestion/pipeline.py - Admission checks
src/loop_engine/core/library_ingestion/pipeline_checks.py - Provenance records
src/loop_engine/core/library_ingestion/provenance.py - Record validation
src/loop_engine/core/library_ingestion/record_rules.py - Bounded HTTPS
src/loop_engine/core/library_ingestion/https_transport.py - Request log
src/loop_engine/core/library_ingestion/request_log.py - Independent review
tools/candidate_review/engines.py
Loop runtime
- Recursive Loop
src/loop_engine/loop/recursive_loop.py - Decision engines
src/loop_engine/core/decisions - Task similarity
src/loop_engine/core/task_similarity_engine.py - Question engine
src/loop_engine/strings/question_engine.py - Engine proof
src/loop_engine/code_nodes/core_engine_proof.py
Source discovery
- Knowledge radar
tools/knowledge_radar/pipeline.py - Network discovery
tools/knowledge_radar/engines_network.py - Radar engines
tools/knowledge_radar/engines.py - Discovery records
tools/knowledge_radar/records.py - Outside-material import
tools/ingest_outside_material.py
Other components
- Customer
Connections 24
- Customer → Agent harness: starts task
README.md - Agent harness → MCP endpoint: searches library
README.md - MCP endpoint → Typed catalogue query: queries catalogue
src/loop_engine/catalog/stores/sqlite_store.py - Typed catalogue query → SQLite catalogue: reads records
src/loop_engine/catalog/stores/sqlite_store.py - MCP endpoint → Agent harness: returns references
README.md - Agent harness → Serving access: downloads choice
README.md - Serving access → Published catalogue: checks access
README.md - Serving access → Agent harness: delivers bytes
README.md - Agent harness → Container worker: runs in
README.md - Ingestion pipeline → Admission checks: runs checks
src/loop_engine/core/library_ingestion/pipeline_checks.py - Ingestion pipeline → Provenance records: records origins
- Ingestion pipeline → Record validation: validates records
- Bounded HTTPS → Request log: records requests
src/loop_engine/core/library_ingestion/https_transport.py - Knowledge radar → Radar engines: collects sources
tools/knowledge_radar/pipeline.py - Knowledge radar → Discovery records: records findings
tools/knowledge_radar/pipeline.py - Network discovery → Bounded HTTPS: uses transport
tools/knowledge_radar/engines_network.py - Outside-material import → Ingestion pipeline: stages material
tools/ingest_outside_material.py - Independent review → Published catalogue: approves admission
README.md - Published catalogue → MCP endpoint: serves library
README.md - Agent harness → Recursive Loop: runs step
README.md - Recursive Loop → Decision engines: uses decisions
- Recursive Loop → Task similarity: checks similarity
src/loop_engine/core/task_similarity_engine.py - Recursive Loop → Question engine: forms questions
- Recursive Loop → Engine proof: independent check
src/loop_engine/code_nodes/core_engine_proof.py