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 5b977f3
Browse filesBrowse the repository at this point in the historyBrowse files
Source-bounds records and documentation anchors follow the journal cut and the feed projection change
The reviewed site inventory and the bounds manifest return to main's entries for the ByteWriter owning buffer, the journal payload append and the ByteReader cursor, which the restored one-page journal path no longer changes: the ByteReader buffer and cursor assignments and their manifest entry are gone again, and the journal payload append is back in its function scope. The six site identities of build_native_day_partition (tz, stamps, the three projection builders and the late-open assignment) carry the new trailing scratch-directory parameter in their scope.
Five documentation anchors into src/native_order.cpp (the successor-root row assertion and tail bound, index_committed, remaining_path_delivery, check_execution and apply_execution) point at the lines the cut leaves them on.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
- {id: "U1375", file: "src/native_order.cpp", symbol: "buffer_", ops: ["assign", "decl", "grow"], container: "ByteWriter std::vector<unsigned char> and ByteReader pointer initialization", owner: "native-kernel", phase: "unclassified", state: "unreviewed", note: "Retain ByteWriter's owning variable-payload buffer declaration/insert. Add ByteReader's scalar buffer_=nullptr initializer, a cross-class spelling collision with no allocation. The default owning serializer can grow with serialized event bytes; fixed/chunked journal transfer storage does not establish a cap for every ByteWriter use. OPEN.", line: 1183}
- {id: "U1381", file: "src/native_order.cpp", symbol: "data", ops: ["grow"], container: "ExtFile journal payload append", owner: "native-kernel", phase: "unclassified", state: "unreviewed", note: "The ordinary spill append moved into the non-continued else branch. This appends serialized event bytes to scratch; backing extent grows with retained events/payload, while transfer buffers are fixed. Large continued events use ByteWriter's file path. No event-count or byte bound is inferred from cache capacity; OPEN.", line: 1941}
- {id: "U1619", file: "include/pineforge/series.hpp", symbol: "stored", ops: ["alloc"], container: "std::shared_ptr<WindowValues<T>::Page>", owner: "ta-series", phase: "unclassified", state: "unreviewed", note: "Two write-path make_shared identities: first materialization and copy-on-write of one existing page. Each typed page holds min(1024, remaining logical values); all materialized resident pages together scale with logical window length. Non-arithmetic T can own additional payload bytes. Keep both occurrences OPEN, with page-vector bytes covered by U1620.", line: 150}
1642
1642
- {id: "U1620", file: "include/pineforge/series.hpp", symbol: "values", ops: ["decl"], container: "std::vector<T>", owner: "ta-series", phase: "unclassified", state: "unreviewed", note: "Each WindowValues::Page constructs its typed vector with 1..1024 elements and its initial value. This per-page element bound does not bound the number of owned pages or arbitrary T payloads; complete resident ownership can scale with logical window length. Member/header declarations are outside guarded bounded admission. OPEN.", line: 218}
1643
1643
- {id: "U1621", file: "src/engine_orders.cpp", symbol: "reset", ops: ["alloc"], container: "private optional ledger page directory and entry pages", owner: "engine-core", phase: "unclassified", state: "unreviewed", note: "Two nothrow array allocations: ensure_cache creates ceil(cache_rows/256) owning pointers at line 483; ensure_cache_entry creates min(256, cache_rows-256*p) decoded entries at line 497. The scanner assigns both new expressions to reset; their lexical scopes distinguish the sites. Host and standalone byte policies select the largest R with R*kLedgerEntryBytes+ceil(R/256)*sizeof(void*) <= capacity_bytes. Default 20,449,280 bytes for 65,536 rows on LP64. The ledger owns private pages, with no shared-cache instance or prepared reservation. Optional allocation failure permanently bypasses further allocation; backing reads, appends and replacements continue, with one typed allocation_bypass_count. Actual directory and page bytes are reported once above the fixed base. U1325's directory and U1642's page remain covered here; the old operator-new reservation site is gone. Instance policy/private paging is outside the literal-vector proof. OPEN.", line: 483}
1644
-
- {id: "U1622", file: "src/native_order.cpp", symbol: "at_", ops: ["assign"], container: "ByteReader pointer refill cursor", owner: "native-kernel", phase: "unclassified", state: "unreviewed", note: "raw resets a borrowed byte cursor to its fixed caller transfer buffer after a backing read. This assignment allocates nothing and retains no event history; it is indexed because another file declares a container member named at_. The complete decoded value may still own variable payload elsewhere. Retain this lexical site OPEN.", line: 1237}
1645
1644
- {id: "U1623", file: "src/source/pine_security_eval.cpp", symbol: "builder", ops: ["grow"], container: "FeedProjectionBuilder<RecordedSeriesRow>", owner: "source-layer", phase: "unclassified", state: "unreviewed", note: "set_recorded_series_impl writes n paired timestamp/value rows during setup, replacing the separate open_ms/values vector assignments U1040/U1049. One fixed transfer page, one provider control and configured read lines; backing remains n*sizeof(RecordedSeriesRow). No cache parameter bounds n. OPEN.", line: 1556}
1646
1645
- {id: "U1624", file: "src/source/pine_ta_length.cpp", symbol: "values_", ops: ["assign"], container: "detail::WindowValues<double> move assignment", owner: "source-layer", phase: "unclassified", state: "unreviewed", note: "HeldHistory::ensure_slots replaces the owning history when required by keep. Logical slots=(ceil(keep/1024)+1)*1024; existing chunk retirement preserves the semantic lookback. Default typed-page ownership and finite-cache scratch backing are parameterized by keep, never by the resident allowance. Replaces U1103/U1106/U1107/U1110; U1616-U1620 cover the common storage allocations. OPEN.", line: 114}
1647
1646
- {id: "U1625", file: "src/timeframe.cpp", symbol: "month_opens", ops: ["grow"], container: "FeedProjectionBuilder<int64_t> month column", owner: "calendar-time", phase: "setup", state: "pending-flat-memory", inventory: "F14", grows_with: ["days"], note: "Replaces U1175's month_open reserve and two branch pushes with one append per input daily stamp. Fixed builder transfer and independently configured read-cache residency; scratch backing still stores 8 bytes per stamp, O(days). Keep the original F14 growth obligation OPEN.", line: 869}
0 commit comments