create-principles-disciple 1.142.11 → 1.142.13

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 (61) hide show
  1. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js +5 -3
  2. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
  3. package/core/dist/runtime-v2/adapter/__tests__/artificer-l2-adapter.test.js +221 -0
  4. package/core/dist/runtime-v2/adapter/__tests__/artificer-l2-adapter.test.js.map +1 -1
  5. package/core/dist/runtime-v2/adapter/__tests__/l2-resolve-model-compat.test.js +66 -0
  6. package/core/dist/runtime-v2/adapter/__tests__/l2-resolve-model-compat.test.js.map +1 -1
  7. package/core/dist/runtime-v2/adapter/artificer-l2-adapter.d.ts +17 -0
  8. package/core/dist/runtime-v2/adapter/artificer-l2-adapter.d.ts.map +1 -1
  9. package/core/dist/runtime-v2/adapter/artificer-l2-adapter.js +217 -28
  10. package/core/dist/runtime-v2/adapter/artificer-l2-adapter.js.map +1 -1
  11. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.d.ts +21 -5
  12. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.d.ts.map +1 -1
  13. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.js +60 -9
  14. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.js.map +1 -1
  15. package/core/dist/runtime-v2/index.d.ts +0 -2
  16. package/core/dist/runtime-v2/index.d.ts.map +1 -1
  17. package/core/dist/runtime-v2/index.js +4 -2
  18. package/core/dist/runtime-v2/index.js.map +1 -1
  19. package/core/dist/runtime-v2/tools/__tests__/artificer-l2-tool-contract.test.js +8 -0
  20. package/core/dist/runtime-v2/tools/__tests__/artificer-l2-tool-contract.test.js.map +1 -1
  21. package/core/dist/runtime-v2/tools/__tests__/artificer-output-typebox.test.js +15 -1
  22. package/core/dist/runtime-v2/tools/__tests__/artificer-output-typebox.test.js.map +1 -1
  23. package/core/dist/runtime-v2/tools/artificer-l2-tool-contract.d.ts.map +1 -1
  24. package/core/dist/runtime-v2/tools/artificer-l2-tool-contract.js +24 -4
  25. package/core/dist/runtime-v2/tools/artificer-l2-tool-contract.js.map +1 -1
  26. package/core/dist/runtime-v2/tools/artificer-output-typebox.d.ts +1 -0
  27. package/core/dist/runtime-v2/tools/artificer-output-typebox.d.ts.map +1 -1
  28. package/core/dist/runtime-v2/tools/artificer-output-typebox.js +6 -0
  29. package/core/dist/runtime-v2/tools/artificer-output-typebox.js.map +1 -1
  30. package/core/dist/telemetry-event.js +1 -1
  31. package/core/dist/telemetry-event.js.map +1 -1
  32. package/core/package.json +1 -1
  33. package/host-runtime/dist/internalization-consumer-cycle.js +23 -4
  34. package/host-runtime/dist/workspace-telemetry-emitter.js +5 -1
  35. package/package.json +2 -2
  36. package/pd-cli/dist/commands/build-trajectory-evidence.d.ts +10 -0
  37. package/pd-cli/dist/commands/build-trajectory-evidence.d.ts.map +1 -1
  38. package/pd-cli/dist/commands/build-trajectory-evidence.js +12 -0
  39. package/pd-cli/dist/commands/build-trajectory-evidence.js.map +1 -1
  40. package/pd-cli/dist/commands/pain-record.d.ts.map +1 -1
  41. package/pd-cli/dist/commands/pain-record.js +63 -29
  42. package/pd-cli/dist/commands/pain-record.js.map +1 -1
  43. package/pd-cli/dist/commands/runtime-internalization-run-rulehost.d.ts.map +1 -1
  44. package/pd-cli/dist/commands/runtime-internalization-run-rulehost.js +21 -1
  45. package/pd-cli/dist/commands/runtime-internalization-run-rulehost.js.map +1 -1
  46. package/pd-cli/package.json +1 -1
  47. package/plugin/dist/bundle.js +448 -452
  48. package/plugin/dist/governance-audit.js +70 -70
  49. package/plugin/dist/rulehost-evidence.js +76 -76
  50. package/plugin/openclaw.plugin.json +1 -1
  51. package/plugin/package.json +1 -1
  52. package/release-manager/package.json +2 -2
  53. package/core/dist/runtime-v2/__tests__/workspace-guidance-migration.test.d.ts +0 -2
  54. package/core/dist/runtime-v2/__tests__/workspace-guidance-migration.test.d.ts.map +0 -1
  55. package/core/dist/runtime-v2/__tests__/workspace-guidance-migration.test.js +0 -328
  56. package/core/dist/runtime-v2/__tests__/workspace-guidance-migration.test.js.map +0 -1
  57. package/core/dist/runtime-v2/workspace-guidance-migration.d.ts +0 -12
  58. package/core/dist/runtime-v2/workspace-guidance-migration.d.ts.map +0 -1
  59. package/core/dist/runtime-v2/workspace-guidance-migration.js +0 -193
  60. package/core/dist/runtime-v2/workspace-guidance-migration.js.map +0 -1
  61. package/plugin/dist/core/workspace-guidance-migrator.d.ts +0 -12
@@ -355,7 +355,6 @@ const KNOWN_PLUGIN_CORE_FILES = new Set([
355
355
  // evolution worker retirement).
356
356
  // ── Runtime V2 ──────────────────────────────────────────────────────────
357
357
  'runtime-v2-prompt-activation-reader.ts',
358
- 'workspace-guidance-migrator.ts',
359
358
  // PRI-307: Plugin I/O boundary — reads .pd/config.yaml, delegates validation to core
360
359
  'pd-config-loader.ts',
361
360
  // PRI-346: Pure function for checking conversation access config (extracted for circular import avoidance)
@@ -416,7 +415,7 @@ describe('PRI-212 plugin core anti-growth guard', () => {
416
415
  expect.fail(msg);
417
416
  }
418
417
  });
419
- it('known baseline count is self-consistent (98 files)', async () => {
418
+ it('known baseline count is self-consistent (96 files)', async () => {
420
419
  // Sanity check: if the baseline grows, update this number.
421
420
  // Prevents accidental baseline bloat from going unnoticed.
422
421
  // See docs/archive/reviews/plugin-core-inventory-2026-05.md §7
@@ -469,7 +468,10 @@ describe('PRI-212 plugin core anti-growth guard', () => {
469
468
  // PRI-788 G4: Added signal-health.ts (96 → 97) — plugin I/O boundary for
470
469
  // <workspace>/.state/signal-health.json (atomic write + mkdir + SYSTEM log),
471
470
  // consumed by `pd config doctor` for detection-chain health visibility.
472
- expect(KNOWN_PLUGIN_CORE_FILES.size).toBe(97);
471
+ // PRI-776: Removed workspace-guidance-migrator.ts (97 → 96) — PLAN.md-era
472
+ // guidance migration retired (ran at every startup for months; current
473
+ // templates cannot produce matching text).
474
+ expect(KNOWN_PLUGIN_CORE_FILES.size).toBe(96);
473
475
  });
474
476
  });
475
477
  const REQUIRED_TEST_FILES = [