@mycompbox/compbox-cli 1.21.8 → 1.21.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/.tsbuildinfo +1 -1
  2. package/commands/list.js +1 -1
  3. package/commands/list.js.map +1 -1
  4. package/commands/machines.d.ts +4 -0
  5. package/commands/machines.d.ts.map +1 -1
  6. package/commands/machines.js +61 -2
  7. package/commands/machines.js.map +1 -1
  8. package/commands/run.d.ts +27 -1
  9. package/commands/run.d.ts.map +1 -1
  10. package/commands/run.js +157 -36
  11. package/commands/run.js.map +1 -1
  12. package/commands/update.d.ts +19 -0
  13. package/commands/update.d.ts.map +1 -1
  14. package/commands/update.js +124 -7
  15. package/commands/update.js.map +1 -1
  16. package/commands/workspace.d.ts.map +1 -1
  17. package/commands/workspace.js +13 -1
  18. package/commands/workspace.js.map +1 -1
  19. package/index.js +4959 -1492
  20. package/index.js.map +1 -1
  21. package/package.json +1 -1
  22. package/utils/agent-invoker.d.ts +228 -29
  23. package/utils/agent-invoker.d.ts.map +1 -1
  24. package/utils/agent-invoker.js +1012 -353
  25. package/utils/agent-invoker.js.map +1 -1
  26. package/utils/brew.d.ts +10 -0
  27. package/utils/brew.d.ts.map +1 -1
  28. package/utils/brew.js +14 -0
  29. package/utils/brew.js.map +1 -1
  30. package/utils/cli-version.d.ts +3 -0
  31. package/utils/cli-version.d.ts.map +1 -0
  32. package/utils/cli-version.js +18 -0
  33. package/utils/cli-version.js.map +1 -0
  34. package/utils/cloud-preflight.d.ts +68 -0
  35. package/utils/cloud-preflight.d.ts.map +1 -0
  36. package/utils/cloud-preflight.js +287 -0
  37. package/utils/cloud-preflight.js.map +1 -0
  38. package/utils/config-store.d.ts +29 -0
  39. package/utils/config-store.d.ts.map +1 -1
  40. package/utils/config-store.js +30 -0
  41. package/utils/config-store.js.map +1 -1
  42. package/utils/install-cache.d.ts +105 -0
  43. package/utils/install-cache.d.ts.map +1 -0
  44. package/utils/install-cache.js +184 -0
  45. package/utils/install-cache.js.map +1 -0
  46. package/utils/mailbox-client.d.ts +113 -3
  47. package/utils/mailbox-client.d.ts.map +1 -1
  48. package/utils/mailbox-client.js +130 -6
  49. package/utils/mailbox-client.js.map +1 -1
  50. package/utils/merge-guard.d.ts +66 -0
  51. package/utils/merge-guard.d.ts.map +1 -0
  52. package/utils/merge-guard.js +271 -0
  53. package/utils/merge-guard.js.map +1 -0
  54. package/utils/merge-policy.d.ts +68 -0
  55. package/utils/merge-policy.d.ts.map +1 -0
  56. package/utils/merge-policy.js +129 -0
  57. package/utils/merge-policy.js.map +1 -0
  58. package/utils/package-manager-shims.d.ts +2 -0
  59. package/utils/package-manager-shims.d.ts.map +1 -1
  60. package/utils/package-manager-shims.js +1 -1
  61. package/utils/package-manager-shims.js.map +1 -1
  62. package/utils/progress-watcher.d.ts +53 -0
  63. package/utils/progress-watcher.d.ts.map +1 -0
  64. package/utils/progress-watcher.js +109 -0
  65. package/utils/progress-watcher.js.map +1 -0
  66. package/utils/project-checks.d.ts +72 -0
  67. package/utils/project-checks.d.ts.map +1 -0
  68. package/utils/project-checks.js +276 -0
  69. package/utils/project-checks.js.map +1 -0
  70. package/utils/run-timings.d.ts +59 -0
  71. package/utils/run-timings.d.ts.map +1 -0
  72. package/utils/run-timings.js +130 -0
  73. package/utils/run-timings.js.map +1 -0
  74. package/utils/run-workspace.d.ts +199 -2
  75. package/utils/run-workspace.d.ts.map +1 -1
  76. package/utils/run-workspace.js +896 -136
  77. package/utils/run-workspace.js.map +1 -1
  78. package/utils/self-update.d.ts +104 -0
  79. package/utils/self-update.d.ts.map +1 -0
  80. package/utils/self-update.js +391 -0
  81. package/utils/self-update.js.map +1 -0
  82. package/utils/usage-limit.d.ts +30 -0
  83. package/utils/usage-limit.d.ts.map +1 -0
  84. package/utils/usage-limit.js +186 -0
  85. package/utils/usage-limit.js.map +1 -0
  86. package/utils/wrap-up.d.ts +109 -0
  87. package/utils/wrap-up.d.ts.map +1 -0
  88. package/utils/wrap-up.js +260 -0
  89. package/utils/wrap-up.js.map +1 -0
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAerD,SAAS,iBAAiB;IACxB,2EAA2E;IAC3E,2EAA2E;IAC3E,IAAI,OAAO,eAAe,KAAK,WAAW,EAAE,CAAC;QAC3C,OAAO,eAAe,CAAC;IACzB,CAAC;IACD,+DAA+D;IAC/D,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAwB,CAAC;IAC9D,OAAO,GAAG,CAAC,OAAO,CA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AAW,CAAC,CAAC;AAChC,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACrC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAElC,kBAAkB;AAClB,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycompbox/compbox-cli",
3
- "version": "1.21.8",
3
+ "version": "1.21.10",
4
4
  "description": "CompBox CLI - Install, update, and manage Skill Packs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,15 +16,18 @@
16
16
  *
17
17
  * `start_execution` jobs run the planner/orchestrator headless (below).
18
18
  */
19
- import Anthropic from '@anthropic-ai/sdk';
20
- import { spawn } from 'node:child_process';
21
- import { type PxpipeRouting, type InterviewSeedPayload, extractCompletionJson, looksLikeCompletionAttempt, meetsComplianceTarget, buildAuditFeedback, COMPLETION_REPAIR_INSTRUCTION, type ComplianceSummary, type EpicRequestDraft, type StartExecutionFix } from '@mycompbox/shared';
19
+ import Anthropic from "@anthropic-ai/sdk";
20
+ import { spawn } from "node:child_process";
21
+ import { type PxpipeRouting, type InterviewSeedPayload, extractCompletionJson, looksLikeCompletionAttempt, meetsComplianceTarget, buildAuditFeedback, COMPLETION_REPAIR_INSTRUCTION, type ComplianceSummary, type EpicRequestDraft, type StartExecutionFix, type NeedsInputRequest } from "@mycompbox/shared";
22
22
  export { extractCompletionJson, looksLikeCompletionAttempt, meetsComplianceTarget, buildAuditFeedback, COMPLETION_REPAIR_INSTRUCTION, };
23
23
  export type { ComplianceSummary, EpicRequestDraft };
24
- import { type KeyRun } from './key-run.js';
25
- import { type ProcessGroupDeps } from './process-group.js';
26
- import type { FinishResult, RunWorkspaceManager } from './run-workspace.js';
27
- import type { MailboxAttachment, MailboxClient, MailboxJob, MailboxJobTurn } from './mailbox-client.js';
24
+ import { type CloudPreflightFacts, type PreflightCheck } from "./cloud-preflight.js";
25
+ import { type KeyRun } from "./key-run.js";
26
+ import { type ProcessGroupDeps } from "./process-group.js";
27
+ import { type BuildStopReason, type Probe } from "./progress-watcher.js";
28
+ import { type ConflictResolver, type FinishResult, type RunWorkspaceManager } from "./run-workspace.js";
29
+ import { type WrapUpHook } from "./wrap-up.js";
30
+ import type { MailboxAttachment, MailboxClient, MailboxJob, MailboxJobTurn } from "./mailbox-client.js";
28
31
  /**
29
32
  * pxpipe routing (ENG-136). Anthropic SDK options carrying the proxy `baseURL`
30
33
  * when routed through pxpipe, otherwise just the API key. Pure — unit tested.
@@ -72,7 +75,7 @@ export declare function buildApiUserContent(text: string, imageBlocks: Anthropic
72
75
  * unchanged (no fetch, no warning — a turn with no attachments behaves exactly
73
76
  * as today). `fetchImpl` is injectable for tests.
74
77
  */
75
- export declare function apiUserTurnContent(turn: Pick<MailboxJobTurn, 'content' | 'attachments'>, warn?: WarnFn, fetchImpl?: typeof fetch): Promise<string | Anthropic.ContentBlockParam[]>;
78
+ export declare function apiUserTurnContent(turn: Pick<MailboxJobTurn, "content" | "attachments">, warn?: WarnFn, fetchImpl?: typeof fetch): Promise<string | Anthropic.ContentBlockParam[]>;
76
79
  /**
77
80
  * Subscription-mode (A4) degradation: append an explicit `[N image(s)
78
81
  * attached]` note to the prompt text when the turn carries images (the local
@@ -81,16 +84,24 @@ export declare function apiUserTurnContent(turn: Pick<MailboxJobTurn, 'content'
81
84
  * no-attachment turn is byte-identical to today. Pure.
82
85
  */
83
86
  export declare function appendAttachmentNote(text: string, imageCount: number): string;
87
+ /** ENG-332: the result of an orchestrate run that stopped on an AI usage/rate limit. */
88
+ export declare function usageLimitResult(epicId: string, resumeAt: Date | undefined): InvokeResult;
84
89
  export interface InvokeResult {
85
- status: 'done' | 'failed';
90
+ /**
91
+ * `waiting` (ENG-332): the run stopped on an AI usage/rate limit and should
92
+ * resume once it resets — not a failure.
93
+ */
94
+ status: "done" | "failed" | "waiting";
86
95
  result: Record<string, unknown>;
96
+ /** When a `waiting` run can resume, if the limit message said so. */
97
+ resumeAt?: Date;
87
98
  }
88
99
  /**
89
100
  * A request conversation step that left the job open (waiting on the person):
90
101
  * the job must NOT be completed.
91
102
  */
92
103
  export interface YieldResult {
93
- status: 'yield';
104
+ status: "yield";
94
105
  }
95
106
  /**
96
107
  * ENG-149 — parse a claimed job's `payload` as an interview-CONTINUATION seed
@@ -218,12 +229,15 @@ export interface NeedsReviewResult {
218
229
  * - Planner (ENG-161): a JSON object whose `outcome` is `"needs-human-review"`
219
230
  * (emitted as the final output when EVALUATE lands advisory/critical-fail in
220
231
  * non-interactive mode) — see `.github/agents/claude/planner.md` Stage 4.
221
- * - Orchestrator (ENG-162): a `COMPBOX_NEEDS_HUMAN_REVIEW {json}` prefixed
222
- * final line — matched by prefix, exactly as ENG-165 will parse it.
232
+ * - Orchestrator (ENG-162): a `COMPBOX_NEEDS_HUMAN_REVIEW {json}` line that
233
+ * ends the output. The marker must begin a line and be followed by nothing
234
+ * but an optional JSON object (ENG-331). A mention anywhere else, such as a
235
+ * `## COMPBOX_NEEDS_HUMAN_REVIEW` heading or prose followed by more output,
236
+ * is not a marker. That kind of mention falsely halted ENG-E61 (job 296839ca).
223
237
  *
224
- * Pure + exported for unit testing. Fail-safe: if the phrase is present but no
225
- * clean JSON object can be isolated, it still reports `needsReview: true` (better
226
- * to surface for review than to mis-report success).
238
+ * Pure + exported for unit testing. Fail-safe: if the final marker line is
239
+ * present but its JSON is truncated or garbled, it still reports
240
+ * `needsReview: true` (better to surface for review than to mis-report success).
227
241
  */
228
242
  export declare function detectNeedsHumanReview(output: string): NeedsReviewResult;
229
243
  /** The parts of an epic's stored complianceScore the planner runner acts on. */
@@ -245,7 +259,7 @@ export declare function summarizeComplianceScore(raw: unknown): EpicComplianceSu
245
259
  * are known, so the person sees why the plan was held back. Pure + exported.
246
260
  */
247
261
  export declare function buildPlannerFinalTurn(outcome: {
248
- status: 'done' | 'failed';
262
+ status: InvokeResult["status"];
249
263
  result: Record<string, unknown>;
250
264
  }): string;
251
265
  export interface StartExecutionPlanCtx {
@@ -340,14 +354,6 @@ export declare function buildRefineFinalTurn(outcome: InvokeResult): string;
340
354
  * regardless of exit code.
341
355
  */
342
356
  export declare function invokeStartExecutionRefine(ctx: StartExecutionRefineCtx, deps?: StartExecutionRefineDeps): Promise<InvokeResult>;
343
- /**
344
- * Per-run wall-clock budget for the headless orchestrator child (H4). Executing
345
- * a full epic (every phase, every feature-worker, reviewer + QA + security
346
- * passes, worktree merges) runs FAR longer than a planning pass, so this is set
347
- * well above {@link PLANNER_RUN_TIMEOUT_MS} (30 min). Three hours bounds a hung
348
- * run without cutting a legitimate multi-feature epic short.
349
- */
350
- export declare const ORCHESTRATOR_RUN_TIMEOUT_MS: number;
351
357
  /** Keep-alive cadence while the orchestrator child runs (H4) — same as the planner path. */
352
358
  export declare const ORCHESTRATOR_HEARTBEAT_INTERVAL_MS: number;
353
359
  /**
@@ -361,8 +367,43 @@ export declare const HEADLESS_ORCHESTRATE_REMINDER = "This is a non-interactive
361
367
  * work only on the pull request's branch, push normally, never rewrite history.
362
368
  */
363
369
  export declare const FIX_RUN_RULES: string;
370
+ /**
371
+ * ENG-350: the Claude Code settings that ask for fast mode (faster output, higher
372
+ * cost). Passed as `--settings` only when the job asks for it; we never set
373
+ * CLAUDE_CODE_DISABLE_FAST_MODE, so an account without fast mode simply runs at
374
+ * standard speed.
375
+ */
376
+ export declare const FAST_MODE_SETTINGS = "{\"fastMode\":true}";
377
+ /** `--settings FAST_MODE_SETTINGS` when fast mode is requested, otherwise nothing. */
378
+ export declare function fastModeArgs(fastMode?: boolean): string[];
379
+ /**
380
+ * ENG-350: whether the run actually used fast mode, read from Claude Code's
381
+ * output (`"fast_mode_state":"on"|"off"` or `"speed":"fast"|"standard"` in a
382
+ * JSON result). Plain-text output says nothing, so the answer is "unknown".
383
+ */
384
+ export declare function detectFastModeUsed(output: string): boolean | "unknown";
364
385
  /** Claude CLI args for a fix run: the instructions as the prompt, same unattended profile as a build. */
365
- export declare function buildFixArgs(fix: Pick<StartExecutionFix, 'instructions'>): string[];
386
+ export declare function buildFixArgs(fix: Pick<StartExecutionFix, "instructions">, baseBranch?: string | null, fastMode?: boolean): string[];
387
+ /** Time box for the wrap-up conflict turn (ENG-327): simple conflicts only. */
388
+ export declare const CONFLICT_RESOLVE_TIMEOUT_MS: number;
389
+ /**
390
+ * Claude CLI args for the wrap-up conflict turn (ENG-327): resolve the listed
391
+ * files and nothing else. Git steps (staging, committing, aborting) stay with
392
+ * the runner, which also verifies no other file was touched.
393
+ */
394
+ export declare function buildConflictResolveArgs(files: readonly string[], baseBranch: string): string[];
395
+ /**
396
+ * The default conflict resolver: one `claude` turn in the worktree, killed
397
+ * (with its whole process group) when the time box runs out or the job is
398
+ * cancelled. Exported for tests.
399
+ */
400
+ export declare function createClaudeConflictResolver(opts: {
401
+ command: string;
402
+ env: NodeJS.ProcessEnv;
403
+ spawnImpl?: typeof spawn;
404
+ timeoutMs?: number;
405
+ processGroup?: ProcessGroupDeps;
406
+ }): ConflictResolver;
366
407
  /**
367
408
  * Build the `claude` argv for a headless orchestrator run (H1). Pure + exported
368
409
  * so a unit test can assert the exact command shape: the `@orchestrator execute
@@ -374,7 +415,55 @@ export declare function buildFixArgs(fix: Pick<StartExecutionFix, 'instructions'
374
415
  * ANTHROPIC_BASE_URL, not the model name). `--non-interactive` is what engages
375
416
  * the agent-side serial-in-process fallback (H3).
376
417
  */
377
- export declare function buildOrchestratorArgs(epicId: string): string[];
418
+ export declare function buildOrchestratorArgs(epicId: string, sessionId?: string, ownerReply?: string, baseBranch?: string | null, fastMode?: boolean): string[];
419
+ /**
420
+ * How many times the runner resumes an orchestrator that ended its turn with
421
+ * features still outstanding. On long runs the agent sometimes writes "Next
422
+ * I'll send the next feature to a worker" and stops; in print mode that ends
423
+ * the process (ENG-E60/ENG-E61, 2026-10-22, each stopped after 1-2 features).
424
+ */
425
+ export declare const MAX_ORCHESTRATOR_CONTINUES = 5;
426
+ /** The prompt that resumes a stopped orchestrator in the same session. */
427
+ export declare function orchestratorContinuePrompt(epicId: string, done: number, total: number): string;
428
+ /** Claude CLI args that resume the orchestrator's session with {@link orchestratorContinuePrompt}. */
429
+ export declare function buildOrchestratorContinueArgs(sessionId: string, prompt: string, baseBranch?: string | null, fastMode?: boolean): string[];
430
+ /** What the runner needs to resume a job its owner replied to (from the claim). */
431
+ export interface ReplyResume {
432
+ /** The Claude session the build stopped in, or null (run copy not kept). */
433
+ sessionId: string | null;
434
+ /** The kept run copy (git worktree), or null. */
435
+ runDir: string | null;
436
+ /** The owner's reply. Untrusted text: always quoted, never obeyed. */
437
+ reply: string;
438
+ /** The paused run's branch (from the job result), when known. */
439
+ branch: string | null;
440
+ }
441
+ /** Most of the owner's reply that is handed to the agent. */
442
+ export declare const MAX_REPLY_CHARS = 8000;
443
+ /**
444
+ * Reads the machine-only `resume` block of a claimed job (ENG-339), plus the
445
+ * paused run's branch from its result. Null when the job isn't a reply resume
446
+ * or the block is malformed (an older server sends none).
447
+ */
448
+ export declare function parseReplyResume(job: {
449
+ resume?: unknown;
450
+ result?: unknown;
451
+ }): ReplyResume | null;
452
+ /** The reply as a clearly delimited, untrusted quote the agent can't mistake for instructions. */
453
+ export declare function quoteOwnerReply(reply: string): string;
454
+ /** The prompt that resumes a paused orchestrator session with the owner's reply. */
455
+ export declare function replyResumePrompt(epicId: string, reply: string): string;
456
+ /**
457
+ * Claude CLI args that resume the paused session with the owner's reply
458
+ * (ENG-339). Same profile as {@link buildOrchestratorContinueArgs}.
459
+ */
460
+ export declare function buildReplyResumeArgs(sessionId: string, prompt: string, baseBranch?: string | null, fastMode?: boolean): string[];
461
+ /**
462
+ * Fallback (ENG-339): no session or run copy to resume, so a fresh
463
+ * orchestrator run gets the owner's reply. Appended after the @orchestrator
464
+ * command so the agent routing (which keys on the prompt's start) still works.
465
+ */
466
+ export declare function freshRunReplyContext(reply: string): string;
378
467
  /** Actionable failure when the configured project path is not a git repository. */
379
468
  export declare function orchestrateNotGitRepoMessage(dir: string): string;
380
469
  /** Actionable failure when `git worktree` is unavailable in the project dir. */
@@ -412,11 +501,26 @@ export interface StartExecutionOrchestrateCtx {
412
501
  * on the open pull request's branch instead of executing the epic's plan.
413
502
  */
414
503
  fix?: StartExecutionFix;
504
+ /** ENG-350: run Claude Code in fast mode (faster output, higher cost). */
505
+ fastMode?: boolean;
415
506
  /**
416
507
  * Aborted when the person cancels the job from the website (ENG-300): the
417
508
  * agent's whole process group is terminated and the run reports cancelled.
418
509
  */
419
510
  signal?: AbortSignal;
511
+ /**
512
+ * ENG-339: the owner replied to this paused build. With a session and run
513
+ * copy the run resumes that session there; otherwise it runs fresh on the
514
+ * same branch with the reply in its prompt.
515
+ */
516
+ resume?: ReplyResume;
517
+ /**
518
+ * ENG-345: the project's Google Cloud keyless-deploy facts from the claimed
519
+ * job (`job.cloud`). Absent (older servers, no cloud) → no preflight.
520
+ */
521
+ cloud?: CloudPreflightFacts | null;
522
+ /** ENG-345: the job's normalized repo remote (payload.projectRemote), for the owner check. */
523
+ projectRemote?: string;
420
524
  }
421
525
  export interface StartExecutionOrchestrateDeps {
422
526
  /** Injectable child spawner (defaults to node's `spawn`) — tests never spawn a real `claude`. */
@@ -432,22 +536,71 @@ export interface StartExecutionOrchestrateDeps {
432
536
  /** Best-effort keep-alive fired every {@link ORCHESTRATOR_HEARTBEAT_INTERVAL_MS} while the child runs (H4). */
433
537
  heartbeat?: () => void | Promise<void>;
434
538
  heartbeatIntervalMs?: number;
435
- timeoutMs?: number;
539
+ /** Stop the run after this long without progress (default: `buildStallMinutes` from the config, ENG-331). */
540
+ stallMs?: number;
541
+ /** Absolute ceiling for the whole run, continues included (default: `buildMaxHours` from the config, ENG-331). */
542
+ maxMs?: number;
543
+ /** How often progress is checked (default 60s). */
544
+ progressTickMs?: number;
545
+ /** Progress probe for the run branch's commit (defaults to `git rev-parse HEAD` in the run folder). */
546
+ getHead?: Probe;
547
+ /**
548
+ * Progress probe for the epic's finished-feature count. Not polled by
549
+ * default: reading it posts a status turn on the job, which would flood it.
550
+ */
551
+ getCompletedCount?: Probe;
436
552
  /** Injectable process-group killer (tests never signal real processes). */
437
553
  processGroup?: ProcessGroupDeps;
554
+ /** Injectable clock for usage-limit reset times (ENG-332). */
555
+ now?: () => Date;
438
556
  /**
439
557
  * Runs the orchestrator on its own new branch in a separate git worktree and
440
558
  * finishes with a pushed branch + pull request (see run-workspace.ts). The
441
559
  * daemon always passes one; when omitted the run happens directly in the
442
560
  * project folder, as before.
443
561
  */
444
- workspace?: Pick<RunWorkspaceManager, 'prepare' | 'finish'>;
562
+ workspace?: Pick<RunWorkspaceManager, "prepare" | "finish"> & Partial<Pick<RunWorkspaceManager, "reopen">>;
563
+ /**
564
+ * Wrap-up base merge (ENG-327): the agent turn that resolves merge conflicts.
565
+ * Defaults to a time-boxed `claude` turn limited to the conflicted files.
566
+ */
567
+ resolveConflicts?: ConflictResolver;
568
+ /** Time box for the conflict turn (default {@link CONFLICT_RESOLVE_TIMEOUT_MS}). */
569
+ conflictTimeoutMs?: number;
570
+ /**
571
+ * ENG-346: folder for the agent's merge-refusing `gh` shim (default
572
+ * ~/.compbox/merge-guard); null leaves the agent's PATH as is.
573
+ */
574
+ mergeGuardDir?: string | null;
575
+ /**
576
+ * Build wrap-up (ENG-327): checks, completeness, migrations and the PR
577
+ * review, run after the base merge and before the push. Defaults to
578
+ * {@link createWrapUp} bound to the job's CompBox client and machine token.
579
+ */
580
+ wrapUp?: WrapUpHook;
445
581
  /**
446
582
  * Reads the epic's feature progress from CompBox once the orchestrator exits,
447
583
  * so a run that stopped with work outstanding isn't reported as done.
448
584
  * Defaults to the progress CompBox returns with a status turn on the job.
449
585
  */
450
586
  epicProgress?: () => Promise<EpicFeatureProgress | null>;
587
+ /** Resumes allowed when the run ends with features outstanding (default {@link MAX_ORCHESTRATOR_CONTINUES}). */
588
+ maxContinues?: number;
589
+ /** Session id for the orchestrator run; injectable so tests can assert the resume. */
590
+ newSessionId?: () => string;
591
+ /**
592
+ * ENG-349/352: run folders of this machine's in-flight jobs. Passed to
593
+ * `workspace.prepare` so pruning never removes a running job's folder; this
594
+ * run adds its own folder while it runs and removes it when done.
595
+ */
596
+ activeRunDirs?: Set<string>;
597
+ /** ENG-352: injectable wall clock (epoch ms) for the run's time breakdown. */
598
+ clockMs?: () => number;
599
+ /** ENG-345: the cloud preflight (defaults to {@link runCloudPreflight} with real gcloud). */
600
+ cloudPreflight?: (facts: CloudPreflightFacts, repo: {
601
+ owner: string;
602
+ name: string;
603
+ } | null) => Promise<PreflightCheck[]>;
451
604
  }
452
605
  /** How many of an epic's features are done. */
453
606
  export interface EpicFeatureProgress {
@@ -458,7 +611,7 @@ export interface EpicFeatureProgress {
458
611
  * The job result for a headless run that exited cleanly but left features
459
612
  * unfinished. Pure — exported for unit testing.
460
613
  */
461
- export declare function buildIncompleteRunResult(epicId: string, progress: EpicFeatureProgress): Record<string, unknown>;
614
+ export declare function buildIncompleteRunResult(epicId: string, progress: EpicFeatureProgress, hitCeiling?: boolean): Record<string, unknown>;
462
615
  /** Plain-language summary of where a run's code ended up. */
463
616
  export declare function describeRunBranch(finish: FinishResult): string;
464
617
  /**
@@ -468,6 +621,52 @@ export declare function describeRunBranch(finish: FinishResult): string;
468
621
  * generic "needs review". Pure — exported for unit testing.
469
622
  */
470
623
  export declare function buildOrchestrateNeedsReviewResult(epicId: string, marker: Record<string, unknown> | undefined): Record<string, unknown>;
624
+ /**
625
+ * Why a build run stopped, as reported in the job result's `stopReason`
626
+ * (ENG-331/332, ENG-337). `needs_input` (ENG-337): the orchestrator ended with
627
+ * a `COMPBOX_NEEDS_INPUT` marker and is waiting for the owner's reply.
628
+ */
629
+ export type RunStopReason = BuildStopReason | "usage-limit" | "needs_input";
630
+ /**
631
+ * A coarse class for every stop, reported as `stopClass` next to the detailed
632
+ * `stopReason` (ENG-337). The detailed values stay as they were because the API
633
+ * reads them (`stalled`/`ceiling`).
634
+ */
635
+ export type RunStopClass = "finished" | "timed_out" | "error" | "needs_input" | "usage_limit";
636
+ /** Pure — exported for unit testing. */
637
+ export declare function classifyRunStop(status: InvokeResult["status"], reason: RunStopReason): RunStopClass;
638
+ /**
639
+ * ENG-337: the job result for a run that stopped to ask its owner something.
640
+ * Never carries the incomplete-run fields: the run isn't stuck, it's waiting.
641
+ */
642
+ export declare function needsInputRunResult(epicId: string, request: NeedsInputRequest): InvokeResult;
643
+ /** ENG-337: true when a run's outcome is a needs-input stop (see {@link needsInputRunResult}). */
644
+ export declare function isNeedsInputOutcome(outcome: InvokeResult): outcome is InvokeResult & {
645
+ result: {
646
+ needsInput: NeedsInputRequest;
647
+ };
648
+ };
649
+ /** What a run's output says about a needs-input stop (ENG-337). */
650
+ export type NeedsInputDetection = {
651
+ kind: "none";
652
+ } | {
653
+ kind: "input";
654
+ request: NeedsInputRequest;
655
+ }
656
+ /** A hard gate was reported in the same output: it wins over the question. */
657
+ | {
658
+ kind: "review";
659
+ marker: Record<string, unknown>;
660
+ };
661
+ /**
662
+ * ENG-337: read a needs-input request off one run's stdout (final line only).
663
+ * Hard gates always win: when the same output also carries a
664
+ * `COMPBOX_NEEDS_HUMAN_REVIEW` line anywhere (at the start of a line), the run
665
+ * is a needs-review stop, not a question. Every field of the request is
666
+ * untrusted text — it is shown to the owner, never executed. Pure — exported
667
+ * for unit testing.
668
+ */
669
+ export declare function detectNeedsInput(stdout: string, stderr?: string): NeedsInputDetection;
471
670
  /**
472
671
  * Run the orchestrator headless for a `start_execution`/`orchestrate` job
473
672
  * (ENG-165).
@@ -1 +1 @@
1
- {"version":3,"file":"agent-invoker.d.ts","sourceRoot":"","sources":["../../src/utils/agent-invoker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAa,MAAM,oBAAoB,CAAC;AAItD,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAq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