ShtukbaseStandard
package page→ /norms/principles.md

pages/norms/principles.md

109 lines, 3.1 KB. As a page.

  1. ---
  2. type: Collection
  3. title: Principles
  4. icon: "🧱"
  5. description: How to settle questions of a certain kind. Declarative, timeless, with a reason. Not checked directly, but applied.
  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: "Number"
  13. pinned: true
  14. statement:
  15. kind: text
  16. label: "Statement"
  17. level:
  18. kind: select
  19. label: "Level"
  20. options:
  21. - {name: MUST, label: "Must (MUST)", color: red}
  22. - {name: SHOULD, label: "Should (SHOULD)", color: blue}
  23. floor:
  24. kind: checkbox
  25. label: "Law and safety"
  26. status:
  27. kind: phase
  28. contour: /norms/contours/principles
  29. label: "State"
  30. because:
  31. kind: text
  32. label: "Why"
  33. implies:
  34. kind: text
  35. label: "What follows from it"
  36. opposite:
  37. kind: text
  38. label: "Reasonable opposite"
  39. appliesTo:
  40. kind: text
  41. label: "Applies to"
  42. decides:
  43. kind: text
  44. label: "Questions it closes"
  45. sources:
  46. kind: text
  47. label: "Sources"
  48. shelfLife:
  49. kind: text
  50. label: "Shelf life"
  51. overrides:
  52. kind: text
  53. label: "Overrides (norm number of a package)"
  54. pack:
  55. kind: text
  56. label: "Package"
  57. rail:
  58. kind: text
  59. label: "Line for the agent"
  60. evidence:
  61. kind: text
  62. label: "Where it comes from"
  63. views:
  64. - id: principles--table
  65. name: All principles
  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: By state
  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. A principle is how to settle questions of a certain kind: "code counts, the model writes". It is applied to decisions; what gets checked is not the principle but the rules that grew out of it (`followsFrom` on a rule and a default).
  97. How it differs:
  98. - from a **rule**: a rule is checked by a program or a judge on a specific file or record;
  99. - from a **decision**: a decision is made once about a specific thing and refers to a principle;
  100. - from a **tenet**: a tenet is needed when two principles pull in different directions.
  101. The "Questions it closes" field (`decides`) is a list of classes of questions ("who computes X", "agent or script"). The agent uses it to find a principle before asking the owner.
  102. "Shelf life" (`shelfLife`) is `eternal`, `slow` (2-5 years) or `fast` (months); it can also be written with a review date: `{class: fast, reviewBy: 2027-02-25}`.
  103. Contour: candidate → accepted → replaced or retired. Package records arrive already in their state and do not move in the project.