Skip to content

Commit 8d16e20

Browse files
luisleo526claude
andcommitted
cr150-q7: the stop path's class ruling — no cancelled class, no retry field, fd 6 unused
CORE-TOP's 19:30 reversal (owner fact: every user stop was removed, so there is no user cancel) and 19:31 ruling: the abort path has exactly two internal callers — the orchestrator's hand-off at the service limit, which restarts the run on CJ2 with the same run id, and an operator stop. The stop-path end is typed run_aborted as designed (fd 4 closed without a trailer, one typed line with bars_count and strategy_started, exit 1); there is no `cancelled` class and no retryable field on that line, so a consumer cannot act on a retry — APP decides from which caller stopped the run. bars_count is diagnostics only on the abort path and is never billed. The live-counter descriptor is not used: fd 6 stays unused (L6's ruling), so Part B is closed as not-needed. The catalog's per-code `retryable` stays at its base value: check_run_failure_codes rejects flipping it without a deprecation, and the ruling removes retry semantics from the abort line, not from the code's class metadata. Co-Authored-By: Claude Code <[email protected]>
1 parent ffa4535 commit 8d16e20

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎docker/run_failure_codes.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@
11181118
}
11191119
},
11201120
"class": "engine_fault",
1121-
"description": "The run was aborted on request. Cooperative SIGTERM stops after the in-flight input bar completes, leaves no sink trailer, and exits 1. bars_count is the nonnegative number of fully completed input bars, mirrored as top-level bars.count, matching the runner's bars_processed population; strategy_started is a boolean mirrored at the top level. Both are optional for legacy abort raisers. The existing engine_fault/retryable policy is retained pending a ruling: PROPOSED cancelled, retryable false; RETURN TO CORE-TOP for the class ruling.",
1121+
"description": "The run was aborted on request. Cooperative SIGTERM stops after the in-flight input bar completes, leaves no sink trailer, and exits 1. bars_count is the nonnegative number of fully completed input bars, mirrored as top-level bars.count, matching the runner's bars_processed population; strategy_started is a boolean mirrored at the top level. Both are optional for legacy abort raisers. There is no cancelled class: the abort path has exactly two internal callers, the orchestrator's hand-off at the service limit (the run is restarted with the same run id) and an operator stop. The abort line itself carries no retry semantics: it has no retryable field, and a retry is APP's decision from which caller stopped the run. On the abort path bars_count is diagnostic only and is never billed. No live-counter descriptor is used (fd 6 is not used).",
11221122
"english": [
11231123
"native run aborted"
11241124
],

‎docker/run_failure_codes_diff.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"to": {
99
"version": null,
1010
"unreleased": true,
11-
"catalogSha256": "3b3917e74a8fce3025b650bbe5ce2c0a7f7577241c15b25ce08a44c6b20ed40c"
11+
"catalogSha256": "d11f90b7a7725e951730fc0f3d37a448cc69eb2f592dd8c1835e5fab3d21c3eb"
1212
},
1313
"catalogSchema": {
1414
"before": "pineforge-run-failure-catalog/v1",
@@ -155,7 +155,7 @@
155155
"beforePresent": true,
156156
"afterPresent": true,
157157
"before": "The run was aborted on request.",
158-
"after": "The run was aborted on request. Cooperative SIGTERM stops after the in-flight input bar completes, leaves no sink trailer, and exits 1. bars_count is the nonnegative number of fully completed input bars, mirrored as top-level bars.count, matching the runner's bars_processed population; strategy_started is a boolean mirrored at the top level. Both are optional for legacy abort raisers. The existing engine_fault/retryable policy is retained pending a ruling: PROPOSED cancelled, retryable false; RETURN TO CORE-TOP for the class ruling."
158+
"after": "The run was aborted on request. Cooperative SIGTERM stops after the in-flight input bar completes, leaves no sink trailer, and exits 1. bars_count is the nonnegative number of fully completed input bars, mirrored as top-level bars.count, matching the runner's bars_processed population; strategy_started is a boolean mirrored at the top level. Both are optional for legacy abort raisers. There is no cancelled class: the abort path has exactly two internal callers, the orchestrator's hand-off at the service limit (the run is restarted with the same run id) and an operator stop. The abort line itself carries no retry semantics: it has no retryable field, and a retry is APP's decision from which caller stopped the run. On the abort path bars_count is diagnostic only and is never billed. No live-counter descriptor is used (fd 6 is not used)."
159159
}
160160
]
161161
},

‎docs/pages/run-failure-codes.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ The `outputs_limit` and `outputs_rejected` rows below are released in 1.5.0, and
152152
| `request_timeframe_unsupported` | `unsupported` | no | `input_tf` (timeframe, optional), `reason` (vocab, 7 values), `script_tf` (timeframe, optional) | A request timeframe cannot be served for this run's chart timeframe. |
153153
| `request_unsupported` | `unsupported` | no | `line` (integer, optional), `reason` (vocab, 2 values) | A request shape PineForge does not support. |
154154
| `results_digest_unsupported` | `unsupported` | no | `requested` (string) | The runner does not support the requested results digest. The first selected-window build declares no digest. |
155-
| `run_aborted` | `engine_fault` | yes | `bars_count` (integer, optional), `strategy_started` (boolean, optional) | The run was aborted on request. Cooperative SIGTERM stops after the in-flight input bar completes, leaves no sink trailer, and exits 1. bars_count is the nonnegative number of fully completed input bars, mirrored as top-level bars.count, matching the runner's bars_processed population; strategy_started is a boolean mirrored at the top level. Both are optional for legacy abort raisers. The existing engine_fault/retryable policy is retained pending a ruling: PROPOSED cancelled, retryable false; RETURN TO CORE-TOP for the class ruling. |
155+
| `run_aborted` | `engine_fault` | yes | `bars_count` (integer, optional), `strategy_started` (boolean, optional) | The run was aborted on request. Cooperative SIGTERM stops after the in-flight input bar completes, leaves no sink trailer, and exits 1. bars_count is the nonnegative number of fully completed input bars, mirrored as top-level bars.count, matching the runner's bars_processed population; strategy_started is a boolean mirrored at the top level. Both are optional for legacy abort raisers. There is no cancelled class: the abort path has exactly two internal callers, the orchestrator's hand-off at the service limit (the run is restarted with the same run id) and an operator stop. The abort line itself carries no retry semantics: it has no retryable field, and a retry is APP's decision from which caller stopped the run. On the abort path bars_count is diagnostic only and is never billed. No live-counter descriptor is used (fd 6 is not used). |
156156
| `run_mode_unsupported` | `unsupported` | no | `feature` (vocab, 11 values) | A feature the requested run mode does not support. |
157157
| `run_options_rejected` | `input` | no | `input_tf` (timeframe, optional), `option` (vocab, 11 values), `script_tf` (timeframe, optional) | The run's own options (timeframes, intrabar path, magnifier, path order) were refused. |
158158
| `run_request_invalid` | `input` | no | `option` (vocab, 25 values) | The harness command line or one of its JSON options is invalid. |

0 commit comments

Comments
 (0)