Capability map
Sources of authority
Every behavior has a visible source:- Contract-derived behavior comes from OpenAPI, Smithy, or semantic TypeScript.
- Provider-authored behavior comes from public HCL outcomes, effects, scenarios, faults, and setup declarations.
- Convention-inferred behavior covers conservative cases such as one unambiguous database entity and ordinary create, read, list, or delete operations.
- Observed behavior comes from sanitized proxy evidence and remains a draft until a provider reviews it.
simile describe service --verbose shows the assembled model. simile audit identifies gaps,
unconstrained synthesis, and inferred behavior that still needs review.
Where provider authorship is required
Simile deliberately asks the provider to describe public behavior when the contract cannot prove it. Common examples include:- lifecycle transitions controlled by public request fields;
- operation-specific errors and their public triggers;
- multi-entity mutations or custom lookup keys;
- totals, currencies, eligibility, or optional data that must reconcile across a payload;
- background work, outbound calls, and webhook emissions; and
- authentication setup that issues local credentials or collects caller configuration.
x-simile-from-request and
x-simile-constraints for payload relationships. Use HCL for public
outcomes and consequences. Private risk models and internal implementation decision trees do not
belong in either source.
Explicit limits
Transport
The built-in server handles buffered HTTP requests. TLS termination, mutual TLS identity, WebSockets, server-sent events,CONNECT tunnels, and streaming bodies require another adapter or
remain future work. Unsupported media types and parameter styles fail clearly during compilation or
request handling.
State and replay
Simile persists Stack state, deferred work, profiles, and reports underSIMILE_HOME. Automatic
CRUD inference applies only when the entity, database, and identity are unambiguous. More complex
state transitions need authored effects or state projections.
Operation response replay for idempotency keys and GET resource identities currently belongs to
one running service process. Reproduction bundles remain portable across processes because they
carry the compiled artifact, request, and seed.
Proxy learning
simile proxy --learn is designed for local development. It buffers request and response bodies,
limits each body to 16 MiB, redacts recognized credentials, and may retain business values needed
for inference. Review its evidence directory before sharing it. Production capture and transparent
streaming proxy support are outside the current workflow.