@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.
Files changed (26) hide show
  1. package/dist/runtime-v2/__tests__/architecture-regression.test.js +6 -6
  2. package/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
  3. package/dist/runtime-v2/evidence-triage/__tests__/observation-resolver.test.js +45 -1
  4. package/dist/runtime-v2/evidence-triage/__tests__/observation-resolver.test.js.map +1 -1
  5. package/dist/runtime-v2/evidence-triage/index.d.ts +1 -1
  6. package/dist/runtime-v2/evidence-triage/index.d.ts.map +1 -1
  7. package/dist/runtime-v2/evidence-triage/index.js +1 -1
  8. package/dist/runtime-v2/evidence-triage/index.js.map +1 -1
  9. package/dist/runtime-v2/evidence-triage/observation-resolver.d.ts +21 -0
  10. package/dist/runtime-v2/evidence-triage/observation-resolver.d.ts.map +1 -1
  11. package/dist/runtime-v2/evidence-triage/observation-resolver.js +28 -0
  12. package/dist/runtime-v2/evidence-triage/observation-resolver.js.map +1 -1
  13. package/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js +33 -4
  14. package/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js.map +1 -1
  15. package/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +1 -1
  16. package/dist/runtime-v2/feature-flags/feature-flag-contract.js +9 -2
  17. package/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +1 -1
  18. package/dist/runtime-v2/index.d.ts +1 -1
  19. package/dist/runtime-v2/index.d.ts.map +1 -1
  20. package/dist/runtime-v2/index.js +1 -1
  21. package/dist/runtime-v2/index.js.map +1 -1
  22. package/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.d.ts +11 -0
  23. package/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.d.ts.map +1 -1
  24. package/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.js +11 -0
  25. package/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.js.map +1 -1
  26. 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/feature-flag-loader.ts', async () => {
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/feature-flag-loader.ts'))).toBe(true);
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 feature flag loader', async () => {
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('feature-flag-loader');
2997
- expect(src).toContain('loadEffectiveFeatureFlags');
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', () => {