orkestrator 2.36.1 → 2.36.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 +444 -68
- package/dist/main.js +173063 -163635
- package/package.json +3 -3
- package/resources/acp-bridge/dist/index.js +686 -433
- package/resources/claude-bridge/dist/index.js +633 -152
- package/resources/codex-bridge/dist/index.js +1972 -1263
- package/resources/cursor-bridge/dist/index.js +620 -46
- package/resources/cursor-bridge/runtime/install.json +1 -1
- package/resources/pi-bridge/dist/index.js +791 -108
- package/resources/pi-bridge/runtime/install.json +1 -1
package/dist/client.js
CHANGED
|
@@ -7080,7 +7080,7 @@ var PUBLIC_ACTIONS = {
|
|
|
7080
7080
|
effects: ["metadata", "provider-session"],
|
|
7081
7081
|
observation: "receipt",
|
|
7082
7082
|
milestone: "D",
|
|
7083
|
-
summary: "Start an environment's Multi Review, as the Multi Review button does: reviewers, consolidation, then optional
|
|
7083
|
+
summary: "Start an environment's Multi Review, as the Multi Review button does: reviewers, consolidation, then optional Address Findings and PR, with saved defaults for what is omitted; an active review is reused."
|
|
7084
7084
|
},
|
|
7085
7085
|
"review.list": {
|
|
7086
7086
|
version: 1,
|
|
@@ -7096,7 +7096,7 @@ var PUBLIC_ACTIONS = {
|
|
|
7096
7096
|
effects: [],
|
|
7097
7097
|
observation: "immediate",
|
|
7098
7098
|
milestone: "D",
|
|
7099
|
-
summary: "Read one Multi Review: phase, reviewers, consolidation,
|
|
7099
|
+
summary: "Read one Multi Review: phase, reviewers, consolidation, Address Findings and PR steps."
|
|
7100
7100
|
},
|
|
7101
7101
|
"review.open": {
|
|
7102
7102
|
version: 1,
|
|
@@ -7104,7 +7104,7 @@ var PUBLIC_ACTIONS = {
|
|
|
7104
7104
|
effects: ["metadata"],
|
|
7105
7105
|
observation: "receipt",
|
|
7106
7106
|
milestone: "D",
|
|
7107
|
-
summary: "Open or focus a Multi Review's root tab or its
|
|
7107
|
+
summary: "Open or focus a Multi Review's root tab or its Address Findings tab; starts no work."
|
|
7108
7108
|
},
|
|
7109
7109
|
"review.address": {
|
|
7110
7110
|
version: 1,
|
|
@@ -7112,7 +7112,7 @@ var PUBLIC_ACTIONS = {
|
|
|
7112
7112
|
effects: ["provider-session"],
|
|
7113
7113
|
observation: "receipt",
|
|
7114
7114
|
milestone: "D",
|
|
7115
|
-
summary: "Address a Multi Review's findings: hand them to its
|
|
7115
|
+
summary: "Address a Multi Review's findings: hand them to its Address Findings session (the Address findings button)."
|
|
7116
7116
|
},
|
|
7117
7117
|
"review.cancel": {
|
|
7118
7118
|
version: 1,
|
|
@@ -8226,6 +8226,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
8226
8226
|
"address_multi_review",
|
|
8227
8227
|
"adopt_workflow",
|
|
8228
8228
|
"answer_worker_question",
|
|
8229
|
+
"ask_agents",
|
|
8229
8230
|
"cancel_build_pipeline",
|
|
8230
8231
|
"cancel_graph_run",
|
|
8231
8232
|
"cancel_multi_review",
|
|
@@ -8288,6 +8289,7 @@ var COORDINATOR_CONTROL_TOOL_NAMES = Object.freeze([
|
|
|
8288
8289
|
"request_project_on_node",
|
|
8289
8290
|
"request_root_changes",
|
|
8290
8291
|
"resolve_conflicts",
|
|
8292
|
+
"restart_build_pipeline_step",
|
|
8291
8293
|
"resume_build_pipeline",
|
|
8292
8294
|
"resume_schedule",
|
|
8293
8295
|
"run_worker_command",
|
|
@@ -8452,6 +8454,16 @@ function normalizeDebugLogRetentionDays(value) {
|
|
|
8452
8454
|
}
|
|
8453
8455
|
|
|
8454
8456
|
// ../protocol/src/log-vocabulary/define.ts
|
|
8457
|
+
var ESSENTIAL_ERROR_FIELDS = {
|
|
8458
|
+
"error.name": "label",
|
|
8459
|
+
"error.code": "label",
|
|
8460
|
+
"error.errno": "number",
|
|
8461
|
+
"error.syscall": "label",
|
|
8462
|
+
"error.exitCode": "number",
|
|
8463
|
+
"error.signal": "label",
|
|
8464
|
+
"error.outputOmitted": "boolean",
|
|
8465
|
+
"error.errorCount": "number"
|
|
8466
|
+
};
|
|
8455
8467
|
var THROTTLE_LOG_EVENTS = {
|
|
8456
8468
|
"throttle.suppressed": "Repeats of the throttled `site` were counted over a window, not written.",
|
|
8457
8469
|
"throttle.recovered": "The throttled `site` succeeded again, so its fault has cleared.",
|
|
@@ -8501,7 +8513,11 @@ var BACKEND_LOG_AREAS = defineLogAreas({
|
|
|
8501
8513
|
backend: {
|
|
8502
8514
|
description: "The backend process: startup, background notices and shutdown.",
|
|
8503
8515
|
events: {
|
|
8504
|
-
starting:
|
|
8516
|
+
starting: {
|
|
8517
|
+
description: "The backend process is starting.",
|
|
8518
|
+
essential: true,
|
|
8519
|
+
fields: { version: "label" }
|
|
8520
|
+
},
|
|
8505
8521
|
"ssh-socket.resolved": "An SSH agent socket was found.",
|
|
8506
8522
|
"ssh-socket.missing": "No usable SSH agent socket was found.",
|
|
8507
8523
|
"standalone-updater.mismatch": "--standalone-updater does not match --data-dir, so self-update is off.",
|
|
@@ -8516,8 +8532,16 @@ var BACKEND_LOG_AREAS = defineLogAreas({
|
|
|
8516
8532
|
"notice.failed": "A background notice after a turn or prompt failed; `step` says which.",
|
|
8517
8533
|
"artifacts.live-unavailable": "Live interactive artifacts are unavailable.",
|
|
8518
8534
|
"shutdown.step-failed": "One part of shutdown failed and the rest went on; `step` says which.",
|
|
8519
|
-
"shutdown.signal-received":
|
|
8520
|
-
|
|
8535
|
+
"shutdown.signal-received": {
|
|
8536
|
+
description: "A signal started shutdown, which tells a clean quit from the backend being killed.",
|
|
8537
|
+
essential: true,
|
|
8538
|
+
fields: { signal: "label" }
|
|
8539
|
+
},
|
|
8540
|
+
"shutdown.finished": {
|
|
8541
|
+
description: "Shutdown finished, and the process exits with `code`.",
|
|
8542
|
+
essential: true,
|
|
8543
|
+
fields: { code: "number" }
|
|
8544
|
+
},
|
|
8521
8545
|
"port-policy.second-backend": "Another backend serves the default data directory, so this one avoids its ports.",
|
|
8522
8546
|
"port-policy.serve-on-free-port": "--tailscale-serve is on a free gateway port; pass --port with --strict-gateway-port to keep one."
|
|
8523
8547
|
}
|
|
@@ -8560,7 +8584,10 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
|
|
|
8560
8584
|
"evidence.record-failed": "Change evidence could not be recorded; the read loop carries on.",
|
|
8561
8585
|
"evidence.shell-record-failed": "A shell observation could not be recorded.",
|
|
8562
8586
|
"evidence.turn-record-failed": "Turn change evidence could not be recorded.",
|
|
8587
|
+
"agent.exited": "An ACP agent process exited, with its `code` and `signal`, always at `warn`. `requested` is true when the bridge closed it normally, false for an unrequested or fault-driven exit.",
|
|
8588
|
+
"http.route-failed": "An HTTP route answered 500; its error message is not logged because it can hold content.",
|
|
8563
8589
|
"server.listening": "The HTTP server is listening.",
|
|
8590
|
+
"session.policy-widening-refused": "A request tried to widen a live session's execution policy and was refused; widened names the axes.",
|
|
8564
8591
|
"state.composer-reset": "A saved composer state was malformed and was reset.",
|
|
8565
8592
|
"state.discarded": "Saved bridge state could not be used and was discarded.",
|
|
8566
8593
|
"state.persist-failed": "Saving bridge state failed; a later write retries.",
|
|
@@ -8614,7 +8641,7 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
|
|
|
8614
8641
|
"session.created": "A session was created or recovered.",
|
|
8615
8642
|
"session.delete-failed": "Deleting a session failed.",
|
|
8616
8643
|
"session.fork-failed": "Forking a session failed.",
|
|
8617
|
-
"session.policy-widening-refused": "A
|
|
8644
|
+
"session.policy-widening-refused": "A request tried to widen a live session's execution policy and was refused; widened names the axes.",
|
|
8618
8645
|
"session.rename-failed": "Renaming a session failed.",
|
|
8619
8646
|
"session.resolve-failed": "A session could not be found or loaded for a request; action names the request.",
|
|
8620
8647
|
"session.rewind-failed": "Rewinding session files failed.",
|
|
@@ -8648,6 +8675,7 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
|
|
|
8648
8675
|
"app-server.exited": "app-server exited unexpectedly; the code and signal say how.",
|
|
8649
8676
|
"app-server.invariant-violation": "app-server asked for something its configuration forbids.",
|
|
8650
8677
|
"app-server.protocol-violation": "app-server wrote a line that is not valid protocol; it was ignored.",
|
|
8678
|
+
"app-server.overflow-restart-failed": "Replacing the child after a notification queue overflow failed; the next request tries again.",
|
|
8651
8679
|
"app-server.recording": "Notification recording is on; recordings hold content.",
|
|
8652
8680
|
"app-server.stale-reaped": "A stale app-server left by an earlier bridge was stopped.",
|
|
8653
8681
|
"app-server.stderr": "Metadata of an app-server stderr line, never its content.",
|
|
@@ -8678,6 +8706,7 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
|
|
|
8678
8706
|
"ordered-events.publish-failed": "Publishing an ordered event failed; clients are told to rehydrate.",
|
|
8679
8707
|
"ordered-events.reconcile-failed": "Reconciling ordered events failed.",
|
|
8680
8708
|
"parent.gone": "The backend that launched this bridge has gone; stopping turns and shutting down.",
|
|
8709
|
+
"queue.overflow": "The notification queue passed a bound and dropped its backlog.",
|
|
8681
8710
|
"queue.task-failed": "A task on a per-thread queue failed.",
|
|
8682
8711
|
"raw-log.write-failed": "Appending to the raw Codex log failed.",
|
|
8683
8712
|
"recorder.notice": "The notification recorder needs attention: it is on, or was asked for without its confirmation.",
|
|
@@ -8691,6 +8720,7 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
|
|
|
8691
8720
|
"server-request.flush-timeout": "An answer to a server request did not flush in time.",
|
|
8692
8721
|
"server-request.handoff-failed": "Handing a server request to the router threw.",
|
|
8693
8722
|
"session.config-apply-failed": "Applying session configuration failed; the route answers unavailable.",
|
|
8723
|
+
"session.policy-widening-refused": "A request tried to widen a live session's execution policy and was refused; widened names the axes.",
|
|
8694
8724
|
"sse.closed": "An event stream was closed by the bridge; the client reconnects and replays.",
|
|
8695
8725
|
"sse.keepalive-failed": "An event stream keepalive failed.",
|
|
8696
8726
|
"sse.observer-failed": "An event stream observer failed; it reconnects.",
|
|
@@ -8719,19 +8749,39 @@ var BRIDGE_LOG_AREAS = defineLogAreas({
|
|
|
8719
8749
|
events: {
|
|
8720
8750
|
"agent.archive-failed": "Archiving or unarchiving an agent failed.",
|
|
8721
8751
|
"http.route-failed": "An HTTP route failed unexpectedly; its error is not logged because it can hold content.",
|
|
8752
|
+
"session.policy-widening-refused": "A request tried to widen a live session's execution policy and was refused; widened names the axes.",
|
|
8722
8753
|
"startup.closes-failed": "Finishing closes a previous process left behind failed at startup.",
|
|
8723
8754
|
"startup.closes-incomplete": "Some closes a previous process left behind did not finish at startup; a retried close finishes them.",
|
|
8724
8755
|
"state.publication-failing": "Saving bridge state is failing; new prompts and steers are refused until it recovers.",
|
|
8725
8756
|
"state.publication-recovered": "Saving bridge state recovered.",
|
|
8726
|
-
"state.transcripts-shortened": "The state file reached its limit, so some sessions were saved with a shortened transcript copy."
|
|
8757
|
+
"state.transcripts-shortened": "The state file reached its limit, so some sessions were saved with a shortened transcript copy.",
|
|
8758
|
+
"session.resume-fell-back": {
|
|
8759
|
+
description: "A saved conversation could not be resumed, so a new one started; its error message is not logged because it can hold content.",
|
|
8760
|
+
essential: true,
|
|
8761
|
+
fields: ESSENTIAL_ERROR_FIELDS
|
|
8762
|
+
},
|
|
8763
|
+
"turn.failed": "A turn failed; its error message is not logged because it can hold content. A cancelled turn is not a failure.",
|
|
8764
|
+
"turn.recovery-failed": "A run recovered after a bridge restart ended in failure, or could not be followed. A cancelled run is not a failure.",
|
|
8765
|
+
"turn.send-failed": "Sending a prompt to Cursor failed, so whether its run started is unknown; its error message is not logged because it can hold content.",
|
|
8766
|
+
"turn.timed-out": "A turn outlived its time budget, so its run was asked to cancel; `turn.failed` follows if it never stops."
|
|
8727
8767
|
}
|
|
8728
8768
|
},
|
|
8729
8769
|
"bridge.pi": {
|
|
8730
8770
|
description: "The Pi bridge: its routes, sessions and saved state.",
|
|
8731
8771
|
events: {
|
|
8732
8772
|
"http.route-failed": "An HTTP route failed unexpectedly; its error is not logged because it can hold content.",
|
|
8773
|
+
"session.policy-widening-refused": "A request tried to widen a live session's execution policy and was refused; widened names the axes.",
|
|
8774
|
+
"session-list.failed": "Reading the resumable sessions failed, so none were offered; its error message is not logged because it can hold content.",
|
|
8733
8775
|
"state.over-budget": "The state file stayed over budget after shedding transcripts, so the write was skipped.",
|
|
8734
|
-
"state.transcripts-shed": "The state file was over budget, so some sessions were saved without their transcript."
|
|
8776
|
+
"state.transcripts-shed": "The state file was over budget, so some sessions were saved without their transcript.",
|
|
8777
|
+
"session.resume-fell-back": {
|
|
8778
|
+
description: "A saved conversation could not be reopened, so a new one started; its error message is not logged because it can hold content.",
|
|
8779
|
+
essential: true,
|
|
8780
|
+
fields: ESSENTIAL_ERROR_FIELDS
|
|
8781
|
+
},
|
|
8782
|
+
"turn.failed": "A turn failed; its error message is not logged because it can hold content. A cancelled turn is not a failure.",
|
|
8783
|
+
"turn.refused": "Pi refused a prompt before starting a run, so nothing ran; its error message is not logged because it can hold content.",
|
|
8784
|
+
"turn.startup-timed-out": "Pi did not start a turn within its startup deadline, so the prompt was abandoned."
|
|
8735
8785
|
}
|
|
8736
8786
|
}
|
|
8737
8787
|
});
|
|
@@ -8742,14 +8792,31 @@ var DESKTOP_LOG_AREAS = defineLogAreas({
|
|
|
8742
8792
|
description: "The Electron main process: startup, windows, quit and the Local backend's life.",
|
|
8743
8793
|
events: {
|
|
8744
8794
|
"backend.docker-context-seed-failed": "An agent-test profile fell back to the default Docker context.",
|
|
8745
|
-
"backend.exited":
|
|
8746
|
-
|
|
8795
|
+
"backend.exited": {
|
|
8796
|
+
description: "The Local backend exited unexpectedly; Local work is unavailable. `error.exitCode` and `error.signal` say how.",
|
|
8797
|
+
essential: true,
|
|
8798
|
+
fields: ESSENTIAL_ERROR_FIELDS
|
|
8799
|
+
},
|
|
8800
|
+
"backend.exited-recovering": {
|
|
8801
|
+
description: "The Local backend exited just after a remote update; relaunching unattended. `error.exitCode` and `error.signal` say how.",
|
|
8802
|
+
essential: true,
|
|
8803
|
+
fields: ESSENTIAL_ERROR_FIELDS
|
|
8804
|
+
},
|
|
8747
8805
|
"backend.keychain-link-remove-failed": "An agent-test profile kept a legacy link to the host keychain.",
|
|
8748
|
-
"backend.start-failed":
|
|
8806
|
+
"backend.start-failed": {
|
|
8807
|
+
description: "The Local backend did not start; continuing with remote machines.",
|
|
8808
|
+
essential: true,
|
|
8809
|
+
fields: ESSENTIAL_ERROR_FIELDS
|
|
8810
|
+
},
|
|
8749
8811
|
"clipboard.write-failed": "Writing text to the system clipboard failed.",
|
|
8750
8812
|
"dev-mode.ignored-packaged": "A packaged app was launched with ELECTRON_DEV=1 and ignored it; it loads its bundled renderer.",
|
|
8751
8813
|
"instance.already-running": "Another instance holds this data directory; this one will quit.",
|
|
8752
|
-
"main-thread.stalled":
|
|
8814
|
+
"main-thread.stalled": {
|
|
8815
|
+
description: "A timer fired late, so windows, IPC and the stdout reader waited.",
|
|
8816
|
+
essential: true,
|
|
8817
|
+
minLevel: "error",
|
|
8818
|
+
fields: { lagMs: "number", intervalMs: "number" }
|
|
8819
|
+
},
|
|
8753
8820
|
"quit.stopping-backend": "The app is quitting and has asked the Local backend to stop.",
|
|
8754
8821
|
"relaunch.schedule-failed": "The AppImage relaunch waiter failed; using Electron's relauncher.",
|
|
8755
8822
|
"relaunch.service-register-failed": "The AppImage relaunch service was refused; using a detached waiter.",
|
|
@@ -8760,7 +8827,11 @@ var DESKTOP_LOG_AREAS = defineLogAreas({
|
|
|
8760
8827
|
"saved-machines.attach-failed": "Saved machines were not imported into the command node yet.",
|
|
8761
8828
|
"saved-machines.attached": "Saved machines were imported into the local command node.",
|
|
8762
8829
|
"startup.failed": "The application failed to start.",
|
|
8763
|
-
"uncaught-exception":
|
|
8830
|
+
"uncaught-exception": {
|
|
8831
|
+
description: "The main process hit an uncaught exception.",
|
|
8832
|
+
essential: true,
|
|
8833
|
+
fields: ESSENTIAL_ERROR_FIELDS
|
|
8834
|
+
},
|
|
8764
8835
|
"uncaught-exception.dialog-failed": "The uncaught exception sheet could not be shown.",
|
|
8765
8836
|
"window.create-failed": "A menu-driven new window could not be created.",
|
|
8766
8837
|
"window.recreate-failed": "The main window could not be recreated on activation.",
|
|
@@ -8783,6 +8854,12 @@ var DESKTOP_LOG_AREAS = defineLogAreas({
|
|
|
8783
8854
|
"unhandled-rejection": "An unhandled rejection occurred while the renderer was starting."
|
|
8784
8855
|
}
|
|
8785
8856
|
},
|
|
8857
|
+
"desktop.permissions": {
|
|
8858
|
+
description: "Permission requests refused on the renderer and workspace realm sessions.",
|
|
8859
|
+
events: {
|
|
8860
|
+
denied: "A renderer asked for a permission the policy does not grant."
|
|
8861
|
+
}
|
|
8862
|
+
},
|
|
8786
8863
|
"desktop.dialog": {
|
|
8787
8864
|
description: "Native dialogs, whose modal loops hold the main thread while they are open.",
|
|
8788
8865
|
events: {
|
|
@@ -8865,6 +8942,7 @@ var ENVIRONMENT_LOG_AREAS = defineLogAreas({
|
|
|
8865
8942
|
"status.docker-error": "A transient Docker error stopped a status read, so the stored status is kept.",
|
|
8866
8943
|
"setup.clear-launch-failed": "A pending agent launch could not be cleared after setup failed.",
|
|
8867
8944
|
"setup.record-failure-failed": "A setup failure before its first attempt could not be recorded.",
|
|
8945
|
+
"setup.tab-publish-failed": "The setup terminal's tab could not be published.",
|
|
8868
8946
|
"lifecycle.failed": "Starting, rebuilding or recreating an environment failed; `operation` says which.",
|
|
8869
8947
|
"tab-teardown.pending": "A tab's teardown failed and stays pending; the reconcile sweep retries.",
|
|
8870
8948
|
"tab-reconcile.skipped": "Orphaned tab reconciliation was skipped because pane layouts are unreadable.",
|
|
@@ -8901,6 +8979,8 @@ var GATEWAY_LOG_AREAS = defineLogAreas({
|
|
|
8901
8979
|
"loopback.unavailable": "The loopback client listener could not start.",
|
|
8902
8980
|
"auth-token.stored": "The gateway token's file was written. The path only, never the token.",
|
|
8903
8981
|
"auth-token.persist-failed": "The gateway token could not be saved.",
|
|
8982
|
+
"auth-guess.throttled": "A listener saw enough different wrong tokens that it now pauses new ones. Never the values.",
|
|
8983
|
+
"host.refused": "A request named a host this gateway does not answer to. Logged once per name, up to a limit.",
|
|
8904
8984
|
"port.fallback": "The preferred port was taken, so a nearby one is used.",
|
|
8905
8985
|
"port.fallback-distant": "The preferred port and those nearby were taken, so another is used.",
|
|
8906
8986
|
"request.failed": "A gateway request failed. Throttled: repeats are counted, not written.",
|
|
@@ -8944,6 +9024,22 @@ var LOCAL_SERVER_LOG_AREAS = defineLogAreas({
|
|
|
8944
9024
|
"bridge-runtime.installed": "A bridge runtime finished installing.",
|
|
8945
9025
|
"opencode.database-lost-retrying": "OpenCode lost its shared database at startup, so it is retried.",
|
|
8946
9026
|
"server.stopping": "A local server is being stopped, for the fixed `reason` given.",
|
|
9027
|
+
"bridge.started": {
|
|
9028
|
+
description: "A local bridge process was spawned; `key` names its kind and environment.",
|
|
9029
|
+
essential: true,
|
|
9030
|
+
fields: { key: "label", pid: "number" }
|
|
9031
|
+
},
|
|
9032
|
+
"bridge.exited": {
|
|
9033
|
+
description: "A local bridge process exited, with its `code` and `signal`. `warn` when nothing asked it to, whatever the code; `info` when the backend stopped it, which `server.stopping` explains.",
|
|
9034
|
+
essential: true,
|
|
9035
|
+
fields: {
|
|
9036
|
+
key: "label",
|
|
9037
|
+
pid: "number",
|
|
9038
|
+
code: "number",
|
|
9039
|
+
signal: "label",
|
|
9040
|
+
requested: "boolean"
|
|
9041
|
+
}
|
|
9042
|
+
},
|
|
8947
9043
|
"reaper.tmux-list-failed": "Orphaned claude-tmux sessions could not be listed.",
|
|
8948
9044
|
"reaper.tmux-kill-failed": "An orphaned tmux session could not be killed.",
|
|
8949
9045
|
"reaper.tmux-reaped": "Orphaned claude-tmux sessions of a deleted environment were killed.",
|
|
@@ -8977,13 +9073,29 @@ var LOGGING_LOG_AREAS = defineLogAreas({
|
|
|
8977
9073
|
"capture.started": "Saving logs to disk began for this process.",
|
|
8978
9074
|
"capture.stopped": "Saving logs to disk stopped for this process.",
|
|
8979
9075
|
"config.invalid": "A logging environment variable held a value that was ignored.",
|
|
8980
|
-
"entries.dropped":
|
|
9076
|
+
"entries.dropped": {
|
|
9077
|
+
description: "Entries were dropped and counted, for the fixed `reason` given: the queue was full, a write failed or, in the essential log, one event was repeating too fast.",
|
|
9078
|
+
essential: true,
|
|
9079
|
+
fields: { entries: "number", bytes: "number", reason: "label" }
|
|
9080
|
+
},
|
|
9081
|
+
"essential.started": {
|
|
9082
|
+
description: "This process began writing the essential log. One with no `essential.stopped` before it means the last writer died.",
|
|
9083
|
+
essential: true,
|
|
9084
|
+
fields: { owner: "label" }
|
|
9085
|
+
},
|
|
9086
|
+
"essential.stopped": {
|
|
9087
|
+
description: "This process stopped writing the essential log, in an orderly exit.",
|
|
9088
|
+
essential: true,
|
|
9089
|
+
fields: { owner: "label" }
|
|
9090
|
+
},
|
|
9091
|
+
"essential.write-failed": "Writing the essential log failed. Its entries are counted, and a marker reports them at the next write that works.",
|
|
8981
9092
|
"policy.changed": "The logging settings changed: saving, retention and levels, with no content.",
|
|
8982
9093
|
"policy.bridge-predates-route": "A running bridge has no logging settings route; it applies them at its next start.",
|
|
8983
9094
|
"policy.push-failed": "A running bridge did not take the logging settings after retries; its next start resends them.",
|
|
8984
9095
|
"prune.failed": "Removing expired log files failed; the next sweep retries.",
|
|
8985
9096
|
"write.failed": "Appending to the log file failed.",
|
|
8986
|
-
"unknown-area": "Code outside the type checker asked for an area that is not listed."
|
|
9097
|
+
"unknown-area": "Code outside the type checker asked for an area that is not listed.",
|
|
9098
|
+
...THROTTLE_LOG_EVENTS
|
|
8987
9099
|
}
|
|
8988
9100
|
}
|
|
8989
9101
|
});
|
|
@@ -9038,6 +9150,7 @@ var NATIVE_AGENT_LOG_AREAS = defineLogAreas({
|
|
|
9038
9150
|
"turn-recovery.failed": "Recovering an incomplete turn failed.",
|
|
9039
9151
|
"turn-recovery.exhausted": "A turn failed again after automatic recovery and is left for the user.",
|
|
9040
9152
|
"turn-recovery.retrying": "An incomplete or provider-failed turn is being retried automatically.",
|
|
9153
|
+
"usage-limit.notice-failed": "A usage-limit stop's outcome could not be read for its notice.",
|
|
9041
9154
|
"usage-limit.resend-failed": "Resending after a usage limit failed. An unknown send stays in the journal.",
|
|
9042
9155
|
"title.strategy-failed": "A session title strategy failed, so the next is tried. Content-free: the error can quote the prompt.",
|
|
9043
9156
|
...THROTTLE_LOG_EVENTS
|
|
@@ -9054,6 +9167,15 @@ var NATIVE_AGENT_LOG_AREAS = defineLogAreas({
|
|
|
9054
9167
|
"recover.failed": "Goals could not be recovered at startup."
|
|
9055
9168
|
}
|
|
9056
9169
|
},
|
|
9170
|
+
"native-agent.subork": {
|
|
9171
|
+
description: "Suborks: the ask_agents calls a native agent makes. Content-free.",
|
|
9172
|
+
events: {
|
|
9173
|
+
"pass.failed": "A pass over a call failed, so a later pass retries. Counts only.",
|
|
9174
|
+
"delivery.failed": "A call's answers could not be placed in the caller's mailbox yet. Error class only.",
|
|
9175
|
+
"retention.failed": "An old call could not be removed.",
|
|
9176
|
+
"sweep.failed": "A running call's caller could not be checked; the next sweep looks again."
|
|
9177
|
+
}
|
|
9178
|
+
},
|
|
9057
9179
|
"native-agent.opencode": {
|
|
9058
9180
|
description: "The OpenCode provider: its request monitor, retries and agent tools.",
|
|
9059
9181
|
events: {
|
|
@@ -9108,7 +9230,28 @@ var RUNTIME_LOG_AREAS = defineLogAreas({
|
|
|
9108
9230
|
"event-loop": {
|
|
9109
9231
|
description: "This process's event loop. A stall of 10 seconds or more is written at error, so no level hides it.",
|
|
9110
9232
|
events: {
|
|
9111
|
-
stalled:
|
|
9233
|
+
stalled: {
|
|
9234
|
+
description: "A timer fired late, so every request in that window waited.",
|
|
9235
|
+
essential: true,
|
|
9236
|
+
minLevel: "error",
|
|
9237
|
+
fields: { lagMs: "number", intervalMs: "number" }
|
|
9238
|
+
}
|
|
9239
|
+
}
|
|
9240
|
+
},
|
|
9241
|
+
process: {
|
|
9242
|
+
description: "Failures of a whole process that nothing in it handled.",
|
|
9243
|
+
events: {
|
|
9244
|
+
"rejection.unhandled": {
|
|
9245
|
+
description: "A promise rejection reached the fatal rejection guard, which keeps the process running.",
|
|
9246
|
+
essential: true,
|
|
9247
|
+
fields: { kind: "label", ...ESSENTIAL_ERROR_FIELDS }
|
|
9248
|
+
},
|
|
9249
|
+
"uncaught-exception": {
|
|
9250
|
+
description: "An exception reached the top of the backend, which is about to die with it. `origin` says whether it was thrown or a rejected top-level await.",
|
|
9251
|
+
essential: true,
|
|
9252
|
+
fields: { origin: "label", ...ESSENTIAL_ERROR_FIELDS }
|
|
9253
|
+
},
|
|
9254
|
+
...THROTTLE_LOG_EVENTS
|
|
9112
9255
|
}
|
|
9113
9256
|
}
|
|
9114
9257
|
});
|
|
@@ -9346,21 +9489,43 @@ var STORAGE_LOG_AREAS = defineLogAreas({
|
|
|
9346
9489
|
description: "The SQLite-backed stores, their snapshots and imports from older formats.",
|
|
9347
9490
|
events: {
|
|
9348
9491
|
"usage.environment-label-failed": "Usage labels could not be retained for a removed environment; deletion continues.",
|
|
9349
|
-
"
|
|
9492
|
+
"migration.failed": {
|
|
9493
|
+
description: "The database could not be brought to this build's schema, so it did not open; `step` says whether the safety copy or the migration itself failed.",
|
|
9494
|
+
essential: true,
|
|
9495
|
+
fields: {
|
|
9496
|
+
fromVersion: "number",
|
|
9497
|
+
toVersion: "number",
|
|
9498
|
+
step: "label",
|
|
9499
|
+
...ESSENTIAL_ERROR_FIELDS
|
|
9500
|
+
}
|
|
9501
|
+
},
|
|
9502
|
+
"snapshot.integrity-failed": {
|
|
9503
|
+
description: "A database snapshot failed its integrity check and was discarded.",
|
|
9504
|
+
essential: true,
|
|
9505
|
+
fields: {}
|
|
9506
|
+
},
|
|
9350
9507
|
"snapshot.skipped-low-disk": "The hourly database snapshot was skipped because the disk lacks room; `retryAt` says when it tries again.",
|
|
9351
|
-
"snapshot.failed":
|
|
9508
|
+
"snapshot.failed": {
|
|
9509
|
+
description: "The hourly database snapshot failed; `retryAt` says when it tries again, if known.",
|
|
9510
|
+
essential: true,
|
|
9511
|
+
fields: { retryAt: "label", ...ESSENTIAL_ERROR_FIELDS }
|
|
9512
|
+
},
|
|
9352
9513
|
"listener.attention-failed": "An environment attention listener threw; the committed mutation stands.",
|
|
9353
9514
|
"listener.change-failed": "A resource change listener threw; the committed mutation stands.",
|
|
9354
9515
|
"kanban.image-cleanup-failed": "An orphaned Kanban image could not be removed after its retries; it is safe to remove later.",
|
|
9355
9516
|
"nodes.entries-dropped": "Unreadable node registry entries were ignored.",
|
|
9356
9517
|
"preview-identity.reminted": "The data directory moved or was copied, so previews get a new backend identity.",
|
|
9518
|
+
"preview-settings.invalid": "Invalid preview settings disabled transport and relay.",
|
|
9357
9519
|
"machine-profile.invalid": "The stored machine profile was invalid and the default was restored.",
|
|
9358
9520
|
"permission-rules.cleanup-failed": "A deleted project's permission rules could not be removed.",
|
|
9359
9521
|
"retired.turn-cleanup-pending": "Cleanup of a retired Looped Review turn did not finish and stays pending.",
|
|
9360
9522
|
"handoffs.prune-failed": "Pruning agent handoffs that nothing references failed; a later prune retries.",
|
|
9361
9523
|
"desktop-connections.malformed": "Stored desktop connection settings were malformed, so the local connection is used.",
|
|
9362
9524
|
"legacy-json.moved": "JSON store files written after the SQLite migration were archived, not imported.",
|
|
9363
|
-
"legacy-json.archive-failed": "Imported JSON store files could not be archived."
|
|
9525
|
+
"legacy-json.archive-failed": "Imported JSON store files could not be archived.",
|
|
9526
|
+
"lease.heartbeat-failed": "A held lease's heartbeat failed, which shortens the lease; the next one retries.",
|
|
9527
|
+
"scrub.checkpoint-failed": "Deleted content could not be scrubbed from the WAL because the truncating checkpoint failed or was blocked; the next checkpoint retries.",
|
|
9528
|
+
...THROTTLE_LOG_EVENTS
|
|
9364
9529
|
}
|
|
9365
9530
|
}
|
|
9366
9531
|
});
|
|
@@ -9451,6 +9616,11 @@ var COORDINATOR_LOG_AREAS = defineLogAreas({
|
|
|
9451
9616
|
"wake.observe-pull-request-failed": "A pull request could not be observed for status wakes.",
|
|
9452
9617
|
"wake.observe-feature-plan-failed": "A feature plan could not be observed for status wakes.",
|
|
9453
9618
|
"wake.observe-workflow-failed": "A workflow could not be observed for status wakes.",
|
|
9619
|
+
"notice.outbox-refused": "A leaf's outbox refused a coordinator notice, so its own coordinator takes it.",
|
|
9620
|
+
"notice.start-main-failed": "A coordinator notice could not start a main coordinator; it waits for one to open.",
|
|
9621
|
+
"notice.take-back-unread": "A notice handed back from a command node found no open coordinator here.",
|
|
9622
|
+
"limit-stop.own": "A coordinator's own usage-limit stop attempted to move it off the account.",
|
|
9623
|
+
"limit-stop.notice-failed": "A usage-limit notice could not be sent; it stays in the ledger for the next attempt.",
|
|
9454
9624
|
"wake.deliver-failed": "A workflow status wake could not be delivered; the next pass retries.",
|
|
9455
9625
|
"wake.waiting-check-failed": "A waiting worker could not be checked; the next pass retries.",
|
|
9456
9626
|
"wake.resolve-report-failed": "A finished Resolve tab could not be reported.",
|
|
@@ -9468,8 +9638,10 @@ var COORDINATOR_LOG_AREAS = defineLogAreas({
|
|
|
9468
9638
|
"remote-worker.settle-failed": "A remote worker could not be settled.",
|
|
9469
9639
|
"checkout.merge-followed": "After an environment's PR merged, the project checkout was fast-forwarded, or `outcome` says why not.",
|
|
9470
9640
|
"checkout.merge-follow-failed": "Fast-forwarding the project checkout failed, after an environment's PR merged or before mail woke the main coordinator.",
|
|
9471
|
-
"checkout.mail-follow": "Before mail woke the main coordinator, the project checkout was fast-forwarded, or `outcome` says why not (`timed-out`, `failed`).",
|
|
9472
|
-
"checkout.mail-follow-failed": "Before mail woke the main coordinator, checking whether to fast-forward the project checkout failed; the mail was delivered anyway."
|
|
9641
|
+
"checkout.mail-follow": "Before mail woke the main coordinator, the project checkout was fast-forwarded (`fast-forwarded-fetched` when the fetch was slow or failed and the upstream commit already fetched was merged), or `outcome` says why not (`timed-out`, `failed`).",
|
|
9642
|
+
"checkout.mail-follow-failed": "Before mail woke the main coordinator, checking whether to fast-forward the project checkout failed; the mail was delivered anyway.",
|
|
9643
|
+
"checkout.message-check": "Before a typed message to the main coordinator, the backend answered whether to fast-forward the project checkout: `outcome` (`offer`, `fast-forwarded`, `turn-running`, `not-behind`, `blocked`, `no-status`), `fetch` (`fetched`, `failed`, `timed-out`, `skipped`) and `durationMs`.",
|
|
9644
|
+
"checkout.message-check-failed": "Before a typed message to the main coordinator, fast-forwarding to the upstream commit already fetched failed after a slow or failed fetch; the message was sent anyway."
|
|
9473
9645
|
}
|
|
9474
9646
|
}
|
|
9475
9647
|
});
|
|
@@ -9479,15 +9651,15 @@ var REVIEW_LOG_AREAS = defineLogAreas({
|
|
|
9479
9651
|
review: {
|
|
9480
9652
|
description: "Multi Review workflows: scheduling, graph runs and interactive fix sessions.",
|
|
9481
9653
|
events: {
|
|
9482
|
-
"fix-tab.publish-failed": "A
|
|
9654
|
+
"fix-tab.publish-failed": "A Address Findings request was delivered but its tab could not be opened; the user is told.",
|
|
9483
9655
|
"graph-run.not-started": "A workflow's graph run did not start.",
|
|
9484
9656
|
"reconcile.scan-failed": "A reconciliation scan failed; the next scan retries.",
|
|
9485
9657
|
"graph-engine.unavailable": "The graph engine is selected but unavailable, so the bespoke engine runs.",
|
|
9486
9658
|
"graph-run.cancel-failed": "Cancelling a graph run failed; the next pass projects how it ended.",
|
|
9487
9659
|
"delete.cleanup-failed": "A cleanup step after deleting a workflow failed; stale tabs reconcile away on hydration.",
|
|
9488
|
-
"fix-session.read-failed": "Reading an interactive
|
|
9660
|
+
"fix-session.read-failed": "Reading an interactive Address Findings session's state failed.",
|
|
9489
9661
|
"fix-outcome.read-failed": "Reading an interactive fix's outcome failed; it stays pending.",
|
|
9490
|
-
"fix-usage.read-failed": "Reading
|
|
9662
|
+
"fix-usage.read-failed": "Reading an Address Findings session's token usage failed.",
|
|
9491
9663
|
"result.consume-deferred": "Consuming a workflow result failed; it stays staged and is retried.",
|
|
9492
9664
|
"failure-triage.failed": "Classifying a review package's failing tests failed; the package is sealed without the triage and says so."
|
|
9493
9665
|
}
|
|
@@ -9540,6 +9712,7 @@ var AGENT_ACCOUNTS_LOG_AREAS = defineLogAreas({
|
|
|
9540
9712
|
"agent-accounts": {
|
|
9541
9713
|
description: "Agent accounts: automatic switching, staged logins and plan usage.",
|
|
9542
9714
|
events: {
|
|
9715
|
+
"limit-stop-notice.failed": "A session's usage-limit stop could not be reported.",
|
|
9543
9716
|
"switch-notice.failed": "A notice about an automatic account switch failed; the switch stands. `audience` says whose.",
|
|
9544
9717
|
"auto-switch.check-failed": "An automatic account check failed; the next nudge retries.",
|
|
9545
9718
|
"container-sync.failed": "Handing a login or account to a container failed; `step` says which part.",
|
|
@@ -9558,6 +9731,17 @@ var DOCKER_LOG_AREAS = defineLogAreas({
|
|
|
9558
9731
|
description: "Docker containers: lifecycle, starts, staged inputs and the login files they hold.",
|
|
9559
9732
|
events: {
|
|
9560
9733
|
"portable-inputs.relay-missing": "Docker is rootless and the image predates the staged-input relay, so the container cannot read them until rebuilt.",
|
|
9734
|
+
"git-mirror.mount-unavailable": "A new container gets no project Git mirror, so its clone goes to the remote.",
|
|
9735
|
+
"git-mirror.refreshed": "A project's Git mirror was built or updated.",
|
|
9736
|
+
"git-mirror.refresh-failed": "A project's Git mirror could not be updated. New clones still work, from the mirror as it was or from the remote.",
|
|
9737
|
+
"git-mirror.low-disk": "A project's Git mirror was not updated: the disk is nearly full.",
|
|
9738
|
+
"git-mirror.oversized": "A project's repository is too large for a Git mirror, so its environments keep the blobless clone.",
|
|
9739
|
+
"git-mirror.compact-failed": "A project's Git mirror could not be compacted.",
|
|
9740
|
+
"git-mirror.state-write-failed": "A project's Git mirror could not be marked for checking.",
|
|
9741
|
+
"git-mirror.remove-failed": "A project's Git mirror could not be removed; a sweep retries.",
|
|
9742
|
+
"git-mirror.orphans-removed": "Git mirrors of removed projects were removed.",
|
|
9743
|
+
"git-mirror.clone-used": "A new environment cloned from its project's Git mirror.",
|
|
9744
|
+
"git-mirror.clone-fallback": "A new environment could not clone from its project's Git mirror and cloned from the remote.",
|
|
9561
9745
|
"project-seed.refused": "A project .env, .env.local or opencode.json was not copied into a new container: a link, not a regular file, outside the project, too large or unreadable.",
|
|
9562
9746
|
"opencode.warm-incomplete": "OpenCode did not finish loading /workspace in a container.",
|
|
9563
9747
|
"lifecycle-event.reconcile-failed": "Reconciling an environment after a container start or stop event failed; the next status read retries.",
|
|
@@ -9572,7 +9756,27 @@ var DOCKER_LOG_AREAS = defineLogAreas({
|
|
|
9572
9756
|
"recovery.clear-terminals-failed": "Terminal sessions could not be cleared after a recovery restore.",
|
|
9573
9757
|
"github-ranges.seed-not-copied": "The GitHub ranges seed could not be copied into a container, so its firewall fetches them.",
|
|
9574
9758
|
"availability.probe-failed": "Docker is not available; written when the diagnostic changes. Fixed-shape metadata only: messages can hold daemon endpoints.",
|
|
9575
|
-
"start.port-collision-retrying": "An automatic host port collided on start, so it is retried once with fresh ports."
|
|
9759
|
+
"start.port-collision-retrying": "An automatic host port collided on start, so it is retried once with fresh ports.",
|
|
9760
|
+
"writer-lease.lost": {
|
|
9761
|
+
description: "This backend lost the registry writer lease, for the fixed `reason` given. Schedules stop and container changes are refused until it restarts.",
|
|
9762
|
+
essential: true,
|
|
9763
|
+
fields: { reason: "label" }
|
|
9764
|
+
},
|
|
9765
|
+
"writer-lease.regained": {
|
|
9766
|
+
description: "This backend took the registry writer lease over from a holder that stopped refreshing it (it crashed, was killed or stalled), `staleForMs` after its last refresh. The counterpart of that holder's `writer-lease.lost` with reason `reclaimed`; a lease left by a clean shutdown is acquired silently.",
|
|
9767
|
+
essential: true,
|
|
9768
|
+
fields: { staleForMs: "number" }
|
|
9769
|
+
},
|
|
9770
|
+
"writer-lease.not-acquired": {
|
|
9771
|
+
description: "This backend started without the registry writer lease, for the fixed `reason` given. A second backend on one data directory is normal: it serves reads, runs no schedules and refuses container changes.",
|
|
9772
|
+
essential: true,
|
|
9773
|
+
fields: { reason: "label" }
|
|
9774
|
+
},
|
|
9775
|
+
"bridge.launched": {
|
|
9776
|
+
description: "A bridge process was launched in a container, for the first time there or as a relaunch; `provider` names it. A relaunch keeps the run before it in the previous log.",
|
|
9777
|
+
essential: true,
|
|
9778
|
+
fields: { provider: "label", containerPort: "number" }
|
|
9779
|
+
}
|
|
9576
9780
|
}
|
|
9577
9781
|
},
|
|
9578
9782
|
"docker.reachability": {
|
|
@@ -9686,8 +9890,12 @@ var NODES_LOG_AREAS = defineLogAreas({
|
|
|
9686
9890
|
nodes: {
|
|
9687
9891
|
description: "Command nodes: links, handovers, leaf mail, ticket sync and project copies.",
|
|
9688
9892
|
events: {
|
|
9893
|
+
...THROTTLE_LOG_EVENTS,
|
|
9689
9894
|
"actions.resume-failed": "Approved actions could not be resumed; a later pass retries.",
|
|
9690
9895
|
"project-copy.notify-failed": "The coordinator could not be told a project copy finished.",
|
|
9896
|
+
"mail.return-deferred": "The leaf refused returned mail; it remains queued for retry.",
|
|
9897
|
+
"notices.take-back-failed": "A notice for this node's coordinator stayed in the outbox.",
|
|
9898
|
+
"notice.collected-retired": "A detached controller owned a notice with ambiguous delivery; retired without redelivery.",
|
|
9691
9899
|
"mail.delivery-deferred": "Leaf mail could not reach a coordinator yet.",
|
|
9692
9900
|
"command.post-step-failed": "A step after a routed command failed.",
|
|
9693
9901
|
"seed-files.incomplete": "Seed files for a leaf environment were not all copied.",
|
|
@@ -10203,6 +10411,7 @@ var WEB_SYNC_LOG_AREAS = defineLogAreas({
|
|
|
10203
10411
|
"web.read-coordinator": {
|
|
10204
10412
|
description: "The renderer's coalesced, bounded backend reads.",
|
|
10205
10413
|
events: {
|
|
10414
|
+
"poll.read-failed": "A coordinated poll's read failed; it stays on its interval.",
|
|
10206
10415
|
"listener.threw": "A read state listener threw.",
|
|
10207
10416
|
"read.settle-failed": "Applying a finished read's result threw."
|
|
10208
10417
|
}
|
|
@@ -10280,6 +10489,125 @@ var LOG_VOCABULARY = {
|
|
|
10280
10489
|
...WEB_SYNC_LOG_AREAS
|
|
10281
10490
|
};
|
|
10282
10491
|
|
|
10492
|
+
// ../protocol/src/log-essential-labels.ts
|
|
10493
|
+
var ERROR_NAMES = new Set([
|
|
10494
|
+
"Error",
|
|
10495
|
+
"TypeError",
|
|
10496
|
+
"RangeError",
|
|
10497
|
+
"ReferenceError",
|
|
10498
|
+
"SyntaxError",
|
|
10499
|
+
"URIError",
|
|
10500
|
+
"EvalError",
|
|
10501
|
+
"AggregateError",
|
|
10502
|
+
"AbortError",
|
|
10503
|
+
"TimeoutError",
|
|
10504
|
+
"SystemError"
|
|
10505
|
+
]);
|
|
10506
|
+
var ERROR_CODES = new Set([
|
|
10507
|
+
"EACCES",
|
|
10508
|
+
"EADDRINUSE",
|
|
10509
|
+
"EADDRNOTAVAIL",
|
|
10510
|
+
"EAGAIN",
|
|
10511
|
+
"EBADF",
|
|
10512
|
+
"EBUSY",
|
|
10513
|
+
"ECANCELED",
|
|
10514
|
+
"ECONNABORTED",
|
|
10515
|
+
"ECONNREFUSED",
|
|
10516
|
+
"ECONNRESET",
|
|
10517
|
+
"EEXIST",
|
|
10518
|
+
"EHOSTUNREACH",
|
|
10519
|
+
"EINTR",
|
|
10520
|
+
"EINVAL",
|
|
10521
|
+
"EIO",
|
|
10522
|
+
"EISDIR",
|
|
10523
|
+
"EMFILE",
|
|
10524
|
+
"ENETUNREACH",
|
|
10525
|
+
"ENFILE",
|
|
10526
|
+
"ENOENT",
|
|
10527
|
+
"ENOMEM",
|
|
10528
|
+
"ENOSPC",
|
|
10529
|
+
"ENOSYS",
|
|
10530
|
+
"ENOTDIR",
|
|
10531
|
+
"ENOTEMPTY",
|
|
10532
|
+
"ENOTFOUND",
|
|
10533
|
+
"EPERM",
|
|
10534
|
+
"EPIPE",
|
|
10535
|
+
"EROFS",
|
|
10536
|
+
"ETIMEDOUT",
|
|
10537
|
+
"EXDEV",
|
|
10538
|
+
"SQLITE_BUSY",
|
|
10539
|
+
"SQLITE_CORRUPT",
|
|
10540
|
+
"SQLITE_FULL",
|
|
10541
|
+
"SQLITE_IOERR",
|
|
10542
|
+
"SQLITE_NOTADB",
|
|
10543
|
+
"SQLITE_READONLY",
|
|
10544
|
+
"ERR_CANCELED",
|
|
10545
|
+
"ERR_STREAM_DESTROYED"
|
|
10546
|
+
]);
|
|
10547
|
+
var SYSCALLS = new Set([
|
|
10548
|
+
"open",
|
|
10549
|
+
"read",
|
|
10550
|
+
"write",
|
|
10551
|
+
"stat",
|
|
10552
|
+
"lstat",
|
|
10553
|
+
"mkdir",
|
|
10554
|
+
"rmdir",
|
|
10555
|
+
"readdir",
|
|
10556
|
+
"rename",
|
|
10557
|
+
"unlink",
|
|
10558
|
+
"fsync",
|
|
10559
|
+
"fdatasync",
|
|
10560
|
+
"close",
|
|
10561
|
+
"access",
|
|
10562
|
+
"chmod",
|
|
10563
|
+
"copyfile",
|
|
10564
|
+
"connect",
|
|
10565
|
+
"listen",
|
|
10566
|
+
"bind",
|
|
10567
|
+
"spawn",
|
|
10568
|
+
"kill",
|
|
10569
|
+
"getaddrinfo"
|
|
10570
|
+
]);
|
|
10571
|
+
var SIGNALS = new Set([
|
|
10572
|
+
"SIGABRT",
|
|
10573
|
+
"SIGALRM",
|
|
10574
|
+
"SIGBUS",
|
|
10575
|
+
"SIGCHLD",
|
|
10576
|
+
"SIGCONT",
|
|
10577
|
+
"SIGFPE",
|
|
10578
|
+
"SIGHUP",
|
|
10579
|
+
"SIGILL",
|
|
10580
|
+
"SIGINT",
|
|
10581
|
+
"SIGKILL",
|
|
10582
|
+
"SIGPIPE",
|
|
10583
|
+
"SIGQUIT",
|
|
10584
|
+
"SIGSEGV",
|
|
10585
|
+
"SIGSTOP",
|
|
10586
|
+
"SIGTERM",
|
|
10587
|
+
"SIGTRAP",
|
|
10588
|
+
"SIGTSTP",
|
|
10589
|
+
"SIGTTIN",
|
|
10590
|
+
"SIGTTOU",
|
|
10591
|
+
"SIGUSR1",
|
|
10592
|
+
"SIGUSR2",
|
|
10593
|
+
"SIGWINCH",
|
|
10594
|
+
"SIGXCPU",
|
|
10595
|
+
"SIGXFSZ"
|
|
10596
|
+
]);
|
|
10597
|
+
var PROVIDERS = new Set(["claude", "codex", "opencode", "cursor", "grok", "acp", "pi"]);
|
|
10598
|
+
var UUID = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";
|
|
10599
|
+
var SOURCE = new RegExp(`^(?:claude|codex|opencode|cursor|grok|acp|pi):${UUID}$`, "i");
|
|
10600
|
+
|
|
10601
|
+
// ../protocol/src/log-essential.ts
|
|
10602
|
+
var UNDECLARED_ERROR_LABELS = new Set([
|
|
10603
|
+
"site",
|
|
10604
|
+
"kind",
|
|
10605
|
+
"step",
|
|
10606
|
+
"reason",
|
|
10607
|
+
"signal",
|
|
10608
|
+
"code"
|
|
10609
|
+
]);
|
|
10610
|
+
|
|
10283
10611
|
// ../protocol/src/log-error.ts
|
|
10284
10612
|
var safeErrors = new WeakSet;
|
|
10285
10613
|
|
|
@@ -10306,6 +10634,16 @@ var LOG_THROTTLE_WINDOW_MS = 60000;
|
|
|
10306
10634
|
var LOG_THROTTLE_IDLE_MS = 5 * LOG_THROTTLE_WINDOW_MS;
|
|
10307
10635
|
var throttledSites = new Map;
|
|
10308
10636
|
|
|
10637
|
+
// ../protocol/src/node/essential-log.ts
|
|
10638
|
+
var DEFAULT_ESSENTIAL_LOG_BOUNDS = {
|
|
10639
|
+
maxFileBytes: 1024 * 1024,
|
|
10640
|
+
rotatedFiles: 3,
|
|
10641
|
+
maxEntryBytes: 4 * 1024,
|
|
10642
|
+
maxPendingBytes: 256 * 1024,
|
|
10643
|
+
eventBurst: 10,
|
|
10644
|
+
eventRefillMs: 10 * 60 * 1000
|
|
10645
|
+
};
|
|
10646
|
+
|
|
10309
10647
|
// ../protocol/src/log-policy.ts
|
|
10310
10648
|
var DEFAULT_LOG_LEVEL = "info";
|
|
10311
10649
|
var BRIDGE_LOG_SCOPE = "bridge";
|
|
@@ -10353,6 +10691,8 @@ function resolveLogDetail(source) {
|
|
|
10353
10691
|
// ../protocol/src/node/application-logging.ts
|
|
10354
10692
|
var LOG_CLEANUP_INTERVAL_MS = 6 * 60 * 60 * 1000;
|
|
10355
10693
|
var MAX_PENDING_LOG_BYTES = 4 * 1024 * 1024;
|
|
10694
|
+
var MAX_PENDING_LOG_ENTRIES = 64 * 1024;
|
|
10695
|
+
var MAX_LOG_BATCH_BYTES = 256 * 1024;
|
|
10356
10696
|
var MAX_LOG_ENTRY_BYTES = 64 * 1024;
|
|
10357
10697
|
var MAX_LOG_FILE_BYTES = 32 * 1024 * 1024;
|
|
10358
10698
|
var MAX_LOG_DIRECTORY_BYTES = 512 * 1024 * 1024;
|
|
@@ -10665,7 +11005,7 @@ import path5 from "path";
|
|
|
10665
11005
|
// ../../apps/backend/package.json
|
|
10666
11006
|
var package_default = {
|
|
10667
11007
|
name: "@orkestrator/backend",
|
|
10668
|
-
version: "2.36.
|
|
11008
|
+
version: "2.36.3-beta",
|
|
10669
11009
|
private: true,
|
|
10670
11010
|
type: "module",
|
|
10671
11011
|
exports: {
|
|
@@ -10770,6 +11110,8 @@ init_agent_platforms();
|
|
|
10770
11110
|
var AGENT_MAIL_MAX_BODY_BYTES = 32 * 1024;
|
|
10771
11111
|
var AGENT_MAIL_MAX_STORE_BYTES = 32 * 1024 * 1024;
|
|
10772
11112
|
var AGENT_MAIL_DEFAULT_RETENTION_DAYS = 14;
|
|
11113
|
+
var AGENT_MAIL_MAX_ATTACHMENT_BYTES = 8 * 1024 * 1024;
|
|
11114
|
+
var AGENT_MAIL_MAX_TOTAL_ATTACHMENT_BYTES = 32 * 1024 * 1024;
|
|
10773
11115
|
var AGENT_MAIL_DEFAULT_AUTONOMOUS_WAKE_BUDGET = 16;
|
|
10774
11116
|
var AGENT_MAIL_DEFAULT_HOURLY_WAKE_LIMIT = 40;
|
|
10775
11117
|
var AGENT_MAIL_TOOL_NAMES = Object.freeze([
|
|
@@ -10906,7 +11248,7 @@ var PERMISSION_RULE_PROVIDERS = [
|
|
|
10906
11248
|
"grok",
|
|
10907
11249
|
"pi"
|
|
10908
11250
|
];
|
|
10909
|
-
var
|
|
11251
|
+
var PROVIDERS2 = new Set(PERMISSION_RULE_PROVIDERS);
|
|
10910
11252
|
var KINDS = new Set(PERMISSION_RULE_KINDS);
|
|
10911
11253
|
var SCOPES = new Set(PERMISSION_RULE_SCOPES);
|
|
10912
11254
|
var UNQUOTED_REFUSED = new Set([
|
|
@@ -11181,7 +11523,7 @@ var AGENT_INTERACTION_AUTHORIZATION_KINDS = [
|
|
|
11181
11523
|
];
|
|
11182
11524
|
var INPUT_KINDS = new Set(AGENT_INTERACTION_INPUT_KINDS);
|
|
11183
11525
|
var AUTHORIZATION_KINDS = new Set(AGENT_INTERACTION_AUTHORIZATION_KINDS);
|
|
11184
|
-
var
|
|
11526
|
+
var PROVIDERS3 = new Set(AGENT_INTERACTION_PROVIDERS);
|
|
11185
11527
|
var KINDS2 = new Set(AGENT_INTERACTION_KINDS);
|
|
11186
11528
|
var ORIGINS = new Set(AGENT_INTERACTION_ORIGINS);
|
|
11187
11529
|
var STATES = new Set(AGENT_INTERACTION_STATES);
|
|
@@ -11458,6 +11800,7 @@ var PROJECTION_FIELD_SET = new Set([
|
|
|
11458
11800
|
"asyncQuestionResponses",
|
|
11459
11801
|
"contextUsage",
|
|
11460
11802
|
"goal",
|
|
11803
|
+
"suborks",
|
|
11461
11804
|
"rateLimits",
|
|
11462
11805
|
"runtime",
|
|
11463
11806
|
"runtimeHealthAuthoritative",
|
|
@@ -11483,6 +11826,7 @@ var OPTIONAL_PROJECTION_FIELD_SET = new Set([
|
|
|
11483
11826
|
"asyncQuestionResponses",
|
|
11484
11827
|
"contextUsage",
|
|
11485
11828
|
"goal",
|
|
11829
|
+
"suborks",
|
|
11486
11830
|
"rateLimits",
|
|
11487
11831
|
"runtime",
|
|
11488
11832
|
"runtimeHealthAuthoritative",
|
|
@@ -11815,6 +12159,7 @@ var WORKFLOW_RESULT_KINDS = [
|
|
|
11815
12159
|
"fix-result",
|
|
11816
12160
|
"verification-result",
|
|
11817
12161
|
"pr-result",
|
|
12162
|
+
"subork-answer",
|
|
11818
12163
|
"graph-output",
|
|
11819
12164
|
"graph-template"
|
|
11820
12165
|
];
|
|
@@ -11830,7 +12175,8 @@ var WORKFLOW_RESULT_TOOL_NAMES = {
|
|
|
11830
12175
|
"verification-result": "submit_verification_result",
|
|
11831
12176
|
"pr-result": "submit_pr_result",
|
|
11832
12177
|
"graph-output": "submit_graph_output",
|
|
11833
|
-
"graph-template": "submit_graph_template"
|
|
12178
|
+
"graph-template": "submit_graph_template",
|
|
12179
|
+
"subork-answer": "submit_subork_answer"
|
|
11834
12180
|
};
|
|
11835
12181
|
var WORKFLOW_RESULT_VALIDATION_TOOL_NAME = "validate_workflow_result";
|
|
11836
12182
|
var GRAPH_PORT_SUBMIT_PREFIX = "submit_";
|
|
@@ -12850,8 +13196,8 @@ for (const definition of TICKET_SECTION_DEFINITIONS) {
|
|
|
12850
13196
|
KEY_BY_HEADING.set(normalizedHeading(alias), definition.key);
|
|
12851
13197
|
}
|
|
12852
13198
|
|
|
12853
|
-
// ../protocol/src/build-pipeline-address-report.ts
|
|
12854
|
-
var
|
|
13199
|
+
// ../protocol/src/build-pipeline-address-findings-report.ts
|
|
13200
|
+
var PIPELINE_ADDRESS_FINDINGS_RESULT_LIMITS = Object.freeze({
|
|
12855
13201
|
summaryLength: 4000,
|
|
12856
13202
|
filesChanged: 48,
|
|
12857
13203
|
pathLength: 300,
|
|
@@ -13111,7 +13457,7 @@ var BUILD_ACTION_INPUTS = Object.freeze({
|
|
|
13111
13457
|
type: "integer",
|
|
13112
13458
|
minimum: 1,
|
|
13113
13459
|
maximum: MAX_BUILD_PIPELINE_ITERATIONS,
|
|
13114
|
-
description: `Review,
|
|
13460
|
+
description: `Review, address findings, verify and rework rounds before the pipeline gives up, from 1 to ${MAX_BUILD_PIPELINE_ITERATIONS}. Omitted: 3.`
|
|
13115
13461
|
}
|
|
13116
13462
|
}, ["projectId", "ticketId"]),
|
|
13117
13463
|
examples: [
|
|
@@ -14763,23 +15109,35 @@ var workflowCommands = [
|
|
|
14763
15109
|
valueName: "SELECTION",
|
|
14764
15110
|
description: `Preparation and consolidation model: ${SELECTION_HELP}`
|
|
14765
15111
|
},
|
|
15112
|
+
{
|
|
15113
|
+
name: "address-findings-model",
|
|
15114
|
+
kind: "string",
|
|
15115
|
+
valueName: "SELECTION",
|
|
15116
|
+
description: `Address Findings model: ${SELECTION_HELP}`
|
|
15117
|
+
},
|
|
14766
15118
|
{
|
|
14767
15119
|
name: "fix-model",
|
|
14768
15120
|
kind: "string",
|
|
14769
15121
|
valueName: "SELECTION",
|
|
14770
|
-
description:
|
|
15122
|
+
description: "Former name of --address-findings-model."
|
|
15123
|
+
},
|
|
15124
|
+
{
|
|
15125
|
+
name: "auto-address-findings",
|
|
15126
|
+
kind: "boolean",
|
|
15127
|
+
negatable: true,
|
|
15128
|
+
description: "Start Address Findings when consolidation reports findings."
|
|
14771
15129
|
},
|
|
14772
15130
|
{
|
|
14773
15131
|
name: "auto-fix",
|
|
14774
15132
|
kind: "boolean",
|
|
14775
15133
|
negatable: true,
|
|
14776
|
-
description: "
|
|
15134
|
+
description: "Former name of --auto-address-findings."
|
|
14777
15135
|
},
|
|
14778
15136
|
{
|
|
14779
15137
|
name: "auto-pr",
|
|
14780
15138
|
kind: "boolean",
|
|
14781
15139
|
negatable: true,
|
|
14782
|
-
description: "Open the pull request after
|
|
15140
|
+
description: "Open the pull request after Address Findings (never merges)."
|
|
14783
15141
|
},
|
|
14784
15142
|
{
|
|
14785
15143
|
name: "target-branch",
|
|
@@ -14797,6 +15155,10 @@ var workflowCommands = [
|
|
|
14797
15155
|
],
|
|
14798
15156
|
inputFields: {
|
|
14799
15157
|
reviewer: "reviewers",
|
|
15158
|
+
"address-findings-model": "fixModel",
|
|
15159
|
+
"fix-model": "fixModel",
|
|
15160
|
+
"auto-address-findings": "autoFix",
|
|
15161
|
+
"auto-fix": "autoFix",
|
|
14800
15162
|
focus: "reviewers",
|
|
14801
15163
|
"focus-file": "reviewers",
|
|
14802
15164
|
"instruction-file": "reviewInstruction"
|
|
@@ -14811,8 +15173,9 @@ var workflowCommands = [
|
|
|
14811
15173
|
return lens ? { ...row, lens } : row;
|
|
14812
15174
|
});
|
|
14813
15175
|
const reviewModel = stringOption(options2, "review-model");
|
|
14814
|
-
const
|
|
14815
|
-
const
|
|
15176
|
+
const addressFindingsFlag = stringOption(options2, "address-findings-model") ? "--address-findings-model" : "--fix-model";
|
|
15177
|
+
const fixModel = stringOption(options2, "address-findings-model") ?? stringOption(options2, "fix-model");
|
|
15178
|
+
const autoFix = optionalBoolean(options2, "auto-address-findings") ?? optionalBoolean(options2, "auto-fix");
|
|
14816
15179
|
const autoPr = optionalBoolean(options2, "auto-pr");
|
|
14817
15180
|
const instructionFile = stringOption(options2, "instruction-file");
|
|
14818
15181
|
const reviewInstruction = instructionFile !== undefined ? await readTextSource(context.io, {
|
|
@@ -14826,7 +15189,7 @@ var workflowCommands = [
|
|
|
14826
15189
|
environmentId: parsed.positionals.environment,
|
|
14827
15190
|
...reviewers.length ? { reviewers } : {},
|
|
14828
15191
|
...reviewModel ? { reviewModel: parseSelection(reviewModel, "--review-model") } : {},
|
|
14829
|
-
...fixModel ? { fixModel: parseSelection(fixModel,
|
|
15192
|
+
...fixModel ? { fixModel: parseSelection(fixModel, addressFindingsFlag) } : {},
|
|
14830
15193
|
...autoFix !== undefined ? { autoFix } : {},
|
|
14831
15194
|
...autoPr !== undefined ? { autoPr } : {},
|
|
14832
15195
|
...options2["target-branch"] !== undefined ? { targetBranch: options2["target-branch"] } : {},
|
|
@@ -14896,17 +15259,25 @@ var workflowCommands = [
|
|
|
14896
15259
|
{
|
|
14897
15260
|
path: ["review", "open"],
|
|
14898
15261
|
action: "review.open",
|
|
14899
|
-
summary: "Open or focus a Multi Review's tab (--
|
|
15262
|
+
summary: "Open or focus a Multi Review's tab (--address-findings: its Address Findings tab); starts no work.",
|
|
14900
15263
|
positionals: [{ name: "workflow", required: true, description: "Multi Review ID." }],
|
|
14901
15264
|
options: [
|
|
14902
|
-
{
|
|
15265
|
+
{
|
|
15266
|
+
name: "address-findings",
|
|
15267
|
+
kind: "boolean",
|
|
15268
|
+
description: "Open the Address Findings session tab instead."
|
|
15269
|
+
},
|
|
15270
|
+
{ name: "fix", kind: "boolean", description: "Former name of --address-findings." },
|
|
14903
15271
|
REQUEST_ID_OPTION
|
|
14904
15272
|
],
|
|
14905
|
-
inputFields: { workflow: "workflowId", fix: "surface" },
|
|
15273
|
+
inputFields: { workflow: "workflowId", fix: "surface", "address-findings": "surface" },
|
|
14906
15274
|
idOutput: "workflow ID",
|
|
14907
15275
|
async run(context, parsed) {
|
|
14908
15276
|
const workflowId = parsed.positionals.workflow;
|
|
14909
|
-
const { session, result, receipt, warnings } = await submit(context, "review.open", {
|
|
15277
|
+
const { session, result, receipt, warnings } = await submit(context, "review.open", {
|
|
15278
|
+
workflowId,
|
|
15279
|
+
...parsed.options.fix === true || parsed.options["address-findings"] === true ? { surface: "fix" } : {}
|
|
15280
|
+
}, parsed.options);
|
|
14910
15281
|
return {
|
|
14911
15282
|
action: "review.open",
|
|
14912
15283
|
result,
|
|
@@ -14918,7 +15289,7 @@ var workflowCommands = [
|
|
|
14918
15289
|
};
|
|
14919
15290
|
}
|
|
14920
15291
|
},
|
|
14921
|
-
reviewMutation("address", "review.address", "Address a Multi Review's findings: hand them to its
|
|
15292
|
+
reviewMutation("address", "review.address", "Address a Multi Review's findings: hand them to its Address Findings session."),
|
|
14922
15293
|
reviewMutation("cancel", "review.cancel", "Cancel a running Multi Review; its record is kept."),
|
|
14923
15294
|
agentButtonCommand("review.start"),
|
|
14924
15295
|
agentButtonCommand("pr.create"),
|
|
@@ -15099,7 +15470,7 @@ var buildCommands = [
|
|
|
15099
15470
|
path: ["build", "launch"],
|
|
15100
15471
|
action: "build.launch",
|
|
15101
15472
|
summary: "Start a ticket's Build Pipeline, as the Build button does (its active build is reused).",
|
|
15102
|
-
description: "Builds the Kanban ticket in a new environment (--type) or an existing one (--environment): build, review, address, verify and PR. Omitted steps, reviewers and preparation use the saved Build defaults; a step named only by --instructions keeps its saved model. The pipeline continues in the backend; follow it with `build get`.",
|
|
15473
|
+
description: "Builds the Kanban ticket in a new environment (--type) or an existing one (--environment): build, review, address findings, verify and PR. Omitted steps, reviewers and preparation use the saved Build defaults; a step named only by --instructions keeps its saved model. The pipeline continues in the backend; follow it with `build get`.",
|
|
15103
15474
|
positionals: [
|
|
15104
15475
|
{ name: "ticket", required: true, description: "Kanban ticket ID (ticket list)." }
|
|
15105
15476
|
],
|
|
@@ -15145,7 +15516,7 @@ var buildCommands = [
|
|
|
15145
15516
|
name: "instructions",
|
|
15146
15517
|
kind: "list",
|
|
15147
15518
|
valueName: "STAGE=TEXT",
|
|
15148
|
-
description: `Your instructions for a step (repeatable), at most ${MAX_BUILD_STEP_INSTRUCTIONS_BYTES} bytes; N=TEXT for --reviewer row N.
|
|
15519
|
+
description: `Your instructions for a step (repeatable), at most ${MAX_BUILD_STEP_INSTRUCTIONS_BYTES} bytes; N=TEXT for --reviewer row N. Rework uses build's.`
|
|
15149
15520
|
},
|
|
15150
15521
|
{
|
|
15151
15522
|
name: "instructions-file",
|
|
@@ -15175,7 +15546,7 @@ var buildCommands = [
|
|
|
15175
15546
|
name: "max-iterations",
|
|
15176
15547
|
kind: "integer",
|
|
15177
15548
|
valueName: "N",
|
|
15178
|
-
description: `Review,
|
|
15549
|
+
description: `Review, address findings, verify and rework rounds, 1 to ${MAX_BUILD_PIPELINE_ITERATIONS} (default 3).`
|
|
15179
15550
|
},
|
|
15180
15551
|
REQUEST_ID_OPTION
|
|
15181
15552
|
],
|
|
@@ -15501,7 +15872,7 @@ function buildPipelineBuiltInTemplate() {
|
|
|
15501
15872
|
{
|
|
15502
15873
|
key: "builder",
|
|
15503
15874
|
label: "Build",
|
|
15504
|
-
description: "The pipeline's build agent.
|
|
15875
|
+
description: "The pipeline's build agent. Rework runs under Build's step and instructions.",
|
|
15505
15876
|
multiplicity: "one"
|
|
15506
15877
|
},
|
|
15507
15878
|
{
|
|
@@ -15519,7 +15890,12 @@ function buildPipelineBuiltInTemplate() {
|
|
|
15519
15890
|
maxPanel: MAX_BUILD_PIPELINE_REVIEWERS,
|
|
15520
15891
|
defaultsFrom: ["review", "review2", "additionalReviewers"]
|
|
15521
15892
|
},
|
|
15522
|
-
{
|
|
15893
|
+
{
|
|
15894
|
+
key: "fixer",
|
|
15895
|
+
label: "Address Findings",
|
|
15896
|
+
multiplicity: "one",
|
|
15897
|
+
defaultsFrom: ["fixReviewIssues"]
|
|
15898
|
+
},
|
|
15523
15899
|
{
|
|
15524
15900
|
key: "verifier",
|
|
15525
15901
|
label: "Verify",
|
|
@@ -15587,8 +15963,8 @@ function buildPipelineBuiltInTemplate() {
|
|
|
15587
15963
|
{
|
|
15588
15964
|
id: "fix",
|
|
15589
15965
|
kind: "agent",
|
|
15590
|
-
label: "
|
|
15591
|
-
description: "From round 2: fixes what Verify found unmet. Today a
|
|
15966
|
+
label: "Rework",
|
|
15967
|
+
description: "From round 2: fixes what Verify found unmet. Today a Rework that leaves the worktree unchanged pauses the pipeline for a person.",
|
|
15592
15968
|
role: "builder",
|
|
15593
15969
|
when: { path: "run.iteration", op: "gt", value: 1 },
|
|
15594
15970
|
capabilities: { profile: "builder" },
|
|
@@ -15674,7 +16050,7 @@ function buildPipelineBuiltInTemplate() {
|
|
|
15674
16050
|
id: "has-issues",
|
|
15675
16051
|
kind: "gate",
|
|
15676
16052
|
label: "Issues?",
|
|
15677
|
-
description: "Address only when the report has issues or test coverage gaps (D21).",
|
|
16053
|
+
description: "Address Findings only when the report has issues or test coverage gaps (D21).",
|
|
15678
16054
|
inputs: [
|
|
15679
16055
|
{ name: "report", type: "review-report@1" },
|
|
15680
16056
|
{ name: "code", type: "workspace@1" }
|
|
@@ -15687,7 +16063,7 @@ function buildPipelineBuiltInTemplate() {
|
|
|
15687
16063
|
{
|
|
15688
16064
|
id: "address",
|
|
15689
16065
|
kind: "agent",
|
|
15690
|
-
label: "Address",
|
|
16066
|
+
label: "Address Findings",
|
|
15691
16067
|
description: "Fixes the review's findings, validates the fix and submits a typed fix result for Verify. Today it also receives the end of the review session's transcript.",
|
|
15692
16068
|
role: "fixer",
|
|
15693
16069
|
capabilities: { profile: "builder" },
|
|
@@ -16085,7 +16461,7 @@ function roundNodes(round, allowance) {
|
|
|
16085
16461
|
{
|
|
16086
16462
|
id: ids.fix,
|
|
16087
16463
|
kind: "agent",
|
|
16088
|
-
label: `Round ${round} \xB7
|
|
16464
|
+
label: `Round ${round} \xB7 Address Findings`,
|
|
16089
16465
|
description: "Fixes the whole pool in a fresh session and commits.",
|
|
16090
16466
|
role: "model",
|
|
16091
16467
|
capabilities: { profile: "builder" },
|
|
@@ -16103,8 +16479,8 @@ function roundNodes(round, allowance) {
|
|
|
16103
16479
|
{
|
|
16104
16480
|
id: ids.fixed,
|
|
16105
16481
|
kind: "gate",
|
|
16106
|
-
label: `Round ${round} \xB7
|
|
16107
|
-
description: "An incomplete
|
|
16482
|
+
label: `Round ${round} \xB7 Address Findings complete?`,
|
|
16483
|
+
description: "An incomplete Address Findings failed the review; nothing runs after it.",
|
|
16108
16484
|
inputs: [
|
|
16109
16485
|
{ name: "result", type: "fix-result@1" },
|
|
16110
16486
|
{ name: "code", type: "workspace@1" }
|
|
@@ -16245,11 +16621,11 @@ function loopedReviewBuiltInTemplate() {
|
|
|
16245
16621
|
var MULTI_REVIEW_MAX_REVIEWERS = REVIEW_FANOUT_MAX_REVIEWERS;
|
|
16246
16622
|
var MULTI_REVIEW_PLAN_TOOL_PROHIBITION = "Do not invoke CreatePlan, create_plan, EnterPlanMode, or any equivalent planning or mode-switch tool, even if the provider offers one.";
|
|
16247
16623
|
var MULTI_REVIEW_IMPLEMENTATION_MODE_INSTRUCTION = `This is an implementation turn, not a planning turn. You are already in build mode: remain in build mode and begin editing the files now. Do not enter, propose, switch to, or imitate plan mode. ${MULTI_REVIEW_PLAN_TOOL_PROHIBITION} A plan, plan-review card, or approval request is not a valid response to this prompt. Do not ask the user to approve a plan or switch modes, and do not pause before implementation. Use the file-editing and command tools directly, complete the necessary edits, and run relevant validation in this turn.`;
|
|
16248
|
-
var MULTI_REVIEW_INTERACTIVE_RESPONSE_INSTRUCTION = "This is now a manual interactive
|
|
16624
|
+
var MULTI_REVIEW_INTERACTIVE_RESPONSE_INSTRUCTION = "This is now a manual interactive Address Findings conversation, not an automated pipeline stage. " + "Any JSON-only or structured-output contract from earlier turns has ended and does not apply to this turn or later replies. " + "Earlier review-stage instructions not to edit files, run commands, or fix findings have also ended and no longer apply. " + "Implement the requested fixes, run relevant validation, and commit every relevant change. " + `When you finish, respond in ordinary Markdown prose with a concise summary and validation results. Do not return JSON unless the user explicitly asks for JSON.
|
|
16249
16625
|
|
|
16250
16626
|
` + MULTI_REVIEW_IMPLEMENTATION_MODE_INSTRUCTION;
|
|
16251
16627
|
var MULTI_REVIEW_ADDRESS_USER_INSTRUCTION = "Please address all the issues and coverage gaps.";
|
|
16252
|
-
var
|
|
16628
|
+
var MULTI_REVIEW_ADDRESS_FINDINGS_PROMPT = `${MULTI_REVIEW_ADDRESS_USER_INSTRUCTION}
|
|
16253
16629
|
|
|
16254
16630
|
${wrapSystemInstructions(MULTI_REVIEW_INTERACTIVE_RESPONSE_INSTRUCTION)}`;
|
|
16255
16631
|
var MULTI_REVIEW_HISTORY_PAGE_MAX_TARGET_BYTES = 1024 * 1024;
|
|
@@ -16298,15 +16674,15 @@ function multiReviewBuiltInTemplate() {
|
|
|
16298
16674
|
parameters: [
|
|
16299
16675
|
{
|
|
16300
16676
|
key: "autoFix",
|
|
16301
|
-
label: "
|
|
16302
|
-
description: "Open
|
|
16677
|
+
label: "Address Findings automatically",
|
|
16678
|
+
description: "Open Address Findings once consolidation reports issues or test coverage gaps. Saved default: off.",
|
|
16303
16679
|
type: "boolean",
|
|
16304
16680
|
default: false
|
|
16305
16681
|
},
|
|
16306
16682
|
{
|
|
16307
16683
|
key: "autoPr",
|
|
16308
16684
|
label: "Open a pull request automatically",
|
|
16309
|
-
description: "Open the pull request after
|
|
16685
|
+
description: "Open the pull request after an Address Findings run that completes, or straight after a consolidated report with nothing to fix. Saved default: off.",
|
|
16310
16686
|
type: "boolean",
|
|
16311
16687
|
default: false
|
|
16312
16688
|
}
|
|
@@ -16335,7 +16711,7 @@ function multiReviewBuiltInTemplate() {
|
|
|
16335
16711
|
},
|
|
16336
16712
|
{
|
|
16337
16713
|
key: "fixer",
|
|
16338
|
-
label: "
|
|
16714
|
+
label: "Address Findings",
|
|
16339
16715
|
multiplicity: "one",
|
|
16340
16716
|
defaultsFrom: ["fixReviewIssues", "review"]
|
|
16341
16717
|
},
|
|
@@ -16375,7 +16751,7 @@ function multiReviewBuiltInTemplate() {
|
|
|
16375
16751
|
name: "fixed",
|
|
16376
16752
|
type: "workspace@1",
|
|
16377
16753
|
label: "Fixed branch",
|
|
16378
|
-
description: "
|
|
16754
|
+
description: "Address Findings's commit, when an Address Findings run ran and completed.",
|
|
16379
16755
|
required: false,
|
|
16380
16756
|
from: port("fix-complete", "code", "complete")
|
|
16381
16757
|
}
|
|
@@ -16458,8 +16834,8 @@ function multiReviewBuiltInTemplate() {
|
|
|
16458
16834
|
{
|
|
16459
16835
|
id: "fix",
|
|
16460
16836
|
kind: "agent",
|
|
16461
|
-
label: "
|
|
16462
|
-
description: "Today an ordinary interactive
|
|
16837
|
+
label: "Address Findings",
|
|
16838
|
+
description: "Today an ordinary interactive Address Findings tab that the user can talk to; it ends when its handoff turn finishes on its own. Here it submits a fix result.",
|
|
16463
16839
|
role: "fixer",
|
|
16464
16840
|
when: paramIsTrue("autoFix"),
|
|
16465
16841
|
capabilities: { profile: "builder" },
|
|
@@ -16478,8 +16854,8 @@ function multiReviewBuiltInTemplate() {
|
|
|
16478
16854
|
{
|
|
16479
16855
|
id: "fix-complete",
|
|
16480
16856
|
kind: "gate",
|
|
16481
|
-
label: "
|
|
16482
|
-
description: "Only proof that
|
|
16857
|
+
label: "Address Findings complete?",
|
|
16858
|
+
description: "Only proof that Address Findings completed queues the pull request.",
|
|
16483
16859
|
inputs: [
|
|
16484
16860
|
{ name: "result", type: "fix-result@1" },
|
|
16485
16861
|
{ name: "code", type: "workspace@1" }
|