Skip to content

feat(host): infer typed host call contracts from signatures - #11

Merged
fffonion merged 1 commit into
masterfrom
feat/agent-host-signature-inference
Aug 11, 2026
Merged

feat(host): infer typed host call contracts from signatures#11
fffonion merged 1 commit into
masterfrom
feat/agent-host-signature-inference

Conversation

@fffonion

@fffonionfffonion commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • infer host binding kind, return schema, and suspension behavior from Rust signatures
  • use VmResult<T> for VM errors and HostCallResult<T> for return-or-pending behavior
  • remove BuiltinResult<T> and reject the undefined HostResult<T> wrapper across generation and macros

Stack

Layer 1 of 14
Next: #13

Validation

  • cargo test --locked -p pd-host-function
  • cargo test --locked --test host_binding_generation_tests
  • cargo test --locked --test builtins_tests

@fffonionfffonion changed the title Feat/agent host signature inferencefeat(host): parse signature-inferred host resultsAug 5, 2026
@fffonion
fffonionforce-pushed the feat/agent-host-signature-inference branch 2 times, most recently from 99130a8 to 820150dCompareAugust 10, 2026 20:54
@fffonion
fffonionforce-pushed the feat/agent-host-signature-inference branch from 820150d to ec99ebfCompareAugust 10, 2026 22:44
@fffonionfffonion changed the title feat(host): parse signature-inferred host resultsfeat(host): infer typed host call contracts from signaturesAug 10, 2026
@fffonion
fffonion merged commit 3affd52 into masterAug 11, 2026
8 checks passed
@fffonion
fffonion deleted the feat/agent-host-signature-inference branch August 11, 2026 12:08
Sign up for freeto 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

@fffonion