#Verify an implementation
Conformance checks whether an implementation follows FLOW's portable contracts. The public Run/0 corpus provides executable evidence for the current candidate. Its README explains how to run it and where its evidence ends.
Use the exercise below to follow both directions of an invocation. Then test the boundaries your implementation claims:
#Run a caller and dependency
This illustrative exercise runs a caller and greeter through a small host. It uses Node 24, npm, and Python 3.11+ on Linux or macOS. The public Run/0 test peer uses Python's standard library. It checks framing and process completion.
Run trusted code with the clean environment shown below. The peer inherits its launching process's environment and supplies no descendant containment. Use it to test the protocol, rather than as a production host library.
Create an empty directory and install the published SDK:
Save this caller as FLOW.mjs:
Declare its dependency in FLOW.meta.json:
Save this implementation as greeter/FLOW.mjs. Both packages use the installed
SDK in this local exercise:
Save the public peer's run0_peer.py in the exercise directory.
Save the following as host.py.
It serves one exact dependency call for these illustrative packages.
A general host also owns validation, authority, concurrency, channels, and the complete execution lifecycle.
Run the exercise without ambient credentials:
The expected output is:
#Modify the dependency
Change Hello, to Welcome, in the greeter.
Update the final expected message in host.py, then run the exercise again.
The caller receives the new result through the same interface.
#Check a failure
Remove output from the greeter's return value, then run again.
The SDK rejects the invalid result. The host exits unsuccessfully and prints no successful result.
A component also fails completion when it emits trailing stdout or exits nonzero after responding.
#Bound the claim
Protocol evidence establishes the tested exchange and lifecycle behavior. A host's threat model also covers filesystem and network authority, resource limits, credentials, descendants, and cleanup. Verify those controls separately against the intended environment. Method declarations describe requirements. Host policy supplies their powers.
Use the corpus's evidence matrix to describe the cases actually tested. An SDK smoke test and a qualified host execution path establish different kinds of support. Keep that distinction visible in your implementation's support documentation.
Return to host implementation, SDK implementation, or the specification map.