You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 655c97e
Browse filesBrowse the repository at this point in the historyBrowse files
Re-anchor the line citations of the published pages (digits only)
The N-day chart commit moved code in src/native_execution_consumer.cpp,
src/native_execution_consumer.hpp, src/source/pine_strategy_host.cpp,
src/source/pine_scheduler_native.cpp and src/timeframe.cpp, so the file:line
citations of the published pages that point into them went stale, and
scripts/check_doc_anchors.py reported 212 bad anchors.
This commit changes digits only: the line numbers inside file:line citations
of nine pages (145 changed lines, 233 changed numbers) and nothing else. No
sentence, word, content pin or table is edited. The numbers were moved with the
repository's own tools: scripts/check_doc_anchors.py --fix (the cited symbol
sits on exactly one line) and scripts/reanchor_doc_citations.py --ref
360c4ab (a line map from the commit before the N-day chart change, where
the pages were correct). The last six citations, which claim no symbol, were
carried across the same line map by hand: the cited code line is the same text
at its new number. scripts/check_doc_anchors.py reports no bad anchor on the
result, and scripts/check_doc_reverts.py reports nothing, since a re-anchor is
not an edit.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: docs/design/arena-bound.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ The carried declaration fields are visible in `PineStrategyConfig` at
162
162
| pyramiding | Source entry admission policy, including pending/same-point rules. The optional generic cap is `max_open_lots` at `include/pineforge/native_run_spec.hpp:664`; the Pine projection deliberately leaves it unset (the `max_open_lots` setting spelling is at `src/source/pine_adapter.cpp:2836`). Do not assume this caps strategy.order or use it as an unconditional H. |
163
163
| calc_on_order_fills | Extra source callbacks. The adapter passes its 1<<20 guard `kCoofLoopGuard` through the native cadence at `src/source/pine_adapter.cpp:3017`; the `kCoofLoopGuard` literal is declared at `include/pineforge/source/pine_adapter.hpp:77`. The native point budget is a callback bound, not a total fill bound. |
164
164
| max_recalculations_per_point | Further executions still apply after callbacks stop; see the cadence comment and `max_recalculations_per_point` declaration at `include/pineforge/native_run_spec.hpp:686-695`. The actual counter check is `src/native_execution_consumer.cpp:8259`. |
165
-
| first-open COOF chain | A second source-side guard exists at `src/source/pine_scheduler_native.cpp:888`. Count this source path; a native budget of 8 is not Pine's bound. |
165
+
| first-open COOF chain | A second source-side guard exists at `src/source/pine_scheduler_native.cpp:945`. Count this source path; a native budget of 8 is not Pine's bound. |
166
166
| process_orders_on_close | Adds a matching opportunity after calculation; projection at `src/source/pine_adapter.cpp:3006`. It does not impose an order/trade count. |
167
167
| default_qty, margin, initial capital | Admission/sizing predicates can tighten a separately proved schedule. They provide no universal positive minimum close quantity or minimum loss, hence no universal T. Margin can create additional reductions. |
168
168
| max_bars_back | Series-history setting, not a run/trade limit. The native mapping explicitly rules it out at `docs/pages/pine-to-native.md:142`. |
Copy file name to clipboardExpand all lines: docs/design/cr150-contracts.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,18 +223,18 @@ references; L15a must maintain these anchors and mechanically pin every current
223
223
224
224
| Reader to route through the view/source | Source anchors in this tree | DESIGN lines |
225
225
|---|---|---|
226
-
| Kernel instrument-feed pump: current bar, close, next open, count |`NativeExecutionConsumer::pump_instrument_subscription``src/native_execution_consumer.hpp:1279`| 357-358 |
226
+
| Kernel instrument-feed pump: current bar, close, next open, count |`NativeExecutionConsumer::pump_instrument_subscription``src/native_execution_consumer.hpp:1294`| 357-358 |
| Feed validation: bar values/order, close length/bounds, column length; configure and consumer entry points |`feed.bars``src/native_run_spec.cpp:259-290`; `instrument_feed_shapes``src/native_run_spec.cpp:743`; `validate_native_instrument_feeds``src/native_run_spec.cpp:1019-1022`; `validate_native_timeframe_subscriptions``src/native_execution_consumer.cpp:10211`; `validate_native_timeframe_subscriptions``src/native_execution_consumer.cpp:10211`| 361-363 |
228
+
| Feed validation: bar values/order, close length/bounds, column length; configure and consumer entry points |`feed.bars``src/native_run_spec.cpp:259-290`; `instrument_feed_shapes``src/native_run_spec.cpp:743`; `validate_native_instrument_feeds``src/native_run_spec.cpp:1019-1022`; `validate_native_timeframe_subscriptions``src/native_execution_consumer.cpp:10238`; `validate_native_timeframe_subscriptions``src/native_execution_consumer.cpp:10238`| 361-363 |
229
229
| Adapter projection validation: use the context normalizer; host stages after lending and before projection, using a context built from its store |`normalize_projected_spec``src/source/pine_adapter.cpp:3195`| 361-363; V1/V2 change 5 |
| Staged feed counts in host state and its hash |`installed_symbol_feed``src/source/pine_strategy_host.cpp:536-546`; `staged_.instrument_feeds``src/source/pine_state_hash.cpp:339-346`| 366-367 |
232
232
| Refresh of symbol-data digest and host hash fold |`refresh_symbol_data_digest``src/source/pine_security_eval.cpp:1639-1652`; `symbol_data_digest_``src/source/pine_state_hash.cpp:1240-1246`| 367-368 |
0 commit comments