ShtukbaseStandard
package page→ /norms/defaults.md

pages/norms/defaults.md

69 lines, 2.0 KB. As a page.

  1. ---
  2. type: Collection
  3. title: Defaults
  4. icon: "🔧"
  5. description: The answer to a typical question when the contract, the customer and the decisions are silent. Overridden by any narrower level.
  6. itemType: Default
  7. items: {mode: path, path: /norms/defaults, recursive: true}
  8. writeTo: /norms/defaults
  9. properties:
  10. defaultId:
  11. kind: text
  12. label: "Number"
  13. pinned: true
  14. question:
  15. kind: text
  16. label: "Question it closes"
  17. answer:
  18. kind: text
  19. label: "Answer"
  20. params:
  21. kind: text
  22. label: "What a project can change"
  23. followsFrom:
  24. kind: text
  25. label: "Follows from"
  26. appliesTo:
  27. kind: text
  28. label: "Applies to"
  29. level:
  30. kind: select
  31. label: "Level"
  32. options:
  33. - {name: SHOULD, label: "Should (SHOULD)", color: blue}
  34. status:
  35. kind: phase
  36. contour: /norms/contours/defaults
  37. label: "State"
  38. overrides:
  39. kind: text
  40. label: "Overrides (norm number of a package)"
  41. pack:
  42. kind: text
  43. label: "Package"
  44. rail:
  45. kind: text
  46. label: "Line for the agent"
  47. evidence:
  48. kind: text
  49. label: "Where it comes from"
  50. views:
  51. - id: defaults--table
  52. name: All defaults
  53. layout: table
  54. fields: {}
  55. sorting:
  56. - {propertyId: defaultId, direction: ascending}
  57. properties:
  58. - {name: defaultId, visible: true}
  59. - {name: question, visible: true, width: 320}
  60. - {name: answer, visible: true, width: 320}
  61. - {name: status, visible: true}
  62. - {name: pack, visible: true}
  63. ---
  64. A default answers a small typical question when the contract, the customer and the decisions are silent: "a day for limits follows the customer's time zone", "retry twice, then hand to a human".
  65. A rule says "it must always be so", a default says "unless told otherwise". Any narrower level replaces it: the project's own default, the customer's word, a decision. The "Question it closes" field is written the way the question usually sounds: the agent uses it to find the answer before asking the owner.
  66. A default's level is always SHOULD. The "State" field is optional: a default without it counts as active.