Native feature-parity design: gaps, kernel-vs-adapter rulings, lane roadmap - #256
Merged
Merged
Conversation
…, lanes Code-grounded design for making pineforge-engine usable without any Pine adapter: a pure-C++ strategy against NativeStrategyHost gets every execution feature Pine strategies rely on, and the Pine adapter becomes a thin TradingView-parity layer that selects policy knobs on the same kernel features. Merged from three independent audits of the same brief (Claude Fable 5.1, Claude Opus, GPT-5.6 Sol) under the supervisor rulings R5-1..R5-11; every citation (514) is script-checked against this tree (main @ 73817c1). Contents: merged inventory (89 rows: 34 native / 14 partial / 29 missing / 12 TV-quirk), structural work (kernel-only target, coupling extraction, C API, native HTF, examples), the lane roadmap L0-L13 with per-lane neutrality proof, twin test and epoch impact, v1.0.0 prerequisites, risks and open questions, and signature-level API proposals per lane. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSmYixVAp4NqWpBZxkrLPT
This was referenced Sep 19, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
docs/design/native-feature-parity.md— the design for makingpineforge-engineusable without any Pine adapter: a pure-C++ strategy againstNativeStrategyHostgets every execution feature Pine strategies rely on, natively; the Pine adapter (Pine → codegen path) becomes a thin TradingView-parity layer that uses the same kernel features and only selects TV policy knobs.How it was produced
parent/waiting_childrenprimitives; price grid as its own kernel lane; calc-on-fill/every-tick and native HTF in v1; C API post-v1; coupling extraction split into neutral vs hash-visible.Roadmap (one PR per lane, one Cloud Run sweep each, accepted on no regression — net 0 allowed)
L0 docs truth (incl. ADR-0001 corrections, feeds #255) → L1 kernel-only build target → L2 report truth ∥ L3 sizing bases → L7 brackets/trailing ergonomics → L8 price grid → L4 margin + liquidation → L5 calc-timing ∥ L6 native HTF → L10 examples + Pine→native concept map → L11 neutral cleanups → L9 risk limits → L12 hash-visible TV extraction → L13 C API.
Docs only; no engine code changes.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CSmYixVAp4NqWpBZxkrLPT