pumuki 6.3.114 → 6.3.115

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
@@ -6,13 +6,14 @@ This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
- ## [6.3.114] - 2026-04-24
9
+ ## [6.3.115] - 2026-04-24
10
10
 
11
11
  ### Fixed
12
12
 
13
13
  - **`status` y `doctor` exponen `issues` canónicos también en evidencia `WARN`:** la línea publicada deja de reservar la lista de findings a estados bloqueados y pasa a emitir una advertencia consumible por automatización cuando governance está en atención operativa real.
14
14
  - **Hotfix mínimo sobre la superficie estable de `main`:** el contrato bloqueado existente se conserva, pero ahora la evidencia `WARN` produce `Governance requires attention (...)` como issue canónico sin arrastrar snapshots adicionales de `develop`.
15
15
  - **Cobertura de regresión de `INC-084` en la línea publicada:** nuevas pruebas fijan el caso `WARN` tanto en `status` como en `doctor`, manteniendo la semántica previa para estados `BLOCK`.
16
+ - **Regresión de `postinstall` resuelta en la línea publicada:** `captureRepoState` deja de importar `status.ts` y rompe el ciclo que hacía fallar `scripts/consumer-postinstall.cjs` con `ReferenceError: Cannot access 'captureRepoState' before initialization`.
16
17
 
17
18
  ## [6.3.108] - 2026-04-22
18
19
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- v6.3.114
1
+ v6.3.115
@@ -6,11 +6,12 @@ This file keeps only the operational highlights and rollout notes that matter wh
6
6
 
7
7
  ## 2026-04 (CLI stability and macOS notifications)
8
8
 
9
- ### 2026-04-24 (v6.3.114)
9
+ ### 2026-04-24 (v6.3.115)
10
10
 
11
11
  - **`issues` canónicos también para `WARN`:** `status` y `doctor` ya no dejan `issues=[]` cuando la evidencia operativa real está en atención (`WARN`) pero aún no bloquea el gate.
12
12
  - **Cierre útil de `PUMUKI-INC-084` en la línea publicada:** el consumer puede automatizar tanto estados `BLOCK` como `WARN` sin recombinar `attention_codes` y `human_summary_preview` por su cuenta.
13
- - **Rollout recomendado:** publicar `pumuki@6.3.114`, repin inmediato en `RuralGo` y revalidar `status --json` / `doctor --json` comprobando que la evidencia `WARN` ya aparece dentro de `issues`.
13
+ - **`postinstall` vuelve a ser instalable en consumers reales:** la release evita el ciclo en `repoState` que rompía `npm install pumuki@6.3.114`.
14
+ - **Rollout recomendado:** publicar `pumuki@6.3.115`, repin inmediato en `RuralGo` y revalidar `status --json` / `doctor --json` comprobando que la evidencia `WARN` ya aparece dentro de `issues`.
14
15
 
15
16
  ### 2026-04-22 (v6.3.108)
16
17
 
@@ -1,8 +1,10 @@
1
1
  import { execFileSync as runBinarySync } from 'node:child_process';
2
2
  import { existsSync, readFileSync } from 'node:fs';
3
3
  import { join } from 'node:path';
4
- import { readLifecycleStatus } from '../lifecycle/status';
4
+ import { LifecycleGitService } from '../lifecycle/gitService';
5
+ import { getPumukiHooksStatus } from '../lifecycle/hookManager';
5
6
  import { resolvePumukiVersionMetadata } from '../lifecycle/packageInfo';
7
+ import { readLifecycleState } from '../lifecycle/state';
6
8
  import { readPersistedHardModeConfig } from '../policy/policyProfiles';
7
9
  import type { RepoHardModeState, RepoHookState, RepoState } from './schema';
8
10
 
@@ -73,10 +75,13 @@ const toAheadBehind = (
73
75
  };
74
76
 
75
77
  const readLifecycleStatusSafe = (repoRoot: string): LifecycleStatusShape => {
78
+ const git = new LifecycleGitService();
76
79
  try {
77
- return readLifecycleStatus({
78
- cwd: repoRoot,
79
- });
80
+ return {
81
+ lifecycleState: readLifecycleState(git, repoRoot),
82
+ packageVersion: resolvePumukiVersionMetadata({ repoRoot }).resolvedVersion,
83
+ hookStatus: getPumukiHooksStatus(repoRoot),
84
+ };
80
85
  } catch {
81
86
  return {
82
87
  lifecycleState: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki",
3
- "version": "6.3.114",
3
+ "version": "6.3.115",
4
4
  "description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
5
5
  "main": "index.js",
6
6
  "bin": {