mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-11 21:57:14 +03:00
* Fix CSP and hook ancestor discovery Recognize Next.js 16 proxy files when detecting runtime CSP and mirror harness ancestor lookup when locating active hook manifests for nested projects. AI assistance disclosure: Implemented and verified with Codex under maintainer direction. * Tighten hook and proxy discovery AI assistance disclosure: Codex implemented and verified these fixes under maintainer direction. * Honor ancestor hook disable config AI assistance disclosure: Codex implemented and verified this fix under maintainer direction. * Keep hook discovery within target repository Stop manifest discovery at the target repository boundary instead of re-adding an outer workspace root, with regression coverage for nested Git targets. AI assistance disclosure: This commit was prepared with Codex under maintainer direction. * Detect proxy CSP in nested Next apps Recognize proxy files at root or src placement relative to nested Next project markers while continuing to ignore unrelated proxy helpers. AI assistance disclosure: This commit was prepared with Codex under maintainer direction. * Resolve external targets from their own repository Scope explicit sibling targets to their own Git root so caller context and hook manifests cannot suppress required detector guidance. AI assistance disclosure: This commit was prepared with Codex under maintainer direction. * Isolate explicit targets at Git boundaries Keep nested repositories and external targets out of caller and home-level context or hook discovery. AI assistance disclosure: Codex helped implement and test this fix under maintainer direction.
16 lines
336 B
JSON
16 lines
336 B
JSON
{
|
|
"name": "Next.js 16 (proxy CSP)",
|
|
"config": {
|
|
"files": ["app/layout.tsx"],
|
|
"insertBefore": "</body>",
|
|
"commentSyntax": "jsx"
|
|
},
|
|
"sourceFiles": ["proxy.ts", "app/layout.tsx"],
|
|
"generatedFiles": [],
|
|
"wrapCases": [],
|
|
"csp": {
|
|
"shape": "middleware",
|
|
"signals": ["proxy.ts:Content-Security-Policy"]
|
|
}
|
|
}
|