orkestrator 2.39.2-beta → 2.39.3-beta
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.
- package/dist/client.js +118 -21
- package/dist/main.js +12353 -10870
- package/package.json +3 -3
- package/resources/acp-bridge/dist/index.js +53 -4
- package/resources/claude-bridge/dist/index.js +53 -4
- package/resources/codex-bridge/dist/index.js +53 -4
- package/resources/cursor-bridge/dist/index.js +53 -4
- package/resources/cursor-bridge/runtime/install.json +1 -1
- package/resources/pi-bridge/dist/index.js +53 -4
- package/resources/pi-bridge/runtime/install.json +1 -1
package/dist/client.js
CHANGED
|
@@ -498,10 +498,25 @@ var init_desktop = __esm(() => {
|
|
|
498
498
|
"dev-mode.ignored-packaged": "A packaged app was launched with ELECTRON_DEV=1 and ignored it; it loads its bundled renderer.",
|
|
499
499
|
"instance.already-running": "Another instance holds this data directory; this one will quit.",
|
|
500
500
|
"main-thread.stalled": {
|
|
501
|
-
description: "A timer fired late, so windows, IPC and the stdout reader waited. `cpuMs` is the CPU time the process used in the window: near `lagMs` the main thread was busy, far below it the thread waited.",
|
|
501
|
+
description: "A timer fired late, so windows, IPC and the stdout reader waited. `cpuMs` is the CPU time the process used in the window: near `lagMs` the main thread was busy, far below it the thread waited. Time the host slept is not in `lagMs` (see `main-thread.host-suspended`); `hostSuspendedMs` says how much was taken out of a stall that remained.",
|
|
502
502
|
essential: true,
|
|
503
503
|
minLevel: "error",
|
|
504
|
-
fields: {
|
|
504
|
+
fields: {
|
|
505
|
+
lagMs: "number",
|
|
506
|
+
intervalMs: "number",
|
|
507
|
+
cpuMs: "number",
|
|
508
|
+
hostSuspendedMs: "number"
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"main-thread.host-suspended": {
|
|
512
|
+
description: "A main-thread timer fired late because the machine slept (its CPU time counters stopped), not because the thread was held, so it is not a stall. `suspendedMs` is the sleep, `lagMs` the whole lateness and `suppressed` the suspensions not written since the last line.",
|
|
513
|
+
essential: true,
|
|
514
|
+
fields: {
|
|
515
|
+
suspendedMs: "number",
|
|
516
|
+
lagMs: "number",
|
|
517
|
+
intervalMs: "number",
|
|
518
|
+
suppressed: "number"
|
|
519
|
+
}
|
|
505
520
|
},
|
|
506
521
|
"process-memory": "Development only: working set per Electron process type, sampled on an interval.",
|
|
507
522
|
"process-memory.failed": "Development only: one process memory sample could not be read.",
|
|
@@ -625,6 +640,7 @@ var init_environment = __esm(() => {
|
|
|
625
640
|
events: {
|
|
626
641
|
"cleanup.sessions-failed": "Session metadata cleanup failed during environment deletion; deletion continues.",
|
|
627
642
|
"cleanup.branch-kept": "A deleted environment's local branch was kept, as it may hold unmerged work.",
|
|
643
|
+
"isolation.port-block-unavailable": "No host port block could be reserved for a local environment; its processes start without the port variables. Environment id and error only.",
|
|
628
644
|
"project-seed.refused": "A project file the Environment Files setting matched was not copied into a new local worktree: a link, not a regular file, outside the project, too large, behind a link in the worktree, or over the match bounds. Path and reason only, never contents.",
|
|
629
645
|
"rename.failed": "Naming an environment from its pending prompt failed for the first time.",
|
|
630
646
|
"rename.still-failing": "That rename is still failing; written at the 2nd, 4th, 8th... failure.",
|
|
@@ -1040,13 +1056,14 @@ var init_runtime = __esm(() => {
|
|
|
1040
1056
|
description: "This process's event loop. A stall of 10 seconds or more is written at error, so no level hides it.",
|
|
1041
1057
|
events: {
|
|
1042
1058
|
stalled: {
|
|
1043
|
-
description: "A timer fired late, so every request in that window waited. In the backend the line also names what ran: `storageMs` and the `storage*` fields describe the slow SQLite calls in the window (`operation.slow` in `storage`), `storageCalls` and `storageCallMs` every SQLite call that ended in it, slow or not (`storageMainCallMs` and `storageLedgerCallMs` per database; `storageWrites` those that committed a change; `storageTopCaller` and `storageCallers` whose they were, by store, lease or table family), `commandsInFlight` and `commands` the commands running, `blockingCommand` one whose synchronous part overlapped it, and `jobsInWindow` and `jobs` the recurring jobs that ran around it. `cpuMs` is the CPU time the process used in the window: near `lagMs` its own thread was busy, far below it the thread waited.",
|
|
1059
|
+
description: "A timer fired late, so every request in that window waited. In the backend the line also names what ran: `storageMs` and the `storage*` fields describe the slow SQLite calls in the window (`operation.slow` in `storage`), `storageCalls` and `storageCallMs` every SQLite call that ended in it, slow or not (`storageMainCallMs` and `storageLedgerCallMs` per database; `storageWrites` those that committed a change; `storageTopCaller` and `storageCallers` whose they were, by store, lease or table family), `commandsInFlight` and `commands` the commands running, `blockingCommand` one whose synchronous part overlapped it, and `jobsInWindow` and `jobs` the recurring jobs that ran around it. `cpuMs` is the CPU time the process used in the window: near `lagMs` its own thread was busy, far below it the thread waited. Time the host slept is not in `lagMs` (see `host-suspended`); `hostSuspendedMs` says how much was taken out of a stall that remained.",
|
|
1044
1060
|
essential: true,
|
|
1045
1061
|
minLevel: "error",
|
|
1046
1062
|
fields: {
|
|
1047
1063
|
lagMs: "number",
|
|
1048
1064
|
intervalMs: "number",
|
|
1049
1065
|
cpuMs: "number",
|
|
1066
|
+
hostSuspendedMs: "number",
|
|
1050
1067
|
storageMs: "number",
|
|
1051
1068
|
storageDatabase: "label",
|
|
1052
1069
|
storageOp: "label",
|
|
@@ -1065,6 +1082,16 @@ var init_runtime = __esm(() => {
|
|
|
1065
1082
|
blockingCommandMs: "number",
|
|
1066
1083
|
jobsInWindow: "number"
|
|
1067
1084
|
}
|
|
1085
|
+
},
|
|
1086
|
+
"host-suspended": {
|
|
1087
|
+
description: "A timer fired late because the machine slept (its CPU time counters stopped), not because this process was held, so it is not a stall. `suspendedMs` is the sleep, `lagMs` the whole lateness and `suppressed` the suspensions not written since the last line.",
|
|
1088
|
+
essential: true,
|
|
1089
|
+
fields: {
|
|
1090
|
+
suspendedMs: "number",
|
|
1091
|
+
lagMs: "number",
|
|
1092
|
+
intervalMs: "number",
|
|
1093
|
+
suppressed: "number"
|
|
1094
|
+
}
|
|
1068
1095
|
}
|
|
1069
1096
|
}
|
|
1070
1097
|
},
|
|
@@ -1140,6 +1167,7 @@ var init_terminal = __esm(() => {
|
|
|
1140
1167
|
"session-key.environment-missing": "A local session key was built with no environment id.",
|
|
1141
1168
|
"clipboard.image-failed": "An image pasted into a terminal could not be saved.",
|
|
1142
1169
|
"clipboard.copy-failed": "Copying a terminal selection to the clipboard failed.",
|
|
1170
|
+
"clipboard.osc52-copy-failed": "A program's OSC 52 clipboard write could not be copied.",
|
|
1143
1171
|
"clipboard.paste-failed": "A paste into a terminal failed; `target` says which path.",
|
|
1144
1172
|
"clipboard.process-failed": "Reading or storing clipboard data for a paste failed.",
|
|
1145
1173
|
"clipboard.image-save-failed": "An image from a paste event could not be written to disk.",
|
|
@@ -2226,6 +2254,7 @@ var init_web_claude_tmux = __esm(() => {
|
|
|
2226
2254
|
"queue.promote-failed": "After an interrupt, the next queued prompt did not become the draft.",
|
|
2227
2255
|
"files.load-failed": "The file list for @mentions could not be loaded.",
|
|
2228
2256
|
"clipboard.image-failed": "An image pasted into the interactive terminal could not be saved.",
|
|
2257
|
+
"clipboard.osc52-copy-failed": "A program's OSC 52 clipboard write could not be copied.",
|
|
2229
2258
|
"terminal.resize-failed": "Resizing the interactive terminal's session failed.",
|
|
2230
2259
|
"terminal.recover-failed": "The interactive terminal could not reattach to its session.",
|
|
2231
2260
|
"terminal.lease-lapsed": "The backend had dropped the interactive terminal after missed renewals; a new one is attached (once the page is visible).",
|
|
@@ -2375,7 +2404,9 @@ var init_web_github = __esm(() => {
|
|
|
2375
2404
|
"web.linear": {
|
|
2376
2405
|
description: "The Linear tickets view.",
|
|
2377
2406
|
events: {
|
|
2378
|
-
"comment-draft.clear-failed": "A posted comment's draft could not be cleared."
|
|
2407
|
+
"comment-draft.clear-failed": "A posted comment's draft could not be cleared.",
|
|
2408
|
+
"connection.refresh-failed": "A background refresh could not verify the Linear connection; the shown board stays.",
|
|
2409
|
+
"issues.refresh-failed": "A background refresh could not read the Linear board; the shown tickets stay."
|
|
2379
2410
|
}
|
|
2380
2411
|
}
|
|
2381
2412
|
});
|
|
@@ -13288,7 +13319,7 @@ import path5 from "path";
|
|
|
13288
13319
|
// ../../apps/backend/package.json
|
|
13289
13320
|
var package_default = {
|
|
13290
13321
|
name: "@orkestrator/backend",
|
|
13291
|
-
version: "2.39.
|
|
13322
|
+
version: "2.39.3-beta",
|
|
13292
13323
|
private: true,
|
|
13293
13324
|
type: "module",
|
|
13294
13325
|
exports: {
|
|
@@ -13643,6 +13674,24 @@ function wrapSystemInstructions(...parts) {
|
|
|
13643
13674
|
${content}
|
|
13644
13675
|
${SYSTEM_INSTRUCTIONS_FRAME_CLOSE}`;
|
|
13645
13676
|
}
|
|
13677
|
+
var PRE_PROVISIONING_DISCOVERY_PROMPT_BODY = ` Usually one batched inventory read and one targeted read of task definitions are sufficient. Stop as soon as you know the required entrypoints and their prerequisites. Do not review implementation correctness, read application/test bodies merely to understand the change, inspect full commit history, or repeat repository-wide scans. Read source only when it defines a validation command or is essential to resolve a specific execution dependency. When parallel safety remains uncertain, mark the command exclusive and disclose the uncertainty instead of exhaustively tracing the codebase. Keep all discovery tool output bounded.
|
|
13678
|
+
|
|
13679
|
+
1. Inspect the current Git status and changes. Commit only relevant safe changes using the repository's commit conventions and hooks. Never skip hooks, force a clean tree, delete unrelated files, push, merge, rebase, reset, switch branches, or create a worktree. Do not implement features or fix validation failures. If unrelated or sensitive changes prevent a clean worktree, report the limitation.
|
|
13680
|
+
2. Discover validation requirements afresh from the CURRENT repository. First read the repository's agent instructions \u2014 AGENTS.md (and CLAUDE.md or an equivalent) at the root and in the directories that contain changed paths, plus any testing guide they point to \u2014 and follow what they say about which tests, checks, and builds a given kind of change needs. Then use directory structure, changed paths, CI workflows, manifests, task definitions, toolchain configuration, and relevant scripts. Do not assume a language, package manager, fixed list of files, or that the codebase resembles an earlier review. Follow repository-specific test entrypoints. Do not infer that a command covers another merely from its name.
|
|
13681
|
+
3. Select validation proportionate to the change. Produce at most 32 commands covering the tests, static checks, and build that the changed paths can affect, plus any repository-specific requirements. Some suites are only needed in some situations: when the repository instructions scope a suite to particular paths, platforms, or kinds of change, include it only when this change meets that condition, and omit suites for areas the change cannot affect (for example a documentation-only change does not need an unrelated app's test suite). Include the full relevant coverage when the instructions require it for every change, or when a change's reach is uncertain (shared configuration, dependencies, lockfiles, toolchain, or code shared across areas). Summarize deliberately omitted suites and why in one concise limitation. Do not RUN validation, install dependencies, inspect validation output, or perform the code review. Command execution, timing, artifact paths, and exit codes belong to the backend. A skipped requirement needs an explicit limitation; an empty plan requires a limitation.
|
|
13682
|
+
4. Each command has a unique short id, a non-interactive shell command, a workspace-relative cwd (usually "."), and dependsOn listing prerequisite ids EARLIER in the array. Split independent work so it can run concurrently. Inspect what each selected stage actually runs before adding another command: if the full test stage already runs the production build, omit a separate build command instead of repeating it. Shared build prerequisites run once; avoid overlapping aggregate commands that repeat the same validation. List each command once: never plan the same command twice, such as a cold and a warm run or a confirmation rerun, because every command already runs exactly once against the committed snapshot and the backend records any repeat as covered by its first copy. Preserve necessary build/test dependencies and setup/cleanup semantics. Prefer a repository-owned one-shot lifecycle task for service-backed checks. Never place a foreground server/supervisor before its dependent tests in a sequential shell command: readiness output does not mean that the starter exits. Only when no repository-owned lifecycle task exists may tightly coupled setup, test, and cleanup use a shell trap, with explicit readiness, bounded waits, supervision, and cleanup.
|
|
13683
|
+
5. resources names directories or shared services the command writes or consumes exclusively (for example a generated output directory, test database, or simulator). Commands with the same resource serialize. Use workspace: prefixes for workspace directories and services (for example workspace:dist); use ["workspace:*"] when interference within this workspace is uncertain. Use host: prefixes for genuinely host-shared resources (for example host:tcp:1422 or host:ios-simulator), and ["host:*"] only when host-wide interference is uncertain. Legacy unprefixed resource names and ["*"] retain host-wide scope for compatibility: do not use them for workspace-only uncertainty. Empty resources means you have verified parallel safety. weight=2 marks internally parallel or memory-heavy work and weight=1 lighter work; weight only sizes a command until its real CPU use has been measured, and the host starts commands with partial capacity when busy. Do not guess a command is lightweight. timeoutMs must be between 1000 and 7200000 and appropriate to this project. Never request watch mode, interactive input, background servers without cleanup, or a detached process. If .orkestrator-test-scheduler.json is present, its cooperativeCommands are eligible alternatives, NOT a checklist. Select only the required coverage, using each selected command verbatim from cwd="." without shell wrappers or compound commands; those runners reserve their own host capacity. Select repository-owned commandProfiles entries verbatim from cwd="." as separate commands too; do not synthesize setup/test/cleanup wrappers around an available one-shot task. Only cooperativeCommands reserve their own capacity; ordinary profiled commands are admitted by the review worker. Follow exact commandProfiles resource and coverage declarations when present. A profile covers list declares commands whose validation is already included: choose the covering command once instead of also scheduling its covered alternatives. Waiting for capacity does not count against timeoutMs.
|
|
13684
|
+
6. Read the final full HEAD commit SHA into headRef. Commands run against that HEAD. Generated or untracked files created during validation are recorded as environment state changes and do not block the review. Include actual missing prerequisites and coverage uncertainty in limitations. Do not include secrets or environment-variable values in the plan.
|
|
13685
|
+
|
|
13686
|
+
Keep discovery focused on what must run and how it can overlap safely. Narrate concise ordinary-prose progress; only the final response is the schema-constrained plan. Do not return command results or read old validation artifacts.
|
|
13687
|
+
|
|
13688
|
+
You are review preparation, not a pre-review implementation worker. Exemptions that let implementation workers defer full validation until review do not apply to this discovery task. Discover and schedule every applicable repository-required validation command, including required full suites, once against the committed branch; never defer them to a later review.
|
|
13689
|
+
|
|
13690
|
+
Give every command a scope. When the change adds or edits tests, or test files own the source files it changes, add one focused command that runs only those tests (the repository's focused test entrypoint given their exact paths), list it first, and set its scope to "changed"; every other command has scope "general". The backend starts "changed" commands first and reports their result on its own, so an unrelated failing suite cannot hide whether the change's own tests passed. The focused command never replaces a required suite. Keep it even when a general suite profile covers it or has an identical command: changed-scope evidence must run independently. When the change has no tests of its own, plan no "changed" command.`;
|
|
13691
|
+
var DISCOVERY_STEP_FIVE = `
|
|
13692
|
+
5. resources names`;
|
|
13693
|
+
var REVIEW_VALIDATION_DISCOVERY_PROVISIONING_GUIDANCE = " Provision what the selected suites need as earlier commands they depend on, rather than letting a suite fail on a missing prerequisite: build artifacts a suite reads but does not build itself (for example a web bundle a browser test serves), a repository-owned task that creates a missing local environment file from its committed example, and repository-owned one-shot tasks that start throwaway services such as a test database. Never point a suite at a database or service another workspace may be using. In a local environment Orkestrator sets COMPOSE_PROJECT_NAME to a name unique to this workspace and reserves the host ports ORKESTRATOR_PORT_BASE through ORKESTRATOR_PORT_MAX for it; a service started for validation must use those ports or ports the repository derives from them, and a service that can only bind a fixed host port is the host-shared resource host:tcp:<port>. When a suite needs a secret, credential or external service that this workspace lacks and the repository offers no local substitute, name what is missing in a limitation.";
|
|
13694
|
+
var REVIEW_VALIDATION_DISCOVERY_PROMPT_BODY_AFTER_SIGNATURE = PRE_PROVISIONING_DISCOVERY_PROMPT_BODY.replace(DISCOVERY_STEP_FIVE, `${REVIEW_VALIDATION_DISCOVERY_PROVISIONING_GUIDANCE}${DISCOVERY_STEP_FIVE}`);
|
|
13646
13695
|
var COORDINATOR_WORKER_NO_PR_INSTRUCTION = "Do not open a pull request, even if the prompt below asks you to: commit your work and report back. Orkestrator raises the pull request from a PR tab once the work has been reviewed.";
|
|
13647
13696
|
var COORDINATOR_WORKER_VALIDATION_INSTRUCTION = "Run the focused checks your changes need and report them. When the prompt below says review follows, leave the required full test suite, typecheck, lint and build passes to review preparation unless it explicitly asks you to run them. When no review follows or the prompt does not say, follow the repository's validation requirements before handoff. Report any required full validation you did not run; do not assume a later review will run it.";
|
|
13648
13697
|
var COORDINATOR_JOB_DELEGATION_INSTRUCTION = `This is a server-attested same-project worker delegation. Work only inside this disposable environment under its normal sandbox and approval policy, then report meaningful completion, failure, or blocking details through Orkestrator mail. ${COORDINATOR_WORKER_NO_PR_INSTRUCTION} ${COORDINATOR_WORKER_VALIDATION_INSTRUCTION}`;
|
|
@@ -15476,6 +15525,47 @@ var attentionCommands = [
|
|
|
15476
15525
|
init_agent_platforms();
|
|
15477
15526
|
|
|
15478
15527
|
// ../protocol/src/review-validation.ts
|
|
15528
|
+
var REVIEW_VALIDATION_SCOPES = ["changed", "general"];
|
|
15529
|
+
function validationPlanSchema(withScope) {
|
|
15530
|
+
return {
|
|
15531
|
+
type: "object",
|
|
15532
|
+
additionalProperties: false,
|
|
15533
|
+
required: ["headRef", "commands", "limitations"],
|
|
15534
|
+
properties: {
|
|
15535
|
+
headRef: { type: "string" },
|
|
15536
|
+
commands: {
|
|
15537
|
+
type: "array",
|
|
15538
|
+
items: {
|
|
15539
|
+
type: "object",
|
|
15540
|
+
additionalProperties: false,
|
|
15541
|
+
required: [
|
|
15542
|
+
"id",
|
|
15543
|
+
"command",
|
|
15544
|
+
"cwd",
|
|
15545
|
+
"dependsOn",
|
|
15546
|
+
"resources",
|
|
15547
|
+
"weight",
|
|
15548
|
+
"timeoutMs",
|
|
15549
|
+
...withScope ? ["scope"] : []
|
|
15550
|
+
],
|
|
15551
|
+
properties: {
|
|
15552
|
+
id: { type: "string" },
|
|
15553
|
+
command: { type: "string" },
|
|
15554
|
+
cwd: { type: "string" },
|
|
15555
|
+
dependsOn: { type: "array", items: { type: "string" } },
|
|
15556
|
+
resources: { type: "array", items: { type: "string" } },
|
|
15557
|
+
weight: { type: "integer", enum: [1, 2] },
|
|
15558
|
+
timeoutMs: { type: "integer" },
|
|
15559
|
+
...withScope ? { scope: { type: "string", enum: [...REVIEW_VALIDATION_SCOPES] } } : {}
|
|
15560
|
+
}
|
|
15561
|
+
}
|
|
15562
|
+
},
|
|
15563
|
+
limitations: { type: "array", items: { type: "string" } }
|
|
15564
|
+
}
|
|
15565
|
+
};
|
|
15566
|
+
}
|
|
15567
|
+
var REVIEW_VALIDATION_PLAN_SCHEMA = validationPlanSchema(true);
|
|
15568
|
+
var REVIEW_VALIDATION_PLAN_V1_SCHEMA = validationPlanSchema(false);
|
|
15479
15569
|
var REVIEW_VALIDATION_OUTPUT_MAX_BYTES = 512 * 1024;
|
|
15480
15570
|
// ../protocol/src/review-workflow.ts
|
|
15481
15571
|
var REVIEW_MAX_CONTEXT_BYTES = 512 * 1024;
|
|
@@ -21135,7 +21225,7 @@ var MAX_PIPELINE_ROUND_REVIEW_REPORT_BYTES = 1024 * 1024;
|
|
|
21135
21225
|
var BUILD_STEP_KEYS = Object.freeze([
|
|
21136
21226
|
"build",
|
|
21137
21227
|
"review",
|
|
21138
|
-
"address",
|
|
21228
|
+
"address-findings",
|
|
21139
21229
|
"verify",
|
|
21140
21230
|
"pr",
|
|
21141
21231
|
"resolve-conflicts"
|
|
@@ -21185,9 +21275,9 @@ var BUILD_PHASES = new Set([
|
|
|
21185
21275
|
"waiting-for-setup",
|
|
21186
21276
|
"building",
|
|
21187
21277
|
"reviewing",
|
|
21188
|
-
"addressing",
|
|
21278
|
+
"addressing-findings",
|
|
21189
21279
|
"verifying",
|
|
21190
|
-
"
|
|
21280
|
+
"reworking",
|
|
21191
21281
|
"creating-pr",
|
|
21192
21282
|
"resolving-conflicts",
|
|
21193
21283
|
"paused",
|
|
@@ -21199,9 +21289,9 @@ var ENVIRONMENT_TYPES = new Set(["containerized", "local"]);
|
|
|
21199
21289
|
var SESSION_PHASES = new Set([
|
|
21200
21290
|
"build",
|
|
21201
21291
|
"review",
|
|
21202
|
-
"address",
|
|
21292
|
+
"address-findings",
|
|
21203
21293
|
"verify",
|
|
21204
|
-
"
|
|
21294
|
+
"rework",
|
|
21205
21295
|
"pr",
|
|
21206
21296
|
"resolve-conflicts"
|
|
21207
21297
|
]);
|
|
@@ -21246,7 +21336,14 @@ var REVIEW_LENS_INPUT = {
|
|
|
21246
21336
|
required: ["label", "instruction"],
|
|
21247
21337
|
additionalProperties: false
|
|
21248
21338
|
};
|
|
21249
|
-
var PUBLIC_BUILD_STEPS =
|
|
21339
|
+
var PUBLIC_BUILD_STEPS = Object.freeze([
|
|
21340
|
+
"build",
|
|
21341
|
+
"review",
|
|
21342
|
+
"address",
|
|
21343
|
+
"verify",
|
|
21344
|
+
"pr",
|
|
21345
|
+
"resolve-conflicts"
|
|
21346
|
+
]);
|
|
21250
21347
|
var instructions = {
|
|
21251
21348
|
type: "string",
|
|
21252
21349
|
maxLength: MAX_BUILD_STEP_INSTRUCTIONS_BYTES,
|
|
@@ -23775,13 +23872,13 @@ var BUILD_PIPELINE_TEMPLATE_ROUNDS = 3;
|
|
|
23775
23872
|
var BUILD_PIPELINE_TEMPLATE_STAGES = Object.freeze({
|
|
23776
23873
|
setup: "setup",
|
|
23777
23874
|
build: "build",
|
|
23778
|
-
fix: "
|
|
23875
|
+
fix: "rework",
|
|
23779
23876
|
prepare: "preparation",
|
|
23780
23877
|
package: "validation",
|
|
23781
23878
|
review: "review",
|
|
23782
23879
|
consolidate: "consolidation",
|
|
23783
23880
|
"has-issues": "after-review",
|
|
23784
|
-
address: "address",
|
|
23881
|
+
address: "address-findings",
|
|
23785
23882
|
verify: "verify",
|
|
23786
23883
|
criteria: "verify",
|
|
23787
23884
|
verified: "after-verify",
|
|
@@ -23978,7 +24075,7 @@ function buildPipelineBuiltInTemplate() {
|
|
|
23978
24075
|
}
|
|
23979
24076
|
],
|
|
23980
24077
|
outputs: [
|
|
23981
|
-
{ name: "plan", type: "validation-plan@
|
|
24078
|
+
{ name: "plan", type: "validation-plan@2" },
|
|
23982
24079
|
{ name: "code", type: "workspace@1" }
|
|
23983
24080
|
]
|
|
23984
24081
|
},
|
|
@@ -23989,7 +24086,7 @@ function buildPipelineBuiltInTemplate() {
|
|
|
23989
24086
|
description: "The environment runs the plan's commands once and seals one immutable review package; Review, Address and Verify re-verify its hash.",
|
|
23990
24087
|
action: "run-validation-and-seal",
|
|
23991
24088
|
inputs: [
|
|
23992
|
-
{ name: "plan", type: "validation-plan@
|
|
24089
|
+
{ name: "plan", type: "validation-plan@2" },
|
|
23993
24090
|
{ name: "code", type: "workspace@1" }
|
|
23994
24091
|
],
|
|
23995
24092
|
outputs: [{ name: "package", type: "review-package@2" }]
|
|
@@ -24384,7 +24481,7 @@ function roundNodes(round, allowance) {
|
|
|
24384
24481
|
prompt: { builtIn: "review-package-preparation" },
|
|
24385
24482
|
inputs: [{ name: "code", type: "workspace@1" }],
|
|
24386
24483
|
outputs: [
|
|
24387
|
-
{ name: "plan", type: "validation-plan@
|
|
24484
|
+
{ name: "plan", type: "validation-plan@2" },
|
|
24388
24485
|
{ name: "code", type: "workspace@1" }
|
|
24389
24486
|
]
|
|
24390
24487
|
},
|
|
@@ -24394,7 +24491,7 @@ function roundNodes(round, allowance) {
|
|
|
24394
24491
|
label: `Round ${round} \xB7 Seal package`,
|
|
24395
24492
|
action: "run-validation-and-seal",
|
|
24396
24493
|
inputs: [
|
|
24397
|
-
{ name: "plan", type: "validation-plan@
|
|
24494
|
+
{ name: "plan", type: "validation-plan@2" },
|
|
24398
24495
|
{ name: "code", type: "workspace@1" }
|
|
24399
24496
|
],
|
|
24400
24497
|
outputs: [{ name: "package", type: "review-package@2" }]
|
|
@@ -24618,7 +24715,7 @@ var PHASES = new Set([
|
|
|
24618
24715
|
"reviewing",
|
|
24619
24716
|
"consolidating",
|
|
24620
24717
|
"ready",
|
|
24621
|
-
"
|
|
24718
|
+
"addressing-findings",
|
|
24622
24719
|
"interactive",
|
|
24623
24720
|
"paused",
|
|
24624
24721
|
"completed",
|
|
@@ -24641,7 +24738,7 @@ var MULTI_REVIEW_TEMPLATE_STAGES = Object.freeze({
|
|
|
24641
24738
|
review: "reviewer",
|
|
24642
24739
|
consolidate: "consolidate",
|
|
24643
24740
|
"has-findings": "after-consolidation",
|
|
24644
|
-
fix: "
|
|
24741
|
+
fix: "address-findings",
|
|
24645
24742
|
"fix-complete": "after-fix",
|
|
24646
24743
|
"describe-pr": "pr",
|
|
24647
24744
|
pr: "pr"
|
|
@@ -24753,7 +24850,7 @@ function multiReviewBuiltInTemplate() {
|
|
|
24753
24850
|
prompt: { builtIn: "review-package-preparation" },
|
|
24754
24851
|
inputs: [{ name: "code", type: "workspace@1" }],
|
|
24755
24852
|
outputs: [
|
|
24756
|
-
{ name: "plan", type: "validation-plan@
|
|
24853
|
+
{ name: "plan", type: "validation-plan@2" },
|
|
24757
24854
|
{ name: "code", type: "workspace@1" }
|
|
24758
24855
|
]
|
|
24759
24856
|
},
|
|
@@ -24764,7 +24861,7 @@ function multiReviewBuiltInTemplate() {
|
|
|
24764
24861
|
description: "The environment runs the plan's commands once, then seals one immutable, hash-verified review package every reviewer shares.",
|
|
24765
24862
|
action: "run-validation-and-seal",
|
|
24766
24863
|
inputs: [
|
|
24767
|
-
{ name: "plan", type: "validation-plan@
|
|
24864
|
+
{ name: "plan", type: "validation-plan@2" },
|
|
24768
24865
|
{ name: "code", type: "workspace@1" }
|
|
24769
24866
|
],
|
|
24770
24867
|
outputs: [{ name: "package", type: "review-package@2" }]
|