repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

feat(the-system): require vertical slices for exec

d677f4f8f9bb506d8d9a4502a82ed18644dad57b

Oliver Jan Krylow <oliver@bugabinga.net> ·

SSH signature · not checked

Browse filesCompare with HEAD

Changed files (2)

extensions/the-system/__tests__/the-system.test.ts

Modified
118 118 assert.match(prompt, /migrate existing bundles to schema 0/);
121 + it("requires exec to deliver complete vertical slices", () => {
122 + const prompt = systemPromptFor("exec", "");
123 + assert.match(prompt, /Load the vertical-slices skill/);
124 + assert.match(prompt, /thin vertical slices/);
125 + assert.match(prompt, /complete, observable behavior/);
126 + assert.match(prompt, /Do not batch work horizontally/);
127 + assert.match(prompt, /freshly verify each slice before starting the next/);
128 + });
121 130 it("registers /system and scoped extension tools", () => {
122 131 const commands: string[] = [];
123 132 const tools: string[] = [];

extensions/the-system/system-prompts.ts

Modified
66 66 Valid exec inputs: spec; spec+plan; optional issue context.
67 67 Plan inputs must be status: approved.
68 68 The current phase is already project context; do not request or attach it as an exec input.
69 +Load the vertical-slices skill before implementation.
70 +Execute in thin vertical slices of artifact-required behavior.
71 +Each slice delivers one complete, observable behavior through the system's user-facing or public interface, crossing every layer that behavior requires.
72 +Do not batch work horizontally by architectural layer or component.
73 +Integrate, test, and freshly verify each slice before starting the next; leave the repository working after every slice.
69 74 Use tests for nontrivial behavior.
70 75 Debug root cause before fixing bugs.
71 76 Before claiming implementation complete, run fresh verification and read the full result.