Repository navigation
Commit b7ed0ee
Live runner: admit proven confirmed-bar request shapes and standalone varip (#342)
* Admit proven confirmed-bar requests and closing order shapes
Replace the request and process_orders_on_close refusals documented by f3bf9f0 with the confirmed-bar proof allowlist. Preserve the old receipt policy for libraries without the new versioned extension.
* Prove entry-bound closing orders and reject mixed brackets
* Keep unproven five-minute closing orders refused
Replace the five-minute POOC admission documented by c03e06b0: its reports match batch, but its physical action timestamps do not. Add a nonvacuous same-clock request control instead of crossing a close with itself, and retain named POOC refusal before durable startup.
* Match exact confirmed-bar proofs and pin refusal boundaries
Address the independent review, including public terminology introduced by f3bf9f0, without changing source-layer trading code.
Narrow the POOC admission sentence to exact proven order-family sets. Explicitly withdraw: POOC admits market, stop and limit entries, market closes and short stop/limit brackets on script clock `1` only.
* Pin refusal of mixed-direction market brackets
* Exercise named refusals for dynamic order identifiers
* Pin the exact sizing profiles of closing-order proofs
Narrow the settings description; omitted codegen settings are not Pine fixed-quantity defaults. Explicitly withdraw: POOC settings are limited to the default sizing/slippage/account profile, plus the separately proven market-only 100%-equity/15-tick-slippage profile.
* Supply required chart context in receipt-version tests
* Keep closing-order strategies refused
Withdraw the closing-order admission text from c968245, 563ba41, 6a01de7 and 58fab97. Keep requests and standalone varip admitted; preserve closing-order rows only as future evidence.
Withdraw these published statements explicitly so this narrowing remains named after future restacks:
- An unknown optional confirmed-bar version is ignored: ordinary strategies retain their original eligibility, while requests, POOC and varip still require a recognized proof.
- Explicit entry quantities, alert/comment arguments and exit OCA names are not modeled.
- Market closes have long and short close-all and entry-bound proofs.
- Only the proven table and order shapes admitted
- POOC admits only these sorted order-family sets on script clock `1`:
- POOC settings match literal proof profiles, without inferring Pine defaults: market, stop, limit and market-close sets require omitted account/sizing/slippage settings.
- Partial profiles, extra otherwise-default settings and order-affecting runtime overrides are refused.
- Short brackets require exactly fixed quantity 1 and explicit percent commission 0.
- Stop-limit/OCA entries, trailing/relative/partial exits, long brackets, `strategy.order`, risk rules, cancellation, immediate closes and any call or argument outside the modeled allowlist remain refused by name.
- The five-minute both-sided-stop report is batch-equivalent, but its physical action timestamps are not; that clock stays refused.
- The separate market-only profile requires exactly explicit 100%-equity sizing and 15-tick slippage.
- The sole request-plus-POOC proof is SMA(close,4) at `15` with market entries; other cross-category compositions are refused rather than inferred.
- Two requests together, request-plus-varip and POOC-plus-varip are refused.
- `[entry:market]`, `[entry:stop]`, `[entry:limit]`, `[entry:market, exit:short_bracket]`, and `[close:market, entry:market]`.
* Shard confirmed refusal tests and allow sanitizer headroom
* Mark the confirmed-bar extension as unreleased after 1.2.0
1.2.0 shipped the capability extension and its receipt-based refusals, but not
the confirmed-bar receipt or its request and varip admission; the documentation
said both were available since 1.2.0. This rewrites the availability sentence
"This applies to both the capability extension and the runner's receipt-based
admission policy." introduced by f3bf9f0, so that it covers only what 1.2.0
shipped.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>1 parent c714984 commit b7ed0ee
195 files changed
Lines changed: 45505 additions & 57 deletions
File tree
- docs
- runner
- tests
- fixtures
- confirmed_capabilities
- generated
- strategy_capabilities
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
225 | 229 | | |
226 | 230 | | |
227 | 231 | | |
| |||
497 | 501 | | |
498 | 502 | | |
499 | 503 | | |
| 504 | + | |
500 | 505 | | |
501 | 506 | | |
502 | 507 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
87 | 159 | | |
88 | 160 | | |
89 | 161 | | |
| |||
97 | 169 | | |
98 | 170 | | |
99 | 171 | | |
100 | | - | |
101 | | - | |
102 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
103 | 175 | | |
104 | 176 | | |
105 | 177 | | |
| |||
136 | 208 | | |
137 | 209 | | |
138 | 210 | | |
139 | | - | |
140 | | - | |
| 211 | + | |
| 212 | + | |
141 | 213 | | |
142 | 214 | | |
143 | 215 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
257 | 372 | | |
0 commit comments