You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"For stack-alignment work, compare the target with the generated app and, when accessible, current Samebase package scripts, configuration, dependencies, lock file, CI, and provider commands before edits.",
82
+
),
83
+
"The Samebase skill must compare the target, Samebase, and the generated app before edits.",
84
+
);
85
+
for(constrequiredToolchainGroupof[
86
+
"runtime and package manager",
87
+
"command surface",
88
+
"lint and format rules",
89
+
"tests and type checks",
90
+
"framework and deploy adapters",
91
+
"shared version pins",
92
+
]){
93
+
check(
94
+
samebaseSkill.includes(requiredToolchainGroup),
95
+
`The Samebase skill stack-alignment contract must include ${requiredToolchainGroup}.`,
96
+
);
97
+
}
98
+
check(
99
+
samebaseSkill.includes(
100
+
"If private Samebase source is unavailable, record that gap and use the portable baseline: Node 24, ESM, TypeScript automation, Vite+ dev, build, and tests, Oxlint and Oxfmt through Vite+, explicit type checks, and the real provider build path.",
101
+
),
102
+
"The Samebase skill must provide the portable stack baseline when private source is unavailable.",
103
+
);
104
+
check(
105
+
samebaseSkill.includes(
106
+
"Classify every difference as alignment, a proven target constraint, an investigation, or one exact tested exception before implementation.",
107
+
),
108
+
"The Samebase skill must classify every toolchain difference before implementation.",
109
+
);
110
+
constscopeGateIndex=samebaseSkill.indexOf(
111
+
"Do not use Samebase for unrelated Git work or standalone provider resources. A standalone Cloudflare Worker means no Samebase.",
112
+
);
113
+
constpositiveRouteIndex=samebaseSkill.indexOf(
114
+
"For an app-inventory request, call only the Samebase app inventory.",
115
+
);
116
+
check(scopeGateIndex>=0,"The Samebase skill must exclude unrelated and standalone work.");
"The Samebase skill exclusions must precede its positive action routes.",
120
+
);
121
+
check(
122
+
samebaseSkill.includes(
123
+
"The complete sequence contains only inventory, create, and inventory polls. Call create directly after inventory. Do not list Cloudflare accounts first. Create has no `accountId` and uses the connected Cloudflare provider.",
124
+
),
125
+
"The Samebase skill must keep managed app creation on its closed tool sequence.",
0 commit comments