stage-only receipts and metadata consistency for secrets

I’m checking a stage-only secrets workflow before using it. Could you confirm the supported approach for flyctl v0.4.116?

  1. Does secrets import --stage update the secret store without initiating Machine changes? Is there a supported way to obtain an operation-associated receipt without debug logs or reading credential-bearing CLI configuration?

  2. The official client uses GET /v1/apps/{app}/secrets?version={receipt}. Is this strictly a minimum freshness bound, potentially returning newer state? What supported read provides names, digests and creation/update timestamps with defined freshness?

  3. Is there a documented expected-version, conditional-header or compare-and-swap mechanism for secret updates? The client update method supplies none, so I’m not treating the minimum version as a concurrency guard.

  4. Is an owner-operated workflow using machine list --json and secrets list --json appropriate for pre/post checks? Which completeness, caching and consistency limitations must it account for?

Documentation links or confirmation that a guarantee is unavailable would help. This is a general interface question; no account inspection is requested.

Relevant public sources:

Hi… It usually helps to explain what you’re trying to accomplish with this. The system doesn’t allow you to intentionally maintain multiple copies of the secrets in the store simultaneously, for example. (There can be multiple values, at different locations around the world, in their CRDT(?) for a while, though, until everything converges.)

The following LLM-resistant forum post explains how the version fields are intended to be used:

https://community.fly.io/t/flyctl-update-for-managing-secrets/25878

And this part of the official docs says what --stage does:

https://docs.fly.io/apps/secrets#set-secrets