chore(review): 1103 세션 owner 조치 브랜치를 합친다
Refs: docs/reviews/2026-11-03-maturity-review/README.md 09-03 09-11 # Conflicts: # docs/manual/02-decision-tables.md
This commit is contained in:
@@ -148,7 +148,14 @@ const results = [
|
||||
},
|
||||
{
|
||||
id: "production-imports-recipe",
|
||||
passed: ruleIds.has("PRODUCTION_IMPORTS_RECIPE"),
|
||||
// 1103/09-03. Both recipe folders, one fixture each.
|
||||
passed: ["bad.ts", "bad-session-owner.ts"].every((file) =>
|
||||
productionViolations.some(
|
||||
(violation) =>
|
||||
violation.ruleId === "PRODUCTION_IMPORTS_RECIPE" &&
|
||||
violation.path.endsWith(`/src/${file}`),
|
||||
),
|
||||
),
|
||||
},
|
||||
{
|
||||
id: "reference-runtime-not-composed",
|
||||
|
||||
@@ -261,7 +261,10 @@ export async function scanOptionalRecipeSources(
|
||||
(path.basename(path.resolve(root)) === "src" &&
|
||||
!relativeToRoot.startsWith(".."))) &&
|
||||
imports.some((specifier) =>
|
||||
/(?:^|\/)recipes\/frontend-capabilities(?:\/|$)/.test(specifier),
|
||||
// 1103/09-03. Session owner recipes are copied too, never imported.
|
||||
/(?:^|\/)recipes\/(?:frontend-capabilities|session-owners)(?:\/|$)/.test(
|
||||
specifier,
|
||||
),
|
||||
)
|
||||
) {
|
||||
violations.push({ ruleId: "PRODUCTION_IMPORTS_RECIPE", path: relative });
|
||||
|
||||
Reference in New Issue
Block a user