Skip to content

Add MoonBit agent reflection APIs - #3813

Closed
noise64 wants to merge 21 commits into
noise64/reflection-scala-sdkfrom
noise64/gol-46-reflection-moonbit-sdk
Closed

noise64 wants to merge 21 commits into
noise64/reflection-scala-sdkfrom
noise64/gol-46-reflection-moonbit-sdk

Conversation

@noise64

@noise64 noise64 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor
  • resolves GOL-46
  • adds MoonBit discovery, reflected JSON packing, caller-codec clients, and direct SchemaValue invocation
  • uses component-free environment-scoped ParsedAgentId across reflected, caller-codec, and dynamic clients
  • derives existing caller-codec binding targets entirely from ParsedAgentId; standalone type-name binding guards are not retained
  • inherits direct WIT string reflection host identities without a generated host AgentId alias
  • uses asynchronous awaited invocation for live streams, validates required outputs, and rejects streams in trigger and scheduled calls
  • shares decoded reflected schema definitions and regenerates the affected WIT bindings and public interfaces
  • updates the common and MoonBit reflection skills and generated guide
  • restacked on Scala SDK: add agent reflection and dynamic invocation #3812 with a merge commit; remains a draft

Verification

  • moon info regenerated the public reflection interface
  • moon check --target wasm: 0 errors, 7 warnings
  • reflection tests: 6 passed
  • focused MoonBit formatting and generated reflection-guide drift checks passed
  • binding generation completed, then its final host-neutrality audit detected the existing tool-core → tool-host dependency; failed-run output was restored with no committed drift
  • inherited validation includes WIT drift, Rust/TypeScript/Scala SDK checks, Scala guest runtime contracts, TypeScript agent-template rebuild, and focused reflected RPC coverage
  • fresh CI for head abc544a1d pending

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

📖 Docs preview: https://docs-qhuyxxnfo-golem-cloud.vercel.app

Built from commit abc544a1d5a271f194540f6c37c43a08e3c8d837 by docs.yaml.

@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from a4e69fa to 565b71f Compare September 5, 2026 11:10
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from eb46aa5 to b808f5c Compare September 5, 2026 12:33
@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from 565b71f to 59c55ba Compare September 5, 2026 16:29
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from b808f5c to e549ca6 Compare September 5, 2026 16:29
@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from 59c55ba to d38d4eb Compare September 5, 2026 16:36
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from e549ca6 to 1dadeaf Compare September 5, 2026 16:43
@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from d38d4eb to 762fc94 Compare September 7, 2026 09:58
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from 1dadeaf to f7dba52 Compare September 7, 2026 10:07
@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from 762fc94 to 590bf48 Compare September 8, 2026 16:48
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from f7dba52 to cd7f829 Compare September 8, 2026 16:49
@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from 590bf48 to e91e721 Compare September 8, 2026 17:40
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from cd7f829 to 45bd66a Compare September 8, 2026 17:40
@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from e91e721 to 85309d1 Compare September 8, 2026 17:46
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from 45bd66a to f6a6534 Compare September 8, 2026 17:47
@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from 85309d1 to 02f39b5 Compare September 8, 2026 19:32
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from f6a6534 to be9c3dd Compare September 8, 2026 19:32
@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from 02f39b5 to d23e36d Compare September 9, 2026 11:28
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from be9c3dd to ea12865 Compare September 9, 2026 11:41
@noise64
noise64 force-pushed the noise64/reflection-scala-sdk branch from d23e36d to 2e70472 Compare September 9, 2026 14:47
@noise64
noise64 force-pushed the noise64/gol-46-reflection-moonbit-sdk branch from ea12865 to 5b49a34 Compare September 9, 2026 14:47
@noise64

noise64 commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #3876, which is based directly on main.

@noise64 noise64 closed this Sep 13, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant