ShtukbaseStandard
包页面→ /norms/principles.md

pages/norms/principles.md

109 行, 3.1 KB. 以页面形式查看.

  1. ---
  2. type: Collection
  3. title: 原则
  4. icon: "🧱"
  5. description: 如何解决某一类问题。陈述性、不受时间限制、附有理由。不直接检查,但会被应用。
  6. itemType: Principle
  7. items: {mode: path, path: /norms/principles, recursive: true}
  8. writeTo: /norms/principles
  9. properties:
  10. principleId:
  11. kind: text
  12. label: "编号"
  13. pinned: true
  14. statement:
  15. kind: text
  16. label: "陈述"
  17. level:
  18. kind: select
  19. label: "级别"
  20. options:
  21. - {name: MUST, label: "必须(MUST)", color: red}
  22. - {name: SHOULD, label: "应当(SHOULD)", color: blue}
  23. floor:
  24. kind: checkbox
  25. label: "法律与安全"
  26. status:
  27. kind: phase
  28. contour: /norms/contours/principles
  29. label: "状态"
  30. because:
  31. kind: text
  32. label: "理由"
  33. implies:
  34. kind: text
  35. label: "由此得出什么"
  36. opposite:
  37. kind: text
  38. label: "合理的反面观点"
  39. appliesTo:
  40. kind: text
  41. label: "适用于"
  42. decides:
  43. kind: text
  44. label: "所解答的问题"
  45. sources:
  46. kind: text
  47. label: "来源"
  48. shelfLife:
  49. kind: text
  50. label: "有效期"
  51. overrides:
  52. kind: text
  53. label: "覆盖(包的规范编号)"
  54. pack:
  55. kind: text
  56. label: "包"
  57. rail:
  58. kind: text
  59. label: "给智能体的一行"
  60. evidence:
  61. kind: text
  62. label: "来源"
  63. views:
  64. - id: principles--table
  65. name: "全部原则"
  66. layout: table
  67. fields: {}
  68. sorting:
  69. - {propertyId: principleId, direction: ascending}
  70. properties:
  71. - {name: principleId, visible: true}
  72. - {name: title, visible: true, width: 380}
  73. - {name: level, visible: true}
  74. - {name: floor, visible: true}
  75. - {name: status, visible: true}
  76. - {name: pack, visible: true}
  77. - id: principles--board
  78. name: "按状态"
  79. layout: board
  80. fields: {}
  81. board:
  82. preview: page-content
  83. cardSize: small
  84. wrap: true
  85. grouping:
  86. by: status
  87. colorBy: status
  88. sorting:
  89. - {propertyId: principleId, direction: ascending}
  90. properties:
  91. - {name: principleId, visible: true}
  92. - {name: title, visible: true}
  93. - {name: level, visible: true}
  94. - {name: pack, visible: true}
  95. ---
  96. 原则是解决某一类问题的方式:“代码说了算,模型来编写”。它被应用于决策;被检查的不是原则本身,而是由它衍生出来的规则(规则和默认项上的 `followsFrom`)。
  97. 它与其他类型的区别:
  98. - 与**规则**的区别:规则由程序或评审对特定的文件或记录进行检查;
  99. - 与**决策**的区别:决策针对特定事项一次性作出,并引用某条原则;
  100. - 与**信条**的区别:当两条原则方向相反时,才需要信条。
  101. “所解答的问题”字段(`decides`)是一组问题类别(“谁来计算 X”,“智能体还是脚本”)。智能体用它在询问负责人之前找到原则。
  102. “有效期”(`shelfLife`)可以是 `eternal`(永久)、`slow`(2–5 年)或 `fast`(数月);也可以附带复审日期书写:`{class: fast, reviewBy: 2027-02-25}`。
  103. 流程轮廓:候选 → 已接受 → 已替换或已废止。包中的记录以其既有状态到达,并且在项目中不会移动。