@principles/host-runtime 4.3.0 → 4.3.1

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.
@@ -35,7 +35,7 @@ import fs from 'node:fs';
35
35
  import path from 'node:path';
36
36
  import { randomUUID } from 'node:crypto';
37
37
  import Database from 'better-sqlite3';
38
- import { collectSync, computeFeatureFlagsFromConfig, CORRECTION_SEED_KEYWORDS, PainToPrincipleService, PrincipleTreeLedgerAdapter, RuntimeStateManager, createDiagnosticianTaskId, disposePainSignalBridgesForWorkspace, sanitizeString, boundCorrectionEvidenceText, MAX_EVIDENCE_VALUE_CHARS, evaluateStage2ConfidenceGate, evaluatePainIngress, migrateLegacyGfiSchema, STAGE2_MAX_ATTEMPTS, PENDING_CANDIDATE_TTL_MS, } from '@principles/core/runtime';
38
+ import { collectSync, computeFeatureFlagsFromConfig, CORRECTION_SEED_KEYWORDS, PainToPrincipleService, PrincipleTreeLedgerAdapter, RuntimeStateManager, createDiagnosticianTaskId, sanitizeString, boundCorrectionEvidenceText, MAX_EVIDENCE_VALUE_CHARS, evaluateStage2ConfidenceGate, evaluatePainIngress, migrateLegacyGfiSchema, STAGE2_MAX_ATTEMPTS, PENDING_CANDIDATE_TTL_MS, } from '@principles/core/runtime';
39
39
  import { deriveProductionCorrectionPainIdentity, hasProductionPainSchema, } from './production-pain-evidence.js';
40
40
  import { promoteGovernanceEvidence, ensureGovernanceSchema } from './governance-observation-store.js';
41
41
  import { loadPdConfigForPlugin } from './pd-config.js';
@@ -1880,10 +1880,6 @@ export async function ensureGovernanceDiagnosticianTask(input) {
1880
1880
  : {}),
1881
1881
  recordObservability: true,
1882
1882
  });
1883
- // recordPain (async) leaves a cached bridge holding open SQLite
1884
- // handles; this seam runs per reconciliation cycle under the Slice C
1885
- // worker, so release it immediately (hook processes exit anyway).
1886
- await disposePainSignalBridgesForWorkspace(workspaceDir).catch(() => undefined);
1887
1883
  if (result.status === 'failed') {
1888
1884
  // Concurrent-ensure race (hook redelivery × worker reconcile): both
1889
1885
  // callers passed the getTask probe before either committed, and the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@principles/host-runtime",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Shared host-neutral orchestration for Principles Disciple MVP-Core hook paths.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "lint": "eslint \"src/**/*.ts\""
36
36
  },
37
37
  "dependencies": {
38
- "@principles/core": "^7.9.0",
38
+ "@principles/core": "^7.10.0",
39
39
  "@principles/install-layout": "^0.8.2",
40
40
  "better-sqlite3": "^13.0.3",
41
41
  "js-yaml": "^5.4.3"
@@ -53,5 +53,5 @@
53
53
  "url": "git+https://github.com/csuzngjh/principles.git"
54
54
  },
55
55
  "license": "Apache-2.0",
56
- "gitHead": "97cac4b30eb64ad4b369d2f86f5c57a8053897eb"
56
+ "gitHead": "5ebfebcc384368a6f68f62fdd539507a03fd1d4a"
57
57
  }