add gstack 2 parity and lifecycle gates

This commit is contained in:
Sinabina
2026-07-17 11:08:32 -07:00
parent b6572ebbb7
commit 9919c4cdd3
212 changed files with 29098 additions and 3845 deletions
+3 -3
View File
@@ -170,10 +170,10 @@ describe("fail closed on unscannable diffs (#1946)", () => {
describe("install UX surfaces (#1946 / eng review D3+D10)", () => {
const ROOT = path.resolve(import.meta.dir, "..");
test("setup carries the hint only — never a per-repo install (it runs in the wrong repo)", () => {
test("setup delegates skill placement and owns no per-repo hook hint or install", () => {
const setup = fs.readFileSync(path.join(ROOT, "setup"), "utf8");
expect(setup).toContain("redact_prepush_hook");
// The hint must not invoke the installer from setup.
expect(setup).toContain("npx skills add time-attack/gstack");
expect(setup).not.toContain("redact_prepush_hook");
expect(setup).not.toContain("install-prepush-hook");
});