warm-copy resolves current once and reads the signed record, manifest, target and
CARGO_HOME from that version's dir. The manifest records whether the publish's trim
attributed every kept unit to the build; only then does warm-copy set unchanged
sources to an old mtime. CARGO_HOME is copied beside its place and moved in with
renames; a failed copy leaves nothing and the task stays cold for its later pods.
Files deleted since the warm commit mark their nearest Cargo.toml and dir as changed.
A memory-backed target is reserved when the task starts and added to warm-copy's
and the steps' memory; it starts cold when the node's version needs more. The warm
env hash includes the craft-fonts and craft-i18n commits.
decidePr routes a take-fix review and red CI on a PR an implementation opened to implement{revise} for its issue instead of
the fix-up and the CI fix; a conflict still goes to the conflict step, and a head is revised once. The revise bucket
(src/implement/revise.ts) sends the review's fix list or the CI failure to the attempt's session on the queuer's Task
Runner, restores a lost workspace from its stored checkpoint, runs AutoCraft's checks, and pushes the change since our
last push onto the PR's head through write.ts. A merged or closed PR ends the attempt and its workspace. A stuck revision
is tried again on the same PR. The queuer's pre-approved merge carries across the revision's push.
A refused call (Submit.refused, or the harness's refusal text) goes back to the
queue without using an attempt or adding to the cool-off: for another runner
token that offers its tier, else one tier lower. Its agent run records where it
went. A second refusal, or one with nowhere to retry, fails the call as refused,
and the step stops its attempts with that error. Task Runner 1.3.9 flags refusals.
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.
Security cases get the same lines as any PR. Closed is not final; a deleted comment is final only once a read of the PR
confirms it is gone. Batch members show the batch once its PR is open. Failure backoff per PR, a new comment when the
stored one was written as another identity, paged comment search, a per-repo lease, merge-order queue places (batch
members ahead, PRs waiting on a decision left out), last edits after the repo leaves the pipeline scope, and a daily limit
of 2,000.
A per-repo switch (Repos page, GitHub writes; operators and maintainers with write), off by default. The pr-status step
posts once the PR is past triage and edits the same comment when its status line changes: the step from the public status
layer, the place in the merge queue (exact up to 10) or the merge batch, and the batch it merged with. A history of steps,
and a Details for maintainers line linking the item page and the merge queue. Bulk-paced writes, 500 a day, no timer; a
comment whose record was lost is found on GitHub by its marker and edited.
Connection cap, HTTP/2 stream cap, handshake/header/request/body/idle
timeouts (also on the HTTP/1.1 fallback); 32 upstream and 8 git slots with
503 when full; upload-pack killed after 60 s without output. Index 404s are
remembered for the TTL; crate misses stop below 2 GiB free; ENOSPC is logged
as disk-full. An unreadable allowlist keeps the previous list and deletes
nothing; a failed git fetch counts as an attempt and the existing mirror is
served. POST checks repo, content type and encoding before reading the body.
Crate files are opened before the answer starts. CrateVerifier no longer
caches unknown crates.
The agent records blobs a failed sync found bad per key (badBlobs in warm-status-<node>) for the
producer's recheck, refuses a signed latest.json older than the version it holds, and removes
version dirs with read-only directories inside. Kubernetes environment cards and envs list show
each warm key's newest version and on how many nodes it is held.
autocraft-server crate-mirror serve terminates TLS for index.crates.io,
static.crates.io, github.com and api.github.com so clients keep the public
URLs and cargo's registry and git checkout paths. Index files are cached 60 s
and served stale up to 7 days while upstream fails; .crate files are stored
only when their sha256 equals the upstream index cksum; both stores are LRU
with byte caps. Git serves upload-pack from bare mirrors of an allowlist,
fetched every 2 minutes and on stale info/refs. CrateVerifier gains
checksum() and treats an index 404 as an unknown crate.