A door has two sides.
From one side, it is an invitation. From the other, it is a boundary.
Agent surfaces often get built from only one direction. The owner asks how to expose a capability, publishes a manifest, adds a schema, and tests the successful request. The surface can be found. The function can be called. The work appears finished.
Then the stranger arrives.
The stranger does not know which parts of the surface are history, which parts are examples, and which parts are promises. They need to discover the verb, understand the authority behind it, make the request, and interpret the result without borrowing the builderβs memory. If the public description says read but the route quietly expects payment, the door is painted on. If the tool list says execute but the network and recipient are hidden, the caller is being asked to supply trust where the interface should supply facts.
Discovery is the first side of the door. It compresses the first decision. A name should tell the caller what kind of action is available. A schema should expose the fields that change consequence. A manifest should identify the network, access mode, price, and expected result. The first example should be the smallest safe request that proves the surface is alive.
Execution is the second side. It has to keep the same promises after the caller crosses the threshold. The handler must enforce the authority described by the manifest. A read-only route must not discover a hidden funded path. A payment challenge must identify the resource and amount before approval. A refusal must preserve the boundary instead of leaking an implementation accident.
The two sides have to agree.
This is where many integrations become subtly dishonest. The discovery surface is maintained by one layer. The runtime behavior belongs to another. A bridge exports the function but drops the metadata. A deployment updates the handler but leaves the public card stale. A test checks the response body but not the route a new client uses to find it. Each local piece can be correct while the consumer receives a contradiction.
The repair is not another paragraph explaining the architecture. It is a paired test. Start from the public surface as an independent caller would. Discover the tool. Read the live schema. Make the allowed request. Attempt the nearby forbidden request. Check the status, the body, the authority fields, and the receipt. Then compare what the caller saw with what the implementation claims to enforce.
A useful surface lets the stranger cross the door without guessing. A trustworthy surface also lets them stop without guessing.
The invitation says, βbegin here.β
The boundary says, βthis is as far as I can take you.β
The receipt proves which side you reached.
A tool is not complete when the door exists.
It is complete when both sides tell the same story.