@principles/host-runtime 0.2.1 → 0.3.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/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export * from './rule-implementation-runtime.js';
11
11
  export * from './production-pain-evidence.js';
12
12
  export * from './governance-observation-store.js';
13
13
  export * from './governance-signal-admission.js';
14
+ export * from './pain-evidence-ingress.js';
14
15
  export * from './host-liveness-contract.js';
15
16
  export * from './internalization-consumer-governance.js';
16
17
  export * from './internalization-consumer-cycle.js';
package/dist/index.js CHANGED
@@ -9,6 +9,9 @@ export * from './rule-implementation-runtime.js';
9
9
  export * from './production-pain-evidence.js';
10
10
  export * from './governance-observation-store.js';
11
11
  export * from './governance-signal-admission.js';
12
+ // PRI-642 Scope B: shared Pain Evidence Ingress — one validated gate for
13
+ // every emitter (OpenClaw / Codex / CLI adapters).
14
+ export * from './pain-evidence-ingress.js';
12
15
  export * from './host-liveness-contract.js';
13
16
  // PRI-624 Slice C: shared internalization consumer execution (OpenClaw
14
17
  // auto-consumer + Companion workspace worker call the same cycle).
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Pain Evidence Ingress — PRI-642 SPEC §8.
3
+ *
4
+ * THIN RE-EXPORT: the ingress semantic authority lives in
5
+ * `@principles/core/runtime-v2` (pain-ingress.ts + pain-ingress-payload.ts)
6
+ * so that EVERY adapter — OpenClaw funnel, pd-cli, and future hosts —
7
+ * evaluates pain ingress facts through ONE implementation. Host adapters
8
+ * differ only in acquisition (session/trajectory/evidence I/O); the
9
+ * interpretation of those facts has a single home in core.
10
+ *
11
+ * This module keeps the existing `@principles/host-runtime` import surface
12
+ * stable for adapters that already import from here. It adds nothing
13
+ * semantic of its own.
14
+ */
15
+ export { evaluatePainIngress, parsePainIngressReport, validateOriginCorrelationInvariant, SENTINEL_SESSION_IDS, isSentinelSessionId, } from '@principles/core/runtime-v2';
16
+ export type { PainIngressReport, PainIngressDecision, PainIngressParseResult, LegacyPainSubmission, PainOrigin, PainCorrelation, IngressEvidenceEntry, PainEvidenceBundle, PainEvidenceUnavailableReason, PainIngressV1Payload, } from '@principles/core/runtime-v2';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Pain Evidence Ingress — PRI-642 SPEC §8.
3
+ *
4
+ * THIN RE-EXPORT: the ingress semantic authority lives in
5
+ * `@principles/core/runtime-v2` (pain-ingress.ts + pain-ingress-payload.ts)
6
+ * so that EVERY adapter — OpenClaw funnel, pd-cli, and future hosts —
7
+ * evaluates pain ingress facts through ONE implementation. Host adapters
8
+ * differ only in acquisition (session/trajectory/evidence I/O); the
9
+ * interpretation of those facts has a single home in core.
10
+ *
11
+ * This module keeps the existing `@principles/host-runtime` import surface
12
+ * stable for adapters that already import from here. It adds nothing
13
+ * semantic of its own.
14
+ */
15
+ export { evaluatePainIngress, parsePainIngressReport, validateOriginCorrelationInvariant, SENTINEL_SESSION_IDS, isSentinelSessionId, } from '@principles/core/runtime-v2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@principles/host-runtime",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Shared host-neutral orchestration for Principles Disciple MVP-Core hook paths.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",