Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/gittensory-engine/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export {
type WorktreeExecResult,
type WorktreePlan,
type WorktreeRemoveResult,
} from "./miner/worktree-allocator.js";
} from "./miner/worktree-plan.js";
export * from "./miner/worktree-pool.js";
export {
invokeCodingAgentDriver,
Expand Down
2 changes: 1 addition & 1 deletion packages/gittensory-engine/src/miner/iterate-loop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export type IterateLoopInput = {
linkedIssues?: number[] | undefined;
authorAssociation?: string | undefined;
/** Optional branch ref for the attempt's worktree, threaded through to a passing {@link HandoffPacket}
* unchanged -- this loop does not itself manage worktrees/branches (worktree-allocator.ts's job). */
* unchanged -- this loop does not itself manage worktrees/branches (worktree-plan.ts's job). */
branchRef?: string | undefined;

/** Repo-level self-review context (manifest, repo record, issues, pull requests, ...) -- passed through to
Expand Down
4 changes: 2 additions & 2 deletions packages/gittensory-engine/src/miner/worktree-pool.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Git-worktree POOL allocator (#4297): the pure, in-memory scheduling logic for a POOL of per-attempt git
// worktrees across concurrent fleet attempts — acquire/release under a concurrency cap, plus orphan
// reclamation. Complementary to the isolation PRIMITIVE (worktree-allocator.ts, #4269), which plans/creates/
// reclamation. Complementary to the isolation PRIMITIVE (worktree-plan.ts, #4269), which plans/creates/
// tears down ONE worktree; this manages the SET of them so two concurrent attempts never collide and a crash
// can't leak worktree slots forever.
//
Expand All @@ -10,7 +10,7 @@
// calls these pure transitions, and writes the result back. No IO here: every function takes state in and
// returns new state out.

import { planWorktree, type WorktreePlan } from "./worktree-allocator.js";
import { planWorktree, type WorktreePlan } from "./worktree-plan.js";

/** One live allocation: which attempt holds which planned worktree. */
export type WorktreeAllocation = {
Expand Down