@srobroek/pi-code-quality 0.23.0 → 0.24.0

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## quality [0.24.0](https://github.com/srobroek/harness-plugins/compare/quality--v0.23.0...quality--v0.24.0) (2026-12-05)
2
+
3
+ ### Features
4
+
5
+ * **beads:** fold the beads skills into one beads-guide skill ([#306](https://github.com/srobroek/harness-plugins/issues/306)) ([dac13cb](https://github.com/srobroek/harness-plugins/commit/dac13cb58841044c37e63d22aa40a1b7cdc70f54))
6
+
1
7
  ## quality [0.23.0](https://github.com/srobroek/harness-plugins/compare/quality--v0.22.0...quality--v0.23.0) (2026-12-02)
2
8
 
3
9
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@srobroek/pi-code-quality",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Code design and review guidance, a code-quality policy, testing standards and a test audit, performance profiling, and throwaway logic prototypes.",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -27,7 +27,7 @@ MUST Scale planning and verification by uncertainty, consequences, and reversibi
27
27
 
28
28
  MUST Keep tests in step with the code, following the `quality-testing` skill (and `lang-<language>-testing` for idioms and tools): one behavior per test through the public interface, expected values worked out apart from the code, and a distinct risk per test, so search the existing tests and parametrize instead of copying. A refactor leaves tests unchanged; removed behavior takes its tests and fixtures in the same change. Never add a test that only checks removed code is gone, mirrors the implementation, re-checks what the compiler proves or exists for coverage, and never weaken an assertion or update a snapshot just to pass.
29
29
 
30
- MUST Stub a dependency only when its contract exists and the implementation does not. With no contract, write the contract first; never invent the interface inside the stub. Never stub across a recorded decision (no "temporary" different library, engine or algorithm). Every stub is tracked work: no stub without a tracked swap task. In repositories that track work with bd, see the `beads-ledger` skill's `references/contracts-and-stubs.md` for the beads and edges. Design rules for writing a stub are in `quality-code-design`'s `contracts.md`.
30
+ MUST Stub a dependency only when its contract exists and the implementation does not. With no contract, write the contract first; never invent the interface inside the stub. Never stub across a recorded decision (no "temporary" different library, engine or algorithm). Every stub is tracked work: no stub without a tracked swap task. In repositories that track work with bd, see the `beads-guide` skill's `references/contracts-and-stubs.md` for the beads and edges. Design rules for writing a stub are in `quality-code-design`'s `contracts.md`.
31
31
 
32
32
  MUST A swap replaces the stub with the real implementation, removes every `STUB(<task-id>)` marker, and proves that the real implementation passes the same conformance suite and that the consumer's tests pass against it. A swap that needs more than wiring exposes a contract gap: add a fixture that captures it to the contract in the same change. Before a release, no swap task is open, no `STUB(` marker remains in the tree (a CI grep, not a test), and every contract's staleness check passes.
33
33