mirror of
https://github.com/storytold/autocraft.git
synced 2026-12-01 10:33:55 +01:00
Moved, behaviour kept: forkOf, branchOf (and mainHeadOf, from fixissue defaultDeps().mainHead) to src/github/fork.ts;
tasksFor to src/build/fix-tasks.ts (default step name is now "fix-check"); validateFixPatch and editable to
src/security/patch.ts; textRefs, issuesWithOpenPr*, hasOpenPr, textHash, notRustKey to src/core/open-prs.ts;
approval.ts to src/implement/approval.ts. The cache-repo ref refs/fixissue/main is now refs/fixup/main-head.
Deleted: src/fixissue/{index,parse,types,template}.ts, the steps fixissue and fixissue-collect, the CLI commands
fixissue and fixissue-collect (fixissue-approval is now implement-approval in src/implement/cli.ts), the prompts
fixissue.triage, fixissue.patch and fixissue.check with their input types and samples.
Removed tests:
- test/fixissue.test.ts (whole file: tested runFixIssue, the attempt rows and the deleted triage/patch flow)
- test/merge-rule-sec3.test.ts: the parseTriage/sourcePaths assertions (build-script rule stays tested via buildScripts)
- test/sandbox.test.ts: the sample-input entries for fixissue.triage, fixissue.patch, fixissue.check
Repointed: model-text-sec3 (to implTitle/implCommitMessage), issue-stalls, mirror, implement-plan, implement-build, world-db.
Old audit action names and step names stay in the display maps so earlier rows still show. Docs: the Fix stage is
Implement (registry docSection, pipeline.md, how-it-works, stage-summaries, README); generated blocks regenerated.