jorgex-stack 1.9.72 → 1.9.74

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jorgex-stack",
3
- "version": "1.9.72",
3
+ "version": "1.9.74",
4
4
  "description": "Harness multi-agente portable: instala la config JorgeX (agentes, skills, hooks, Engram, MCPs) en Claude Code, Codex CLI, OpenCode y Pi",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -49,7 +49,8 @@
49
49
  "prepublishOnly": "pnpm typecheck && pnpm test && pnpm build"
50
50
  },
51
51
  "dependencies": {
52
- "@clack/prompts": "^1.5.1"
52
+ "@clack/prompts": "^1.5.1",
53
+ "jsonc-parser": "3.3.1"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@types/node": "^25.9.2",
@@ -35,13 +35,13 @@ Apply the risk, existing-protection, behavior, seam, and non-duplication rules f
35
35
  1. Compare each changed behavior with the actual evidence in existing or changed tests.
36
36
  2. Evaluate refactor resistance, determinism, accidental `test.only`/exclusive-focus slips, stable UI semantics, negative cases, and async/concurrency behavior only where relevant to the diff.
37
37
  3. Report an actionable gap only when the existing evidence cannot catch a meaningful regression. Name that failure, the test considered, the proposed seam, and its criticality.
38
- 4. Separately flag brittle, redundant, nondeterministic, or implementation-coupled tests worth fixing or removing.
38
+ 4. Separately flag brittle, redundant, nondeterministic, or implementation-coupled tests, repeated setup/fixtures/helpers, and suites fragmented by task, delivery or RED/GREEN phase rather than contract. Before supporting Ready, assess whether the assigned test structure can be simplified with equivalent protection and isolation; do not merge setups that protect distinct boundaries. Report structural duplication as a test-quality finding, not a missing-coverage gap; the coordinator routes the fix to its owner.
39
39
 
40
40
  ## Rating guidelines
41
41
 
42
42
  - **8–10 — Critical**: Data loss, security issue, system failure, or substantial business/user failure without sufficient evidence
43
43
  - **5–7 — Important**: Concrete user-facing, business, or operational regression with moderate impact
44
- - **1–4**: Not a missing-test finding; mention only a brittle or redundant existing test worth removing
44
+ - **1–4**: Not a missing-test finding; mention only a brittle or redundant test or setup worth simplifying
45
45
 
46
46
  ## Output format
47
47
 
@@ -51,7 +51,7 @@ Apply the risk, existing-protection, behavior, seam, and non-duplication rules f
51
51
  4. **Test Quality Issues**: Brittle, redundant, nondeterministic, or implementation-coupled tests
52
52
  5. **Positive Observations**: Strong existing decisions and evidence
53
53
 
54
- For every recommendation, state the failure it would catch, why existing protection is insufficient, and why the proposed seam is stronger than another layer.
54
+ For a coverage recommendation, state the failure it would catch, why existing protection is insufficient, and why the proposed seam is stronger than another layer. For a structural quality finding, identify the duplicated preparation, its maintenance cost, the proposed reuse or consolidation, and the contracts and isolation that must remain intact; do not invent missing coverage to justify simplification.
55
55
 
56
56
  ## Result contract
57
57
 
@@ -19,6 +19,8 @@ Your job is to produce the strongest testing evidence for the risk—not to maxi
19
19
 
20
20
  Inspect the complete relevant contract (implementation, public API, docs, configuration, and existing tests), then detect the project's real runner, script/command, setup, scope, and helpers. Mirror local naming and assertion conventions; use tooling already installed. Documented project scripts, including `pnpm`, `npm`, and similar package-manager scripts, are valid. Do not add dependencies or invent a second testing stack; prohibit only invoking or resolving a command that could auto-install a missing runner/tool or require interaction without permission. If a needed suite or boundary infrastructure is absent, propose the missing protection or state the limitation rather than turning absence into a no-test decision.
21
21
 
22
+ Organize suites by behavior or contract, not by task, delivery or RED/GREEN phase. Before creating another suite or setup, reuse relevant existing helpers and fixtures within the assignment. Share only genuinely common preparation; keep distinct boundaries and state isolation separate. One authoritative seam does not mean one test case: preserve meaningful positive, negative, platform and real-SDK cases.
23
+
22
24
  When time/timezone, randomness/IDs, ordering, shared state, filesystem, or network can affect the evidence, control only the relevant sources with isolated temporary fixtures and cleanup; keep expected-error assertions narrow and unexpected output visible.
23
25
 
24
26
  Make one explicit testing decision: