Skip to content

Fix persistent callable storage ownership#82

Merged
luisleo526 merged 1 commit into
mainfrom
fix/persistent-callable-owner-state
Jul 19, 2026
Merged

Fix persistent callable storage ownership#82
luisleo526 merged 1 commit into
mainfrom
fix/persistent-callable-owner-state

Conversation

@luisleo526

Copy link
Copy Markdown
Contributor

Summary

  • allocate collision-safe storage identities for ordinary callable persistent locals while preserving Pine lexical names
  • keep global, block, loop, history, security-helper, and clone boundaries declaration-aware, with unsupported ownership shapes failing closed
  • avoid a phantom terminal-return callable clone by reusing the in-scope return specification
  • add broad primitive, array, map, matrix, nested-call, history, shadowing, and fail-closed regression coverage

Validation

  • full engine-enabled pytest: 100% complete, exit 0
  • focused owner-state suite: 67/67
  • exhaustive 2^5 publication matrix: 32/32, all-off bug reproduced, fingerprint 1af32222c2ee516da6d45ce2505a1136b9266bc1b4a3aaa8437f9ebf76647e74
  • independent no-cache OFF/ON target replay: 4/4; B3ar Weak to Excellent with exact 749/749 parity; Hexatrades and QuantAlpha trade tapes unchanged; 3Commas generated C++ and tape byte-identical
  • full no-cache scraper gate: 415/415 accounted, 408 OK, 1 no-trades, 5 expected transpile errors, 1 expected run error, 0 unresolved timeout, 1 UP, 0 DOWN
  • independent R7 review: PASS, no P0/P1 blocker
  • compileall, diff check, scoped Ruff check and format check: green

@luisleo526
luisleo526 merged commit b6b0730 into main Jul 19, 2026
9 checks passed
@luisleo526
luisleo526 deleted the fix/persistent-callable-owner-state branch July 19, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant