Skip to content

feat: platform-specific function pricing hook + precheck enforcement - #9

Merged
QuickMythril merged 2 commits into
mainfrom
feat/platform-function-step-costs
Jul 22, 2026
Merged

feat: platform-specific function pricing hook + precheck enforcement#9
QuickMythril merged 2 commits into
mainfrom
feat/platform-function-step-costs

Conversation

@QuickMythril

Copy link
Copy Markdown
Member

Summary

Two commits, both required by qortium-core's upcoming AT persistent-map feature:

  • 6450658 feat: support platform-specific function pricing — adds a backward-compatible pre-execution hook so a platform (API implementation) can charge a platform-defined step cost for a platform function before it executes. Default behavior is unchanged for existing platforms.
  • 33df17d fix: enforce platform function prechecks — the platform-function precheck hook existed but was never invoked by the executor, so an unactivated/malformed platform function call could reach the platform's write path. The executor now calls the precheck before dispatch; regression test included.

Merge strategy — do NOT squash

qortium-core pins and vendors this artifact at exact commit 33df17d976af63037ca345b928cc2daf350d9a58 (com.github.QortiumDev:AT:33df17d). This PR must be merged with a merge commit (like #1 and #2) so the pinned commit remains an ancestor of main. Squashing would strand the canonical pin.

Verification

  • mvn -B clean verify: 179 tests passed, 0 failures (includes new pricing-hook and precheck regression tests).
  • Consumed by qortium-core feat/at-map-storage, whose full suite (2,675 tests) passes against the byte-identical vendored jar of this exact commit.

🤖 Generated with Claude Code

@QuickMythril
QuickMythril merged commit 218f654 into main Jul 22, 2026
4 checks passed
@QuickMythril
QuickMythril deleted the feat/platform-function-step-costs branch July 22, 2026 01:50
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