@principles/core 1.177.6 → 1.179.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/runtime-v2/__tests__/architecture-regression.test.js +6 -6
- package/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
- package/dist/runtime-v2/evidence-triage/__tests__/observation-resolver.test.js +45 -1
- package/dist/runtime-v2/evidence-triage/__tests__/observation-resolver.test.js.map +1 -1
- package/dist/runtime-v2/evidence-triage/index.d.ts +1 -1
- package/dist/runtime-v2/evidence-triage/index.d.ts.map +1 -1
- package/dist/runtime-v2/evidence-triage/index.js +1 -1
- package/dist/runtime-v2/evidence-triage/index.js.map +1 -1
- package/dist/runtime-v2/evidence-triage/observation-resolver.d.ts +21 -0
- package/dist/runtime-v2/evidence-triage/observation-resolver.d.ts.map +1 -1
- package/dist/runtime-v2/evidence-triage/observation-resolver.js +28 -0
- package/dist/runtime-v2/evidence-triage/observation-resolver.js.map +1 -1
- package/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js +33 -4
- package/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js.map +1 -1
- package/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +1 -1
- package/dist/runtime-v2/feature-flags/feature-flag-contract.js +9 -2
- package/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +1 -1
- package/dist/runtime-v2/index.d.ts +1 -1
- package/dist/runtime-v2/index.d.ts.map +1 -1
- package/dist/runtime-v2/index.js +1 -1
- package/dist/runtime-v2/index.js.map +1 -1
- package/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.d.ts +11 -0
- package/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.d.ts.map +1 -1
- package/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.js +11 -0
- package/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.js.map +1 -1
- package/package.json +1 -1
|
@@ -2949,7 +2949,7 @@ describe('PRI-225: No unsafe type assertions on untrusted metadata arrays', () =
|
|
|
2949
2949
|
// ── PRI-239: Feature flag registry architecture boundary ──────────────────
|
|
2950
2950
|
//
|
|
2951
2951
|
// Core: packages/principles-core/src/runtime-v2/feature-flags/feature-flag-contract.ts
|
|
2952
|
-
// I/O Loader: packages/pd-cli/src/services/feature-flag-loader.ts
|
|
2952
|
+
// I/O Loader: packages/pd-cli/src/services/pd-config-loader.ts (PRI-460: replaced feature-flag-loader.ts)
|
|
2953
2953
|
// CLI Command: packages/pd-cli/src/commands/runtime-features.ts
|
|
2954
2954
|
// Consumption: packages/pd-cli/src/commands/runtime-canary.ts (GFI check)
|
|
2955
2955
|
describe('PRI-239: Feature flag registry architecture boundary', () => {
|
|
@@ -2971,10 +2971,10 @@ describe('PRI-239: Feature flag registry architecture boundary', () => {
|
|
|
2971
2971
|
expect(src).not.toContain('InternalizationOrchestrator');
|
|
2972
2972
|
expect(src).not.toContain('SqliteConnection');
|
|
2973
2973
|
});
|
|
2974
|
-
it('IO_LOADER_OUTSIDE_CORE: I/O loader exists at pd-cli/src/services/
|
|
2974
|
+
it('IO_LOADER_OUTSIDE_CORE: I/O loader exists at pd-cli/src/services/pd-config-loader.ts', async () => {
|
|
2975
2975
|
const { existsSync } = await import('node:fs');
|
|
2976
2976
|
const { resolve } = await import('node:path');
|
|
2977
|
-
expect(existsSync(resolve(__dirname, '../../../../pd-cli/src/services/
|
|
2977
|
+
expect(existsSync(resolve(__dirname, '../../../../pd-cli/src/services/pd-config-loader.ts'))).toBe(true);
|
|
2978
2978
|
});
|
|
2979
2979
|
it('CLI_COMMAND_OUTSIDE_CORE: CLI command exists at pd-cli/src/commands/runtime-features.ts', async () => {
|
|
2980
2980
|
const { existsSync } = await import('node:fs');
|
|
@@ -2989,12 +2989,12 @@ describe('PRI-239: Feature flag registry architecture boundary', () => {
|
|
|
2989
2989
|
expect(src).not.toContain('nocturnal-arbiter');
|
|
2990
2990
|
expect(src).not.toContain('nocturnal-service');
|
|
2991
2991
|
});
|
|
2992
|
-
it('CONSUMPTION_WIRED: runtime-canary.ts imports
|
|
2992
|
+
it('CONSUMPTION_WIRED: runtime-canary.ts imports canonical PD config loader', async () => {
|
|
2993
2993
|
const { readFileSync } = await import('node:fs');
|
|
2994
2994
|
const { resolve } = await import('node:path');
|
|
2995
2995
|
const src = readFileSync(resolve(__dirname, '../../../../pd-cli/src/commands/runtime-canary.ts'), 'utf-8');
|
|
2996
|
-
expect(src).toContain('
|
|
2997
|
-
expect(src).toContain('
|
|
2996
|
+
expect(src).toContain('pd-config-loader');
|
|
2997
|
+
expect(src).toContain('loadPdConfig');
|
|
2998
2998
|
});
|
|
2999
2999
|
});
|
|
3000
3000
|
describe('PRI-304: PD-Owned Config Contract barrel exports and purity', () => {
|