Repository navigation
Commit c5c611a
committed
Docs+Gates: every kernel seam and every kernel member the source layer writes gets an ADR-0001 row, the account of TradingView-justified comments is complete, and a gate holds the inventory (R5 lane H-DOCGATES, X10)
AUDIT4-opus X10 found the ADR contradicting itself and the tree. Each
sentence was re-derived on this tree:
- The examples sentence claimed every C++ host includes only
native_host.hpp. Three include native_toolkit.hpp or native_module.hpp
(both include native_host.hpp) and the two C hosts include pineforge.h;
"each including only `<pineforge/native_host.hpp>` (or `native_c_api.h`)"
is rewritten to say so.
- The build_close_trade_with_costs row still said "One question stays
open, recorded at the site: the net basis is applied to a host-owned
excursion's magnitudes too (RULING A48's hook)". R5 lane F3 closed it in
684800b; the row now says so and scopes the net basis to the kernel's
own sampled excursions.
- The neutral-spellings row said map.hpp and drawing.hpp are neutral names
with deprecated pine_* aliases, "already ruled: "Neutral spellings" above"
-- a section that does not exist, contradicting the residual table's
PineMap row (primaries with no neutral alias). The row now names both
cases and cites the two residual rows.
- "They do not yet account for the whole population" (the paragraph ending
"until each gets a row or moves") and the Consequences bullet "Not yet
fully accounted for" contradicted rule 2's "no site left unruled". Four
Section B rows close the eighteen unruled lines the audit's closure grep
found (the chart-day partition, the bar-time accessors, the offset sign,
the grid and lot helpers); the paragraph now records the re-taken census
(369 comment lines in 44 of 92 files, none unruled) and the bullet says
the count is held by reading, not by a gate. Rule 2 pointed at "the
section below"; the section is above.
- Rule 1 now names the generated-code language runtime and its admission
test, which the three category rows apply.
- The subscriptions row listed four exclusions ("the sites the predicate
leaves out (lower timeframe, lookahead, auxiliary, streams) keep the
source evaluator"); declare_security_sites_to_kernel has fifteen and
declares every site or none. The row lists them.
- Fourteen new rows in "Kernel state the adapter sets" cover every seam
and member the new gate finds, including the two whole-struct
current_bar_ writes (E21 check e), broker_fill_event_seq_, the dead
source_stream_entry_comment (scheduled for the next script-ABI epoch in
docs/native-refactor-progress.md), fold_exit_trail_peak_, NativeHostCache
and the rows AG1/AG2 re-date. The dust sweep is recorded OPEN for lane
H-THIN (A4-DUST); the position_entry_count_ overwrite is recorded OPEN.
- Design row RP5 said the short-seed swaps are "measured in §3.7 part 2";
no row there measures them, and it now says so. The second "### 3.8"
(lane F9) is §3.9, and RP9's "§3.8 records the old quadratic adapter fold"
now points at it.
- Two engine.hpp comments were false: "Generated code reads them for Pine's
bare ``hour``" (the transpiler emits pine_hour(..., syminfo_.timezone);
no corpus strategy names a _bar_* accessor) and script_tf_'s writers
"(both sites live in engine_run.cpp)" (the one writer is the Pine host).
Comment-only, line-count preserving: all 86 library objects are
byte-identical with and without the edit.
scripts/check_kernel_seam_rows.py (a binding ci_preflight stage, with its
must-fail suite as ci_preflight stage and CTest row test_kernel_seam_rows)
fails when a kernel `virtual source_*` seam, a BacktestEngine member the
source layer writes, or a Trade / PyramidEntry field written through the
kernel's rows has no ADR-0001 row naming it in its first cell. Over this
commit's parent it reports 43 without a row; here 0. It reads class bodies
itself: check_broker_state_hash_coverage.py loses a member declared right
after an inline function body (current_bar_, bar_magnifier_enabled_,
trace_buffer_). KERNEL_MIN_TESTS 274 -> 275, RELEASE_MIN_TESTS 675 -> 676.
Sentences deleted or rewritten, by the commit that wrote them: ca0aac5
(INT16's examples sentence), 2757095 (P2's lead-in of the mechanism
table), 5691220 (L14-C's neutral-spellings row), 2dd9834 (F2's "The rows
above account" paragraph and its "Not yet fully accounted for" bullet) and
d3cca9e (the gates paragraph's closing sentence, now naming the seam-row
gate beside the review record).
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
(cherry picked from commit 4cbc6ab6c1d8925d2d9353fc030ab511665252f9)
INT26 pick note: the merged pages keep both sides.
- ADR-0001 inventory: INT25's K-ULP4 and K-ULP5 rows stay after the journal
window row (its V19-FIX wording kept), then this commit's fourteen rows.
- ADR `subscriptions` row: this commit's all-or-nothing predicate list, plus
the one clause it left out (`declare_security_sites_to_kernel` also
refuses a registry whose `sec_id`s are not dense from 0), then H-MEASURE's
measured sentence on what each reachable clause changes (c77ee9f9).
- ADR close-trade row: this commit's closed A48 question and H-MEASURE's
report-only excursion columns (word merge).
- ADR rule-2 paragraph: this commit's gate list, then INT25's C-SURFACE-1.0
transport ruling section unchanged.
- design RP5: H-MEASURE's measured short-seed sentence stays; this commit's
"unmeasured: §3.7 has no row for them" was true only before H-MEASURE's
`tests/test_short_seed_report_swap.cpp` (37090e1).
- floors: this commit's seam-row self-test adds one row to the merged
values (KERNEL 280 -> 281, RELEASE 692 -> 693).
check_kernel_seam_rows on the merged tree: 3 seams, 44 written members,
0 without a row.1 parent daae552 commit c5c611a
14 files changed
Lines changed: 657 additions & 43 deletions
File tree
- docs
- adr
- design
- pages
- include/pineforge
- scripts
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| 396 | + | |
396 | 397 | | |
397 | 398 | | |
398 | 399 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
514 | 531 | | |
515 | 532 | | |
516 | 533 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
937 | | - | |
| 937 | + | |
938 | 938 | | |
939 | 939 | | |
940 | 940 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
250 | 256 | | |
251 | 257 | | |
252 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
1054 | 1054 | | |
1055 | 1055 | | |
1056 | 1056 | | |
| |||
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
1125 | | - | |
1126 | | - | |
| 1125 | + | |
| 1126 | + | |
1127 | 1127 | | |
1128 | 1128 | | |
1129 | 1129 | | |
| |||
0 commit comments