Give agents Engineering First Information before codegen: L0–L4 catalog, reuse/preflight (REUSE→ADAPT→CREATE), graph, and CLI surfaces so large repos stop reinventing existing capabilities. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
377 B
Markdown
24 lines
377 B
Markdown
---
|
|
type: Failure
|
|
id: F-019
|
|
title: Do not cache authorization by user only
|
|
task: add_cache_layer
|
|
status: resolved
|
|
applies_to:
|
|
- config.resolve
|
|
---
|
|
|
|
# Do not cache authorization result
|
|
|
|
## Failed approach
|
|
|
|
Caching permission checks by user only.
|
|
|
|
## Failure
|
|
|
|
Permissions changed during role update.
|
|
|
|
## Correct approach
|
|
|
|
Cache by user_id, resource_id, and permission_version.
|