Race condition on shared state
Async functions that mutate shared state after an await boundary should be reviewed for races.
#Metadata
#Why it matters
Mutating outer-scope or instance state after suspension can interleave with concurrent callers and corrupt shared state.
#Remediation
Isolate the state per request, serialize access, or move the mutation before the await boundary.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.shared-state-race.rule.yaml.