The forge: run_repo_to_tasks
Runs the whole loop over a repository: it finds candidates, authors each as a bundle, checks and runs it, and keeps a task when its pass@1 on target_model is below pass_at_1_threshold.
Kept bundles stand at
<task>/harbor/ with their checks and runs beside them. While it runs it may ask you a question; see Consult. A session spends at most $100 on kennet:l2 (cost_budget_usd).
Mining: run_task_proposals
Mines a repository for candidates: its commits, and its merged pull requests with the issues they close. A candidate is an idea with its base and final commits, not a bundle.
proposals.json lands at proposals/<run id>/. Pass the run id to run_repo_to_tasks as seed.
Scoring: score_candidate
Scores one candidate and returns three measures: idea_difficulty, idea_quality, and oracle_quality_score when the record proposes test cases. No overall score and no bar: what a score is worth is your call. Stateless; nothing is written.
One bundle: generate_harbor_task
Writes one bundle from source material and pushes it to a branch. Use it rather than writing a bundle by hand.
bundle_path, the conversion report, the branch it landed on, and eval_ready when run_ci is set. generate_harbor_task is the only tool that writes to your repository.
Also
run_sandbox_session: an open-ended session on the environment the repository declares, toward a goal you write (a toolchain spike, fixtures). It writesSANDBOX_REPORT.mdand lands atsandbox/<run id>/.