@mycompbox/compbox-cli 1.21.9 → 1.21.11

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 (85) 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 +182 -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 +4983 -1505
  20. package/index.js.map +1 -1
  21. package/package.json +1 -1
  22. package/utils/agent-invoker.d.ts +264 -31
  23. package/utils/agent-invoker.d.ts.map +1 -1
  24. package/utils/agent-invoker.js +1013 -372
  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 +130 -3
  47. package/utils/mailbox-client.d.ts.map +1 -1
  48. package/utils/mailbox-client.js +140 -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/progress-watcher.d.ts +53 -0
  59. package/utils/progress-watcher.d.ts.map +1 -0
  60. package/utils/progress-watcher.js +109 -0
  61. package/utils/progress-watcher.js.map +1 -0
  62. package/utils/project-checks.d.ts +72 -0
  63. package/utils/project-checks.d.ts.map +1 -0
  64. package/utils/project-checks.js +276 -0
  65. package/utils/project-checks.js.map +1 -0
  66. package/utils/run-timings.d.ts +59 -0
  67. package/utils/run-timings.d.ts.map +1 -0
  68. package/utils/run-timings.js +130 -0
  69. package/utils/run-timings.js.map +1 -0
  70. package/utils/run-workspace.d.ts +200 -2
  71. package/utils/run-workspace.d.ts.map +1 -1
  72. package/utils/run-workspace.js +898 -136
  73. package/utils/run-workspace.js.map +1 -1
  74. package/utils/self-update.d.ts +104 -0
  75. package/utils/self-update.d.ts.map +1 -0
  76. package/utils/self-update.js +391 -0
  77. package/utils/self-update.js.map +1 -0
  78. package/utils/usage-limit.d.ts +30 -0
  79. package/utils/usage-limit.d.ts.map +1 -0
  80. package/utils/usage-limit.js +186 -0
  81. package/utils/usage-limit.js.map +1 -0
  82. package/utils/wrap-up.d.ts +109 -0
  83. package/utils/wrap-up.d.ts.map +1 -0
  84. package/utils/wrap-up.js +260 -0
  85. package/utils/wrap-up.js.map +1 -0
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["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BAAkB;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.9",
3
+ "version": "1.21.11",
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,13 @@ 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, sessionId?: string): string[];
418
+ export declare function buildOrchestratorArgs(epicId: string, sessionId?: string, ownerReply?: string, baseBranch?: string | null, fastMode?: boolean, extra?: {
419
+ ownerNote?: string;
420
+ deferred?: readonly {
421
+ identifier: string;
422
+ title: string;
423
+ }[];
424
+ }): string[];
378
425
  /**
379
426
  * How many times the runner resumes an orchestrator that ended its turn with
380
427
  * features still outstanding. On long runs the agent sometimes writes "Next
@@ -383,9 +430,63 @@ export declare function buildOrchestratorArgs(epicId: string, sessionId?: string
383
430
  */
384
431
  export declare const MAX_ORCHESTRATOR_CONTINUES = 5;
385
432
  /** The prompt that resumes a stopped orchestrator in the same session. */
386
- export declare function orchestratorContinuePrompt(epicId: string, done: number, total: number): string;
433
+ export declare function orchestratorContinuePrompt(epicId: string, done: number, total: number, deferred?: readonly {
434
+ identifier: string;
435
+ title: string;
436
+ }[]): string;
437
+ /**
438
+ * ER-130: the features the owner deferred, for every orchestrator prompt, so
439
+ * a continue or restart never picks them up again. Pure — exported for tests.
440
+ */
441
+ export declare function deferredFeaturesText(deferred: readonly {
442
+ identifier: string;
443
+ title: string;
444
+ }[]): string;
445
+ /**
446
+ * ER-130: what the owner told a restarted build (merged PRs, what to skip),
447
+ * appended after the @orchestrator command. Quoted as owner text: it comes
448
+ * from CompBox, but describes the owner's choices, not new instructions.
449
+ */
450
+ export declare function ownerNoteContext(note: string): string;
387
451
  /** Claude CLI args that resume the orchestrator's session with {@link orchestratorContinuePrompt}. */
388
- export declare function buildOrchestratorContinueArgs(sessionId: string, prompt: string): string[];
452
+ export declare function buildOrchestratorContinueArgs(sessionId: string, prompt: string, baseBranch?: string | null, fastMode?: boolean): string[];
453
+ /** What the runner needs to resume a job its owner replied to (from the claim). */
454
+ export interface ReplyResume {
455
+ /** The Claude session the build stopped in, or null (run copy not kept). */
456
+ sessionId: string | null;
457
+ /** The kept run copy (git worktree), or null. */
458
+ runDir: string | null;
459
+ /** The owner's reply. Untrusted text: always quoted, never obeyed. */
460
+ reply: string;
461
+ /** The paused run's branch (from the job result), when known. */
462
+ branch: string | null;
463
+ }
464
+ /** Most of the owner's reply that is handed to the agent. */
465
+ export declare const MAX_REPLY_CHARS = 8000;
466
+ /**
467
+ * Reads the machine-only `resume` block of a claimed job (ENG-339), plus the
468
+ * paused run's branch from its result. Null when the job isn't a reply resume
469
+ * or the block is malformed (an older server sends none).
470
+ */
471
+ export declare function parseReplyResume(job: {
472
+ resume?: unknown;
473
+ result?: unknown;
474
+ }): ReplyResume | null;
475
+ /** The reply as a clearly delimited, untrusted quote the agent can't mistake for instructions. */
476
+ export declare function quoteOwnerReply(reply: string): string;
477
+ /** The prompt that resumes a paused orchestrator session with the owner's reply. */
478
+ export declare function replyResumePrompt(epicId: string, reply: string): string;
479
+ /**
480
+ * Claude CLI args that resume the paused session with the owner's reply
481
+ * (ENG-339). Same profile as {@link buildOrchestratorContinueArgs}.
482
+ */
483
+ export declare function buildReplyResumeArgs(sessionId: string, prompt: string, baseBranch?: string | null, fastMode?: boolean): string[];
484
+ /**
485
+ * Fallback (ENG-339): no session or run copy to resume, so a fresh
486
+ * orchestrator run gets the owner's reply. Appended after the @orchestrator
487
+ * command so the agent routing (which keys on the prompt's start) still works.
488
+ */
489
+ export declare function freshRunReplyContext(reply: string): string;
389
490
  /** Actionable failure when the configured project path is not a git repository. */
390
491
  export declare function orchestrateNotGitRepoMessage(dir: string): string;
391
492
  /** Actionable failure when `git worktree` is unavailable in the project dir. */
@@ -423,11 +524,35 @@ export interface StartExecutionOrchestrateCtx {
423
524
  * on the open pull request's branch instead of executing the epic's plan.
424
525
  */
425
526
  fix?: StartExecutionFix;
527
+ /** ENG-350: run Claude Code in fast mode (faster output, higher cost). */
528
+ fastMode?: boolean;
426
529
  /**
427
530
  * Aborted when the person cancels the job from the website (ENG-300): the
428
531
  * agent's whole process group is terminated and the run reports cancelled.
429
532
  */
430
533
  signal?: AbortSignal;
534
+ /**
535
+ * ENG-339: the owner replied to this paused build. With a session and run
536
+ * copy the run resumes that session there; otherwise it runs fresh on the
537
+ * same branch with the reply in its prompt.
538
+ */
539
+ resume?: ReplyResume;
540
+ /**
541
+ * ENG-345: the project's Google Cloud keyless-deploy facts from the claimed
542
+ * job (`job.cloud`). Absent (older servers, no cloud) → no preflight.
543
+ */
544
+ cloud?: CloudPreflightFacts | null;
545
+ /** ENG-345: the job's normalized repo remote (payload.projectRemote), for the owner check. */
546
+ projectRemote?: string;
547
+ /** ER-130: the owner's note from "All merged — continue" / "Restart" (merged PRs, what to skip). */
548
+ ownerNote?: string;
549
+ /** ER-130: features the owner deferred; every prompt tells the agent to skip them. */
550
+ deferredFeatures?: {
551
+ identifier: string;
552
+ title: string;
553
+ }[];
554
+ /** ER-130: the last run's branch was merged, so start a new branch from the base. */
555
+ freshBranch?: boolean;
431
556
  }
432
557
  export interface StartExecutionOrchestrateDeps {
433
558
  /** Injectable child spawner (defaults to node's `spawn`) — tests never spawn a real `claude`. */
@@ -443,16 +568,48 @@ export interface StartExecutionOrchestrateDeps {
443
568
  /** Best-effort keep-alive fired every {@link ORCHESTRATOR_HEARTBEAT_INTERVAL_MS} while the child runs (H4). */
444
569
  heartbeat?: () => void | Promise<void>;
445
570
  heartbeatIntervalMs?: number;
446
- timeoutMs?: number;
571
+ /** Stop the run after this long without progress (default: `buildStallMinutes` from the config, ENG-331). */
572
+ stallMs?: number;
573
+ /** Absolute ceiling for the whole run, continues included (default: `buildMaxHours` from the config, ENG-331). */
574
+ maxMs?: number;
575
+ /** How often progress is checked (default 60s). */
576
+ progressTickMs?: number;
577
+ /** Progress probe for the run branch's commit (defaults to `git rev-parse HEAD` in the run folder). */
578
+ getHead?: Probe;
579
+ /**
580
+ * Progress probe for the epic's finished-feature count. Not polled by
581
+ * default: reading it posts a status turn on the job, which would flood it.
582
+ */
583
+ getCompletedCount?: Probe;
447
584
  /** Injectable process-group killer (tests never signal real processes). */
448
585
  processGroup?: ProcessGroupDeps;
586
+ /** Injectable clock for usage-limit reset times (ENG-332). */
587
+ now?: () => Date;
449
588
  /**
450
589
  * Runs the orchestrator on its own new branch in a separate git worktree and
451
590
  * finishes with a pushed branch + pull request (see run-workspace.ts). The
452
591
  * daemon always passes one; when omitted the run happens directly in the
453
592
  * project folder, as before.
454
593
  */
455
- workspace?: Pick<RunWorkspaceManager, 'prepare' | 'finish'>;
594
+ workspace?: Pick<RunWorkspaceManager, "prepare" | "finish"> & Partial<Pick<RunWorkspaceManager, "reopen">>;
595
+ /**
596
+ * Wrap-up base merge (ENG-327): the agent turn that resolves merge conflicts.
597
+ * Defaults to a time-boxed `claude` turn limited to the conflicted files.
598
+ */
599
+ resolveConflicts?: ConflictResolver;
600
+ /** Time box for the conflict turn (default {@link CONFLICT_RESOLVE_TIMEOUT_MS}). */
601
+ conflictTimeoutMs?: number;
602
+ /**
603
+ * ENG-346: folder for the agent's merge-refusing `gh` shim (default
604
+ * ~/.compbox/merge-guard); null leaves the agent's PATH as is.
605
+ */
606
+ mergeGuardDir?: string | null;
607
+ /**
608
+ * Build wrap-up (ENG-327): checks, completeness, migrations and the PR
609
+ * review, run after the base merge and before the push. Defaults to
610
+ * {@link createWrapUp} bound to the job's CompBox client and machine token.
611
+ */
612
+ wrapUp?: WrapUpHook;
456
613
  /**
457
614
  * Reads the epic's feature progress from CompBox once the orchestrator exits,
458
615
  * so a run that stopped with work outstanding isn't reported as done.
@@ -463,17 +620,47 @@ export interface StartExecutionOrchestrateDeps {
463
620
  maxContinues?: number;
464
621
  /** Session id for the orchestrator run; injectable so tests can assert the resume. */
465
622
  newSessionId?: () => string;
623
+ /**
624
+ * ENG-349/352: run folders of this machine's in-flight jobs. Passed to
625
+ * `workspace.prepare` so pruning never removes a running job's folder; this
626
+ * run adds its own folder while it runs and removes it when done.
627
+ */
628
+ activeRunDirs?: Set<string>;
629
+ /** ENG-352: injectable wall clock (epoch ms) for the run's time breakdown. */
630
+ clockMs?: () => number;
631
+ /** ENG-345: the cloud preflight (defaults to {@link runCloudPreflight} with real gcloud). */
632
+ cloudPreflight?: (facts: CloudPreflightFacts, repo: {
633
+ owner: string;
634
+ name: string;
635
+ } | null) => Promise<PreflightCheck[]>;
466
636
  }
467
637
  /** How many of an epic's features are done. */
468
638
  export interface EpicFeatureProgress {
469
639
  completedFeatures: number;
470
640
  totalFeatures: number;
641
+ /** ER-130: the epic's open pull requests from other runs, waiting on the owner. */
642
+ waitingPullRequests?: {
643
+ number: number;
644
+ htmlUrl: string;
645
+ title: string | null;
646
+ }[];
471
647
  }
648
+ /**
649
+ * ER-130: the question a run stops on while pull requests from the epic's
650
+ * other runs wait for the owner. It continues by itself once they're merged
651
+ * (or when the owner presses "All merged — continue"). Pure — exported for
652
+ * unit testing.
653
+ */
654
+ export declare function mergePullRequestsRequest(prs: readonly {
655
+ number: number;
656
+ htmlUrl: string;
657
+ title: string | null;
658
+ }[]): NeedsInputRequest;
472
659
  /**
473
660
  * The job result for a headless run that exited cleanly but left features
474
661
  * unfinished. Pure — exported for unit testing.
475
662
  */
476
- export declare function buildIncompleteRunResult(epicId: string, progress: EpicFeatureProgress): Record<string, unknown>;
663
+ export declare function buildIncompleteRunResult(epicId: string, progress: EpicFeatureProgress, hitCeiling?: boolean): Record<string, unknown>;
477
664
  /** Plain-language summary of where a run's code ended up. */
478
665
  export declare function describeRunBranch(finish: FinishResult): string;
479
666
  /**
@@ -483,6 +670,52 @@ export declare function describeRunBranch(finish: FinishResult): string;
483
670
  * generic "needs review". Pure — exported for unit testing.
484
671
  */
485
672
  export declare function buildOrchestrateNeedsReviewResult(epicId: string, marker: Record<string, unknown> | undefined): Record<string, unknown>;
673
+ /**
674
+ * Why a build run stopped, as reported in the job result's `stopReason`
675
+ * (ENG-331/332, ENG-337). `needs_input` (ENG-337): the orchestrator ended with
676
+ * a `COMPBOX_NEEDS_INPUT` marker and is waiting for the owner's reply.
677
+ */
678
+ export type RunStopReason = BuildStopReason | "usage-limit" | "needs_input";
679
+ /**
680
+ * A coarse class for every stop, reported as `stopClass` next to the detailed
681
+ * `stopReason` (ENG-337). The detailed values stay as they were because the API
682
+ * reads them (`stalled`/`ceiling`).
683
+ */
684
+ export type RunStopClass = "finished" | "timed_out" | "error" | "needs_input" | "usage_limit";
685
+ /** Pure — exported for unit testing. */
686
+ export declare function classifyRunStop(status: InvokeResult["status"], reason: RunStopReason): RunStopClass;
687
+ /**
688
+ * ENG-337: the job result for a run that stopped to ask its owner something.
689
+ * Never carries the incomplete-run fields: the run isn't stuck, it's waiting.
690
+ */
691
+ export declare function needsInputRunResult(epicId: string, request: NeedsInputRequest): InvokeResult;
692
+ /** ENG-337: true when a run's outcome is a needs-input stop (see {@link needsInputRunResult}). */
693
+ export declare function isNeedsInputOutcome(outcome: InvokeResult): outcome is InvokeResult & {
694
+ result: {
695
+ needsInput: NeedsInputRequest;
696
+ };
697
+ };
698
+ /** What a run's output says about a needs-input stop (ENG-337). */
699
+ export type NeedsInputDetection = {
700
+ kind: "none";
701
+ } | {
702
+ kind: "input";
703
+ request: NeedsInputRequest;
704
+ }
705
+ /** A hard gate was reported in the same output: it wins over the question. */
706
+ | {
707
+ kind: "review";
708
+ marker: Record<string, unknown>;
709
+ };
710
+ /**
711
+ * ENG-337: read a needs-input request off one run's stdout (final line only).
712
+ * Hard gates always win: when the same output also carries a
713
+ * `COMPBOX_NEEDS_HUMAN_REVIEW` line anywhere (at the start of a line), the run
714
+ * is a needs-review stop, not a question. Every field of the request is
715
+ * untrusted text — it is shown to the owner, never executed. Pure — exported
716
+ * for unit testing.
717
+ */
718
+ export declare function detectNeedsInput(stdout: string, stderr?: string): NeedsInputDetection;
486
719
  /**
487
720
  * Run the orchestrator headless for a `start_execution`/`orchestrate` job
488
721
  * (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;AAKtD,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,kBAAkB,EAClB,6BAA6B,EAI7B,KAAK,iBAAiB,EAEtB,KAAK,gBAAgB,EAErB,KAAK,iBAAiB,EACvB,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,kBAAkB,EAClB,6BAA6B,GAC9B,CAAC;AACF,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;AAOpD,OAAO,EAAgD,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AACzF,OAAO,EAML,KAAK,gBAAg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