create-principles-disciple 1.121.8 → 1.121.10

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 (462) hide show
  1. package/README.md +13 -1
  2. package/console/dist/server/config/pd-config-store.d.ts +1 -3
  3. package/console/dist/server/config/pd-config-store.js +4 -4
  4. package/console/dist/server/feedback/channels.d.ts +2 -8
  5. package/console/dist/server/feedback/channels.js +0 -11
  6. package/console/dist/server/index.js +34 -5
  7. package/console/dist/server/models/ActivationsConsoleModel.d.ts +28 -1
  8. package/console/dist/server/models/ActivationsConsoleModel.js +72 -30
  9. package/console/dist/server/models/GovernanceExperienceCollector.d.ts +28 -0
  10. package/console/dist/server/models/GovernanceExperienceCollector.js +305 -0
  11. package/console/dist/server/models/GovernanceProjectionCollector.d.ts +60 -2
  12. package/console/dist/server/models/GovernanceProjectionCollector.js +323 -285
  13. package/console/dist/server/models/PrincipleClassifier.d.ts +1 -1
  14. package/console/dist/server/models/PrincipleClassifier.js +7 -4
  15. package/console/dist/server/models/PrinciplesConsoleModel.d.ts +2 -1
  16. package/console/dist/server/models/ReceiptsConsoleModel.d.ts +5 -0
  17. package/console/dist/server/models/ReceiptsConsoleModel.js +140 -13
  18. package/console/dist/server/routes/activations.js +1 -1
  19. package/console/dist/server/routes/failed-tasks.js +28 -11
  20. package/console/dist/server/routes/governance.d.ts +26 -0
  21. package/console/dist/server/routes/governance.js +51 -0
  22. package/console/dist/server/routes/owner-identity.d.ts +31 -0
  23. package/console/dist/server/routes/owner-identity.js +76 -0
  24. package/console/dist/server/routes/update-history.d.ts +5 -0
  25. package/console/dist/server/routes/update-history.js +50 -4
  26. package/console/dist/server/routes/update.js +263 -41
  27. package/console/dist/server/utils/update-links.d.ts +38 -0
  28. package/console/dist/server/utils/update-links.js +71 -0
  29. package/console/dist/shared/feedback-channel-ids.d.ts +13 -0
  30. package/console/dist/shared/feedback-channel-ids.js +12 -0
  31. package/console/dist/shared/feedback-contract.d.ts +46 -0
  32. package/console/dist/shared/feedback-contract.js +45 -0
  33. package/console/dist/ui/App.js +1 -1
  34. package/console/dist/ui/api.d.ts +22 -3
  35. package/console/dist/ui/api.js +63 -3
  36. package/console/dist/ui/components/receipts/ReceiptCoverageDisclosure.d.ts +6 -0
  37. package/console/dist/ui/components/receipts/ReceiptCoverageDisclosure.js +66 -0
  38. package/console/dist/ui/i18n/en.json +198 -2
  39. package/console/dist/ui/i18n/zh-CN.json +196 -0
  40. package/console/dist/ui/pages/activation/ActivationPage.js +14 -2
  41. package/console/dist/ui/pages/failed-tasks/FailedTasksPage.js +25 -5
  42. package/console/dist/ui/pages/focus/FocusPage.d.ts +28 -1
  43. package/console/dist/ui/pages/focus/FocusPage.js +128 -15
  44. package/console/dist/ui/pages/principles/PrincipleDetailPage.d.ts +30 -0
  45. package/console/dist/ui/pages/principles/PrincipleDetailPage.js +49 -6
  46. package/console/dist/ui/pages/settings/SettingsPage.js +67 -2
  47. package/console/dist/ui/pages/settings/UpdatePage.js +7 -7
  48. package/console/dist/ui/utils/enum-labels.js +0 -1
  49. package/console/dist/ui/utils/validators.d.ts +53 -21
  50. package/console/dist/ui/utils/validators.js +248 -21
  51. package/console/dist/web/assets/app.css +6 -0
  52. package/console/dist/web/assets/app.js +2721 -1664
  53. package/console/package.json +3 -1
  54. package/core/dist/host/host-adapter.d.ts +1 -1
  55. package/core/dist/host/host-adapter.d.ts.map +1 -1
  56. package/core/dist/host/host-adapter.js +1 -0
  57. package/core/dist/host/host-adapter.js.map +1 -1
  58. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js +12 -2
  59. package/core/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
  60. package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.js +1 -1
  61. package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.js.map +1 -1
  62. package/core/dist/runtime-v2/__tests__/governance-experience.test.d.ts +2 -0
  63. package/core/dist/runtime-v2/__tests__/governance-experience.test.d.ts.map +1 -0
  64. package/core/dist/runtime-v2/__tests__/governance-experience.test.js +300 -0
  65. package/core/dist/runtime-v2/__tests__/governance-experience.test.js.map +1 -0
  66. package/core/dist/runtime-v2/__tests__/owner-identity.test.d.ts +2 -0
  67. package/core/dist/runtime-v2/__tests__/owner-identity.test.d.ts.map +1 -0
  68. package/core/dist/runtime-v2/__tests__/owner-identity.test.js +147 -0
  69. package/core/dist/runtime-v2/__tests__/owner-identity.test.js.map +1 -0
  70. package/core/dist/runtime-v2/__tests__/product-telemetry-contract.test.d.ts +18 -0
  71. package/core/dist/runtime-v2/__tests__/product-telemetry-contract.test.d.ts.map +1 -0
  72. package/core/dist/runtime-v2/__tests__/product-telemetry-contract.test.js +303 -0
  73. package/core/dist/runtime-v2/__tests__/product-telemetry-contract.test.js.map +1 -0
  74. package/core/dist/runtime-v2/__tests__/recovery-actions-log.test.js +40 -0
  75. package/core/dist/runtime-v2/__tests__/recovery-actions-log.test.js.map +1 -1
  76. package/core/dist/runtime-v2/__tests__/status-contract.test.d.ts +2 -0
  77. package/core/dist/runtime-v2/__tests__/status-contract.test.d.ts.map +1 -0
  78. package/core/dist/runtime-v2/__tests__/status-contract.test.js +107 -0
  79. package/core/dist/runtime-v2/__tests__/status-contract.test.js.map +1 -0
  80. package/core/dist/runtime-v2/activation/__tests__/promotion-evidence-snapshot.test.d.ts +2 -0
  81. package/core/dist/runtime-v2/activation/__tests__/promotion-evidence-snapshot.test.d.ts.map +1 -0
  82. package/core/dist/runtime-v2/activation/__tests__/promotion-evidence-snapshot.test.js +104 -0
  83. package/core/dist/runtime-v2/activation/__tests__/promotion-evidence-snapshot.test.js.map +1 -0
  84. package/core/dist/runtime-v2/activation/__tests__/promotion-readiness-evaluator.test.js +19 -0
  85. package/core/dist/runtime-v2/activation/__tests__/promotion-readiness-evaluator.test.js.map +1 -1
  86. package/core/dist/runtime-v2/activation/__tests__/rulecode-owner-decision-service.test.js +20 -0
  87. package/core/dist/runtime-v2/activation/__tests__/rulecode-owner-decision-service.test.js.map +1 -1
  88. package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-safety-store.test.js +40 -0
  89. package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-safety-store.test.js.map +1 -1
  90. package/core/dist/runtime-v2/activation/index.d.ts +2 -0
  91. package/core/dist/runtime-v2/activation/index.d.ts.map +1 -1
  92. package/core/dist/runtime-v2/activation/index.js +1 -0
  93. package/core/dist/runtime-v2/activation/index.js.map +1 -1
  94. package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.d.ts +30 -0
  95. package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.d.ts.map +1 -0
  96. package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.js +87 -0
  97. package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.js.map +1 -0
  98. package/core/dist/runtime-v2/activation/promotion-readiness-evaluator.d.ts.map +1 -1
  99. package/core/dist/runtime-v2/activation/promotion-readiness-evaluator.js +3 -0
  100. package/core/dist/runtime-v2/activation/promotion-readiness-evaluator.js.map +1 -1
  101. package/core/dist/runtime-v2/activation/promotion-readiness-reader.d.ts +1 -1
  102. package/core/dist/runtime-v2/activation/promotion-readiness-reader.d.ts.map +1 -1
  103. package/core/dist/runtime-v2/activation/promotion-readiness-reader.js +2 -2
  104. package/core/dist/runtime-v2/activation/promotion-readiness-reader.js.map +1 -1
  105. package/core/dist/runtime-v2/activation/rulecode-owner-decision-service.d.ts.map +1 -1
  106. package/core/dist/runtime-v2/activation/rulecode-owner-decision-service.js +18 -9
  107. package/core/dist/runtime-v2/activation/rulecode-owner-decision-service.js.map +1 -1
  108. package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.js +1 -1
  109. package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.js.map +1 -1
  110. package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.js +91 -1
  111. package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.js.map +1 -1
  112. package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.js +59 -12
  113. package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.js.map +1 -1
  114. package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.js +10 -9
  115. package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.js.map +1 -1
  116. package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.js +42 -1
  117. package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.js.map +1 -1
  118. package/core/dist/runtime-v2/adapter/json-extractor.d.ts +25 -0
  119. package/core/dist/runtime-v2/adapter/json-extractor.d.ts.map +1 -1
  120. package/core/dist/runtime-v2/adapter/json-extractor.js +126 -0
  121. package/core/dist/runtime-v2/adapter/json-extractor.js.map +1 -1
  122. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.d.ts +9 -4
  123. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.d.ts.map +1 -1
  124. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.js +9 -4
  125. package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.js.map +1 -1
  126. package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts +5 -1
  127. package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts.map +1 -1
  128. package/core/dist/runtime-v2/adapter/output-repair-contract.js +4 -1
  129. package/core/dist/runtime-v2/adapter/output-repair-contract.js.map +1 -1
  130. package/core/dist/runtime-v2/adapter/pi-ai-catalog.d.ts +7 -0
  131. package/core/dist/runtime-v2/adapter/pi-ai-catalog.d.ts.map +1 -0
  132. package/core/dist/runtime-v2/adapter/pi-ai-catalog.js +19 -0
  133. package/core/dist/runtime-v2/adapter/pi-ai-catalog.js.map +1 -0
  134. package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts +13 -15
  135. package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts.map +1 -1
  136. package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js +104 -37
  137. package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js.map +1 -1
  138. package/core/dist/runtime-v2/adapter/structured-output-repair.d.ts +16 -1
  139. package/core/dist/runtime-v2/adapter/structured-output-repair.d.ts.map +1 -1
  140. package/core/dist/runtime-v2/adapter/structured-output-repair.js +38 -6
  141. package/core/dist/runtime-v2/adapter/structured-output-repair.js.map +1 -1
  142. package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.d.ts +1 -1
  143. package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.d.ts.map +1 -1
  144. package/core/dist/runtime-v2/config/__tests__/pd-config-agent-binding.test.js +8 -9
  145. package/core/dist/runtime-v2/config/__tests__/pd-config-agent-binding.test.js.map +1 -1
  146. package/core/dist/runtime-v2/config/__tests__/pd-config-contract.test.js +27 -3
  147. package/core/dist/runtime-v2/config/__tests__/pd-config-contract.test.js.map +1 -1
  148. package/core/dist/runtime-v2/config/__tests__/pd-config-principles.test.d.ts +11 -0
  149. package/core/dist/runtime-v2/config/__tests__/pd-config-principles.test.d.ts.map +1 -0
  150. package/core/dist/runtime-v2/config/__tests__/pd-config-principles.test.js +93 -0
  151. package/core/dist/runtime-v2/config/__tests__/pd-config-principles.test.js.map +1 -0
  152. package/core/dist/runtime-v2/config/__tests__/pd-config-workspace.test.js +41 -0
  153. package/core/dist/runtime-v2/config/__tests__/pd-config-workspace.test.js.map +1 -1
  154. package/core/dist/runtime-v2/config/index.d.ts +2 -2
  155. package/core/dist/runtime-v2/config/index.d.ts.map +1 -1
  156. package/core/dist/runtime-v2/config/index.js +2 -0
  157. package/core/dist/runtime-v2/config/index.js.map +1 -1
  158. package/core/dist/runtime-v2/config/pd-config-agent-binding.d.ts.map +1 -1
  159. package/core/dist/runtime-v2/config/pd-config-agent-binding.js +4 -13
  160. package/core/dist/runtime-v2/config/pd-config-agent-binding.js.map +1 -1
  161. package/core/dist/runtime-v2/config/pd-config-effective.d.ts.map +1 -1
  162. package/core/dist/runtime-v2/config/pd-config-effective.js +14 -7
  163. package/core/dist/runtime-v2/config/pd-config-effective.js.map +1 -1
  164. package/core/dist/runtime-v2/config/pd-config-feature-flags.d.ts.map +1 -1
  165. package/core/dist/runtime-v2/config/pd-config-feature-flags.js +5 -12
  166. package/core/dist/runtime-v2/config/pd-config-feature-flags.js.map +1 -1
  167. package/core/dist/runtime-v2/config/pd-config-types.d.ts +8 -0
  168. package/core/dist/runtime-v2/config/pd-config-types.d.ts.map +1 -1
  169. package/core/dist/runtime-v2/config/pd-config-types.js +2 -0
  170. package/core/dist/runtime-v2/config/pd-config-types.js.map +1 -1
  171. package/core/dist/runtime-v2/config/pd-config-validate.d.ts.map +1 -1
  172. package/core/dist/runtime-v2/config/pd-config-validate.js +48 -3
  173. package/core/dist/runtime-v2/config/pd-config-validate.js.map +1 -1
  174. package/core/dist/runtime-v2/core-principles/__tests__/core-axiom-block.test.js +36 -8
  175. package/core/dist/runtime-v2/core-principles/__tests__/core-axiom-block.test.js.map +1 -1
  176. package/core/dist/runtime-v2/core-principles/__tests__/core-principle-registry.test.js +36 -12
  177. package/core/dist/runtime-v2/core-principles/__tests__/core-principle-registry.test.js.map +1 -1
  178. package/core/dist/runtime-v2/core-principles/core-axiom-block.d.ts +22 -8
  179. package/core/dist/runtime-v2/core-principles/core-axiom-block.d.ts.map +1 -1
  180. package/core/dist/runtime-v2/core-principles/core-axiom-block.js +28 -13
  181. package/core/dist/runtime-v2/core-principles/core-axiom-block.js.map +1 -1
  182. package/core/dist/runtime-v2/core-principles/core-principle-registry.d.ts +29 -4
  183. package/core/dist/runtime-v2/core-principles/core-principle-registry.d.ts.map +1 -1
  184. package/core/dist/runtime-v2/core-principles/core-principle-registry.js +68 -33
  185. package/core/dist/runtime-v2/core-principles/core-principle-registry.js.map +1 -1
  186. package/core/dist/runtime-v2/core-principles/index.d.ts +3 -3
  187. package/core/dist/runtime-v2/core-principles/index.d.ts.map +1 -1
  188. package/core/dist/runtime-v2/core-principles/index.js +1 -1
  189. package/core/dist/runtime-v2/core-principles/index.js.map +1 -1
  190. package/core/dist/runtime-v2/evolution/evolution-types.d.ts +2 -1
  191. package/core/dist/runtime-v2/evolution/evolution-types.d.ts.map +1 -1
  192. package/core/dist/runtime-v2/evolution/evolution-types.js.map +1 -1
  193. package/core/dist/runtime-v2/feature-flags/__tests__/anonymous-product-telemetry-flag.test.d.ts +2 -0
  194. package/core/dist/runtime-v2/feature-flags/__tests__/anonymous-product-telemetry-flag.test.d.ts.map +1 -0
  195. package/core/dist/runtime-v2/feature-flags/__tests__/anonymous-product-telemetry-flag.test.js +48 -0
  196. package/core/dist/runtime-v2/feature-flags/__tests__/anonymous-product-telemetry-flag.test.js.map +1 -0
  197. package/core/dist/runtime-v2/feature-flags/__tests__/codex-conversation-ingestion-flag.test.d.ts +2 -0
  198. package/core/dist/runtime-v2/feature-flags/__tests__/codex-conversation-ingestion-flag.test.d.ts.map +1 -0
  199. package/core/dist/runtime-v2/feature-flags/__tests__/codex-conversation-ingestion-flag.test.js +46 -0
  200. package/core/dist/runtime-v2/feature-flags/__tests__/codex-conversation-ingestion-flag.test.js.map +1 -0
  201. package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js +86 -31
  202. package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js.map +1 -1
  203. package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-lifecycle.test.d.ts +2 -0
  204. package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-lifecycle.test.d.ts.map +1 -0
  205. package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-lifecycle.test.js +83 -0
  206. package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-lifecycle.test.js.map +1 -0
  207. package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts +19 -1
  208. package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +1 -1
  209. package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js +128 -10
  210. package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +1 -1
  211. package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.d.ts +37 -0
  212. package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.d.ts.map +1 -0
  213. package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.js +304 -0
  214. package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.js.map +1 -0
  215. package/core/dist/runtime-v2/feature-flags/index.d.ts +4 -2
  216. package/core/dist/runtime-v2/feature-flags/index.d.ts.map +1 -1
  217. package/core/dist/runtime-v2/feature-flags/index.js +3 -1
  218. package/core/dist/runtime-v2/feature-flags/index.js.map +1 -1
  219. package/core/dist/runtime-v2/governance-experience-contract.d.ts +468 -0
  220. package/core/dist/runtime-v2/governance-experience-contract.d.ts.map +1 -0
  221. package/core/dist/runtime-v2/governance-experience-contract.js +208 -0
  222. package/core/dist/runtime-v2/governance-experience-contract.js.map +1 -0
  223. package/core/dist/runtime-v2/governance-experience.d.ts +11 -0
  224. package/core/dist/runtime-v2/governance-experience.d.ts.map +1 -0
  225. package/core/dist/runtime-v2/governance-experience.js +276 -0
  226. package/core/dist/runtime-v2/governance-experience.js.map +1 -0
  227. package/core/dist/runtime-v2/index.d.ts +20 -8
  228. package/core/dist/runtime-v2/index.d.ts.map +1 -1
  229. package/core/dist/runtime-v2/index.js +20 -6
  230. package/core/dist/runtime-v2/index.js.map +1 -1
  231. package/core/dist/runtime-v2/internalization/__tests__/artificer-output-retry-flag.test.js +29 -10
  232. package/core/dist/runtime-v2/internalization/__tests__/artificer-output-retry-flag.test.js.map +1 -1
  233. package/core/dist/runtime-v2/owner-identity.d.ts +69 -0
  234. package/core/dist/runtime-v2/owner-identity.d.ts.map +1 -0
  235. package/core/dist/runtime-v2/owner-identity.js +179 -0
  236. package/core/dist/runtime-v2/owner-identity.js.map +1 -0
  237. package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts.map +1 -1
  238. package/core/dist/runtime-v2/pain-signal-runtime-factory.js +2 -3
  239. package/core/dist/runtime-v2/pain-signal-runtime-factory.js.map +1 -1
  240. package/core/dist/runtime-v2/product-telemetry/daily-identity.d.ts +70 -0
  241. package/core/dist/runtime-v2/product-telemetry/daily-identity.d.ts.map +1 -0
  242. package/core/dist/runtime-v2/product-telemetry/daily-identity.js +89 -0
  243. package/core/dist/runtime-v2/product-telemetry/daily-identity.js.map +1 -0
  244. package/core/dist/runtime-v2/product-telemetry/snapshot-contract.d.ts +110 -0
  245. package/core/dist/runtime-v2/product-telemetry/snapshot-contract.d.ts.map +1 -0
  246. package/core/dist/runtime-v2/product-telemetry/snapshot-contract.js +250 -0
  247. package/core/dist/runtime-v2/product-telemetry/snapshot-contract.js.map +1 -0
  248. package/core/dist/runtime-v2/pruning-read-model.d.ts +2 -1
  249. package/core/dist/runtime-v2/pruning-read-model.d.ts.map +1 -1
  250. package/core/dist/runtime-v2/pruning-read-model.js.map +1 -1
  251. package/core/dist/runtime-v2/receipt-coverage.d.ts +63 -0
  252. package/core/dist/runtime-v2/receipt-coverage.d.ts.map +1 -0
  253. package/core/dist/runtime-v2/receipt-coverage.js +19 -0
  254. package/core/dist/runtime-v2/receipt-coverage.js.map +1 -0
  255. package/core/dist/runtime-v2/recovery-actions-log.d.ts +7 -0
  256. package/core/dist/runtime-v2/recovery-actions-log.d.ts.map +1 -1
  257. package/core/dist/runtime-v2/recovery-actions-log.js +6 -0
  258. package/core/dist/runtime-v2/recovery-actions-log.js.map +1 -1
  259. package/core/dist/runtime-v2/runtime-protocol.js +1 -1
  260. package/core/dist/runtime-v2/runtime-protocol.js.map +1 -1
  261. package/core/dist/runtime-v2/store/task/__tests__/sqlite-task-store.failed-tasks.test.js +17 -1
  262. package/core/dist/runtime-v2/store/task/__tests__/sqlite-task-store.failed-tasks.test.js.map +1 -1
  263. package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts.map +1 -1
  264. package/core/dist/runtime-v2/store/task/sqlite-task-store.js +10 -0
  265. package/core/dist/runtime-v2/store/task/sqlite-task-store.js.map +1 -1
  266. package/core/dist/runtime-v2/store/task/task-types.d.ts +2 -0
  267. package/core/dist/runtime-v2/store/task/task-types.d.ts.map +1 -1
  268. package/core/dist/runtime-v2/task-status.d.ts +9 -5
  269. package/core/dist/runtime-v2/task-status.d.ts.map +1 -1
  270. package/core/dist/runtime-v2/task-status.js +15 -7
  271. package/core/dist/runtime-v2/task-status.js.map +1 -1
  272. package/core/dist/runtime-v2/types/event-types.d.ts +4 -0
  273. package/core/dist/runtime-v2/types/event-types.d.ts.map +1 -1
  274. package/core/dist/runtime-v2/types/event-types.js.map +1 -1
  275. package/core/dist/runtime-v2/types/index.d.ts +1 -1
  276. package/core/dist/runtime-v2/types/index.d.ts.map +1 -1
  277. package/core/dist/runtime-v2/types/index.js +1 -1
  278. package/core/dist/runtime-v2/types/index.js.map +1 -1
  279. package/core/dist/runtime-v2/types/principle-enums.d.ts +3 -2
  280. package/core/dist/runtime-v2/types/principle-enums.d.ts.map +1 -1
  281. package/core/dist/runtime-v2/types/principle-enums.js +11 -5
  282. package/core/dist/runtime-v2/types/principle-enums.js.map +1 -1
  283. package/core/dist/runtime-v2/types/principle-schema.d.ts +1 -1
  284. package/core/dist/runtime-v2/types/principle-tree-store.d.ts +1 -1
  285. package/core/dist/runtime-v2/utils/cli-process-runner.d.ts.map +1 -1
  286. package/core/dist/runtime-v2/utils/cli-process-runner.js +3 -2
  287. package/core/dist/runtime-v2/utils/cli-process-runner.js.map +1 -1
  288. package/core/package.json +1 -2
  289. package/dist/i18n.d.ts.map +1 -1
  290. package/dist/i18n.js +4 -2
  291. package/dist/i18n.js.map +1 -1
  292. package/dist/index.d.ts +2 -0
  293. package/dist/index.d.ts.map +1 -1
  294. package/dist/index.js +47 -11
  295. package/dist/index.js.map +1 -1
  296. package/dist/installer.d.ts +31 -5
  297. package/dist/installer.d.ts.map +1 -1
  298. package/dist/installer.js +472 -161
  299. package/dist/installer.js.map +1 -1
  300. package/dist/installers/codex-host-installer.d.ts.map +1 -1
  301. package/dist/installers/codex-host-installer.js +4 -0
  302. package/dist/installers/codex-host-installer.js.map +1 -1
  303. package/dist/mvp-config.d.ts +10 -0
  304. package/dist/mvp-config.d.ts.map +1 -1
  305. package/dist/mvp-config.js +30 -3
  306. package/dist/mvp-config.js.map +1 -1
  307. package/dist/uninstaller.d.ts +9 -1
  308. package/dist/uninstaller.d.ts.map +1 -1
  309. package/dist/uninstaller.js +103 -23
  310. package/dist/uninstaller.js.map +1 -1
  311. package/dist/update/atomic-file.d.ts +35 -0
  312. package/dist/update/atomic-file.d.ts.map +1 -0
  313. package/dist/update/atomic-file.js +120 -0
  314. package/dist/update/atomic-file.js.map +1 -0
  315. package/dist/update/bootstrap-protocol.d.ts +55 -0
  316. package/dist/update/bootstrap-protocol.d.ts.map +1 -0
  317. package/dist/update/bootstrap-protocol.js +132 -0
  318. package/dist/update/bootstrap-protocol.js.map +1 -0
  319. package/dist/update/channel-metadata.d.ts +28 -0
  320. package/dist/update/channel-metadata.d.ts.map +1 -0
  321. package/dist/update/channel-metadata.js +90 -0
  322. package/dist/update/channel-metadata.js.map +1 -0
  323. package/dist/update/channel-promotion.d.ts +39 -0
  324. package/dist/update/channel-promotion.d.ts.map +1 -0
  325. package/dist/update/channel-promotion.js +55 -0
  326. package/dist/update/channel-promotion.js.map +1 -0
  327. package/dist/update/data-compatibility.d.ts +35 -0
  328. package/dist/update/data-compatibility.d.ts.map +1 -0
  329. package/dist/update/data-compatibility.js +45 -0
  330. package/dist/update/data-compatibility.js.map +1 -0
  331. package/dist/update/install-layout.d.ts +59 -0
  332. package/dist/update/install-layout.d.ts.map +1 -0
  333. package/dist/update/install-layout.js +127 -0
  334. package/dist/update/install-layout.js.map +1 -0
  335. package/dist/update/legacy-migration.d.ts +56 -0
  336. package/dist/update/legacy-migration.d.ts.map +1 -0
  337. package/dist/update/legacy-migration.js +254 -0
  338. package/dist/update/legacy-migration.js.map +1 -0
  339. package/dist/update/product-identity.d.ts +50 -0
  340. package/dist/update/product-identity.d.ts.map +1 -0
  341. package/dist/update/product-identity.js +63 -0
  342. package/dist/update/product-identity.js.map +1 -0
  343. package/dist/update/release-asset-manifest.d.ts +31 -0
  344. package/dist/update/release-asset-manifest.d.ts.map +1 -0
  345. package/dist/update/release-asset-manifest.js +161 -0
  346. package/dist/update/release-asset-manifest.js.map +1 -0
  347. package/dist/update/release-identity.d.ts +33 -0
  348. package/dist/update/release-identity.d.ts.map +1 -0
  349. package/dist/update/release-identity.js +108 -0
  350. package/dist/update/release-identity.js.map +1 -0
  351. package/dist/update/release-manager.d.ts +96 -0
  352. package/dist/update/release-manager.d.ts.map +1 -0
  353. package/dist/update/release-manager.js +253 -0
  354. package/dist/update/release-manager.js.map +1 -0
  355. package/dist/update/release-metadata.d.ts +57 -0
  356. package/dist/update/release-metadata.d.ts.map +1 -0
  357. package/dist/update/release-metadata.js +200 -0
  358. package/dist/update/release-metadata.js.map +1 -0
  359. package/dist/update/release-policy.d.ts +51 -0
  360. package/dist/update/release-policy.d.ts.map +1 -0
  361. package/dist/update/release-policy.js +103 -0
  362. package/dist/update/release-policy.js.map +1 -0
  363. package/dist/update/rollback-policy.d.ts +56 -0
  364. package/dist/update/rollback-policy.d.ts.map +1 -0
  365. package/dist/update/rollback-policy.js +61 -0
  366. package/dist/update/rollback-policy.js.map +1 -0
  367. package/dist/update/transaction-journal.d.ts +121 -0
  368. package/dist/update/transaction-journal.d.ts.map +1 -0
  369. package/dist/update/transaction-journal.js +333 -0
  370. package/dist/update/transaction-journal.js.map +1 -0
  371. package/dist/update/trust-metadata.d.ts +55 -0
  372. package/dist/update/trust-metadata.d.ts.map +1 -0
  373. package/dist/update/trust-metadata.js +170 -0
  374. package/dist/update/trust-metadata.js.map +1 -0
  375. package/dist/update/update-history.d.ts +46 -0
  376. package/dist/update/update-history.d.ts.map +1 -0
  377. package/dist/update/update-history.js +123 -0
  378. package/dist/update/update-history.js.map +1 -0
  379. package/dist/utils/env.d.ts +7 -0
  380. package/dist/utils/env.d.ts.map +1 -1
  381. package/dist/utils/env.js +134 -44
  382. package/dist/utils/env.js.map +1 -1
  383. package/host-runtime/dist/governance-observation-store.d.ts +172 -0
  384. package/host-runtime/dist/governance-observation-store.js +649 -0
  385. package/host-runtime/dist/index.d.ts +6 -0
  386. package/host-runtime/dist/index.js +8 -0
  387. package/host-runtime/dist/product-telemetry/consent-store.d.ts +107 -0
  388. package/host-runtime/dist/product-telemetry/consent-store.js +329 -0
  389. package/host-runtime/dist/product-telemetry/eligibility.d.ts +53 -0
  390. package/host-runtime/dist/product-telemetry/eligibility.js +69 -0
  391. package/host-runtime/dist/product-telemetry/exporter.d.ts +46 -0
  392. package/host-runtime/dist/product-telemetry/exporter.js +71 -0
  393. package/host-runtime/dist/product-telemetry/milestone-readers.d.ts +61 -0
  394. package/host-runtime/dist/product-telemetry/milestone-readers.js +234 -0
  395. package/host-runtime/dist/product-telemetry/service.d.ts +142 -0
  396. package/host-runtime/dist/product-telemetry/service.js +532 -0
  397. package/host-runtime/dist/product-telemetry/workspace-scope.d.ts +38 -0
  398. package/host-runtime/dist/product-telemetry/workspace-scope.js +64 -0
  399. package/host-runtime/package.json +5 -0
  400. package/install-layout/dist/index.d.ts +48 -0
  401. package/install-layout/dist/index.js +81 -0
  402. package/install-layout/dist/index.test.d.ts +1 -0
  403. package/install-layout/dist/index.test.js +34 -0
  404. package/install-layout/package.json +29 -0
  405. package/package.json +16 -6
  406. package/pd-cli/dist/commands/__tests__/telemetry-flag-wiring.test.d.ts +9 -0
  407. package/pd-cli/dist/commands/__tests__/telemetry-flag-wiring.test.d.ts.map +1 -0
  408. package/pd-cli/dist/commands/__tests__/telemetry-flag-wiring.test.js +76 -0
  409. package/pd-cli/dist/commands/__tests__/telemetry-flag-wiring.test.js.map +1 -0
  410. package/pd-cli/dist/commands/__tests__/version.test.d.ts +2 -0
  411. package/pd-cli/dist/commands/__tests__/version.test.d.ts.map +1 -0
  412. package/pd-cli/dist/commands/__tests__/version.test.js +134 -0
  413. package/pd-cli/dist/commands/__tests__/version.test.js.map +1 -0
  414. package/pd-cli/dist/commands/console.d.ts.map +1 -1
  415. package/pd-cli/dist/commands/console.js +29 -10
  416. package/pd-cli/dist/commands/console.js.map +1 -1
  417. package/pd-cli/dist/commands/pain-record.d.ts.map +1 -1
  418. package/pd-cli/dist/commands/pain-record.js +6 -15
  419. package/pd-cli/dist/commands/pain-record.js.map +1 -1
  420. package/pd-cli/dist/commands/runtime-activation.d.ts +29 -0
  421. package/pd-cli/dist/commands/runtime-activation.d.ts.map +1 -1
  422. package/pd-cli/dist/commands/runtime-activation.js +70 -31
  423. package/pd-cli/dist/commands/runtime-activation.js.map +1 -1
  424. package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.d.ts.map +1 -1
  425. package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js +2 -2
  426. package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js.map +1 -1
  427. package/pd-cli/dist/commands/telemetry.d.ts +82 -0
  428. package/pd-cli/dist/commands/telemetry.d.ts.map +1 -0
  429. package/pd-cli/dist/commands/telemetry.js +268 -0
  430. package/pd-cli/dist/commands/telemetry.js.map +1 -0
  431. package/pd-cli/dist/commands/version.d.ts +11 -0
  432. package/pd-cli/dist/commands/version.d.ts.map +1 -0
  433. package/pd-cli/dist/commands/version.js +48 -0
  434. package/pd-cli/dist/commands/version.js.map +1 -0
  435. package/pd-cli/dist/index.js +35 -2
  436. package/pd-cli/dist/index.js.map +1 -1
  437. package/pd-cli/dist/services/version-report.d.ts +44 -0
  438. package/pd-cli/dist/services/version-report.d.ts.map +1 -0
  439. package/pd-cli/dist/services/version-report.js +152 -0
  440. package/pd-cli/dist/services/version-report.js.map +1 -0
  441. package/pd-cli/package.json +1 -0
  442. package/plugin/dist/bundle.js +868 -936
  443. package/plugin/dist/core/init.d.ts +2 -1
  444. package/plugin/dist/core/principle-application-ledger.d.ts +10 -0
  445. package/plugin/dist/core/product-telemetry-trigger.d.ts +14 -0
  446. package/plugin/dist/core/thinking-os-parser.d.ts +5 -2
  447. package/plugin/dist/governance-audit.js +386 -0
  448. package/plugin/dist/hooks/gate-block-helper.d.ts +25 -1
  449. package/plugin/dist/hooks/gate.d.ts +22 -0
  450. package/plugin/dist/rulehost-evidence.js +832 -0
  451. package/plugin/dist/templates/langs/en/principles/THINKING_OS.md +53 -45
  452. package/plugin/dist/templates/langs/en/skills/pd-mentor/SKILL.md +1 -1
  453. package/plugin/dist/templates/langs/zh/principles/THINKING_OS.md +62 -46
  454. package/plugin/dist/templates/langs/zh/skills/pd-mentor/SKILL.md +1 -1
  455. package/plugin/dist/templates/workspace/.principles/THINKING_OS.md +66 -38
  456. package/plugin/openclaw.plugin.json +1 -1
  457. package/plugin/package.json +1 -1
  458. package/plugin/templates/langs/en/principles/THINKING_OS.md +53 -45
  459. package/plugin/templates/langs/en/skills/pd-mentor/SKILL.md +1 -1
  460. package/plugin/templates/langs/zh/principles/THINKING_OS.md +62 -46
  461. package/plugin/templates/langs/zh/skills/pd-mentor/SKILL.md +1 -1
  462. package/plugin/templates/workspace/.principles/THINKING_OS.md +66 -38
@@ -136,6 +136,90 @@
136
136
  "degraded": "Degraded"
137
137
  },
138
138
  "nextActionLabel": "Suggested action:",
139
+ "experience": {
140
+ "attention": {
141
+ "setupRequired": "Setup Required",
142
+ "ownerDecisionRequired": "Owner Decision Required",
143
+ "recoveryRequired": "Recovery Required",
144
+ "degraded": "Degraded",
145
+ "backgroundProcessing": "Background Processing",
146
+ "allClear": "All Clear"
147
+ },
148
+ "reason": {
149
+ "ownerIdentityMissing": "The Owner identity is not configured. RuleCode governance decisions are blocked until PD_OWNER_ID and PD_OWNER_CREDENTIAL_ID are set and the console token auth is enabled.",
150
+ "approvalPending": "Principle approvals are waiting for your decision.",
151
+ "rulecodeOwnerDecision": "RuleCode shadow activations are waiting for your promotion decision.",
152
+ "noPendingDecision": "No principle approval is waiting right now.",
153
+ "ownerDecisionAvailable": "The configured Owner holds the governance decision entry.",
154
+ "breakGlassEntry": "Emergency pause currently resolves through the local break-glass path because no Owner identity is configured.",
155
+ "recoveryRequired": "Some governance work stalled and needs recovery before it can continue.",
156
+ "sourceUnavailable": "A required governance source is unavailable, so ongoing work cannot progress.",
157
+ "configInvalid": "The workspace config file is invalid; the environment classification is unknown.",
158
+ "processing": "Governance work is running in the background. No decision is needed right now.",
159
+ "workspaceClear": "All governance work is settled. Nothing needs your attention.",
160
+ "workspaceEmpty": "No governance records yet. PD will populate this view once the pipeline runs."
161
+ },
162
+ "next": {
163
+ "configureOwner": "Configure PD_OWNER_ID and PD_OWNER_CREDENTIAL_ID, then enable console token auth.",
164
+ "reviewApprovals": "Review the pending decisions below.",
165
+ "inspectRecovery": "Open Failed Tasks and recover the stalled work.",
166
+ "inspectSources": "Inspect state.db and the principle ledger, then restart the console.",
167
+ "fixConfig": "Fix the invalid keys in .pd/config.yaml.",
168
+ "monitor": "Nothing to do — PD will surface the next decision here.",
169
+ "none": "Nothing to do right now."
170
+ },
171
+ "ownerGuide": {
172
+ "title": "Set the Owner identity",
173
+ "intro": "Copy the command below and run it in the shell that launches OpenClaw and the PD Console (replace <owner-id> and <credential-id> with your own IDs), then restart both.",
174
+ "tokenAuthHint": "Console token authentication (--token or PD_CONSOLE_TOKEN) is also required for the identity to take effect; if not enabled yet, complete that step per the configuration guide.",
175
+ "cmdPowerShell": "PowerShell (Windows)",
176
+ "cmdBash": "bash (macOS / Linux)",
177
+ "copy": "Copy",
178
+ "copied": "Copied",
179
+ "docLink": "Configuration guide and verification →"
180
+ },
181
+ "activity": {
182
+ "needsDecision": "{{count}} decision(s) waiting",
183
+ "needsRecovery": "{{count}} item(s) need recovery",
184
+ "blocked": "Progress is blocked by an unavailable source",
185
+ "processing": "Background processing ({{count}})"
186
+ },
187
+ "readiness": {
188
+ "identity": {
189
+ "configured": "Owner identity: configured",
190
+ "missing": "Owner identity: missing"
191
+ },
192
+ "principleApproval": "Principle approvals: operator entry",
193
+ "rulecode": {
194
+ "ready": "RuleCode decisions: Owner entry",
195
+ "blocked": "RuleCode decisions: blocked (no Owner identity)"
196
+ },
197
+ "pause": {
198
+ "owner": "Emergency pause: Owner entry",
199
+ "breakGlass": "Emergency pause: break-glass entry"
200
+ }
201
+ },
202
+ "trust": {
203
+ "environment": {
204
+ "production": "Environment: production",
205
+ "development": "Environment: development",
206
+ "demo": "Environment: demo",
207
+ "test": "Environment: test",
208
+ "unknown": "Environment: unknown"
209
+ },
210
+ "lineage": {
211
+ "strong": "Lineage confidence: strong",
212
+ "weak": "Lineage confidence: weak",
213
+ "unknown": "Lineage confidence: unknown"
214
+ }
215
+ },
216
+ "dataQuality": {
217
+ "degraded": "Data quality degraded — e.g. {{reasonCode}} ({{count}} occurrence(s)). Some explanations may be incomplete."
218
+ },
219
+ "error": {
220
+ "snapshotUnavailable": "The governance experience snapshot could not be loaded."
221
+ }
222
+ },
139
223
  "inProgressTitle": "Governance in progress",
140
224
  "inProgressDetail": "PD will surface a principle candidate here once the internalization pipeline completes and an owner-reviewable artifact is generated.",
141
225
  "degradedTitle": "System Signals",
@@ -452,6 +536,24 @@
452
536
  "empty": "No recent records — this principle has not been triggered at runtime yet.",
453
537
  "note": "Two levels: Effect = the principle actually changed behavior (block / auto-correction / agent self-report); Presence = the principle entered task context (gray rows). Presence in a decision ≠ changed behavior. Self-reports are probabilistic agent claims, listed separately from deterministic events.",
454
538
  "unavailableReason": "Receipt history is unavailable right now.",
539
+ "coverage": {
540
+ "label": "Evidence coverage",
541
+ "statusAvailable": "Available",
542
+ "statusDisabled": "Receipt collection disabled",
543
+ "statusUnavailable": "Receipt data unavailable",
544
+ "observedSince": "Observed since {{date}}",
545
+ "observedSinceEmpty": "No records retained",
546
+ "asOf": "as of {{date}}",
547
+ "retention": "retention {{days}} days",
548
+ "limitation": "Historical completeness cannot be guaranteed — counts show currently retained evidence, not full history.",
549
+ "validationPartial": "Some records could not be displayed.",
550
+ "validationMalformed": "Receipt data requires recovery — counts may be unreliable.",
551
+ "reasonCodes": {
552
+ "receiptRowsDropped": "some rows were skipped during validation",
553
+ "ledgerLevelInvalid": "records with an invalid level exist",
554
+ "ledgerCountsUnreadable": "counts could not be read"
555
+ }
556
+ },
455
557
  "kind": {
456
558
  "rule_blocked": "Block",
457
559
  "auto_correct_applied": "Auto-correct",
@@ -508,6 +610,7 @@
508
610
  "process": "Current stage",
509
611
  "automation": "Automation",
510
612
  "nextAction": "Next safe action",
613
+ "nextActionLabel": "Next action:",
511
614
  "blockers": "Needs attention",
512
615
  "uncertainty": "Evidence uncertainty",
513
616
  "provenance": "Canonical evidence references",
@@ -636,8 +739,59 @@
636
739
  "safetyIsolation": "Safety Isolation",
637
740
  "runtimeCapability": "Runtime {{version}} · shadow evidence {{supported}}",
638
741
  "supported": "supported",
639
- "unsupported": "unsupported",
640
- "hardSafetyChecks": "Promotion safety checks",
742
+ "unsupported": "Unsupported",
743
+ "checks": {
744
+ "bounded_scope": "Bounded Tool Scope",
745
+ "runtime_compatibility": "Runtime Compatibility",
746
+ "host_liveness_composition": "Host Liveness Composition",
747
+ "emergency_controls": "Emergency Controls Health",
748
+ "runtime_shadow_evidence": "Runtime Shadow Evidence",
749
+ "owner_identity_configuration": "Owner Identity Configuration",
750
+ "activation_eligibility": "Activation Eligibility",
751
+ "lineage_binding": "Lineage & Artifact Binding",
752
+ "production_compile_load": "Production Compile & Load",
753
+ "golden_trace": "Golden Trace Evaluation",
754
+ "evidence_binding": "Evidence Binding"
755
+ },
756
+ "checkStatus": {
757
+ "passed": "Passed",
758
+ "failed": "Failed"
759
+ },
760
+ "reasonCodes": {
761
+ "required_check_missing": "Required safety check result missing",
762
+ "duplicate_check_result": "Duplicate check result recorded",
763
+ "runtime_shadow_evidence_unsupported": "Host runtime does not support shadow evidence collection",
764
+ "explicit_affected_tools_required": "Explicit affected tools must be defined",
765
+ "host_liveness_contract_missing_invalid_or_unsupported": "Host liveness contract is missing, invalid, or unsupported",
766
+ "neutral_probe_or_live_composition_failed": "Neutral probe or live composition check failed",
767
+ "neutral_probe_blocked": "Neutral probe was blocked by RuleCode",
768
+ "safety_controls_disabled": "Durable RuleCode safety controls are disabled",
769
+ "out_of_band_controls_unavailable": "Out-of-band emergency controls are unavailable",
770
+ "configured_owner_missing": "Configured Owner credential is missing or unverified",
771
+ "unresolved_shadow_unhealthy_evidence": "Unresolved runtime errors recorded during shadow observation",
772
+ "shadow_telemetry_source_unavailable": "Shadow telemetry source is missing or unreadable",
773
+ "artifact_digest_mismatch": "Artifact digest does not match the active version",
774
+ "active_shadow_activation_required": "Active shadow activation required for promotion",
775
+ "activation_not_unique": "Multiple active activations found",
776
+ "activation_artifact_mismatch": "Activation artifact does not match review subject",
777
+ "artifact_lineage_missing": "Artifact lineage (source task or parent artifacts) is missing",
778
+ "artifact_not_found": "Artifact not found in safety store",
779
+ "hard_check_failed": "Hard safety check failed",
780
+ "promotion_safety_gate_blocked": "Promotion blocked by safety gate checks",
781
+ "promotion_readiness_unavailable": "Promotion readiness could not be established",
782
+ "promotion_snapshot_stale": "Activation artifact changed during review",
783
+ "evidence_override_reason_required": "Evidence-insufficient promotion requires an Owner override reason",
784
+ "evidence_override_note_required": "Evidence-insufficient promotion requires an Owner review note",
785
+ "host_contract_unavailable": "Host liveness contract unavailable",
786
+ "promotion_commit_failed": "Failed to commit promotion to durable safety store",
787
+ "feature_not_enabled": "Feature is not enabled",
788
+ "safety_controls_unavailable": "Safety controls unavailable",
789
+ "owner_authentication_required": "Owner authentication required",
790
+ "cli_owner_note_required": "CLI promotion requires an Owner review note",
791
+ "confirmation_required": "Live enforcement confirmation required",
792
+ "promotion_request_invalid": "Promotion request parameters are invalid"
793
+ },
794
+ "hardSafetyChecks": "Promotion Safety Checks",
641
795
  "live24Hours": "Live monitoring · 24 hours",
642
796
  "live7Days": "Live monitoring · 7 days",
643
797
  "matched": "Matched",
@@ -817,6 +971,34 @@
817
971
  "enterAccessToken": "Enter access token",
818
972
  "tokenSaved": "Token saved",
819
973
  "tokenSessionOnly": "Token is stored in browser session only.",
974
+ "ownerIdentity": {
975
+ "title": "Owner identity",
976
+ "intro": "The Owner identity gates governance decision entry points (RuleCode promotion, emergency pause, etc.). Register to ~/.pd/owner.json (install-level, shared across workspaces). If the PD_OWNER_ID and PD_OWNER_CREDENTIAL_ID environment variables are set together, they take precedence as a pair.",
977
+ "loading": "Loading…",
978
+ "statusConfigured": "Registered",
979
+ "statusMissing": "Not registered",
980
+ "statusInvalid": "Env configuration invalid",
981
+ "sourceEnv": "Source: environment variables (highest priority)",
982
+ "sourceFile": "Source: ~/.pd/owner.json",
983
+ "sourceInvalid": "Source: environment variables (incomplete pair)",
984
+ "sourceNone": "Not registered",
985
+ "governanceReady": "Governance: Ready",
986
+ "governanceNotReady": "Governance: Not ready",
987
+ "governanceReasonTokenAuth": "Console token authentication is required before any Owner governance action can execute.",
988
+ "governanceReasonIdentity": "A complete Owner identity is required before any Owner governance action can execute.",
989
+ "governanceNextActionTokenAuth": "Next action: start pd-console with --token <value> or set PD_CONSOLE_TOKEN, then retry.",
990
+ "invalidEnvHint": "PD_OWNER_ID and PD_OWNER_CREDENTIAL_ID must be set together and both non-empty. Until the pair is completed or both variables are removed, no Owner authority is active — the file registration is NOT in effect.",
991
+ "ownerIdLabel": "Owner ID",
992
+ "credentialIdLabel": "Credential ID",
993
+ "register": "Register",
994
+ "unregister": "Unregister",
995
+ "registeredAt": "registered",
996
+ "envHint": "The identity currently comes from environment variables. To switch to file registration, remove the env vars and restart the console.",
997
+ "required": "Owner ID and Credential ID must not be empty.",
998
+ "operationFailed": "Operation failed. Please retry.",
999
+ "registered": "Owner identity registered.",
1000
+ "unregistered": "Owner identity unregistered."
1001
+ },
820
1002
  "workspace": "Workspaces",
821
1003
  "addWorkspace": "Add Workspace",
822
1004
  "syncWorkspace": "Sync",
@@ -1060,6 +1242,16 @@
1060
1242
  "noHistory": "No update history available.",
1061
1243
  "version": "Version",
1062
1244
  "failed": "Failed",
1245
+ "historyKind": {
1246
+ "update": "Update",
1247
+ "reinstall": "Reinstall",
1248
+ "legacy_migration": "Legacy migration",
1249
+ "rollback": "Rollback",
1250
+ "refusal": "Refused",
1251
+ "failure": "Failed",
1252
+ "recovery": "Recovery",
1253
+ "unknown": "Unknown operation"
1254
+ },
1063
1255
  "checkError": "Check error",
1064
1256
  "syncPending": "Version {{pluginVersion}} is published, but the installer is syncing (you can update to the version shown above for now). Please try again later.",
1065
1257
  "loadError": "Unable to load update data. You can try refreshing the page.",
@@ -1377,6 +1569,10 @@
1377
1569
  "recoverConfirmActionDesc": "Reset the task and allow runtime execution",
1378
1570
  "recoverConfirmImpactLabel": "Impact",
1379
1571
  "recoverConfirmImpactDesc": "Existing artifacts are preserved. A new execution attempt will be created.",
1572
+ "recoverConfirmAttempts": "Attempts used",
1573
+ "recoverExhaustedWarning": "This task has used its entire retry budget ({{attempt}}/{{max}}). A plain recovery will be refused.",
1574
+ "recoverConfirmForceButton": "Force recover",
1575
+ "recoverConfirmForceImpactDesc": "Force-reset the task: clear its error and lease, raise the retry budget by 3, and create a new execution attempt. Existing artifacts are preserved.",
1380
1576
  "recoverConfirmButton": "Recover",
1381
1577
  "recoverSuccess": "Recovery accepted — the task is pending again",
1382
1578
  "recoverFailed": "Recovery failed",
@@ -136,6 +136,90 @@
136
136
  "degraded": "降级"
137
137
  },
138
138
  "nextActionLabel": "建议操作:",
139
+ "experience": {
140
+ "attention": {
141
+ "setupRequired": "需要初始设置",
142
+ "ownerDecisionRequired": "等待拥有者决策",
143
+ "recoveryRequired": "需要恢复处理",
144
+ "degraded": "数据降级",
145
+ "backgroundProcessing": "后台处理中",
146
+ "allClear": "一切正常"
147
+ },
148
+ "reason": {
149
+ "ownerIdentityMissing": "尚未配置拥有者身份。RuleCode 治理决策入口被阻塞,需要设置 PD_OWNER_ID 与 PD_OWNER_CREDENTIAL_ID 并启用控制台令牌认证。",
150
+ "approvalPending": "有原则审批正在等待你的决策。",
151
+ "rulecodeOwnerDecision": "有 RuleCode 影子激活正在等待你的晋升决策。",
152
+ "noPendingDecision": "当前没有等待决策的原则审批。",
153
+ "ownerDecisionAvailable": "治理决策入口由已配置的拥有者持有。",
154
+ "breakGlassEntry": "由于未配置拥有者身份,紧急暂停当前通过本地破窗路径生效。",
155
+ "recoveryRequired": "部分治理工作已停滞,需要先恢复才能继续。",
156
+ "sourceUnavailable": "必需的治理数据源不可用,进行中的工作无法推进。",
157
+ "configInvalid": "工作区配置文件无效,环境分类未知。",
158
+ "processing": "治理工作正在后台运行,当前无需决策。",
159
+ "workspaceClear": "所有治理工作已就绪,没有需要你关注的事项。",
160
+ "workspaceEmpty": "暂无治理记录。管线运行后 PD 会填充此视图。"
161
+ },
162
+ "next": {
163
+ "configureOwner": "配置 PD_OWNER_ID 与 PD_OWNER_CREDENTIAL_ID,并启用控制台令牌认证。",
164
+ "reviewApprovals": "在下方处理待决策事项。",
165
+ "inspectRecovery": "打开失败任务页面并恢复停滞的工作。",
166
+ "inspectSources": "检查 state.db 与原则账本,然后重启控制台。",
167
+ "fixConfig": "修复 .pd/config.yaml 中的无效配置。",
168
+ "monitor": "暂无需操作——下一个决策出现时 PD 会在这里提示。",
169
+ "none": "当前无需操作。"
170
+ },
171
+ "ownerGuide": {
172
+ "title": "设置拥有者身份",
173
+ "intro": "复制以下命令,在启动 OpenClaw 与 PD 控制台的 shell 中执行(把 <owner-id> 与 <credential-id> 换成你自己的 ID),然后重启两者。",
174
+ "tokenAuthHint": "还需要启用控制台令牌认证(--token 或 PD_CONSOLE_TOKEN)——这是拥有者身份成立的必要条件;若尚未启用,请按配置文档完成该步骤。",
175
+ "cmdPowerShell": "PowerShell(Windows)",
176
+ "cmdBash": "bash(macOS / Linux)",
177
+ "copy": "复制",
178
+ "copied": "已复制",
179
+ "docLink": "查看配置说明与验证方法 →"
180
+ },
181
+ "activity": {
182
+ "needsDecision": "{{count}} 项决策待处理",
183
+ "needsRecovery": "{{count}} 项需要恢复",
184
+ "blocked": "数据源不可用,进展被阻塞",
185
+ "processing": "后台处理中({{count}})"
186
+ },
187
+ "readiness": {
188
+ "identity": {
189
+ "configured": "拥有者身份:已配置",
190
+ "missing": "拥有者身份:未配置"
191
+ },
192
+ "principleApproval": "原则审批:操作员入口",
193
+ "rulecode": {
194
+ "ready": "RuleCode 决策:拥有者入口",
195
+ "blocked": "RuleCode 决策:已阻塞(缺少拥有者身份)"
196
+ },
197
+ "pause": {
198
+ "owner": "紧急暂停:拥有者入口",
199
+ "breakGlass": "紧急暂停:破窗入口"
200
+ }
201
+ },
202
+ "trust": {
203
+ "environment": {
204
+ "production": "环境:生产",
205
+ "development": "环境:开发",
206
+ "demo": "环境:演示",
207
+ "test": "环境:测试",
208
+ "unknown": "环境:未知"
209
+ },
210
+ "lineage": {
211
+ "strong": "溯源置信度:强",
212
+ "weak": "溯源置信度:弱",
213
+ "unknown": "溯源置信度:未知"
214
+ }
215
+ },
216
+ "dataQuality": {
217
+ "degraded": "数据质量降级——例如 {{reasonCode}}({{count}} 次)。部分解释可能不完整。"
218
+ },
219
+ "error": {
220
+ "snapshotUnavailable": "治理体验快照加载失败。"
221
+ }
222
+ },
139
223
  "inProgressTitle": "治理链路进行中",
140
224
  "inProgressDetail": "当内化管线完成并生成可审查的原则候选后,PD 会在这里展示。",
141
225
  "degradedTitle": "系统信号",
@@ -452,6 +536,24 @@
452
536
  "empty": "最近没有记录——这条原则尚未在运行中被触发。",
453
537
  "note": "两级语义:Effect(行为生效)= 拦截 / 自动纠正 / 智能体自述遵循;Presence(参与上下文)= 原则进入任务上下文(灰色行)。参与决策 ≠ 已改变行为。智能体自述为概率性自报,与确定性事件分列。",
454
538
  "unavailableReason": "暂无法读取生效履历。",
539
+ "coverage": {
540
+ "label": "证据覆盖",
541
+ "statusAvailable": "可用",
542
+ "statusDisabled": "生效履历采集已关闭",
543
+ "statusUnavailable": "生效履历数据不可用",
544
+ "observedSince": "观察起点 {{date}}",
545
+ "observedSinceEmpty": "当前无保留记录",
546
+ "asOf": "截至 {{date}}",
547
+ "retention": "保留 {{days}} 天",
548
+ "limitation": "无法保证历史完整性——数字代表当前保留的证据,不是完整历史。",
549
+ "validationPartial": "部分记录无法展示。",
550
+ "validationMalformed": "生效履历数据需要修复——数字可能不可靠。",
551
+ "reasonCodes": {
552
+ "receiptRowsDropped": "部分记录在校验时被跳过",
553
+ "ledgerLevelInvalid": "存在层级异常的记录",
554
+ "ledgerCountsUnreadable": "计数无法读取"
555
+ }
556
+ },
455
557
  "kind": {
456
558
  "rule_blocked": "拦截",
457
559
  "auto_correct_applied": "自动纠正",
@@ -508,6 +610,7 @@
508
610
  "process": "当前阶段",
509
611
  "automation": "自动化状态",
510
612
  "nextAction": "下一步安全动作",
613
+ "nextActionLabel": "建议操作:",
511
614
  "blockers": "需要关注",
512
615
  "uncertainty": "证据不确定性",
513
616
  "provenance": "规范证据引用",
@@ -637,6 +740,57 @@
637
740
  "runtimeCapability": "运行时 {{version}} · 影子证据{{supported}}",
638
741
  "supported": "受支持",
639
742
  "unsupported": "不受支持",
743
+ "checks": {
744
+ "bounded_scope": "明确的工具范围",
745
+ "runtime_compatibility": "运行时兼容性",
746
+ "host_liveness_composition": "宿主存活性与探针组合",
747
+ "emergency_controls": "紧急熔断控制可用性",
748
+ "runtime_shadow_evidence": "运行时影子观察证据",
749
+ "owner_identity_configuration": "拥有者身份配置",
750
+ "activation_eligibility": "生效资格",
751
+ "lineage_binding": "血缘与工件绑定",
752
+ "production_compile_load": "生产环境编译与加载",
753
+ "golden_trace": "基准用例验证",
754
+ "evidence_binding": "安全证据绑定"
755
+ },
756
+ "checkStatus": {
757
+ "passed": "已通过",
758
+ "failed": "未通过"
759
+ },
760
+ "reasonCodes": {
761
+ "required_check_missing": "缺少必要的安全检查结果",
762
+ "duplicate_check_result": "记录了重复的检查结果",
763
+ "runtime_shadow_evidence_unsupported": "当前宿主运行时不支持收集影子证据",
764
+ "explicit_affected_tools_required": "必须明确指定受影响的工具列表",
765
+ "host_liveness_contract_missing_invalid_or_unsupported": "宿主存活性契约缺失、无效或不受支持",
766
+ "neutral_probe_or_live_composition_failed": "中性探针或实时组合检查失败",
767
+ "neutral_probe_blocked": "中性对照探针被 RuleCode 拦截",
768
+ "safety_controls_disabled": "持久化 RuleCode 安全控制已禁用",
769
+ "out_of_band_controls_unavailable": "带外紧急控制不可用",
770
+ "configured_owner_missing": "缺少已配置的拥有者凭据或凭据未通过验证",
771
+ "unresolved_shadow_unhealthy_evidence": "影子观察期间记录了未解决的运行时异常",
772
+ "shadow_telemetry_source_unavailable": "影子遥测数据源缺失或不可读",
773
+ "artifact_digest_mismatch": "工件摘要与当前生效版本不匹配",
774
+ "active_shadow_activation_required": "提升上线前必须存在活跃的影子观察记录",
775
+ "activation_not_unique": "存在多条活跃的生效记录",
776
+ "activation_artifact_mismatch": "生效工件与当前评审主体不匹配",
777
+ "artifact_lineage_missing": "工件血缘(来源任务或父工件)缺失",
778
+ "artifact_not_found": "在安全存储中未找到指定工件",
779
+ "hard_check_failed": "强制安全门禁未通过",
780
+ "promotion_safety_gate_blocked": "安全门禁检查未通过,提升已阻止",
781
+ "promotion_readiness_unavailable": "无法确认提升就绪状态",
782
+ "promotion_snapshot_stale": "评审期间生效工件发生变更,快照已过期",
783
+ "evidence_override_reason_required": "有限证据提升需要选择拥有者特批原因",
784
+ "evidence_override_note_required": "有限证据提升必须填写拥有者说明",
785
+ "host_contract_unavailable": "宿主存活性契约不可用",
786
+ "promotion_commit_failed": "持久化安全存储写入提升记录失败",
787
+ "feature_not_enabled": "该功能未启用",
788
+ "safety_controls_unavailable": "安全控制不可用",
789
+ "owner_authentication_required": "需要拥有者身份认证",
790
+ "cli_owner_note_required": "CLI 提升必须提供拥有者评审说明",
791
+ "confirmation_required": "需要明确确认上线执行",
792
+ "promotion_request_invalid": "提升请求参数无效"
793
+ },
640
794
  "hardSafetyChecks": "上线安全检查",
641
795
  "live24Hours": "Live 监控 · 24 小时",
642
796
  "live7Days": "Live 监控 · 7 天",
@@ -817,6 +971,34 @@
817
971
  "enterAccessToken": "输入访问令牌",
818
972
  "tokenSaved": "令牌已保存",
819
973
  "tokenSessionOnly": "令牌仅存储在浏览器会话中。",
974
+ "ownerIdentity": {
975
+ "title": "拥有者身份",
976
+ "intro": "拥有者身份决定治理决策入口(RuleCode 晋升、紧急暂停等)。登记到 ~/.pd/owner.json(安装级,跨工作区生效)。若环境变量 PD_OWNER_ID 与 PD_OWNER_CREDENTIAL_ID 成对设置,则作为一对整体优先生效。",
977
+ "loading": "加载中…",
978
+ "statusConfigured": "已登记",
979
+ "statusMissing": "未登记",
980
+ "statusInvalid": "环境变量配置无效",
981
+ "sourceEnv": "来源:环境变量(最高优先级)",
982
+ "sourceFile": "来源:~/.pd/owner.json",
983
+ "sourceInvalid": "来源:环境变量(配置不完整)",
984
+ "sourceNone": "尚未登记",
985
+ "governanceReady": "治理:就绪",
986
+ "governanceNotReady": "治理:未就绪",
987
+ "governanceReasonTokenAuth": "需要先启用控制台令牌认证,拥有者治理动作才能执行。",
988
+ "governanceReasonIdentity": "需要先具备完整的拥有者身份,拥有者治理动作才能执行。",
989
+ "governanceNextActionTokenAuth": "下一步:以 --token <值> 启动 pd-console,或设置 PD_CONSOLE_TOKEN,然后重试。",
990
+ "invalidEnvHint": "PD_OWNER_ID 与 PD_OWNER_CREDENTIAL_ID 必须成对设置且均非空。在补齐这对变量或将其全部移除之前,任何拥有者权限都不会生效——文件登记同样不生效。",
991
+ "ownerIdLabel": "拥有者 ID",
992
+ "credentialIdLabel": "凭据 ID",
993
+ "register": "登记",
994
+ "unregister": "注销",
995
+ "registeredAt": "登记于",
996
+ "envHint": "当前身份来自环境变量。要改用文件登记,请先移除环境变量并重启控制台。",
997
+ "required": "拥有者 ID 与凭据 ID 都不能为空。",
998
+ "operationFailed": "操作失败,请重试。",
999
+ "registered": "已登记拥有者身份。",
1000
+ "unregistered": "已注销拥有者身份。"
1001
+ },
820
1002
  "workspace": "工作空间",
821
1003
  "addWorkspace": "添加工作空间",
822
1004
  "syncWorkspace": "同步",
@@ -1060,6 +1242,16 @@
1060
1242
  "noHistory": "暂无更新历史。",
1061
1243
  "version": "版本",
1062
1244
  "failed": "失败",
1245
+ "historyKind": {
1246
+ "update": "更新",
1247
+ "reinstall": "重新安装",
1248
+ "legacy_migration": "历史迁移",
1249
+ "rollback": "回滚",
1250
+ "refusal": "已拒绝",
1251
+ "failure": "失败",
1252
+ "recovery": "恢复",
1253
+ "unknown": "未知操作"
1254
+ },
1063
1255
  "checkError": "检查出错",
1064
1256
  "syncPending": "最新版 {{pluginVersion}} 已发布,安装器同步中(当前可更新至上方列出的版本)。请稍后再试。",
1065
1257
  "loadError": "无法加载更新数据。你可以尝试刷新页面。",
@@ -1377,6 +1569,10 @@
1377
1569
  "recoverConfirmActionDesc": "重置任务并允许运行时重新执行",
1378
1570
  "recoverConfirmImpactLabel": "影响",
1379
1571
  "recoverConfirmImpactDesc": "既有产物将被保留,并将创建一次新的执行尝试。",
1572
+ "recoverConfirmAttempts": "已用重试次数",
1573
+ "recoverExhaustedWarning": "此任务已用完全部重试次数({{attempt}}/{{max}}),普通恢复将被拒绝。",
1574
+ "recoverConfirmForceButton": "强制恢复",
1575
+ "recoverConfirmForceImpactDesc": "强制重置任务:清空错误与租约记录,重试上限提升 3 次并创建一次新的执行尝试。既有产物将被保留。",
1380
1576
  "recoverConfirmButton": "恢复",
1381
1577
  "recoverSuccess": "恢复已接受——任务已重新进入待处理状态",
1382
1578
  "recoverFailed": "恢复失败",