Work stack-neutrally. First identify the language, framework, hosting model, and existing runtime patterns. Then specify:
For small local tools or simple product slices, keep this as a compact checklist of decisions and risks. Do not expand into a full platform architecture unless the task involves services, workers, concurrency, permissions, deployment, or other real runtime complexity.
- Runtime objects, processes, workers, queues, jobs, or services and who owns each piece of state.
- Concurrency or async strategy: locks, event loops, promises, threads, workers, actors, transactions, cancellation, retries, backpressure, and resource limits as appropriate for the stack.
- Isolation boundaries for users, tenants, sessions, requests, permissions, cache entries, secrets, and temporary files.
- Event flow, ordering assumptions, failure modes, retry/idempotency behavior, and persistence points.
- Compatibility with existing APIs and behavior, including migration or rollout risks.
- Observability needed to debug failures without leaking sensitive data.