Skip to main content
Simile can prepare a technical report when an emulator result contradicts its compiled service. Every report carries a self-contained reproduction case. Simile runs that case before submission, so the report begins with an observed and repeatable failure.

Declare the destination

The service provider publishes one HTTPS destination in its Simfile:
This declaration makes reporting available. The person running Simile decides whether any report may be sent and which contact address accompanies it. A provider cannot enable reporting from the service definition. The endpoint uses HTTPS. Loopback HTTP addresses are accepted for local receiver development.

Choose during setup

When the service declares a destination, interactive setup offers automatic reporting after it creates the profile:
For CI or another non-interactive environment, make the choice explicit:
Consent belongs to the service profile. Inspect or change it with:
Contact addresses are stored in private files under ~/.simile/reporting/. Human-readable output masks the address. The preference also remembers the destination shown during consent. If a service update changes that destination, run simile reporting … --mode automatic --contact … again to consent to the new receiver; Simile does not silently move automatic reports elsewhere.

What automatic reporting does

Automatic reporting watches internal emulator failures while simile start or simile test is running. Caller errors such as malformed JSON, invalid request fields, missing authentication, and permission failures remain ordinary API responses. For a reportable failure, Simile:
  1. keeps the exact compiled artifact, operation, seed, scenario, and fault profile;
  2. removes values from fields whose names identify credentials or secrets;
  3. omits non-JSON request bodies that it cannot sanitize safely;
  4. runs the sanitized case locally and requires the same diagnostic;
  5. ignores a duplicate of an existing report fingerprint;
  6. saves the report and reproduction under ~/.simile/reports/;
  7. asks the receiver whether a newer Simile or service definition is available; and
  8. submits only when the preflight returns no upgrade recommendation.
Reporting work runs outside the HTTP request path. A full reporting queue drops additional candidates instead of consuming unbounded memory. Reporting failures appear in Simile’s diagnostic logs and never stop the emulated service.

Prepare a report yourself

Start with a reproduction bundle that demonstrates the inconsistency:
Prepare the report:
Simile verifies the bundle before creating a report. The command prints its rpt_… identifier and local directory. Review report.json and case.simile-repro/ there before sending. Send with a one-time contact address:
If the report names a profile with automatic reporting enabled, its saved contact may be used:
Use simile reports to list local reports and simile report REPORT_ID to inspect one.

Upgrade preflight

A report receiver can recommend a newer Simile release or provider service definition. Simile then marks the report awaiting_upgrade and prints the upgrade command. Reproduce again after upgrading; the newer version may already contain the correction. When the behavior must be reported against the captured version, send it explicitly:

Evidence and contact boundaries

report.json contains technical metadata, the diagnostic, artifact digest, verification fingerprint, and whether the reporter can be contacted. It contains no contact address. The submission sends contact and consent as a separate reporter part. The receiver can keep technical evidence and personal data under different retention and access policies. Submitted reports initially remain pending while the receiver independently runs the attached case. Continue with Reproduction bundles for the case format and Reporting endpoint for the receiver protocol.