@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}],"LintTraitRefsCodes":[{"nullable":false,"name":"tUndefinedTrait","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"}},{"nullable":false,"name":"eInvalidRelation","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"}},{"nullable":false,"name":"tRebindTargetUnresolved","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"}},{"nullable":false,"name":"tEntityNotRebindable","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"}},{"nullable":false,"name":"tRebindMissingFields","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"}},{"nullable":false,"name":"tInvalidFormat","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"}},{"nullable":false,"name":"tDuplicateName","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"TrContract":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"TrEntity":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"TrExpect":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"TrField":[{"nullable":false,"name":"name","type":"string"}],"TrOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"TrProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"items":{"nullable":false,"name":"","type":"TrOrbital","projectedFrom":{"type":"TrOrbital"}}}],"TrSrc":[{"nullable":false,"name":"behavior","type":"string"}],"TrSrcEnt":[{"nullable":false,"name":"name","type":"string"}],"TrTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"TrVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[TrVal]","items":{"nullable":true,"name":"","type":"TrVal","projectedFrom":{"type":"TrVal"}}},{"nullable":false,"name":"object","type":"Map<string,TrVal>","items":{"nullable":true,"name":"","type":"TrVal","projectedFrom":{"type":"TrVal"}}}]}]},"name":"std-orb-lint-trait-refs","version":"1.0.0","description":"std-orb-lint-trait-refs - the `orb lint trait-refs <file>` command, the port of the trait reference, rebind and uniqueness checks of traits/trait_validator.rs. A trait entry of an orbital without a state machine is a reference: with neither `ref` nor `name` it is ORB_T_INVALID_FORMAT, naming a trait no orbital defines inline (and not a `std/` trait) it is ORB_T_UNDEFINED_TRAIT, and a `linkedEntity` no orbital declares (primary, auxiliary or expected entity) is ORB_E_INVALID_RELATION. An inline trait with an empty name is ORB_T_UNDEFINED_TRAIT at `.name` and an undeclared `linkedEntity` ORB_E_INVALID_RELATION. An inline trait imported from an atom (`sourceBehavior`) and rebound to an entity other than the atom's own is ORB_T_REBIND_TARGET_UNRESOLVED when the target names no entity of the program, else ORB_T_ENTITY_NOT_REBINDABLE when the atom's binding is not `@rebindable`, else ORB_T_REBIND_MISSING_FIELDS for the contract `requires` fields the target entity lacks. A trait name defined by more than one inline trait of the program is ORB_T_DUPLICATE_NAME at `orbitals`, once per name. Each finding carries the Rust path, message and suggestion (status 500, exit 1). Clean answers `lint trait-refs: 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":"OrbLintTraitRefsOrbital","id":"orb_1WY3QYDCJJP998CPKG1EH9ZPFY","uses":[{"from":"almadar-std/lint-trait-refs","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintTraitRefsRun","id":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J","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"]},"validValues":{"nullable":false,"name":"validValues","type":"array","required":false,"items":{"nullable":false,"type":"string"}},"entity":{"nullable":false,"name":"entity","type":"string","required":false},"field":{"nullable":false,"name":"field","type":"string","required":false}},"projectedFrom":{"type":"OrbFinding"}}}]},"traits":[{"name":"OrbLintTraitRefs","id":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintTraitRefsRun","linkedEntityId":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J","entityRefIds":{"OrbLintTraitRefsRun":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J"},"emits":[{"event":"LINT_FOUND","eventId":"evt_EBYX8DWA9P54V6CRC8RK3XQGN7","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_FINISH","eventId":"evt_4H8XB76CE867434GJ4BBQZG9WE","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","triggers":"LINT_INPUT","triggersId":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_4E1PF9G8P44B203K7B6MVH60S7"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_23NVRP8T02D01D655V79SWBAE5","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","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"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"items":{"nullable":false,"name":"","type":"TrOrbital","projectedFrom":{"type":"TrOrbital"}}}],"projectedFrom":{"type":"TrProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_4H8XB76CE867434GJ4BBQZG9WE","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_EBYX8DWA9P54V6CRC8RK3XQGN7","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_23NVRP8T02D01D655V79SWBAE5"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["orbitals",["object/get","@payload.program","orbitals",[]]]],["let",[["known",["array/unique",["array/filter",["array/concat",["array/map",["array/flatten",["array/map","@orbitals",["fn","o",["array/concat",["if",["validate/object",["object/get","@o","entity",{}]],[["object/get","@o","entity"]],[]],["array/filter",["object/get","@o","auxiliaryEntities",[]],["fn","x",["validate/object","@x"]]]]]]],["fn","x",["object/get","@x","name",""]]],["array/flatten",["array/map","@orbitals",["fn","o",["array/map",["array/filter",["object/get","@o","expects",[]],["fn","x",["or",["=",["object/get","@x","kind",""],"entity"],["=",["object/get","@x","kind",""],"identity"]]]],["fn","x",["object/get","@x","name",""]]]]]]],["fn","n",["!=","@n",""]]]]]],["let",[["defs",["let",[["pn",["array/map",["array/flatten",["array/map","@orbitals",["fn","o",["if",["validate/object",["object/get","@o","entity",{}]],[["object/get","@o","entity"]],[]]]]],["fn","x",["object/get","@x","name",""]]]]],["let",[["dups",["array/filter","@pn",["fn","n",[">",["array/len",["array/filter","@pn",["fn","m",["=","@m","@n"]]]],1]]]]],["object/fromEntries",["array/map",["array/filter",["array/flatten",["array/map","@orbitals",["fn","o",["array/concat",["if",["validate/object",["object/get","@o","entity",{}]],[["object/get","@o","entity"]],[]],["array/filter",["object/get","@o","auxiliaryEntities",[]],["fn","x",["validate/object","@x"]]]]]]],["fn","x",["not",["array/includes","@dups",["object/get","@x","name",""]]]]],["fn","x",[["object/get","@x","name",""],"@x"]]]]]]],["inl",["array/flatten",["array/map","@orbitals",["fn","o",["array/map",["array/filter",["object/get","@o","traits",[]],["fn","t",["object/has","@t","stateMachine"]]],["fn","t",{"n":["object/get","@t","name",""],"o":["object/get","@o","name",""]}]]]]]]],["let",[["names",["array/unique",["array/map","@inl",["fn","x",["object/get","@x","n",""]]]]]],["let",[["inames","@names"]],["array/concat",["array/flatten",["array/map",["array/range",0,["array/len","@orbitals"]],["fn","oi",["let",[["o",["array/nth","@orbitals","@oi"]]],["array/flatten",["array/map",["array/range",0,["array/len",["object/get","@o","traits",[]]]],["fn","ti",["let",[["t",["array/nth",["object/get","@o","traits",[]],"@ti"]]],["let",[["tp",["str/concat","orbitals[","@oi"," (",["object/get","@o","name",""],")].traits[","@ti"," (",["if",["object/has","@t","stateMachine"],["object/get","@t","name",""],["if",["object/has","@t","name"],["object/get","@t","name",""],["if",["object/has","@t","ref"],["object/get","@t","ref",""],"<anonymous>"]]],")]"]],["tname",["if",["object/has","@t","ref"],["object/get","@t","ref",""],["object/get","@t","name",""]]]],["if",["object/has","@t","stateMachine"],["array/concat",["if",["=",["object/get","@t","name",""],""],[{"code":"@config.codes.tUndefinedTrait.code","path":["str/concat","@tp",".name"],"message":"Trait name is required","suggestion":"Add a descriptive name for the trait","severity":"error"}],[]],["if",["object/has","@t","linkedEntity"],["if",["array/includes","@known",["object/get","@t","linkedEntity",""]],[],[{"code":"@config.codes.eInvalidRelation.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Linked entity '",["object/get","@t","linkedEntity",""],"' does not exist"],"entity":["object/get","@t","linkedEntity",""],"suggestion":"Ensure the linked entity is defined in the schema","severity":"error"}]],[]],["if",["and",["object/has","@t","sourceBehavior"],["object/has","@t","linkedEntity"],["object/has",["object/get","@t","sourceEntityDefinition",{}],"name"],["!=",["object/get",["object/get","@t","sourceEntityDefinition",{}],"name",""],["object/get","@t","linkedEntity",""]]],["if",["not",["array/includes","@known",["object/get","@t","linkedEntity",""]]],[{"code":"@config.codes.tRebindTargetUnresolved.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Trait '",["object/get","@t","name",""],"' (from ",["object/get",["object/get","@t","sourceBehavior",{}],"behavior",""],") rebinds to '",["object/get","@t","linkedEntity",""],"', which names no primary or auxiliary entity anywhere in this schema; the merge has no target to land its fields on."],"suggestion":"Fix the linkedEntity rebind target's spelling, or declare/import the entity it should name.","severity":"error"}],["if",["not",["=",["object/get","@t","entityRebindable",false],true]],[{"code":"@config.codes.tEntityNotRebindable.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Trait '",["object/get","@t","name",""],"' (from ",["object/get",["object/get","@t","sourceBehavior",{}],"behavior",""],") has a fixed entity binding and cannot be rebound to '",["object/get","@t","linkedEntity",""],"'; the atom's binding is not marked `@rebindable`."],"suggestion":"Mark the atom trait's binding `-> @rebindable Entity` in its .lolo source, or remove the linkedEntity rebind.","severity":"error"}],["let",[["req",["object/get",["object/get","@t","entityContract",{}],"requires",[]]],["tg",["object/get","@defs",["object/get","@t","linkedEntity",""],null]]],["if",["or",["=",["array/len","@req"],0],["=","@tg",null]],[],["let",[["have",["array/map",["object/get","@tg","fields",[]],["fn","f",["object/get","@f","name",""]]]]],["let",[["miss",["array/filter","@req",["fn","r",["not",["array/includes","@have","@r"]]]]]],["if",["=",["array/len","@miss"],0],[],[{"code":"@config.codes.tRebindMissingFields.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Entity '",["object/get","@t","linkedEntity",""],"' is missing fields required by trait '",["object/get","@t","name",""],"': ",["str/join","@miss",", "]],"suggestion":"Add the missing fields to the entity, or rebind to an entity that already has them.","severity":"error"}]]]]]]]],[]]],["array/concat",["if",["or",["object/has","@t","name"],["object/has","@t","ref"]],["if",["or",["array/includes","@inames","@tname"],["str/startsWith","@tname","std/"]],[],[{"code":"@config.codes.tUndefinedTrait.code","path":"@tp","message":["str/concat","Trait '","@tname","' is not defined"],"suggestion":"Define traits inline within orbitals or use a std library trait","severity":"error"}]],[{"code":"@config.codes.tInvalidFormat.code","path":"@tp","message":"Trait reference must have 'ref' or 'name' property","suggestion":"Add ref: 'TraitName' to reference a defined trait","severity":"error"}]],["if",["object/has","@t","linkedEntity"],["if",["array/includes","@known",["object/get","@t","linkedEntity",""]],[],[{"code":"@config.codes.eInvalidRelation.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Linked entity '",["object/get","@t","linkedEntity",""],"' does not exist"],"entity":["object/get","@t","linkedEntity",""],"suggestion":"Ensure the linked entity is defined in the schema","severity":"error"}]],[]]]]]]]]]]]]],["array/flatten",["array/map","@names",["fn","nm",["let",[["os",["array/map",["array/filter","@inl",["fn","x",["=",["object/get","@x","n",""],"@nm"]]],["fn","x",["object/get","@x","o",""]]]]],["if",[">",["array/len","@os"],1],[{"code":"@config.codes.tDuplicateName.code","path":"orbitals","message":["str/concat","Trait '","@nm","' is defined in multiple orbitals: [",["str/join",["array/map","@os",["fn","x",["str/concat","\"","@x","\""]]],", "],"]"],"suggestion":"Use unique trait names per orbital or define traits inline within orbitals","severity":"error"}],[]]]]]]]]]]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_4H8XB76CE867434GJ4BBQZG9WE","effects":[["emit","LINT_FOUND",{"rule":"trait-refs","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"LintTraitRefsCodes","default":{"tUndefinedTrait":{"code":"ORB_T_UNDEFINED_TRAIT","category":"trait","description":"A trait reference does not give a trait name"},"eInvalidRelation":{"code":"ORB_E_INVALID_RELATION","category":"entity","description":"A relation field is missing its relation configuration or points at an entity that does not exist"},"tRebindTargetUnresolved":{"code":"ORB_T_REBIND_TARGET_UNRESOLVED","category":"trait","description":"A trait rebind target cannot be resolved"},"tEntityNotRebindable":{"code":"ORB_T_ENTITY_NOT_REBINDABLE","category":"trait","description":"A trait is bound to an entity it cannot be rebound to"},"tRebindMissingFields":{"code":"ORB_T_REBIND_MISSING_FIELDS","category":"trait","description":"A trait is rebound to an entity that lacks fields the trait requires"},"tInvalidFormat":{"code":"ORB_T_INVALID_FORMAT","category":"trait","description":"A trait reference has neither a ref nor a name property"},"tDuplicateName":{"code":"ORB_T_DUPLICATE_NAME","category":"trait","description":"The same trait name is defined in more than one orbital"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"tUndefinedTrait":{"nullable":false,"name":"tUndefinedTrait","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"}},"eInvalidRelation":{"nullable":false,"name":"eInvalidRelation","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"}},"tRebindTargetUnresolved":{"nullable":false,"name":"tRebindTargetUnresolved","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"}},"tEntityNotRebindable":{"nullable":false,"name":"tEntityNotRebindable","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"}},"tRebindMissingFields":{"nullable":false,"name":"tRebindMissingFields","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"}},"tInvalidFormat":{"nullable":false,"name":"tInvalidFormat","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"}},"tDuplicateName":{"nullable":false,"name":"tDuplicateName","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":"LintTraitRefsCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264","fingerprint":"eb4a2289378ddf6937d63d22cda6f6aabe4734a87377a911711dff7d67ee1a73"}},{"name":"OrbLintTraitRefsCli","id":"trt_S6MY3TRCBF65QXDB88GD8B6AGW","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintTraitRefsRun","linkedEntityId":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J","entityRefIds":{"OrbLintTraitRefsRun":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_VRYTFQY6CF367JM8RFC4MBR4D1","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_4CTN4BCT6ED37C9ZCWVVA0406Z","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_CKY3EF5719KGMZTAZ08HMF61TA","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_INPUT_UNREAD","eventId":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","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_EBYX8DWA9P54V6CRC8RK3XQGN7","triggers":"LINT_FOUND","triggersId":"evt_CKY3EF5719KGMZTAZ08HMF61TA","source":{"kind":"trait","trait":"OrbLintTraitRefs","traitId":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_4E1PF9G8P44B203K7B6MVH60S7"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_QJVCMZVDZWPZYDWPWRAMZPW2A2","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1","name":"Lint Called","description":"Run `orb lint trait-refs` with its arguments and working directory.","synonyms":"orb lint trait-refs","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-refs","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_CKY3EF5719KGMZTAZ08HMF61TA","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"key":"LINT_INPUT_UNREAD","id":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","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_VRYTFQY6CF367JM8RFC4MBR4D1","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_4CTN4BCT6ED37C9ZCWVVA0406Z","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_QJVCMZVDZWPZYDWPWRAMZPW2A2"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1","guard":["or",["=",["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-refs <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["let",[["argFile",["array/first",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]]]],["if",["=","@argFile",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint trait-refs <file>"}],["emit","LINT_REQUEST",{"file":"@argFile"}]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_QJVCMZVDZWPZYDWPWRAMZPW2A2"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_CKY3EF5719KGMZTAZ08HMF61TA","guard":["and",["=","@payload.rule","trait-refs"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint trait-refs: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_CKY3EF5719KGMZTAZ08HMF61TA","guard":["and",["=","@payload.rule","trait-refs"],[">",["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_AGQYXXKSNAWTN1NP59G58ZTWTV","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint trait-refs: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_S6MY3TRCBF65QXDB88GD8B6AGW","fingerprint":"122822005293c746c97ef72a98e6477e05f09739ee8cd74ebd0741f45257433f"}},{"ref":"Input.traits.Versions","id":"trt_VNFF9DA4PD2B6RC2ZAH498098E","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_VCZGA4YG62831EWGN1203BKJNN","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_4E1PF9G8P44B203K7B6MVH60S7","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintTraitRefsCli"}},{"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":"OrbLintTraitRefsOrbitalStart","id":"pag_8TVP7ZB4YBJF5S6PPXZ9Q0YSF7","path":"","protocol":"boot","traits":[{"ref":"OrbLintTraitRefs","refId":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},{"ref":"OrbLintTraitRefsCli","refId":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},{"ref":"OrbLintInput","refId":"trt_4E1PF9G8P44B203K7B6MVH60S7"},{"ref":"Packs","refId":"trt_VCZGA4YG62831EWGN1203BKJNN"},{"ref":"Versions","refId":"trt_VNFF9DA4PD2B6RC2ZAH498098E"}]}],"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}],"LintTraitRefsCodes":[{"nullable":false,"name":"tUndefinedTrait","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"}},{"nullable":false,"name":"eInvalidRelation","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"}},{"nullable":false,"name":"tRebindTargetUnresolved","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"}},{"nullable":false,"name":"tEntityNotRebindable","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"}},{"nullable":false,"name":"tRebindMissingFields","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"}},{"nullable":false,"name":"tInvalidFormat","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"}},{"nullable":false,"name":"tDuplicateName","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"TrContract":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"TrEntity":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"TrExpect":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"TrField":[{"nullable":false,"name":"name","type":"string"}],"TrOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"TrProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"items":{"nullable":false,"name":"","type":"TrOrbital","projectedFrom":{"type":"TrOrbital"}}}],"TrSrc":[{"nullable":false,"name":"behavior","type":"string"}],"TrSrcEnt":[{"nullable":false,"name":"name","type":"string"}],"TrTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"TrVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[TrVal]","items":{"nullable":true,"name":"","type":"TrVal","projectedFrom":{"type":"TrVal"}}},{"nullable":false,"name":"object","type":"Map<string,TrVal>","items":{"nullable":true,"name":"","type":"TrVal","projectedFrom":{"type":"TrVal"}}}]}]}}],"inbound":["cli-lint-trait-refs"],"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_P53TGBQF4AQJ5AEA5CFJCYVR5J":{"id":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J","kind":"entity","bakedName":"OrbLintTraitRefsRun","curName":"OrbLintTraitRefsRun","renames":[],"owner":"workspace"},"evt_23NVRP8T02D01D655V79SWBAE5":{"id":"evt_23NVRP8T02D01D655V79SWBAE5","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},"evt_4CTN4BCT6ED37C9ZCWVVA0406Z":{"id":"evt_4CTN4BCT6ED37C9ZCWVVA0406Z","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_4H8XB76CE867434GJ4BBQZG9WE":{"id":"evt_4H8XB76CE867434GJ4BBQZG9WE","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ":{"id":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},"evt_AGQYXXKSNAWTN1NP59G58ZTWTV":{"id":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_CKY3EF5719KGMZTAZ08HMF61TA":{"id":"evt_CKY3EF5719KGMZTAZ08HMF61TA","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_EBYX8DWA9P54V6CRC8RK3XQGN7":{"id":"evt_EBYX8DWA9P54V6CRC8RK3XQGN7","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1":{"id":"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_QJVCMZVDZWPZYDWPWRAMZPW2A2":{"id":"evt_QJVCMZVDZWPZYDWPWRAMZPW2A2","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_VRYTFQY6CF367JM8RFC4MBR4D1":{"id":"evt_VRYTFQY6CF367JM8RFC4MBR4D1","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"orb_1WY3QYDCJJP998CPKG1EH9ZPFY":{"id":"orb_1WY3QYDCJJP998CPKG1EH9ZPFY","kind":"orbital","bakedName":"OrbLintTraitRefsOrbital","curName":"OrbLintTraitRefsOrbital","renames":[],"owner":"workspace"},"pag_8TVP7ZB4YBJF5S6PPXZ9Q0YSF7":{"id":"pag_8TVP7ZB4YBJF5S6PPXZ9Q0YSF7","kind":"page","bakedName":"OrbLintTraitRefsOrbitalStart","curName":"OrbLintTraitRefsOrbitalStart","renames":[],"owner":"workspace"},"trt_4E1PF9G8P44B203K7B6MVH60S7":{"id":"trt_4E1PF9G8P44B203K7B6MVH60S7","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_CXZBKE7CAZP5FJ27G4EJ65Q264":{"id":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264","kind":"trait","bakedName":"OrbLintTraitRefs","curName":"OrbLintTraitRefs","renames":[],"owner":"workspace"},"trt_S6MY3TRCBF65QXDB88GD8B6AGW":{"id":"trt_S6MY3TRCBF65QXDB88GD8B6AGW","kind":"trait","bakedName":"OrbLintTraitRefsCli","curName":"OrbLintTraitRefsCli","renames":[],"owner":"workspace"},"trt_VCZGA4YG62831EWGN1203BKJNN":{"id":"trt_VCZGA4YG62831EWGN1203BKJNN","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"},"trt_VNFF9DA4PD2B6RC2ZAH498098E":{"id":"trt_VNFF9DA4PD2B6RC2ZAH498098E","kind":"trait","bakedName":"Versions","curName":"Versions","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}],"LintTraitRefsCodes":[{"nullable":false,"name":"tUndefinedTrait","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"}},{"nullable":false,"name":"eInvalidRelation","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"}},{"nullable":false,"name":"tRebindTargetUnresolved","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"}},{"nullable":false,"name":"tEntityNotRebindable","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"}},{"nullable":false,"name":"tRebindMissingFields","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"}},{"nullable":false,"name":"tInvalidFormat","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"}},{"nullable":false,"name":"tDuplicateName","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"TrContract":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"TrEntity":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"TrExpect":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"TrField":[{"nullable":false,"name":"name","type":"string"}],"TrOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"TrProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"items":{"nullable":false,"name":"","type":"TrOrbital","projectedFrom":{"type":"TrOrbital"}}}],"TrSrc":[{"nullable":false,"name":"behavior","type":"string"}],"TrSrcEnt":[{"nullable":false,"name":"name","type":"string"}],"TrTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"TrVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[TrVal]","items":{"nullable":true,"name":"","type":"TrVal","projectedFrom":{"type":"TrVal"}}},{"nullable":false,"name":"object","type":"Map<string,TrVal>","items":{"nullable":true,"name":"","type":"TrVal","projectedFrom":{"type":"TrVal"}}}]}]},"name":"std-orb-lint-trait-refs","version":"1.0.0","description":"std-orb-lint-trait-refs - the `orb lint trait-refs <file>` command, the port of the trait reference, rebind and uniqueness checks of traits/trait_validator.rs. A trait entry of an orbital without a state machine is a reference: with neither `ref` nor `name` it is ORB_T_INVALID_FORMAT, naming a trait no orbital defines inline (and not a `std/` trait) it is ORB_T_UNDEFINED_TRAIT, and a `linkedEntity` no orbital declares (primary, auxiliary or expected entity) is ORB_E_INVALID_RELATION. An inline trait with an empty name is ORB_T_UNDEFINED_TRAIT at `.name` and an undeclared `linkedEntity` ORB_E_INVALID_RELATION. An inline trait imported from an atom (`sourceBehavior`) and rebound to an entity other than the atom's own is ORB_T_REBIND_TARGET_UNRESOLVED when the target names no entity of the program, else ORB_T_ENTITY_NOT_REBINDABLE when the atom's binding is not `@rebindable`, else ORB_T_REBIND_MISSING_FIELDS for the contract `requires` fields the target entity lacks. A trait name defined by more than one inline trait of the program is ORB_T_DUPLICATE_NAME at `orbitals`, once per name. Each finding carries the Rust path, message and suggestion (status 500, exit 1). Clean answers `lint trait-refs: 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":"OrbLintTraitRefsOrbital","id":"orb_1WY3QYDCJJP998CPKG1EH9ZPFY","uses":[{"from":"almadar-std/lint-trait-refs","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintTraitRefsRun","id":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J","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"]},"validValues":{"nullable":false,"name":"validValues","type":"array","required":false,"items":{"nullable":false,"type":"string"}},"entity":{"nullable":false,"name":"entity","type":"string","required":false},"field":{"nullable":false,"name":"field","type":"string","required":false}},"projectedFrom":{"type":"OrbFinding"}}}]},"traits":[{"name":"OrbLintTraitRefs","id":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintTraitRefsRun","linkedEntityId":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J","entityRefIds":{"OrbLintTraitRefsRun":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J"},"emits":[{"event":"LINT_FOUND","eventId":"evt_EBYX8DWA9P54V6CRC8RK3XQGN7","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_FINISH","eventId":"evt_4H8XB76CE867434GJ4BBQZG9WE","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","triggers":"LINT_INPUT","triggersId":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_4E1PF9G8P44B203K7B6MVH60S7"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_23NVRP8T02D01D655V79SWBAE5","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","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"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"items":{"nullable":false,"name":"","type":"TrOrbital","projectedFrom":{"type":"TrOrbital"}}}],"projectedFrom":{"type":"TrProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_4H8XB76CE867434GJ4BBQZG9WE","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_EBYX8DWA9P54V6CRC8RK3XQGN7","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_23NVRP8T02D01D655V79SWBAE5"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["orbitals",["object/get","@payload.program","orbitals",[]]]],["let",[["known",["array/unique",["array/filter",["array/concat",["array/map",["array/flatten",["array/map","@orbitals",["fn","o",["array/concat",["if",["validate/object",["object/get","@o","entity",{}]],[["object/get","@o","entity"]],[]],["array/filter",["object/get","@o","auxiliaryEntities",[]],["fn","x",["validate/object","@x"]]]]]]],["fn","x",["object/get","@x","name",""]]],["array/flatten",["array/map","@orbitals",["fn","o",["array/map",["array/filter",["object/get","@o","expects",[]],["fn","x",["or",["=",["object/get","@x","kind",""],"entity"],["=",["object/get","@x","kind",""],"identity"]]]],["fn","x",["object/get","@x","name",""]]]]]]],["fn","n",["!=","@n",""]]]]]],["let",[["defs",["let",[["pn",["array/map",["array/flatten",["array/map","@orbitals",["fn","o",["if",["validate/object",["object/get","@o","entity",{}]],[["object/get","@o","entity"]],[]]]]],["fn","x",["object/get","@x","name",""]]]]],["let",[["dups",["array/filter","@pn",["fn","n",[">",["array/len",["array/filter","@pn",["fn","m",["=","@m","@n"]]]],1]]]]],["object/fromEntries",["array/map",["array/filter",["array/flatten",["array/map","@orbitals",["fn","o",["array/concat",["if",["validate/object",["object/get","@o","entity",{}]],[["object/get","@o","entity"]],[]],["array/filter",["object/get","@o","auxiliaryEntities",[]],["fn","x",["validate/object","@x"]]]]]]],["fn","x",["not",["array/includes","@dups",["object/get","@x","name",""]]]]],["fn","x",[["object/get","@x","name",""],"@x"]]]]]]],["inl",["array/flatten",["array/map","@orbitals",["fn","o",["array/map",["array/filter",["object/get","@o","traits",[]],["fn","t",["object/has","@t","stateMachine"]]],["fn","t",{"n":["object/get","@t","name",""],"o":["object/get","@o","name",""]}]]]]]]],["let",[["names",["array/unique",["array/map","@inl",["fn","x",["object/get","@x","n",""]]]]]],["let",[["inames","@names"]],["array/concat",["array/flatten",["array/map",["array/range",0,["array/len","@orbitals"]],["fn","oi",["let",[["o",["array/nth","@orbitals","@oi"]]],["array/flatten",["array/map",["array/range",0,["array/len",["object/get","@o","traits",[]]]],["fn","ti",["let",[["t",["array/nth",["object/get","@o","traits",[]],"@ti"]]],["let",[["tp",["str/concat","orbitals[","@oi"," (",["object/get","@o","name",""],")].traits[","@ti"," (",["if",["object/has","@t","stateMachine"],["object/get","@t","name",""],["if",["object/has","@t","name"],["object/get","@t","name",""],["if",["object/has","@t","ref"],["object/get","@t","ref",""],"<anonymous>"]]],")]"]],["tname",["if",["object/has","@t","ref"],["object/get","@t","ref",""],["object/get","@t","name",""]]]],["if",["object/has","@t","stateMachine"],["array/concat",["if",["=",["object/get","@t","name",""],""],[{"code":"@config.codes.tUndefinedTrait.code","path":["str/concat","@tp",".name"],"message":"Trait name is required","suggestion":"Add a descriptive name for the trait","severity":"error"}],[]],["if",["object/has","@t","linkedEntity"],["if",["array/includes","@known",["object/get","@t","linkedEntity",""]],[],[{"code":"@config.codes.eInvalidRelation.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Linked entity '",["object/get","@t","linkedEntity",""],"' does not exist"],"entity":["object/get","@t","linkedEntity",""],"suggestion":"Ensure the linked entity is defined in the schema","severity":"error"}]],[]],["if",["and",["object/has","@t","sourceBehavior"],["object/has","@t","linkedEntity"],["object/has",["object/get","@t","sourceEntityDefinition",{}],"name"],["!=",["object/get",["object/get","@t","sourceEntityDefinition",{}],"name",""],["object/get","@t","linkedEntity",""]]],["if",["not",["array/includes","@known",["object/get","@t","linkedEntity",""]]],[{"code":"@config.codes.tRebindTargetUnresolved.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Trait '",["object/get","@t","name",""],"' (from ",["object/get",["object/get","@t","sourceBehavior",{}],"behavior",""],") rebinds to '",["object/get","@t","linkedEntity",""],"', which names no primary or auxiliary entity anywhere in this schema; the merge has no target to land its fields on."],"suggestion":"Fix the linkedEntity rebind target's spelling, or declare/import the entity it should name.","severity":"error"}],["if",["not",["=",["object/get","@t","entityRebindable",false],true]],[{"code":"@config.codes.tEntityNotRebindable.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Trait '",["object/get","@t","name",""],"' (from ",["object/get",["object/get","@t","sourceBehavior",{}],"behavior",""],") has a fixed entity binding and cannot be rebound to '",["object/get","@t","linkedEntity",""],"'; the atom's binding is not marked `@rebindable`."],"suggestion":"Mark the atom trait's binding `-> @rebindable Entity` in its .lolo source, or remove the linkedEntity rebind.","severity":"error"}],["let",[["req",["object/get",["object/get","@t","entityContract",{}],"requires",[]]],["tg",["object/get","@defs",["object/get","@t","linkedEntity",""],null]]],["if",["or",["=",["array/len","@req"],0],["=","@tg",null]],[],["let",[["have",["array/map",["object/get","@tg","fields",[]],["fn","f",["object/get","@f","name",""]]]]],["let",[["miss",["array/filter","@req",["fn","r",["not",["array/includes","@have","@r"]]]]]],["if",["=",["array/len","@miss"],0],[],[{"code":"@config.codes.tRebindMissingFields.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Entity '",["object/get","@t","linkedEntity",""],"' is missing fields required by trait '",["object/get","@t","name",""],"': ",["str/join","@miss",", "]],"suggestion":"Add the missing fields to the entity, or rebind to an entity that already has them.","severity":"error"}]]]]]]]],[]]],["array/concat",["if",["or",["object/has","@t","name"],["object/has","@t","ref"]],["if",["or",["array/includes","@inames","@tname"],["str/startsWith","@tname","std/"]],[],[{"code":"@config.codes.tUndefinedTrait.code","path":"@tp","message":["str/concat","Trait '","@tname","' is not defined"],"suggestion":"Define traits inline within orbitals or use a std library trait","severity":"error"}]],[{"code":"@config.codes.tInvalidFormat.code","path":"@tp","message":"Trait reference must have 'ref' or 'name' property","suggestion":"Add ref: 'TraitName' to reference a defined trait","severity":"error"}]],["if",["object/has","@t","linkedEntity"],["if",["array/includes","@known",["object/get","@t","linkedEntity",""]],[],[{"code":"@config.codes.eInvalidRelation.code","path":["str/concat","@tp",".linkedEntity"],"message":["str/concat","Linked entity '",["object/get","@t","linkedEntity",""],"' does not exist"],"entity":["object/get","@t","linkedEntity",""],"suggestion":"Ensure the linked entity is defined in the schema","severity":"error"}]],[]]]]]]]]]]]]],["array/flatten",["array/map","@names",["fn","nm",["let",[["os",["array/map",["array/filter","@inl",["fn","x",["=",["object/get","@x","n",""],"@nm"]]],["fn","x",["object/get","@x","o",""]]]]],["if",[">",["array/len","@os"],1],[{"code":"@config.codes.tDuplicateName.code","path":"orbitals","message":["str/concat","Trait '","@nm","' is defined in multiple orbitals: [",["str/join",["array/map","@os",["fn","x",["str/concat","\"","@x","\""]]],", "],"]"],"suggestion":"Use unique trait names per orbital or define traits inline within orbitals","severity":"error"}],[]]]]]]]]]]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_4H8XB76CE867434GJ4BBQZG9WE","effects":[["emit","LINT_FOUND",{"rule":"trait-refs","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"LintTraitRefsCodes","default":{"tUndefinedTrait":{"code":"ORB_T_UNDEFINED_TRAIT","category":"trait","description":"A trait reference does not give a trait name"},"eInvalidRelation":{"code":"ORB_E_INVALID_RELATION","category":"entity","description":"A relation field is missing its relation configuration or points at an entity that does not exist"},"tRebindTargetUnresolved":{"code":"ORB_T_REBIND_TARGET_UNRESOLVED","category":"trait","description":"A trait rebind target cannot be resolved"},"tEntityNotRebindable":{"code":"ORB_T_ENTITY_NOT_REBINDABLE","category":"trait","description":"A trait is bound to an entity it cannot be rebound to"},"tRebindMissingFields":{"code":"ORB_T_REBIND_MISSING_FIELDS","category":"trait","description":"A trait is rebound to an entity that lacks fields the trait requires"},"tInvalidFormat":{"code":"ORB_T_INVALID_FORMAT","category":"trait","description":"A trait reference has neither a ref nor a name property"},"tDuplicateName":{"code":"ORB_T_DUPLICATE_NAME","category":"trait","description":"The same trait name is defined in more than one orbital"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"tUndefinedTrait":{"nullable":false,"name":"tUndefinedTrait","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"}},"eInvalidRelation":{"nullable":false,"name":"eInvalidRelation","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"}},"tRebindTargetUnresolved":{"nullable":false,"name":"tRebindTargetUnresolved","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"}},"tEntityNotRebindable":{"nullable":false,"name":"tEntityNotRebindable","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"}},"tRebindMissingFields":{"nullable":false,"name":"tRebindMissingFields","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"}},"tInvalidFormat":{"nullable":false,"name":"tInvalidFormat","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"}},"tDuplicateName":{"nullable":false,"name":"tDuplicateName","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":"LintTraitRefsCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264","fingerprint":"eb4a2289378ddf6937d63d22cda6f6aabe4734a87377a911711dff7d67ee1a73"}},{"name":"OrbLintTraitRefsCli","id":"trt_S6MY3TRCBF65QXDB88GD8B6AGW","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintTraitRefsRun","linkedEntityId":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J","entityRefIds":{"OrbLintTraitRefsRun":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_VRYTFQY6CF367JM8RFC4MBR4D1","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_4CTN4BCT6ED37C9ZCWVVA0406Z","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_CKY3EF5719KGMZTAZ08HMF61TA","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_INPUT_UNREAD","eventId":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","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_EBYX8DWA9P54V6CRC8RK3XQGN7","triggers":"LINT_FOUND","triggersId":"evt_CKY3EF5719KGMZTAZ08HMF61TA","source":{"kind":"trait","trait":"OrbLintTraitRefs","traitId":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_4E1PF9G8P44B203K7B6MVH60S7"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_QJVCMZVDZWPZYDWPWRAMZPW2A2","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1","name":"Lint Called","description":"Run `orb lint trait-refs` with its arguments and working directory.","synonyms":"orb lint trait-refs","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-refs","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_CKY3EF5719KGMZTAZ08HMF61TA","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"key":"LINT_INPUT_UNREAD","id":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","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_VRYTFQY6CF367JM8RFC4MBR4D1","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_4CTN4BCT6ED37C9ZCWVVA0406Z","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_QJVCMZVDZWPZYDWPWRAMZPW2A2"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1","guard":["or",["=",["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-refs <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["let",[["argFile",["array/first",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]]]],["if",["=","@argFile",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint trait-refs <file>"}],["emit","LINT_REQUEST",{"file":"@argFile"}]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_QJVCMZVDZWPZYDWPWRAMZPW2A2"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_CKY3EF5719KGMZTAZ08HMF61TA","guard":["and",["=","@payload.rule","trait-refs"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint trait-refs: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_CKY3EF5719KGMZTAZ08HMF61TA","guard":["and",["=","@payload.rule","trait-refs"],[">",["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_AGQYXXKSNAWTN1NP59G58ZTWTV","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint trait-refs: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_S6MY3TRCBF65QXDB88GD8B6AGW","fingerprint":"122822005293c746c97ef72a98e6477e05f09739ee8cd74ebd0741f45257433f"}},{"ref":"Input.traits.Versions","id":"trt_VNFF9DA4PD2B6RC2ZAH498098E","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_VCZGA4YG62831EWGN1203BKJNN","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_4E1PF9G8P44B203K7B6MVH60S7","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintTraitRefsCli"}},{"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":"OrbLintTraitRefsOrbitalStart","id":"pag_8TVP7ZB4YBJF5S6PPXZ9Q0YSF7","path":"","protocol":"boot","traits":[{"ref":"OrbLintTraitRefs","refId":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},{"ref":"OrbLintTraitRefsCli","refId":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},{"ref":"OrbLintInput","refId":"trt_4E1PF9G8P44B203K7B6MVH60S7"},{"ref":"Packs","refId":"trt_VCZGA4YG62831EWGN1203BKJNN"},{"ref":"Versions","refId":"trt_VNFF9DA4PD2B6RC2ZAH498098E"}]}],"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}],"LintTraitRefsCodes":[{"nullable":false,"name":"tUndefinedTrait","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"}},{"nullable":false,"name":"eInvalidRelation","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"}},{"nullable":false,"name":"tRebindTargetUnresolved","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"}},{"nullable":false,"name":"tEntityNotRebindable","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"}},{"nullable":false,"name":"tRebindMissingFields","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"}},{"nullable":false,"name":"tInvalidFormat","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"}},{"nullable":false,"name":"tDuplicateName","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"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"entity","type":"string"},{"nullable":false,"name":"field","type":"string"}],"TrContract":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"TrEntity":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"TrExpect":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"TrField":[{"nullable":false,"name":"name","type":"string"}],"TrOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"TrProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"entity","type":"object","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"projectedFrom":{"type":"TrEntity"}},{"nullable":false,"name":"auxiliaryEntities","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"fields","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrField","projectedFrom":{"type":"TrField"}}}],"items":{"nullable":false,"name":"","type":"TrEntity","projectedFrom":{"type":"TrEntity"}}},{"nullable":false,"name":"expects","type":"[object]","properties":[{"nullable":false,"name":"kind","type":"string"},{"nullable":false,"name":"name","type":"string"}],"items":{"nullable":false,"name":"","type":"TrExpect","projectedFrom":{"type":"TrExpect"}}},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"items":{"nullable":false,"name":"","type":"TrTrait","projectedFrom":{"type":"TrTrait"}}}],"items":{"nullable":false,"name":"","type":"TrOrbital","projectedFrom":{"type":"TrOrbital"}}}],"TrSrc":[{"nullable":false,"name":"behavior","type":"string"}],"TrSrcEnt":[{"nullable":false,"name":"name","type":"string"}],"TrTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"id","type":"string"},{"nullable":false,"name":"linkedEntity","type":"string"},{"nullable":false,"name":"ref","type":"string"},{"nullable":false,"name":"sourceBehavior","type":"object","properties":[{"nullable":false,"name":"behavior","type":"string"}],"projectedFrom":{"type":"TrSrc"}},{"nullable":false,"name":"sourceEntityDefinition","type":"object","properties":[{"nullable":false,"name":"name","type":"string"}],"projectedFrom":{"type":"TrSrcEnt"}},{"nullable":false,"name":"entityRebindable","type":"boolean"},{"nullable":false,"name":"entityContract","type":"object","properties":[{"nullable":false,"name":"requires","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"TrContract"}},{"nullable":false,"name":"stateMachine","type":"TrVal","properties":[],"projectedFrom":{"type":"TrVal"}}],"TrVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[TrVal]","items":{"nullable":true,"name":"","type":"TrVal","projectedFrom":{"type":"TrVal"}}},{"nullable":false,"name":"object","type":"Map<string,TrVal>","items":{"nullable":true,"name":"","type":"TrVal","projectedFrom":{"type":"TrVal"}}}]}]}}],"inbound":["cli-lint-trait-refs"],"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_P53TGBQF4AQJ5AEA5CFJCYVR5J":{"id":"ent_P53TGBQF4AQJ5AEA5CFJCYVR5J","kind":"entity","bakedName":"OrbLintTraitRefsRun","curName":"OrbLintTraitRefsRun","renames":[],"owner":"workspace"},"evt_23NVRP8T02D01D655V79SWBAE5":{"id":"evt_23NVRP8T02D01D655V79SWBAE5","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},"evt_4CTN4BCT6ED37C9ZCWVVA0406Z":{"id":"evt_4CTN4BCT6ED37C9ZCWVVA0406Z","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_4H8XB76CE867434GJ4BBQZG9WE":{"id":"evt_4H8XB76CE867434GJ4BBQZG9WE","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ":{"id":"evt_5VSPW5BT1YX0Z3SJZMTVWME1WZ","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},"evt_AGQYXXKSNAWTN1NP59G58ZTWTV":{"id":"evt_AGQYXXKSNAWTN1NP59G58ZTWTV","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_CKY3EF5719KGMZTAZ08HMF61TA":{"id":"evt_CKY3EF5719KGMZTAZ08HMF61TA","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_EBYX8DWA9P54V6CRC8RK3XQGN7":{"id":"evt_EBYX8DWA9P54V6CRC8RK3XQGN7","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264"},"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1":{"id":"evt_P77ZANRNVPAXV9WN7WX6Q6D3X1","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_QJVCMZVDZWPZYDWPWRAMZPW2A2":{"id":"evt_QJVCMZVDZWPZYDWPWRAMZPW2A2","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"evt_VRYTFQY6CF367JM8RFC4MBR4D1":{"id":"evt_VRYTFQY6CF367JM8RFC4MBR4D1","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_S6MY3TRCBF65QXDB88GD8B6AGW"},"orb_1WY3QYDCJJP998CPKG1EH9ZPFY":{"id":"orb_1WY3QYDCJJP998CPKG1EH9ZPFY","kind":"orbital","bakedName":"OrbLintTraitRefsOrbital","curName":"OrbLintTraitRefsOrbital","renames":[],"owner":"workspace"},"pag_8TVP7ZB4YBJF5S6PPXZ9Q0YSF7":{"id":"pag_8TVP7ZB4YBJF5S6PPXZ9Q0YSF7","kind":"page","bakedName":"OrbLintTraitRefsOrbitalStart","curName":"OrbLintTraitRefsOrbitalStart","renames":[],"owner":"workspace"},"trt_4E1PF9G8P44B203K7B6MVH60S7":{"id":"trt_4E1PF9G8P44B203K7B6MVH60S7","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_CXZBKE7CAZP5FJ27G4EJ65Q264":{"id":"trt_CXZBKE7CAZP5FJ27G4EJ65Q264","kind":"trait","bakedName":"OrbLintTraitRefs","curName":"OrbLintTraitRefs","renames":[],"owner":"workspace"},"trt_S6MY3TRCBF65QXDB88GD8B6AGW":{"id":"trt_S6MY3TRCBF65QXDB88GD8B6AGW","kind":"trait","bakedName":"OrbLintTraitRefsCli","curName":"OrbLintTraitRefsCli","renames":[],"owner":"workspace"},"trt_VCZGA4YG62831EWGN1203BKJNN":{"id":"trt_VCZGA4YG62831EWGN1203BKJNN","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"},"trt_VNFF9DA4PD2B6RC2ZAH498098E":{"id":"trt_VNFF9DA4PD2B6RC2ZAH498098E","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"}}}}