Skip to content

Commit 771a736

Browse files
committed
fix(audits): guard the route wrapper against lib/mothership, not the removed lib/copilot
The Copilot modules moved to lib/mothership in the v1.0.0 rename, so the route-wrapper graph guard was banning a directory that no longer exists.
1 parent 2cef19f commit 771a736

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/check-application-graph.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const ROUTE_WRAPPER_FORBIDDEN_PREFIXES: Record<string, string> = {
108108
'the permission-group resolver — the wrapper only opens the memo scope; the resolver ' +
109109
'belongs to the gate call sites, and it is what dragged billing in',
110110
'lib/auth': 'the auth graph — the wrapper wraps handlers that authenticate, it does not',
111-
'lib/copilot/': 'the copilot graph',
111+
'lib/mothership/': 'the Mothership (Chat agent) graph',
112112
'lib/knowledge/': 'the knowledge-base graph',
113113
}
114114

0 commit comments

Comments
 (0)