Engineering
Choose durable identifiers for skill executions
Keep a run identifiable across retries, restarts, and external callbacks.
A skill execution can generate multiple traces, requests, and result artifacts. A durable run identifier helps users and operators follow one workflow across those events, while separate action identifiers establish which side effects belong to it.
Assign identities at stable boundaries
Create the run ID when application state accepts the request. Give each independently retriable side effect its own operation identifier. Use the provider’s identifiers for remote lookup where appropriate. Avoid encoding user names or raw content in identifiers carried across service boundaries.
Choose generation requirements deliberately
Use a documented identifier scheme with sufficient uniqueness for the system. UUID variants differ in properties including ordering and timestamp exposure, so select one based on lookup and privacy needs. A readable reference can be shown to users without serving as the raw storage key.
Check joins and recovery
Make sure a resumed worker preserves the original run ID. If it produces a new operation, verify the application can distinguish that action from an existing retry. Test a support lookup starting from the user-visible reference and ending at the relevant outcome without exposing restricted records.