Repository navigation
Use flow repro evidence instead of failing-test-first guidance - #229
luca-schweigmann wants to merge 2 commits into
Conversation
Merge Protections🟠 1 of 2 protections blocking · waiting on 🤖 CI
🟠 Queue ready pull requestsWaiting for
Waiting checks:
|
Luca 18-10: tests where they make sense are fine, e.g. a behavior pin for a risky refactor, but not everywhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
[Medium impact] The instruction changes appear safe to merge once the required exact-head live gate passes. SummaryReplaces failing-test-first guidance at four instruction sites with before-and-after proof from the affected flow.
No actionable defects were established. This review did not rerun the reported checks or perform a live installation. luca-schweigmann explicitly deferred the remaining contradictory test guidance to a separate scoped change. luca-schweigmann also excluded candidate installation and live-gate publication from this task; Reviews (1) · Last reviewed commit: "Use flow repro evidence instead of faili..." · Reviewed by Greptile |
|
Closing: this was a local experiment for our fork; no upstream change intended. |
Fixes #228.
Bug-fix step 5 now keeps before/after repro evidence on the real surface or in the flow's existing deterministic E2E, without a new unit test or failing-test commit. Refactoring step 1 reuses that flow's E2E and adds its one deterministic E2E only when uncovered. The sequencing principle uses repro/baseline-then-fix; session-start drops direct TDD entry. The type-checked build remains a build step. CHANGES.md and UPSTREAM.md record the local adaptation. No new tests.
Assumptions: trunk is current ericlitman/open-pstack main per UPSTREAM.md, rather than the local luca branch. This PR changes only the four named instruction sites plus provenance; remaining contradictory guidance is intentionally unchanged. No candidate install, live-gate publication, or merge is part of this task.
Checks
bun run test: passed (Node suite and Bun runner suite; Bun: 502 passed, 0 failed).bun run typecheck: passed.bun run static: passed (includes manifest/static invariants).claude plugin validate ./plugins/pstack: passed.git diff --check: passed.Follow-up candidates (grep only; unchanged)
Paths below are relative to plugins/pstack/.
skills/tdd/SKILL.md: cheap-local-test auto-trigger, unit/component/integration preference, new failing regression test, and sibling coverage.skills/principle-test-behavior-not-implementation/SKILL.md: guidance to write/rewrite tests, mocked collaborator cases, and compile-time invariant tests; does not restrict the mechanism to flow E2E.skills/principle-foundational-thinking/SKILL.md: “tests before fixes” and test infrastructure as scaffold.skills/blast-radius/SKILL.md: “Write a script or test”.skills/poteto-help/SKILL.mdandskills/poteto-help/references/recipes.md: cheap-test bug routes to TDD.skills/poteto-mode/playbooks/autopilot-full.md: fix-forward requires a red test across defect sites.skills/poteto-mode/playbooks/orchestrate.md: frame and ledger acceptunit-test-verifiedas a behavioral verdict.skills/poteto-mode/scripts/orch/store.ts: matchingunit-test-verifiedverdict type, ranking and validation wording.These are candidates for a separate scoped change, not claims that every use of “test” requires removal.