jorgex-stack 1.0.29 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -146,6 +146,16 @@ Status, wave and dependencies live in the plan.md table (single home) — do NOT
146
146
 
147
147
  - [Rule]
148
148
 
149
+ ## Testing decision
150
+
151
+ - **Risk**: [meaningful regression this task can introduce]
152
+ - **Existing protection**: [specific existing test/evidence, or none]
153
+ - **New behavior**: [behavior needing new protection, or none]
154
+ - **Chosen seam**: [unit/component/database/integration/contract/e2e and why it is closest to the risk]
155
+ - **Action**: [add | update | reuse | no new test] — [concrete reason]
156
+
157
+ Prefer one authoritative test per behavior. Another layer is justified only when it protects a distinct contract. Styling, wiring, generated code, mechanical refactors, and trivial changes may use `no new test`; business rules, bugs/regressions, public contracts, and invariants should normally use TDD.
158
+
149
159
  ## Acceptance criteria
150
160
 
151
161
  [VERIFIABLE and SPECIFIC criteria — not generic. Each must be checkable manually or automatically.]
@@ -110,9 +110,11 @@ Every piece of information about a piece of work has exactly ONE home — never
110
110
 
111
111
  ## Testing and Verification
112
112
 
113
- - When the project has tests or the change affects behavior, testing is mandatory.
114
- - For new features, bug fixes, or behavior changes, use TDD when it fits.
115
- - Use the `tdd` skill for red-green-refactor, test-first work, or integration-style behavior testing.
113
+ - When the project has tests or the change affects behavior, verification is mandatory. A new test is not.
114
+ - Make one explicit testing decision per change: what risk it introduces, what existing test already covers it, what new behavior needs protection, and why no new test is needed when the change is trivial, mechanical, or already covered.
115
+ - Use TDD for business rules, bugs/regressions, public contracts, and invariants. Do not impose it on styling, wiring, generated code, mechanical refactors, or trivial code unless they change meaningful behavior.
116
+ - Prefer one authoritative test at the strongest seam closest to the risk. Add coverage at another layer only when it protects a distinct contract, not to repeat the same behavior.
117
+ - Use the `tdd` skill for red-green-refactor, test-first work, or risk-based behavior testing.
116
118
  - Prefer targeted verification before broad suites.
117
119
  - Default order: specific test > partial suite > full suite.
118
120
  - Use the real test commands and test stack of the project.
package/upstreams.json CHANGED
@@ -74,7 +74,8 @@
74
74
  "tdd": {
75
75
  "source": "github:mattpocock/skills",
76
76
  "path": "skills/engineering/tdd",
77
- "commit": "694fa30311e02c2639942308513555e61ee84a6f"
77
+ "commit": "694fa30311e02c2639942308513555e61ee84a6f",
78
+ "modified": true
78
79
  },
79
80
  "to-issues": {
80
81
  "source": "github:mattpocock/skills",
@@ -1,11 +0,0 @@
1
- <!-- jorgex:programmatic-mode -->
2
- ## Programmatic Mode
3
-
4
- - Use English only.
5
- - Keep replies compact and direct.
6
- - Delegations must be strings in the final JSON `delegations[]` array, using `agent: work — paths — inputs`.
7
- - Do not emit Markdown delegation lines.
8
- - Use the strict final JSON handoff.
9
- - `delegations[]` is only for work that belongs to another specialist; uncertainty questions go in `summary` or `risks`, not in `delegations[]`.
10
- - If task-critical uncertainty could make the task wrong, set `status` to `blocked` and include one concrete question to the main agent/orchestrator, with what you checked and the decision needed.
11
- - If the safe path is clear, do the safe part and report the remainder as `partial`.