Skip to content

Commit e0c7cc5

Browse files
committed
Re-pin documentation anchors for the 1.10.0 train head
The stop-limit fix moves lines in the sources that the design pages cite by file:line. The repository's own tools (scripts/check_doc_anchors.py --fix and scripts/reanchor_doc_citations.py --ref main) move the citations; nothing is edited by hand and no code changes. Before: 310 bad anchors. After: all 2344 anchors resolve to their symbol. Eight documentation files, 244 lines changed on each side (no line is added or removed).
1 parent 0570c8d commit e0c7cc5

8 files changed

Lines changed: 244 additions & 244 deletions

‎docs/adr/0001-kernel-adapter-boundary.md‎

Lines changed: 39 additions & 39 deletions
Large diffs are not rendered by default.

‎docs/design/arena-bound.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ indexPeak(k) = 24 * slots(k) # k > 32
347347
| Consumed partial-cycle data | (41+2*L)*Q | `include/pineforge/source/pine_adapter.hpp:2834`; joined key at `src/source/pine_adapter.cpp:25493` |
348348
| Consumed partial-cycle index | indexPeak(Q) | `include/pineforge/detail/id_pair_store.hpp:642` |
349349
| Ordered consumed-cycle fold | 136*leaves + 2088*branches + 2096*savedPath | `include/pineforge/detail/id_pair_ordered_fold.hpp:161`, `:165`, `:172`, size assertion for `Leaf`, `Branch` and `Snapshot` at `:183` |
350-
| Successor-root rows | 16*R | `src/native_order.cpp:8220`, row assertion for `Row` at `:8141`, 64-row tail bound `kTailRows` at `:8146` |
350+
| Successor-root rows | 16*R | `src/native_order.cpp:8220`, row assertion for `Row` at `:8148`, 64-row tail bound `kTailRows` at `:8153` |
351351
| Frozen external openings | **0 in this certified profile** | Stock source builds owned `BindOpenings` vectors at `src/source/pine_adapter.cpp:7058`, `:7051`, `:9745-9761`; generic external owners are excluded below |
352352

353353
The AVL node is seven uint64 words = 56 bytes, then its value and exact key
@@ -558,7 +558,7 @@ non-command certificates exactly.
558558
These formulas apply to the EngineRecorded streamed invocation. The
559559
selected recorder appends its anchor and selected observations in one
560560
writer (`equity_scratch` append at `src/engine_report.cpp:1563`), and capture transfers that writer as `metric_curve`
561-
instead of copying its prefix (`src/native_execution_consumer.cpp:13172`).
561+
instead of copying its prefix (`src/native_execution_consumer.cpp:13278`).
562562
HostRecorded array presentation and a second full curve are outside this
563563
profile. Adding another persistent scratch user requires another term and
564564
rounding region.

‎docs/design/cr150-contracts.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,17 +223,17 @@ references; L15a must maintain these anchors and mechanically pin every current
223223

224224
| Reader to route through the view/source | Source anchors in this tree | DESIGN lines |
225225
|---|---|---|
226-
| Kernel instrument-feed pump: current bar, close, next open, count | `NativeExecutionConsumer::pump_instrument_subscription` `src/native_execution_consumer.hpp:1246` | 357-358 |
226+
| Kernel instrument-feed pump: current bar, close, next open, count | `NativeExecutionConsumer::pump_instrument_subscription` `src/native_execution_consumer.hpp:1250` | 357-358 |
227227
| Host feed lookup/delivery and column reads | `installed_symbol_feed` `src/source/pine_security_eval.cpp:1059-1068`; `installed_symbol_feed` `src/source/pine_security_eval.cpp:1291-1301`; `installed_symbol_feed` `src/source/pine_security_eval.cpp:1320-1328` | 359-360 |
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:10045`; `validate_native_timeframe_subscriptions` `src/native_execution_consumer.cpp:10070` | 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:10146`; `validate_native_timeframe_subscriptions` `src/native_execution_consumer.cpp:10171` | 361-363 |
229229
| 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:3194` | 361-363; V1/V2 change 5 |
230-
| Instrument-feed digest and cached/uncached continuation folds | `digest_instrument_feed_views` `src/native_run_spec.cpp:1162-1205`; `native_instrument_feeds_digest` `src/native_execution_consumer.cpp:330`; `native_instrument_feeds_digest` `src/native_execution_consumer.cpp:2921`; `native_run_spec_digest` `src/native_execution_consumer.cpp:14328` | 364-365 |
230+
| Instrument-feed digest and cached/uncached continuation folds | `digest_instrument_feed_views` `src/native_run_spec.cpp:1162-1205`; `native_instrument_feeds_digest` `src/native_execution_consumer.cpp:330`; `native_instrument_feeds_digest` `src/native_execution_consumer.cpp:2921`; `native_run_spec_digest` `src/native_execution_consumer.cpp:14434` | 364-365 |
231231
| 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 |
232232
| Refresh of symbol-data digest and host hash fold | `refresh_symbol_data_digest` `src/source/pine_security_eval.cpp:1617-1630`; `symbol_data_digest_` `src/source/pine_state_hash.cpp:1238-1244` | 367-368 |
233233
| Restore/store upkeep and column-setter length check | `held.bars` `src/source/pine_security_eval.cpp:1091-1101`; `data.bars` `src/source/pine_security_eval.cpp:1433-1439` | 369-370 |
234-
| Lower-path preflight/validation | `NativeExecutionConsumer::preflight_intrabar_path` `src/native_execution_consumer.hpp:1205` | 371,1221-1222 |
234+
| Lower-path preflight/validation | `NativeExecutionConsumer::preflight_intrabar_path` `src/native_execution_consumer.hpp:1209` | 371,1221-1222 |
235235
| Lower-path digest (count first) and continuation hash | `native_intrabar_path_digest` `src/native_run_spec.cpp:891-919`; `native_intrabar_path_digest` `src/native_execution_consumer.cpp:295` | 371,1223-1224 |
236-
| Per-script-bar lower-path binary search/walk | `candidate` `src/native_execution_consumer.cpp:9138-9145` | 371,1225 |
236+
| Per-script-bar lower-path binary search/walk | `candidate` `src/native_execution_consumer.cpp:9239-9246` | 371,1225 |
237237
| Scheduler sub-bar lookup and one-bar look-ahead | `PineScheduler::lower_path_bar_at` `src/source/pine_scheduler_native.cpp:265-287`; `next_open` `src/source/pine_scheduler_native.cpp:328-329` | 371,1226-1227 |
238238
| Lower-path emptiness test | `inactive_sampler_path` `src/source/pine_adapter.cpp:3627` | 371,1228 |
239239

@@ -318,14 +318,14 @@ L17c/d and L8c use one report path. `fill_trades_section`
318318
open rows for a sink. `report_closed_net_profit`
319319
(`src/engine_report.cpp:537`) starts at `ClosedTradePrefix::pnl` and adds the
320320
resident suffix in order. `finish_streamed_trade_metrics`
321-
(`src/native_execution_consumer.cpp:14148`) finishes copies of the sealed
321+
(`src/native_execution_consumer.cpp:14254`) finishes copies of the sealed
322322
accumulators over resident closed rows, then the presented open rows. The
323323
source host's terminal-quote presentation continues that same closed-row PnL
324324
fold before adding its edited open rows (`net_profit`
325325
`src/source/pine_strategy_host.cpp:2254-2255`).
326326

327327
Selected carry-in validation includes the minimum entry time folded at seal
328-
(`first_entry_time` `src/native_execution_consumer.cpp:13021`), so a
328+
(`first_entry_time` `src/native_execution_consumer.cpp:13127`), so a
329329
window starting after a sealed entry refuses with the existing typed
330330
`engine_invariant`. Validation never indexes a retired row. `write_report_sink_trades`
331331
(`src/engine_report.cpp:1700`) resumes at the global T cursor: sealed rows

0 commit comments

Comments
 (0)