@almadar/std 17.0.1 → 17.0.3

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 (325) hide show
  1. package/behaviors/lolo/cli/atoms/std-orb-behaviors.lolo +1 -1
  2. package/behaviors/lolo/cli/atoms/std-orb-compile.lolo +1 -1
  3. package/behaviors/lolo/cli/atoms/std-orb-i18n.lolo +1 -1
  4. package/behaviors/lolo/cli/atoms/std-orb-language.lolo +2 -2
  5. package/behaviors/lolo/cli/atoms/std-orb-lint-all.lolo +1 -1
  6. package/behaviors/lolo/cli/atoms/std-orb-lint-asset-inline-url.lolo +1 -1
  7. package/behaviors/lolo/cli/atoms/std-orb-lint-async-result-deaf-target.lolo +1 -1
  8. package/behaviors/lolo/cli/atoms/std-orb-lint-binding-fields.lolo +1 -1
  9. package/behaviors/lolo/cli/atoms/std-orb-lint-binding-roots.lolo +1 -1
  10. package/behaviors/lolo/cli/atoms/std-orb-lint-binding-setters.lolo +1 -1
  11. package/behaviors/lolo/cli/atoms/std-orb-lint-binding-traits.lolo +1 -1
  12. package/behaviors/lolo/cli/atoms/std-orb-lint-browser-effects.lolo +1 -1
  13. package/behaviors/lolo/cli/atoms/std-orb-lint-call-service.lolo +1 -1
  14. package/behaviors/lolo/cli/atoms/std-orb-lint-circuit-client-bound.lolo +1 -1
  15. package/behaviors/lolo/cli/atoms/std-orb-lint-circuit-emits.lolo +1 -1
  16. package/behaviors/lolo/cli/atoms/std-orb-lint-circuit-graph.lolo +1 -1
  17. package/behaviors/lolo/cli/atoms/std-orb-lint-circuit-item-actions.lolo +1 -1
  18. package/behaviors/lolo/cli/atoms/std-orb-lint-circular-dependencies.lolo +1 -1
  19. package/behaviors/lolo/cli/atoms/std-orb-lint-client-tick-locality.lolo +1 -1
  20. package/behaviors/lolo/cli/atoms/std-orb-lint-collection-policy.lolo +1 -1
  21. package/behaviors/lolo/cli/atoms/std-orb-lint-composed-wiring.lolo +1 -1
  22. package/behaviors/lolo/cli/atoms/std-orb-lint-computed-key-dot-path.lolo +1 -1
  23. package/behaviors/lolo/cli/atoms/std-orb-lint-config-dangling-ref.lolo +1 -1
  24. package/behaviors/lolo/cli/atoms/std-orb-lint-config-knob.lolo +1 -1
  25. package/behaviors/lolo/cli/atoms/std-orb-lint-config-role-lists.lolo +1 -1
  26. package/behaviors/lolo/cli/atoms/std-orb-lint-control-unhandled.lolo +1 -1
  27. package/behaviors/lolo/cli/atoms/std-orb-lint-control-value-discarded.lolo +1 -1
  28. package/behaviors/lolo/cli/atoms/std-orb-lint-cross-duplicate-entity.lolo +1 -1
  29. package/behaviors/lolo/cli/atoms/std-orb-lint-cross-emitter.lolo +1 -1
  30. package/behaviors/lolo/cli/atoms/std-orb-lint-cross-registry.lolo +1 -1
  31. package/behaviors/lolo/cli/atoms/std-orb-lint-derived-field-write.lolo +1 -1
  32. package/behaviors/lolo/cli/atoms/std-orb-lint-dispatch-contract.lolo +1 -1
  33. package/behaviors/lolo/cli/atoms/std-orb-lint-duplicate-transition.lolo +1 -1
  34. package/behaviors/lolo/cli/atoms/std-orb-lint-duplicate-use-alias.lolo +1 -1
  35. package/behaviors/lolo/cli/atoms/std-orb-lint-effect-forms.lolo +1 -1
  36. package/behaviors/lolo/cli/atoms/std-orb-lint-egress-scheme-unused.lolo +1 -1
  37. package/behaviors/lolo/cli/atoms/std-orb-lint-embed-config-forward.lolo +1 -1
  38. package/behaviors/lolo/cli/atoms/std-orb-lint-emit-config-ref.lolo +1 -1
  39. package/behaviors/lolo/cli/atoms/std-orb-lint-emit-declaration.lolo +1 -1
  40. package/behaviors/lolo/cli/atoms/std-orb-lint-emit.lolo +1 -1
  41. package/behaviors/lolo/cli/atoms/std-orb-lint-empty-event-name.lolo +1 -1
  42. package/behaviors/lolo/cli/atoms/std-orb-lint-engine.lolo +1 -1
  43. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-access.lolo +1 -1
  44. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-browser-storage.lolo +1 -1
  45. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-duplicate-field.lolo +1 -1
  46. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-empty-enum.lolo +1 -1
  47. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-field-type.lolo +1 -1
  48. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-locale-instances.lolo +1 -1
  49. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-mock-member.lolo +1 -1
  50. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-mutation.lolo +1 -1
  51. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-name-shadows-trait-union.lolo +1 -1
  52. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-persistence.lolo +1 -1
  53. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-semantic-default.lolo +1 -1
  54. package/behaviors/lolo/cli/atoms/std-orb-lint-entity-shape.lolo +1 -1
  55. package/behaviors/lolo/cli/atoms/std-orb-lint-event-id-uniqueness.lolo +1 -1
  56. package/behaviors/lolo/cli/atoms/std-orb-lint-event-wiring.lolo +1 -1
  57. package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-config-knob.lolo +1 -1
  58. package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-event-unfired.lolo +1 -1
  59. package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-field-undeclared.lolo +1 -1
  60. package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-final.lolo +1 -1
  61. package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-persistent-unwritten.lolo +1 -1
  62. package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-provider-mismatch.lolo +1 -1
  63. package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-unsatisfied.lolo +1 -1
  64. package/behaviors/lolo/cli/atoms/std-orb-lint-expected-field-not-provided.lolo +1 -1
  65. package/behaviors/lolo/cli/atoms/std-orb-lint-external-emit-payload.lolo +1 -1
  66. package/behaviors/lolo/cli/atoms/std-orb-lint-fetch-by-id-payload.lolo +1 -1
  67. package/behaviors/lolo/cli/atoms/std-orb-lint-fetch-deliver.lolo +1 -1
  68. package/behaviors/lolo/cli/atoms/std-orb-lint-field-path.lolo +1 -1
  69. package/behaviors/lolo/cli/atoms/std-orb-lint-filter-field-never-written.lolo +1 -1
  70. package/behaviors/lolo/cli/atoms/std-orb-lint-finding-codes.lolo +1 -1
  71. package/behaviors/lolo/cli/atoms/std-orb-lint-generic-types.lolo +1 -1
  72. package/behaviors/lolo/cli/atoms/std-orb-lint-groupby-enum-column-gap.lolo +1 -1
  73. package/behaviors/lolo/cli/atoms/std-orb-lint-guest-view-not-client.lolo +1 -1
  74. package/behaviors/lolo/cli/atoms/std-orb-lint-host-effects.lolo +1 -1
  75. package/behaviors/lolo/cli/atoms/std-orb-lint-http-egress-entry.lolo +1 -1
  76. package/behaviors/lolo/cli/atoms/std-orb-lint-icon-exists.lolo +1 -1
  77. package/behaviors/lolo/cli/atoms/std-orb-lint-icon-format.lolo +1 -1
  78. package/behaviors/lolo/cli/atoms/std-orb-lint-id-refs.lolo +1 -1
  79. package/behaviors/lolo/cli/atoms/std-orb-lint-identity-unique.lolo +1 -1
  80. package/behaviors/lolo/cli/atoms/std-orb-lint-inbound-answer-foreign.lolo +1 -1
  81. package/behaviors/lolo/cli/atoms/std-orb-lint-inbound.lolo +1 -1
  82. package/behaviors/lolo/cli/atoms/std-orb-lint-init-coverage.lolo +1 -1
  83. package/behaviors/lolo/cli/atoms/std-orb-lint-input.lolo +1 -1
  84. package/behaviors/lolo/cli/atoms/std-orb-lint-item-action-event.lolo +1 -1
  85. package/behaviors/lolo/cli/atoms/std-orb-lint-keyed-call-keys.lolo +1 -1
  86. package/behaviors/lolo/cli/atoms/std-orb-lint-keyed-call.lolo +1 -1
  87. package/behaviors/lolo/cli/atoms/std-orb-lint-listen-per.lolo +1 -1
  88. package/behaviors/lolo/cli/atoms/std-orb-lint-listen-redundant-embed-route.lolo +1 -1
  89. package/behaviors/lolo/cli/atoms/std-orb-lint-listen-route-starves-required-field.lolo +1 -1
  90. package/behaviors/lolo/cli/atoms/std-orb-lint-listen-source-never-produces.lolo +1 -1
  91. package/behaviors/lolo/cli/atoms/std-orb-lint-listen-source-unresolved.lolo +1 -1
  92. package/behaviors/lolo/cli/atoms/std-orb-lint-listen-trigger.lolo +1 -1
  93. package/behaviors/lolo/cli/atoms/std-orb-lint-listen-wildcard-unkeyed.lolo +1 -1
  94. package/behaviors/lolo/cli/atoms/std-orb-lint-literal-default.lolo +1 -1
  95. package/behaviors/lolo/cli/atoms/std-orb-lint-llm-wire-unrouted.lolo +1 -1
  96. package/behaviors/lolo/cli/atoms/std-orb-lint-loop-invariant-parse.lolo +1 -1
  97. package/behaviors/lolo/cli/atoms/std-orb-lint-mem-handles.lolo +1 -1
  98. package/behaviors/lolo/cli/atoms/std-orb-lint-merged-fields.lolo +1 -1
  99. package/behaviors/lolo/cli/atoms/std-orb-lint-missing-orbital-name.lolo +1 -1
  100. package/behaviors/lolo/cli/atoms/std-orb-lint-nav-target.lolo +1 -1
  101. package/behaviors/lolo/cli/atoms/std-orb-lint-navigate.lolo +1 -1
  102. package/behaviors/lolo/cli/atoms/std-orb-lint-not-found.lolo +1 -1
  103. package/behaviors/lolo/cli/atoms/std-orb-lint-oauth.lolo +1 -1
  104. package/behaviors/lolo/cli/atoms/std-orb-lint-orbital-config-dead-knob.lolo +1 -1
  105. package/behaviors/lolo/cli/atoms/std-orb-lint-orbital-duplicate-name.lolo +1 -1
  106. package/behaviors/lolo/cli/atoms/std-orb-lint-page-content-owner.lolo +1 -1
  107. package/behaviors/lolo/cli/atoms/std-orb-lint-page-empty-traits.lolo +1 -1
  108. package/behaviors/lolo/cli/atoms/std-orb-lint-page-modifiers.lolo +1 -1
  109. package/behaviors/lolo/cli/atoms/std-orb-lint-page-path-uniqueness.lolo +1 -1
  110. package/behaviors/lolo/cli/atoms/std-orb-lint-page-path.lolo +1 -1
  111. package/behaviors/lolo/cli/atoms/std-orb-lint-page-unreachable.lolo +1 -1
  112. package/behaviors/lolo/cli/atoms/std-orb-lint-parallel-pure.lolo +1 -1
  113. package/behaviors/lolo/cli/atoms/std-orb-lint-pattern-props.lolo +1 -1
  114. package/behaviors/lolo/cli/atoms/std-orb-lint-payload-field-name.lolo +1 -1
  115. package/behaviors/lolo/cli/atoms/std-orb-lint-placement.lolo +1 -1
  116. package/behaviors/lolo/cli/atoms/std-orb-lint-program-eval.lolo +1 -1
  117. package/behaviors/lolo/cli/atoms/std-orb-lint-query-index.lolo +1 -1
  118. package/behaviors/lolo/cli/atoms/std-orb-lint-relation-targets.lolo +1 -1
  119. package/behaviors/lolo/cli/atoms/std-orb-lint-render-ui-pattern.lolo +1 -1
  120. package/behaviors/lolo/cli/atoms/std-orb-lint-reserved-component-name.lolo +1 -1
  121. package/behaviors/lolo/cli/atoms/std-orb-lint-retired-effect-forms.lolo +1 -1
  122. package/behaviors/lolo/cli/atoms/std-orb-lint-rui-binding.lolo +1 -1
  123. package/behaviors/lolo/cli/atoms/std-orb-lint-rui-effects.lolo +1 -1
  124. package/behaviors/lolo/cli/atoms/std-orb-lint-schema-header.lolo +1 -1
  125. package/behaviors/lolo/cli/atoms/std-orb-lint-service-def.lolo +1 -1
  126. package/behaviors/lolo/cli/atoms/std-orb-lint-set-column.lolo +1 -1
  127. package/behaviors/lolo/cli/atoms/std-orb-lint-sexpr-binding.lolo +1 -1
  128. package/behaviors/lolo/cli/atoms/std-orb-lint-sigil-context.lolo +1 -1
  129. package/behaviors/lolo/cli/atoms/std-orb-lint-sign-in-route.lolo +1 -1
  130. package/behaviors/lolo/cli/atoms/std-orb-lint-slot-tick.lolo +1 -1
  131. package/behaviors/lolo/cli/atoms/std-orb-lint-slot.lolo +1 -1
  132. package/behaviors/lolo/cli/atoms/std-orb-lint-state-shape.lolo +1 -1
  133. package/behaviors/lolo/cli/atoms/std-orb-lint-state-unreachable.lolo +1 -1
  134. package/behaviors/lolo/cli/atoms/std-orb-lint-store-binding.lolo +1 -1
  135. package/behaviors/lolo/cli/atoms/std-orb-lint-theme-pin-contradicts-app.lolo +1 -1
  136. package/behaviors/lolo/cli/atoms/std-orb-lint-theme-ref.lolo +1 -1
  137. package/behaviors/lolo/cli/atoms/std-orb-lint-theme-undeclared.lolo +1 -1
  138. package/behaviors/lolo/cli/atoms/std-orb-lint-theme-values.lolo +1 -1
  139. package/behaviors/lolo/cli/atoms/std-orb-lint-tick-requires-runtime.lolo +1 -1
  140. package/behaviors/lolo/cli/atoms/std-orb-lint-time-unit.lolo +1 -1
  141. package/behaviors/lolo/cli/atoms/std-orb-lint-trait-embeds.lolo +1 -1
  142. package/behaviors/lolo/cli/atoms/std-orb-lint-trait-id-uniqueness.lolo +1 -1
  143. package/behaviors/lolo/cli/atoms/std-orb-lint-trait-mounts.lolo +1 -1
  144. package/behaviors/lolo/cli/atoms/std-orb-lint-trait-ref-config.lolo +1 -1
  145. package/behaviors/lolo/cli/atoms/std-orb-lint-trait-refs.lolo +1 -1
  146. package/behaviors/lolo/cli/atoms/std-orb-lint-transition-refs.lolo +1 -1
  147. package/behaviors/lolo/cli/atoms/std-orb-lint-type-param-sweep.lolo +1 -1
  148. package/behaviors/lolo/cli/atoms/std-orb-lint-unsigned-guard.lolo +1 -1
  149. package/behaviors/lolo/cli/atoms/std-orb-lint-untyped-array.lolo +1 -1
  150. package/behaviors/lolo/cli/atoms/std-orb-lint-user-field-exists.lolo +1 -1
  151. package/behaviors/lolo/cli/atoms/std-orb-lint-user-identity.lolo +1 -1
  152. package/behaviors/lolo/cli/atoms/std-orb-lint-viewer-stranded.lolo +1 -1
  153. package/behaviors/lolo/cli/atoms/std-orb-mcp-install.lolo +1 -1
  154. package/behaviors/lolo/cli/atoms/std-orb-mcp.lolo +2 -2
  155. package/behaviors/lolo/cli/atoms/std-orb-packages.lolo +26 -16
  156. package/behaviors/lolo/cli/atoms/std-orb-supervise.lolo +1 -1
  157. package/behaviors/lolo/cli/atoms/std-orb-update-notice.lolo +1 -1
  158. package/behaviors/lolo/cli/atoms/std-orb-validate.lolo +1 -1
  159. package/behaviors/lolo/dev/atoms/std-launchpad-updates.lolo +1 -1
  160. package/behaviors/lolo/dev/atoms/std-orb-stats.lolo +1 -1
  161. package/behaviors/lolo/dev/organisms/std-launchpad.lolo +1 -1
  162. package/behaviors/lolo/spec/cli/orb-packages.lolo +1 -1
  163. package/behaviors/registry/cli/atoms/std-orb-behaviors.orb +1 -1
  164. package/behaviors/registry/cli/atoms/std-orb-compile.orb +1 -1
  165. package/behaviors/registry/cli/atoms/std-orb-i18n.orb +1 -1
  166. package/behaviors/registry/cli/atoms/std-orb-language.orb +1 -1
  167. package/behaviors/registry/cli/atoms/std-orb-lint-all.orb +1 -1
  168. package/behaviors/registry/cli/atoms/std-orb-lint-asset-inline-url.orb +1 -1
  169. package/behaviors/registry/cli/atoms/std-orb-lint-async-result-deaf-target.orb +1 -1
  170. package/behaviors/registry/cli/atoms/std-orb-lint-binding-fields.orb +1 -1
  171. package/behaviors/registry/cli/atoms/std-orb-lint-binding-roots.orb +1 -1
  172. package/behaviors/registry/cli/atoms/std-orb-lint-binding-setters.orb +1 -1
  173. package/behaviors/registry/cli/atoms/std-orb-lint-binding-traits.orb +1 -1
  174. package/behaviors/registry/cli/atoms/std-orb-lint-browser-effects.orb +1 -1
  175. package/behaviors/registry/cli/atoms/std-orb-lint-call-service.orb +1 -1
  176. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-client-bound.orb +1 -1
  177. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-emits.orb +1 -1
  178. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-graph.orb +1 -1
  179. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-item-actions.orb +1 -1
  180. package/behaviors/registry/cli/atoms/std-orb-lint-circular-dependencies.orb +1 -1
  181. package/behaviors/registry/cli/atoms/std-orb-lint-client-tick-locality.orb +1 -1
  182. package/behaviors/registry/cli/atoms/std-orb-lint-collection-policy.orb +1 -1
  183. package/behaviors/registry/cli/atoms/std-orb-lint-composed-wiring.orb +1 -1
  184. package/behaviors/registry/cli/atoms/std-orb-lint-computed-key-dot-path.orb +1 -1
  185. package/behaviors/registry/cli/atoms/std-orb-lint-config-dangling-ref.orb +1 -1
  186. package/behaviors/registry/cli/atoms/std-orb-lint-config-knob.orb +1 -1
  187. package/behaviors/registry/cli/atoms/std-orb-lint-config-role-lists.orb +1 -1
  188. package/behaviors/registry/cli/atoms/std-orb-lint-control-unhandled.orb +1 -1
  189. package/behaviors/registry/cli/atoms/std-orb-lint-control-value-discarded.orb +1 -1
  190. package/behaviors/registry/cli/atoms/std-orb-lint-cross-duplicate-entity.orb +1 -1
  191. package/behaviors/registry/cli/atoms/std-orb-lint-cross-emitter.orb +1 -1
  192. package/behaviors/registry/cli/atoms/std-orb-lint-cross-registry.orb +1 -1
  193. package/behaviors/registry/cli/atoms/std-orb-lint-derived-field-write.orb +1 -1
  194. package/behaviors/registry/cli/atoms/std-orb-lint-dispatch-contract.orb +1 -1
  195. package/behaviors/registry/cli/atoms/std-orb-lint-duplicate-transition.orb +1 -1
  196. package/behaviors/registry/cli/atoms/std-orb-lint-duplicate-use-alias.orb +1 -1
  197. package/behaviors/registry/cli/atoms/std-orb-lint-effect-forms.orb +1 -1
  198. package/behaviors/registry/cli/atoms/std-orb-lint-egress-scheme-unused.orb +1 -1
  199. package/behaviors/registry/cli/atoms/std-orb-lint-embed-config-forward.orb +1 -1
  200. package/behaviors/registry/cli/atoms/std-orb-lint-emit-config-ref.orb +1 -1
  201. package/behaviors/registry/cli/atoms/std-orb-lint-emit-declaration.orb +1 -1
  202. package/behaviors/registry/cli/atoms/std-orb-lint-emit.orb +1 -1
  203. package/behaviors/registry/cli/atoms/std-orb-lint-empty-event-name.orb +1 -1
  204. package/behaviors/registry/cli/atoms/std-orb-lint-engine.orb +1 -1
  205. package/behaviors/registry/cli/atoms/std-orb-lint-entity-access.orb +1 -1
  206. package/behaviors/registry/cli/atoms/std-orb-lint-entity-browser-storage.orb +1 -1
  207. package/behaviors/registry/cli/atoms/std-orb-lint-entity-duplicate-field.orb +1 -1
  208. package/behaviors/registry/cli/atoms/std-orb-lint-entity-empty-enum.orb +1 -1
  209. package/behaviors/registry/cli/atoms/std-orb-lint-entity-field-type.orb +1 -1
  210. package/behaviors/registry/cli/atoms/std-orb-lint-entity-locale-instances.orb +1 -1
  211. package/behaviors/registry/cli/atoms/std-orb-lint-entity-mock-member.orb +1 -1
  212. package/behaviors/registry/cli/atoms/std-orb-lint-entity-mutation.orb +1 -1
  213. package/behaviors/registry/cli/atoms/std-orb-lint-entity-name-shadows-trait-union.orb +1 -1
  214. package/behaviors/registry/cli/atoms/std-orb-lint-entity-persistence.orb +1 -1
  215. package/behaviors/registry/cli/atoms/std-orb-lint-entity-semantic-default.orb +1 -1
  216. package/behaviors/registry/cli/atoms/std-orb-lint-entity-shape.orb +1 -1
  217. package/behaviors/registry/cli/atoms/std-orb-lint-event-id-uniqueness.orb +1 -1
  218. package/behaviors/registry/cli/atoms/std-orb-lint-event-wiring.orb +1 -1
  219. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-config-knob.orb +1 -1
  220. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-event-unfired.orb +1 -1
  221. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-field-undeclared.orb +1 -1
  222. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-final.orb +1 -1
  223. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-persistent-unwritten.orb +1 -1
  224. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-provider-mismatch.orb +1 -1
  225. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-unsatisfied.orb +1 -1
  226. package/behaviors/registry/cli/atoms/std-orb-lint-expected-field-not-provided.orb +1 -1
  227. package/behaviors/registry/cli/atoms/std-orb-lint-external-emit-payload.orb +1 -1
  228. package/behaviors/registry/cli/atoms/std-orb-lint-fetch-by-id-payload.orb +1 -1
  229. package/behaviors/registry/cli/atoms/std-orb-lint-fetch-deliver.orb +1 -1
  230. package/behaviors/registry/cli/atoms/std-orb-lint-field-path.orb +1 -1
  231. package/behaviors/registry/cli/atoms/std-orb-lint-filter-field-never-written.orb +1 -1
  232. package/behaviors/registry/cli/atoms/std-orb-lint-finding-codes.orb +1 -1
  233. package/behaviors/registry/cli/atoms/std-orb-lint-generic-types.orb +1 -1
  234. package/behaviors/registry/cli/atoms/std-orb-lint-groupby-enum-column-gap.orb +1 -1
  235. package/behaviors/registry/cli/atoms/std-orb-lint-guest-view-not-client.orb +1 -1
  236. package/behaviors/registry/cli/atoms/std-orb-lint-host-effects.orb +1 -1
  237. package/behaviors/registry/cli/atoms/std-orb-lint-http-egress-entry.orb +1 -1
  238. package/behaviors/registry/cli/atoms/std-orb-lint-icon-exists.orb +1 -1
  239. package/behaviors/registry/cli/atoms/std-orb-lint-icon-format.orb +1 -1
  240. package/behaviors/registry/cli/atoms/std-orb-lint-id-refs.orb +1 -1
  241. package/behaviors/registry/cli/atoms/std-orb-lint-identity-unique.orb +1 -1
  242. package/behaviors/registry/cli/atoms/std-orb-lint-inbound-answer-foreign.orb +1 -1
  243. package/behaviors/registry/cli/atoms/std-orb-lint-inbound.orb +1 -1
  244. package/behaviors/registry/cli/atoms/std-orb-lint-init-coverage.orb +1 -1
  245. package/behaviors/registry/cli/atoms/std-orb-lint-input.orb +1 -1
  246. package/behaviors/registry/cli/atoms/std-orb-lint-item-action-event.orb +1 -1
  247. package/behaviors/registry/cli/atoms/std-orb-lint-keyed-call-keys.orb +1 -1
  248. package/behaviors/registry/cli/atoms/std-orb-lint-keyed-call.orb +1 -1
  249. package/behaviors/registry/cli/atoms/std-orb-lint-listen-per.orb +1 -1
  250. package/behaviors/registry/cli/atoms/std-orb-lint-listen-redundant-embed-route.orb +1 -1
  251. package/behaviors/registry/cli/atoms/std-orb-lint-listen-route-starves-required-field.orb +1 -1
  252. package/behaviors/registry/cli/atoms/std-orb-lint-listen-source-never-produces.orb +1 -1
  253. package/behaviors/registry/cli/atoms/std-orb-lint-listen-source-unresolved.orb +1 -1
  254. package/behaviors/registry/cli/atoms/std-orb-lint-listen-trigger.orb +1 -1
  255. package/behaviors/registry/cli/atoms/std-orb-lint-listen-wildcard-unkeyed.orb +1 -1
  256. package/behaviors/registry/cli/atoms/std-orb-lint-literal-default.orb +1 -1
  257. package/behaviors/registry/cli/atoms/std-orb-lint-llm-wire-unrouted.orb +1 -1
  258. package/behaviors/registry/cli/atoms/std-orb-lint-loop-invariant-parse.orb +1 -1
  259. package/behaviors/registry/cli/atoms/std-orb-lint-mem-handles.orb +1 -1
  260. package/behaviors/registry/cli/atoms/std-orb-lint-merged-fields.orb +1 -1
  261. package/behaviors/registry/cli/atoms/std-orb-lint-missing-orbital-name.orb +1 -1
  262. package/behaviors/registry/cli/atoms/std-orb-lint-nav-target.orb +1 -1
  263. package/behaviors/registry/cli/atoms/std-orb-lint-navigate.orb +1 -1
  264. package/behaviors/registry/cli/atoms/std-orb-lint-not-found.orb +1 -1
  265. package/behaviors/registry/cli/atoms/std-orb-lint-oauth.orb +1 -1
  266. package/behaviors/registry/cli/atoms/std-orb-lint-orbital-config-dead-knob.orb +1 -1
  267. package/behaviors/registry/cli/atoms/std-orb-lint-orbital-duplicate-name.orb +1 -1
  268. package/behaviors/registry/cli/atoms/std-orb-lint-page-content-owner.orb +1 -1
  269. package/behaviors/registry/cli/atoms/std-orb-lint-page-empty-traits.orb +1 -1
  270. package/behaviors/registry/cli/atoms/std-orb-lint-page-modifiers.orb +1 -1
  271. package/behaviors/registry/cli/atoms/std-orb-lint-page-path-uniqueness.orb +1 -1
  272. package/behaviors/registry/cli/atoms/std-orb-lint-page-path.orb +1 -1
  273. package/behaviors/registry/cli/atoms/std-orb-lint-page-unreachable.orb +1 -1
  274. package/behaviors/registry/cli/atoms/std-orb-lint-parallel-pure.orb +1 -1
  275. package/behaviors/registry/cli/atoms/std-orb-lint-pattern-props.orb +1 -1
  276. package/behaviors/registry/cli/atoms/std-orb-lint-payload-field-name.orb +1 -1
  277. package/behaviors/registry/cli/atoms/std-orb-lint-placement.orb +1 -1
  278. package/behaviors/registry/cli/atoms/std-orb-lint-program-eval.orb +1 -1
  279. package/behaviors/registry/cli/atoms/std-orb-lint-query-index.orb +1 -1
  280. package/behaviors/registry/cli/atoms/std-orb-lint-relation-targets.orb +1 -1
  281. package/behaviors/registry/cli/atoms/std-orb-lint-render-ui-pattern.orb +1 -1
  282. package/behaviors/registry/cli/atoms/std-orb-lint-reserved-component-name.orb +1 -1
  283. package/behaviors/registry/cli/atoms/std-orb-lint-retired-effect-forms.orb +1 -1
  284. package/behaviors/registry/cli/atoms/std-orb-lint-rui-binding.orb +1 -1
  285. package/behaviors/registry/cli/atoms/std-orb-lint-rui-effects.orb +1 -1
  286. package/behaviors/registry/cli/atoms/std-orb-lint-schema-header.orb +1 -1
  287. package/behaviors/registry/cli/atoms/std-orb-lint-service-def.orb +1 -1
  288. package/behaviors/registry/cli/atoms/std-orb-lint-set-column.orb +1 -1
  289. package/behaviors/registry/cli/atoms/std-orb-lint-sexpr-binding.orb +1 -1
  290. package/behaviors/registry/cli/atoms/std-orb-lint-sigil-context.orb +1 -1
  291. package/behaviors/registry/cli/atoms/std-orb-lint-sign-in-route.orb +1 -1
  292. package/behaviors/registry/cli/atoms/std-orb-lint-slot-tick.orb +1 -1
  293. package/behaviors/registry/cli/atoms/std-orb-lint-slot.orb +1 -1
  294. package/behaviors/registry/cli/atoms/std-orb-lint-state-shape.orb +1 -1
  295. package/behaviors/registry/cli/atoms/std-orb-lint-state-unreachable.orb +1 -1
  296. package/behaviors/registry/cli/atoms/std-orb-lint-store-binding.orb +1 -1
  297. package/behaviors/registry/cli/atoms/std-orb-lint-theme-pin-contradicts-app.orb +1 -1
  298. package/behaviors/registry/cli/atoms/std-orb-lint-theme-ref.orb +1 -1
  299. package/behaviors/registry/cli/atoms/std-orb-lint-theme-undeclared.orb +1 -1
  300. package/behaviors/registry/cli/atoms/std-orb-lint-theme-values.orb +1 -1
  301. package/behaviors/registry/cli/atoms/std-orb-lint-tick-requires-runtime.orb +1 -1
  302. package/behaviors/registry/cli/atoms/std-orb-lint-time-unit.orb +1 -1
  303. package/behaviors/registry/cli/atoms/std-orb-lint-trait-embeds.orb +1 -1
  304. package/behaviors/registry/cli/atoms/std-orb-lint-trait-id-uniqueness.orb +1 -1
  305. package/behaviors/registry/cli/atoms/std-orb-lint-trait-mounts.orb +1 -1
  306. package/behaviors/registry/cli/atoms/std-orb-lint-trait-ref-config.orb +1 -1
  307. package/behaviors/registry/cli/atoms/std-orb-lint-trait-refs.orb +1 -1
  308. package/behaviors/registry/cli/atoms/std-orb-lint-transition-refs.orb +1 -1
  309. package/behaviors/registry/cli/atoms/std-orb-lint-type-param-sweep.orb +1 -1
  310. package/behaviors/registry/cli/atoms/std-orb-lint-unsigned-guard.orb +1 -1
  311. package/behaviors/registry/cli/atoms/std-orb-lint-untyped-array.orb +1 -1
  312. package/behaviors/registry/cli/atoms/std-orb-lint-user-field-exists.orb +1 -1
  313. package/behaviors/registry/cli/atoms/std-orb-lint-user-identity.orb +1 -1
  314. package/behaviors/registry/cli/atoms/std-orb-lint-viewer-stranded.orb +1 -1
  315. package/behaviors/registry/cli/atoms/std-orb-mcp-install.orb +1 -1
  316. package/behaviors/registry/cli/atoms/std-orb-mcp.orb +1 -1
  317. package/behaviors/registry/cli/atoms/std-orb-packages.orb +1 -1
  318. package/behaviors/registry/cli/atoms/std-orb-supervise.orb +1 -1
  319. package/behaviors/registry/cli/atoms/std-orb-update-notice.orb +1 -1
  320. package/behaviors/registry/cli/atoms/std-orb-validate.orb +1 -1
  321. package/behaviors/registry/dev/atoms/std-launchpad-updates.orb +1 -1
  322. package/behaviors/registry/dev/atoms/std-orb-stats.orb +1 -1
  323. package/behaviors/registry/dev/organisms/std-launchpad.orb +5 -0
  324. package/behaviors/registry/spec/cli/orb-packages.orb +1 -1
  325. package/package.json +1 -1
@@ -1 +1 @@
1
- {"typeContractVersion":1,"types":{"LintCodeDecl":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"category","type":"string","required":true},{"nullable":false,"name":"description","type":"string","required":true}],"LintTraitIdUniquenessCodes":[{"nullable":false,"name":"xDuplicateTraitId","type":"object","properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"category","type":"string","required":true},{"nullable":false,"name":"description","type":"string","required":true}],"projectedFrom":{"type":"LintCodeDecl"}}],"OrbCommandArgs":[{"nullable":false,"name":"argv","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"cwd","type":"string","required":true}],"OrbFinding":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"TraitIdOrbital":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"TraitIdProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"items":{"nullable":false,"name":"","type":"TraitIdOrbital","projectedFrom":{"type":"TraitIdOrbital"}}}],"TraitIdTrait":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}]},"name":"std-orb-lint-trait-id-uniqueness","version":"1.0.0","description":"std-orb-lint-trait-id-uniqueness — the `orb lint trait-id-uniqueness <file>` command, the port of ORB_X_DUPLICATE_TRAIT_ID. It lowers the file with program/read, groups every inline trait that carries an id by that id across all orbitals, and reports each id carried by more than one trait, in id order, naming Orbital.Trait for every holder (status 500, exit 1). Traits without an id are not compared. Clean answers `lint trait-id-uniqueness: clean` (status 200, exit 0). Anything but one file argument is the usage (status 400, exit 2); an unreadable or unlowerable file is status 500.","orbitals":[{"name":"OrbLintTraitIdUniquenessOrbital","id":"orb_DBKGK1RBZH5ZRZB0MC9JPJY6J6","uses":[{"from":"almadar-std/lint-trait-id-uniqueness","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintTraitIdUniquenessRun","id":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3","persistence":"runtime","fields":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","default":""},{"nullable":false,"name":"findings","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"code":{"nullable":false,"name":"code","type":"string","required":true},"path":{"nullable":false,"name":"path","type":"string","required":true},"message":{"nullable":false,"name":"message","type":"string","required":true},"suggestion":{"nullable":false,"name":"suggestion","type":"string","required":true},"severity":{"nullable":false,"name":"severity","type":"string","required":false,"values":["warning","error"]}},"projectedFrom":{"type":"OrbFinding"}}}]},"traits":[{"name":"OrbLintTraitIdUniqueness","id":"trt_00CNR50RCEC67652C7EJ5SP3KF","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintTraitIdUniquenessRun","linkedEntityId":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3","entityRefIds":{"OrbLintTraitIdUniquenessRun":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3"},"emits":[{"event":"LINT_FOUND","eventId":"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_FINISH","eventId":"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","triggers":"LINT_INPUT","triggersId":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_YA7QJVAGE08704YS2VWT7P87FG","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","name":"Lint Input","description":"The lint input: the file read, its language decided and the program lowered.","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true},{"nullable":false,"name":"raw","type":"string","required":true},{"nullable":false,"name":"latin","type":"boolean","required":true},{"nullable":false,"name":"program","type":"object","required":true,"properties":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"items":{"nullable":false,"name":"","type":"TraitIdOrbital","projectedFrom":{"type":"TraitIdOrbital"}}}],"projectedFrom":{"type":"TraitIdProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS","name":"Lint Found","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_YA7QJVAGE08704YS2VWT7P87FG"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["entries",["array/flatten",["array/map",["object/get","@payload.program","orbitals",[]],["fn","o",["array/map",["array/filter",["object/get","@o","traits",[]],["fn","t",["object/has","@t","id"]]],["fn","t",{"id":["object/get","@t","id"],"name":["str/concat",["object/get","@o","name"],".",["object/get","@t","name"]]}]]]]]]],["array/map",["array/filter",["array/sort",["array/map",["array/unique",["array/map","@entries",["fn","e",["object/get","@e","id"]]]],["fn","i",{"id":"@i"}]],"id","asc"],["fn","r",[">",["array/len",["array/filter","@entries",["fn","e",["=",["object/get","@e","id"],["object/get","@r","id"]]]]],1]]],["fn","r",{"code":"@config.codes.xDuplicateTraitId.code","path":"orbitals","message":["str/concat","trait id ",["object/get","@r","id"]," is carried by ",["str/join",["array/map",["array/filter","@entries",["fn","e",["=",["object/get","@e","id"],["object/get","@r","id"]]]],["fn","e",["object/get","@e","name"]]],", "],"; listens match sources by id, so each of these hears the others' emits"],"suggestion":"","severity":"error"}]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4","effects":[["emit","LINT_FOUND",{"rule":"trait-id-uniqueness","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"LintTraitIdUniquenessCodes","default":{"xDuplicateTraitId":{"code":"ORB_X_DUPLICATE_TRAIT_ID","category":"cross","description":"Two or more traits carry the same trait id, so listens match each other's emits"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"xDuplicateTraitId":{"nullable":false,"name":"xDuplicateTraitId","type":"object","required":false,"properties":{"code":{"nullable":false,"name":"code","type":"string","required":true},"category":{"nullable":false,"name":"category","type":"string","required":true},"description":{"nullable":false,"name":"description","type":"string","required":true}},"projectedFrom":{"type":"LintCodeDecl"}}},"projectedFrom":{"type":"LintTraitIdUniquenessCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_00CNR50RCEC67652C7EJ5SP3KF","fingerprint":"de492b3e379870f50085d01b4cdf9b8bc4726e3549713f3cd4f02e61c0948112"}},{"name":"OrbLintTraitIdUniquenessCli","id":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintTraitIdUniquenessRun","linkedEntityId":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3","entityRefIds":{"OrbLintTraitIdUniquenessRun":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_GMNP7515WBJY5YYF7XHDRX82CN","description":"Internal: the command's answer, which the cli hook prints.","tier":"internal","scope":"internal","payloadSchema":[{"nullable":false,"name":"status","type":"number","required":true},{"nullable":false,"name":"body","type":"string","required":true}]},{"event":"LINT_REQUEST","eventId":"evt_PJ46N48HK38SHK77N420FPS1TR","description":"Ask the lint input to read and lower this file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true}]},{"event":"LINT_FOUND","eventId":"evt_G5F4471RBTW5X801Z2JVNFMGVY","description":"The rule trait's findings for the file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_INPUT_UNREAD","eventId":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","description":"The lint input could not read or lower the file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true}]}],"listens":[{"event":"LINT_FOUND","eventId":"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS","triggers":"LINT_FOUND","triggersId":"evt_G5F4471RBTW5X801Z2JVNFMGVY","source":{"kind":"trait","trait":"OrbLintTraitIdUniqueness","traitId":"trt_00CNR50RCEC67652C7EJ5SP3KF"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","name":"Lint Called","description":"Run `orb lint trait-id-uniqueness` with its arguments and working directory.","synonyms":"orb lint trait-id-uniqueness, duplicate trait ids","payloadSchema":[{"nullable":false,"name":"headers","type":"Map<string,string>","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"rawBody","type":"string","required":true}],"listened":true,"inbound":{"name":"cli-lint-trait-id-uniqueness","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_G5F4471RBTW5X801Z2JVNFMGVY","name":"Lint Found","description":"The rule trait's findings for the file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"key":"LINT_INPUT_UNREAD","id":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","name":"Lint Input Unread","description":"The lint input could not read or lower the file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true}],"listened":true},{"key":"LINT_ANSWERED","id":"evt_GMNP7515WBJY5YYF7XHDRX82CN","name":"Lint Answered","description":"Internal: the command's answer, which the cli hook prints.","tier":"internal","payloadSchema":[{"nullable":false,"name":"status","type":"number","required":true},{"nullable":false,"name":"body","type":"string","required":true}]},{"key":"LINT_REQUEST","id":"evt_PJ46N48HK38SHK77N420FPS1TR","name":"Lint Request","description":"Ask the lint input to read and lower this file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","guard":["=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],"effects":[["emit","LINT_ANSWERED",{"status":500,"body":"Error: orb lint trait-id-uniqueness: the command arguments could not be read"}]]},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["!=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint trait-id-uniqueness <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["if",["=","@a",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint trait-id-uniqueness <file>"}],["let",[["f",["array/first",["object/get","@a","argv"]]]],["if",["=","@f",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint trait-id-uniqueness <file>"}],["emit","LINT_REQUEST",{"file":"@f"}]]]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_G5F4471RBTW5X801Z2JVNFMGVY","guard":["and",["=","@payload.rule","trait-id-uniqueness"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint trait-id-uniqueness: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_G5F4471RBTW5X801Z2JVNFMGVY","guard":["and",["=","@payload.rule","trait-id-uniqueness"],[">",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":500,"body":["str/join",["array/map","@payload.findings",["fn","x",["str/concat","[",["object/get","@x","code"],"] ",["object/get","@x","path"],": ",["object/get","@x","message"],["if",["=",["object/get","@x","suggestion"],""],"",["str/concat","\n suggestion: ",["object/get","@x","suggestion"]]]]]],"\n"]}]]},{"from":"waiting","to":"ready","event":"LINT_INPUT_UNREAD","eventId":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint trait-id-uniqueness: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4","fingerprint":"46451ac2281b5fea319da86def22490eafb2168be708810b7e0969fa3aa9d34e"}},{"ref":"Input.traits.Versions","id":"trt_MDJPQWC3051G2WRMQH31HSQPT2","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_7F1QXQD2AHH58VWYSHB97FVMG3","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintTraitIdUniquenessCli"}},{"event":"SCAN_ANSWERED","triggers":"LANG_SCAN_ANSWERED","source":{"kind":"trait","trait":"Packs"}},{"event":"LANGUAGE_PACK_VOCAB","triggers":"LANGUAGE_PACK_VOCAB_HEARD","source":{"kind":"trait","trait":"Packs"}},{"event":"LANGUAGE_PACKS_DONE","triggers":"LANGUAGE_PACKS_DONE_HEARD","source":{"kind":"trait","trait":"Packs"}}]}],"pages":[{"name":"OrbLintTraitIdUniquenessOrbitalStart","id":"pag_WP19E3PVSXDWYSEJQ0E7JZS8AZ","path":"","protocol":"boot","traits":[{"ref":"OrbLintTraitIdUniqueness","refId":"trt_00CNR50RCEC67652C7EJ5SP3KF"},{"ref":"OrbLintTraitIdUniquenessCli","refId":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},{"ref":"OrbLintInput","refId":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T"},{"ref":"Packs","refId":"trt_7F1QXQD2AHH58VWYSHB97FVMG3"},{"ref":"Versions","refId":"trt_MDJPQWC3051G2WRMQH31HSQPT2"}]}],"types":{"LintCodeDecl":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"category","type":"string","required":true},{"nullable":false,"name":"description","type":"string","required":true}],"LintTraitIdUniquenessCodes":[{"nullable":false,"name":"xDuplicateTraitId","type":"object","properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"category","type":"string","required":true},{"nullable":false,"name":"description","type":"string","required":true}],"projectedFrom":{"type":"LintCodeDecl"}}],"OrbCommandArgs":[{"nullable":false,"name":"argv","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"cwd","type":"string","required":true}],"OrbFinding":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"TraitIdOrbital":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"TraitIdProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"items":{"nullable":false,"name":"","type":"TraitIdOrbital","projectedFrom":{"type":"TraitIdOrbital"}}}],"TraitIdTrait":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}]}}],"inbound":["cli-lint-trait-id-uniqueness"],"osGrants":{"fs":[{"glob":"/**","modes":["read"]},{"glob":"~/.orb/node_modules/**","modes":["read"]}],"exec":["orb"],"net":[],"env":["PATH"],"stdio":[],"sys":[],"desktop":[],"anchored":{"fs":[{"anchor":"cwd","glob":"**","modes":["read"]}]}},"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3":{"id":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3","kind":"entity","bakedName":"OrbLintTraitIdUniquenessRun","curName":"OrbLintTraitIdUniquenessRun","renames":[],"owner":"workspace"},"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN":{"id":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_00CNR50RCEC67652C7EJ5SP3KF"},"evt_8VNEY94PSXBCYV4H0BRBTTMC0T":{"id":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS":{"id":"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_00CNR50RCEC67652C7EJ5SP3KF"},"evt_FNKMPNJBS25WHDFFWHJDZEFTV4":{"id":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M":{"id":"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_G5F4471RBTW5X801Z2JVNFMGVY":{"id":"evt_G5F4471RBTW5X801Z2JVNFMGVY","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_GMNP7515WBJY5YYF7XHDRX82CN":{"id":"evt_GMNP7515WBJY5YYF7XHDRX82CN","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_PJ46N48HK38SHK77N420FPS1TR":{"id":"evt_PJ46N48HK38SHK77N420FPS1TR","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_YA7QJVAGE08704YS2VWT7P87FG":{"id":"evt_YA7QJVAGE08704YS2VWT7P87FG","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_00CNR50RCEC67652C7EJ5SP3KF"},"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4":{"id":"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_00CNR50RCEC67652C7EJ5SP3KF"},"orb_DBKGK1RBZH5ZRZB0MC9JPJY6J6":{"id":"orb_DBKGK1RBZH5ZRZB0MC9JPJY6J6","kind":"orbital","bakedName":"OrbLintTraitIdUniquenessOrbital","curName":"OrbLintTraitIdUniquenessOrbital","renames":[],"owner":"workspace"},"pag_WP19E3PVSXDWYSEJQ0E7JZS8AZ":{"id":"pag_WP19E3PVSXDWYSEJQ0E7JZS8AZ","kind":"page","bakedName":"OrbLintTraitIdUniquenessOrbitalStart","curName":"OrbLintTraitIdUniquenessOrbitalStart","renames":[],"owner":"workspace"},"trt_00CNR50RCEC67652C7EJ5SP3KF":{"id":"trt_00CNR50RCEC67652C7EJ5SP3KF","kind":"trait","bakedName":"OrbLintTraitIdUniqueness","curName":"OrbLintTraitIdUniqueness","renames":[],"owner":"workspace"},"trt_7F1QXQD2AHH58VWYSHB97FVMG3":{"id":"trt_7F1QXQD2AHH58VWYSHB97FVMG3","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"},"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4":{"id":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4","kind":"trait","bakedName":"OrbLintTraitIdUniquenessCli","curName":"OrbLintTraitIdUniquenessCli","renames":[],"owner":"workspace"},"trt_MDJPQWC3051G2WRMQH31HSQPT2":{"id":"trt_MDJPQWC3051G2WRMQH31HSQPT2","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_SH6SFY6KCX9PENWZGSXNDBJ10T":{"id":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"}}}}
1
+ {"typeContractVersion":1,"types":{"LintCodeDecl":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"category","type":"string","required":true},{"nullable":false,"name":"description","type":"string","required":true}],"LintTraitIdUniquenessCodes":[{"nullable":false,"name":"xDuplicateTraitId","type":"object","properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"category","type":"string","required":true},{"nullable":false,"name":"description","type":"string","required":true}],"projectedFrom":{"type":"LintCodeDecl"}}],"OrbCommandArgs":[{"nullable":false,"name":"argv","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"cwd","type":"string","required":true}],"OrbFinding":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"TraitIdOrbital":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"TraitIdProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"items":{"nullable":false,"name":"","type":"TraitIdOrbital","projectedFrom":{"type":"TraitIdOrbital"}}}],"TraitIdTrait":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}]},"name":"std-orb-lint-trait-id-uniqueness","version":"1.0.0","description":"std-orb-lint-trait-id-uniqueness — the `orb lint trait-id-uniqueness <file>` command, the port of ORB_X_DUPLICATE_TRAIT_ID. It lowers the file with program/read, groups every inline trait that carries an id by that id across all orbitals, and reports each id carried by more than one trait, in id order, naming Orbital.Trait for every holder (status 500, exit 1). Traits without an id are not compared. Clean answers `lint trait-id-uniqueness: clean` (status 200, exit 0). Anything but one file argument is the usage (status 400, exit 2); an unreadable or unlowerable file is status 500.","orbitals":[{"name":"OrbLintTraitIdUniquenessOrbital","id":"orb_DBKGK1RBZH5ZRZB0MC9JPJY6J6","uses":[{"from":"almadar-std/lint-trait-id-uniqueness","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintTraitIdUniquenessRun","id":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3","persistence":"runtime","fields":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","default":""},{"nullable":false,"name":"findings","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"code":{"nullable":false,"name":"code","type":"string","required":true},"path":{"nullable":false,"name":"path","type":"string","required":true},"message":{"nullable":false,"name":"message","type":"string","required":true},"suggestion":{"nullable":false,"name":"suggestion","type":"string","required":true},"severity":{"nullable":false,"name":"severity","type":"string","required":false,"values":["warning","error"]}},"projectedFrom":{"type":"OrbFinding"}}}]},"traits":[{"name":"OrbLintTraitIdUniqueness","id":"trt_00CNR50RCEC67652C7EJ5SP3KF","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintTraitIdUniquenessRun","linkedEntityId":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3","entityRefIds":{"OrbLintTraitIdUniquenessRun":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3"},"emits":[{"event":"LINT_FOUND","eventId":"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_FINISH","eventId":"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","triggers":"LINT_INPUT","triggersId":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_YA7QJVAGE08704YS2VWT7P87FG","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","name":"Lint Input","description":"The lint input: the file read, its language decided and the program lowered.","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true},{"nullable":false,"name":"raw","type":"string","required":true},{"nullable":false,"name":"latin","type":"boolean","required":true},{"nullable":false,"name":"program","type":"object","required":true,"properties":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"items":{"nullable":false,"name":"","type":"TraitIdOrbital","projectedFrom":{"type":"TraitIdOrbital"}}}],"projectedFrom":{"type":"TraitIdProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS","name":"Lint Found","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_YA7QJVAGE08704YS2VWT7P87FG"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["entries",["array/flatten",["array/map",["object/get","@payload.program","orbitals",[]],["fn","o",["array/map",["array/filter",["object/get","@o","traits",[]],["fn","t",["object/has","@t","id"]]],["fn","t",{"id":["object/get","@t","id"],"name":["str/concat",["object/get","@o","name"],".",["object/get","@t","name"]]}]]]]]]],["array/map",["array/filter",["array/sort",["array/map",["array/unique",["array/map","@entries",["fn","e",["object/get","@e","id"]]]],["fn","i",{"id":"@i"}]],"id","asc"],["fn","r",[">",["array/len",["array/filter","@entries",["fn","e",["=",["object/get","@e","id"],["object/get","@r","id"]]]]],1]]],["fn","r",{"code":"@config.codes.xDuplicateTraitId.code","path":"orbitals","message":["str/concat","trait id ",["object/get","@r","id"]," is carried by ",["str/join",["array/map",["array/filter","@entries",["fn","e",["=",["object/get","@e","id"],["object/get","@r","id"]]]],["fn","e",["object/get","@e","name"]]],", "],"; listens match sources by id, so each of these hears the others' emits"],"suggestion":"","severity":"error"}]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4","effects":[["emit","LINT_FOUND",{"rule":"trait-id-uniqueness","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"LintTraitIdUniquenessCodes","default":{"xDuplicateTraitId":{"code":"ORB_X_DUPLICATE_TRAIT_ID","category":"cross","description":"Two or more traits carry the same trait id, so listens match each other's emits"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"xDuplicateTraitId":{"nullable":false,"name":"xDuplicateTraitId","type":"object","required":false,"properties":{"code":{"nullable":false,"name":"code","type":"string","required":true},"category":{"nullable":false,"name":"category","type":"string","required":true},"description":{"nullable":false,"name":"description","type":"string","required":true}},"projectedFrom":{"type":"LintCodeDecl"}}},"projectedFrom":{"type":"LintTraitIdUniquenessCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_00CNR50RCEC67652C7EJ5SP3KF","fingerprint":"de492b3e379870f50085d01b4cdf9b8bc4726e3549713f3cd4f02e61c0948112"}},{"name":"OrbLintTraitIdUniquenessCli","id":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintTraitIdUniquenessRun","linkedEntityId":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3","entityRefIds":{"OrbLintTraitIdUniquenessRun":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_GMNP7515WBJY5YYF7XHDRX82CN","description":"Internal: the command's answer, which the cli hook prints.","tier":"internal","scope":"internal","payloadSchema":[{"nullable":false,"name":"status","type":"number","required":true},{"nullable":false,"name":"body","type":"string","required":true}]},{"event":"LINT_REQUEST","eventId":"evt_PJ46N48HK38SHK77N420FPS1TR","description":"Ask the lint input to read and lower this file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true}]},{"event":"LINT_FOUND","eventId":"evt_G5F4471RBTW5X801Z2JVNFMGVY","description":"The rule trait's findings for the file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_INPUT_UNREAD","eventId":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","description":"The lint input could not read or lower the file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true}]}],"listens":[{"event":"LINT_FOUND","eventId":"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS","triggers":"LINT_FOUND","triggersId":"evt_G5F4471RBTW5X801Z2JVNFMGVY","source":{"kind":"trait","trait":"OrbLintTraitIdUniqueness","traitId":"trt_00CNR50RCEC67652C7EJ5SP3KF"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","name":"Lint Called","description":"Run `orb lint trait-id-uniqueness` with its arguments and working directory.","synonyms":"orb lint trait-id-uniqueness, duplicate trait ids","payloadSchema":[{"nullable":false,"name":"headers","type":"Map<string,string>","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"rawBody","type":"string","required":true}],"listened":true,"inbound":{"name":"cli-lint-trait-id-uniqueness","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_G5F4471RBTW5X801Z2JVNFMGVY","name":"Lint Found","description":"The rule trait's findings for the file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"key":"LINT_INPUT_UNREAD","id":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","name":"Lint Input Unread","description":"The lint input could not read or lower the file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true}],"listened":true},{"key":"LINT_ANSWERED","id":"evt_GMNP7515WBJY5YYF7XHDRX82CN","name":"Lint Answered","description":"Internal: the command's answer, which the cli hook prints.","tier":"internal","payloadSchema":[{"nullable":false,"name":"status","type":"number","required":true},{"nullable":false,"name":"body","type":"string","required":true}]},{"key":"LINT_REQUEST","id":"evt_PJ46N48HK38SHK77N420FPS1TR","name":"Lint Request","description":"Ask the lint input to read and lower this file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","guard":["=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],"effects":[["emit","LINT_ANSWERED",{"status":500,"body":"Error: orb lint trait-id-uniqueness: the command arguments could not be read"}]]},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["!=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint trait-id-uniqueness <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["if",["=","@a",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint trait-id-uniqueness <file>"}],["let",[["f",["array/first",["object/get","@a","argv"]]]],["if",["=","@f",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint trait-id-uniqueness <file>"}],["emit","LINT_REQUEST",{"file":"@f"}]]]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_G5F4471RBTW5X801Z2JVNFMGVY","guard":["and",["=","@payload.rule","trait-id-uniqueness"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint trait-id-uniqueness: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_G5F4471RBTW5X801Z2JVNFMGVY","guard":["and",["=","@payload.rule","trait-id-uniqueness"],[">",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":500,"body":["str/join",["array/map","@payload.findings",["fn","x",["str/concat","[",["object/get","@x","code"],"] ",["object/get","@x","path"],": ",["object/get","@x","message"],["if",["=",["object/get","@x","suggestion"],""],"",["str/concat","\n suggestion: ",["object/get","@x","suggestion"]]]]]],"\n"]}]]},{"from":"waiting","to":"ready","event":"LINT_INPUT_UNREAD","eventId":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint trait-id-uniqueness: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4","fingerprint":"46451ac2281b5fea319da86def22490eafb2168be708810b7e0969fa3aa9d34e"}},{"ref":"Input.traits.Versions","id":"trt_MDJPQWC3051G2WRMQH31HSQPT2","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_7F1QXQD2AHH58VWYSHB97FVMG3","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintTraitIdUniquenessCli"}},{"event":"SCAN_ANSWERED","triggers":"LANG_SCAN_ANSWERED","source":{"kind":"trait","trait":"Packs"}},{"event":"LANGUAGE_PACK_VOCAB","triggers":"LANGUAGE_PACK_VOCAB_HEARD","source":{"kind":"trait","trait":"Packs"}},{"event":"LANGUAGE_PACKS_DONE","triggers":"LANGUAGE_PACKS_DONE_HEARD","source":{"kind":"trait","trait":"Packs"}}]}],"pages":[{"name":"OrbLintTraitIdUniquenessOrbitalStart","id":"pag_WP19E3PVSXDWYSEJQ0E7JZS8AZ","path":"","protocol":"boot","traits":[{"ref":"OrbLintTraitIdUniqueness","refId":"trt_00CNR50RCEC67652C7EJ5SP3KF"},{"ref":"OrbLintTraitIdUniquenessCli","refId":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},{"ref":"OrbLintInput","refId":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T"},{"ref":"Packs","refId":"trt_7F1QXQD2AHH58VWYSHB97FVMG3"},{"ref":"Versions","refId":"trt_MDJPQWC3051G2WRMQH31HSQPT2"}]}],"types":{"LintCodeDecl":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"category","type":"string","required":true},{"nullable":false,"name":"description","type":"string","required":true}],"LintTraitIdUniquenessCodes":[{"nullable":false,"name":"xDuplicateTraitId","type":"object","properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"category","type":"string","required":true},{"nullable":false,"name":"description","type":"string","required":true}],"projectedFrom":{"type":"LintCodeDecl"}}],"OrbCommandArgs":[{"nullable":false,"name":"argv","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"cwd","type":"string","required":true}],"OrbFinding":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"TraitIdOrbital":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"TraitIdProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}],"items":{"nullable":false,"name":"","type":"TraitIdTrait","projectedFrom":{"type":"TraitIdTrait"}}}],"items":{"nullable":false,"name":"","type":"TraitIdOrbital","projectedFrom":{"type":"TraitIdOrbital"}}}],"TraitIdTrait":[{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"name","type":"string","required":true}]}}],"inbound":["cli-lint-trait-id-uniqueness"],"osGrants":{"fs":[{"glob":"/**","modes":["read"]},{"glob":"~/.orb/node_modules/**","modes":["read"]}],"exec":[],"net":[],"env":["PATH"],"stdio":[],"sys":[],"desktop":[],"anchored":{"fs":[{"anchor":"cwd","glob":"**","modes":["read"]}],"exec":[{"anchor":"exe"}]}},"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3":{"id":"ent_WS1KCM3H6RRKC7WTMVKCZ9ESY3","kind":"entity","bakedName":"OrbLintTraitIdUniquenessRun","curName":"OrbLintTraitIdUniquenessRun","renames":[],"owner":"workspace"},"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN":{"id":"evt_4GDKR985Z22ZH6PPZ2Z9M4VSRN","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_00CNR50RCEC67652C7EJ5SP3KF"},"evt_8VNEY94PSXBCYV4H0BRBTTMC0T":{"id":"evt_8VNEY94PSXBCYV4H0BRBTTMC0T","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS":{"id":"evt_FN3PFQDVMRXTC156NNZ2D2Y5MS","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_00CNR50RCEC67652C7EJ5SP3KF"},"evt_FNKMPNJBS25WHDFFWHJDZEFTV4":{"id":"evt_FNKMPNJBS25WHDFFWHJDZEFTV4","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M":{"id":"evt_G1Z0Z1EYNMFAT6X8G0H0K46Z8M","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_G5F4471RBTW5X801Z2JVNFMGVY":{"id":"evt_G5F4471RBTW5X801Z2JVNFMGVY","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_GMNP7515WBJY5YYF7XHDRX82CN":{"id":"evt_GMNP7515WBJY5YYF7XHDRX82CN","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_PJ46N48HK38SHK77N420FPS1TR":{"id":"evt_PJ46N48HK38SHK77N420FPS1TR","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4"},"evt_YA7QJVAGE08704YS2VWT7P87FG":{"id":"evt_YA7QJVAGE08704YS2VWT7P87FG","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_00CNR50RCEC67652C7EJ5SP3KF"},"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4":{"id":"evt_YFJ7ESRTVZDDZNFXCHFSKDHXB4","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_00CNR50RCEC67652C7EJ5SP3KF"},"orb_DBKGK1RBZH5ZRZB0MC9JPJY6J6":{"id":"orb_DBKGK1RBZH5ZRZB0MC9JPJY6J6","kind":"orbital","bakedName":"OrbLintTraitIdUniquenessOrbital","curName":"OrbLintTraitIdUniquenessOrbital","renames":[],"owner":"workspace"},"pag_WP19E3PVSXDWYSEJQ0E7JZS8AZ":{"id":"pag_WP19E3PVSXDWYSEJQ0E7JZS8AZ","kind":"page","bakedName":"OrbLintTraitIdUniquenessOrbitalStart","curName":"OrbLintTraitIdUniquenessOrbitalStart","renames":[],"owner":"workspace"},"trt_00CNR50RCEC67652C7EJ5SP3KF":{"id":"trt_00CNR50RCEC67652C7EJ5SP3KF","kind":"trait","bakedName":"OrbLintTraitIdUniqueness","curName":"OrbLintTraitIdUniqueness","renames":[],"owner":"workspace"},"trt_7F1QXQD2AHH58VWYSHB97FVMG3":{"id":"trt_7F1QXQD2AHH58VWYSHB97FVMG3","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"},"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4":{"id":"trt_9GYGNTH3RSHWCWYC7GVAAT4DH4","kind":"trait","bakedName":"OrbLintTraitIdUniquenessCli","curName":"OrbLintTraitIdUniquenessCli","renames":[],"owner":"workspace"},"trt_MDJPQWC3051G2WRMQH31HSQPT2":{"id":"trt_MDJPQWC3051G2WRMQH31HSQPT2","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_SH6SFY6KCX9PENWZGSXNDBJ10T":{"id":"trt_SH6SFY6KCX9PENWZGSXNDBJ10T","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"}}}}