How samikshabagri/innodata-ai works
Crucible turns a local Click checkout into validated Harbor coding tasks. The documented workflow prepares and analyzes the repository, generates and gates feature ideas, authors specifications/solutions/tests, validates candidates, applies hardening and diversity selection, packages tasks, then runs Harbor checks and agent calibration before reporting. The graph follows README-documented stage flow and sampled caller relationships; unsampled implementation details are not inferred. LLM replay/live behavior is supported by the llm.py excerpt.
Main entry points: __main__.py CLI orchestration · validate.py Candidate validation · harbor_run.py Harbor verification · llm.py LLM client
Components 25
Control and inputs
- CLI orchestration
crucible/__main__.py - Configuration
crucible/config.py - Click checkout
Task generation
- Prepare baseline
crucible/stages/prepare.py - Repository analysis
crucible/stages/analyse.py - Idea generation
crucible/stages/ideate.py - Specify and author
crucible/stages/author.py
Validation and selection
- Candidate validation
crucible/stages/validate.py - Mutation testing
crucible/mutate.py - Task hardening
crucible/stages/harden.py - Diversity selection
crucible/stages/diversity.py - Candidate selection
crucible/pipeline.py
Task evaluation
- Harbor packaging
crucible/stages/package.py - Harbor verification
crucible/stages/harbor_run.py - Agent calibration
crucible/stages/calibrate.py - Coding agents
- Results reporting
crucible/stages/report.py - Dashboard rendering
crucible/stages/dashboard.py - Generated task folders
Shared services
- LLM client
crucible/llm.py - Replay response cache
cache/llm - Process and Docker runner
crucible/sandbox.py - Structured logging
crucible/log.py
Other components
- Pipeline operator
- Anthropic API
Connections 34
- Pipeline operator → CLI orchestration: invokes
README.md - CLI orchestration → Configuration: loads
crucible/__main__.py - CLI orchestration → Prepare baseline: starts generation
crucible/__main__.py - Prepare baseline → Click checkout: checks baseline
README.md - Prepare baseline → Repository analysis: precedes
README.md - Repository analysis → Idea generation: provides repo map
crucible/__main__.py - Idea generation → LLM client: requests ideas
crucible/stages/ideate.py - Idea generation → Specify and author: accepted ideas
README.md - Specify and author → LLM client: generates content
crucible/stages/author.py - Specify and author → Candidate validation: supplies candidate
README.md - Candidate validation → Mutation testing: tests mutants
crucible/stages/validate.py - Candidate validation → Process and Docker runner: runs checks
crucible/stages/validate.py - Candidate validation → LLM client: repairs failures
crucible/stages/validate.py - CLI orchestration → Candidate selection: selects candidates
crucible/__main__.py - Candidate selection → Candidate validation: validates ideas
crucible/pipeline.py - Candidate selection → Diversity selection: checks similarity
crucible/pipeline.py - Candidate selection → Harbor packaging: packages chosen tasks
crucible/pipeline.py - Task hardening → Candidate validation: revalidates variants
crucible/stages/harden.py - CLI orchestration → Task hardening: hardens tasks
crucible/__main__.py - CLI orchestration → Diversity selection: rechecks selection
crucible/__main__.py - Harbor packaging → Generated task folders: writes folders
README.md - Generated task folders → Harbor verification: provides task inputs
crucible/stages/harbor_run.py - Harbor verification → Process and Docker runner: runs commands
crucible/stages/harbor_run.py - Harbor verification → Results reporting: records results
README.md - Agent calibration → Coding agents: grades attempts
crucible/stages/calibrate.py - Agent calibration → Harbor verification: uses Harbor verifier
crucible/stages/calibrate.py - CLI orchestration → Agent calibration: calibrates tasks
README.md - CLI orchestration → Harbor verification: runs official checks
crucible/__main__.py - CLI orchestration → Results reporting: builds report
crucible/__main__.py - Results reporting → Dashboard rendering: renders dashboard
crucible/stages/report.py - Results reporting → Generated task folders: reads task metadata
crucible/stages/report.py - LLM client → Replay response cache: reads or writes
crucible/llm.py - LLM client → Anthropic API: calls in live mode
crucible/llm.py - CLI orchestration → Structured logging: configures logs
crucible/__main__.py