@almadar/std 17.0.0 → 17.0.2

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 (323) 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 +2 -2
  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/registry/cli/atoms/std-orb-behaviors.orb +1 -1
  163. package/behaviors/registry/cli/atoms/std-orb-compile.orb +1 -1
  164. package/behaviors/registry/cli/atoms/std-orb-i18n.orb +1 -1
  165. package/behaviors/registry/cli/atoms/std-orb-language.orb +1 -1
  166. package/behaviors/registry/cli/atoms/std-orb-lint-all.orb +1 -1
  167. package/behaviors/registry/cli/atoms/std-orb-lint-asset-inline-url.orb +1 -1
  168. package/behaviors/registry/cli/atoms/std-orb-lint-async-result-deaf-target.orb +1 -1
  169. package/behaviors/registry/cli/atoms/std-orb-lint-binding-fields.orb +1 -1
  170. package/behaviors/registry/cli/atoms/std-orb-lint-binding-roots.orb +1 -1
  171. package/behaviors/registry/cli/atoms/std-orb-lint-binding-setters.orb +1 -1
  172. package/behaviors/registry/cli/atoms/std-orb-lint-binding-traits.orb +1 -1
  173. package/behaviors/registry/cli/atoms/std-orb-lint-browser-effects.orb +1 -1
  174. package/behaviors/registry/cli/atoms/std-orb-lint-call-service.orb +1 -1
  175. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-client-bound.orb +1 -1
  176. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-emits.orb +1 -1
  177. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-graph.orb +1 -1
  178. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-item-actions.orb +1 -1
  179. package/behaviors/registry/cli/atoms/std-orb-lint-circular-dependencies.orb +1 -1
  180. package/behaviors/registry/cli/atoms/std-orb-lint-client-tick-locality.orb +1 -1
  181. package/behaviors/registry/cli/atoms/std-orb-lint-collection-policy.orb +1 -1
  182. package/behaviors/registry/cli/atoms/std-orb-lint-composed-wiring.orb +1 -1
  183. package/behaviors/registry/cli/atoms/std-orb-lint-computed-key-dot-path.orb +1 -1
  184. package/behaviors/registry/cli/atoms/std-orb-lint-config-dangling-ref.orb +1 -1
  185. package/behaviors/registry/cli/atoms/std-orb-lint-config-knob.orb +1 -1
  186. package/behaviors/registry/cli/atoms/std-orb-lint-config-role-lists.orb +1 -1
  187. package/behaviors/registry/cli/atoms/std-orb-lint-control-unhandled.orb +1 -1
  188. package/behaviors/registry/cli/atoms/std-orb-lint-control-value-discarded.orb +1 -1
  189. package/behaviors/registry/cli/atoms/std-orb-lint-cross-duplicate-entity.orb +1 -1
  190. package/behaviors/registry/cli/atoms/std-orb-lint-cross-emitter.orb +1 -1
  191. package/behaviors/registry/cli/atoms/std-orb-lint-cross-registry.orb +1 -1
  192. package/behaviors/registry/cli/atoms/std-orb-lint-derived-field-write.orb +1 -1
  193. package/behaviors/registry/cli/atoms/std-orb-lint-dispatch-contract.orb +1 -1
  194. package/behaviors/registry/cli/atoms/std-orb-lint-duplicate-transition.orb +1 -1
  195. package/behaviors/registry/cli/atoms/std-orb-lint-duplicate-use-alias.orb +1 -1
  196. package/behaviors/registry/cli/atoms/std-orb-lint-effect-forms.orb +1 -1
  197. package/behaviors/registry/cli/atoms/std-orb-lint-egress-scheme-unused.orb +1 -1
  198. package/behaviors/registry/cli/atoms/std-orb-lint-embed-config-forward.orb +1 -1
  199. package/behaviors/registry/cli/atoms/std-orb-lint-emit-config-ref.orb +1 -1
  200. package/behaviors/registry/cli/atoms/std-orb-lint-emit-declaration.orb +1 -1
  201. package/behaviors/registry/cli/atoms/std-orb-lint-emit.orb +1 -1
  202. package/behaviors/registry/cli/atoms/std-orb-lint-empty-event-name.orb +1 -1
  203. package/behaviors/registry/cli/atoms/std-orb-lint-engine.orb +1 -1
  204. package/behaviors/registry/cli/atoms/std-orb-lint-entity-access.orb +1 -1
  205. package/behaviors/registry/cli/atoms/std-orb-lint-entity-browser-storage.orb +1 -1
  206. package/behaviors/registry/cli/atoms/std-orb-lint-entity-duplicate-field.orb +1 -1
  207. package/behaviors/registry/cli/atoms/std-orb-lint-entity-empty-enum.orb +1 -1
  208. package/behaviors/registry/cli/atoms/std-orb-lint-entity-field-type.orb +1 -1
  209. package/behaviors/registry/cli/atoms/std-orb-lint-entity-locale-instances.orb +1 -1
  210. package/behaviors/registry/cli/atoms/std-orb-lint-entity-mock-member.orb +1 -1
  211. package/behaviors/registry/cli/atoms/std-orb-lint-entity-mutation.orb +1 -1
  212. package/behaviors/registry/cli/atoms/std-orb-lint-entity-name-shadows-trait-union.orb +1 -1
  213. package/behaviors/registry/cli/atoms/std-orb-lint-entity-persistence.orb +1 -1
  214. package/behaviors/registry/cli/atoms/std-orb-lint-entity-semantic-default.orb +1 -1
  215. package/behaviors/registry/cli/atoms/std-orb-lint-entity-shape.orb +1 -1
  216. package/behaviors/registry/cli/atoms/std-orb-lint-event-id-uniqueness.orb +1 -1
  217. package/behaviors/registry/cli/atoms/std-orb-lint-event-wiring.orb +1 -1
  218. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-config-knob.orb +1 -1
  219. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-event-unfired.orb +1 -1
  220. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-field-undeclared.orb +1 -1
  221. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-final.orb +1 -1
  222. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-persistent-unwritten.orb +1 -1
  223. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-provider-mismatch.orb +1 -1
  224. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-unsatisfied.orb +1 -1
  225. package/behaviors/registry/cli/atoms/std-orb-lint-expected-field-not-provided.orb +1 -1
  226. package/behaviors/registry/cli/atoms/std-orb-lint-external-emit-payload.orb +1 -1
  227. package/behaviors/registry/cli/atoms/std-orb-lint-fetch-by-id-payload.orb +1 -1
  228. package/behaviors/registry/cli/atoms/std-orb-lint-fetch-deliver.orb +1 -1
  229. package/behaviors/registry/cli/atoms/std-orb-lint-field-path.orb +1 -1
  230. package/behaviors/registry/cli/atoms/std-orb-lint-filter-field-never-written.orb +1 -1
  231. package/behaviors/registry/cli/atoms/std-orb-lint-finding-codes.orb +1 -1
  232. package/behaviors/registry/cli/atoms/std-orb-lint-generic-types.orb +1 -1
  233. package/behaviors/registry/cli/atoms/std-orb-lint-groupby-enum-column-gap.orb +1 -1
  234. package/behaviors/registry/cli/atoms/std-orb-lint-guest-view-not-client.orb +1 -1
  235. package/behaviors/registry/cli/atoms/std-orb-lint-host-effects.orb +1 -1
  236. package/behaviors/registry/cli/atoms/std-orb-lint-http-egress-entry.orb +1 -1
  237. package/behaviors/registry/cli/atoms/std-orb-lint-icon-exists.orb +1 -1
  238. package/behaviors/registry/cli/atoms/std-orb-lint-icon-format.orb +1 -1
  239. package/behaviors/registry/cli/atoms/std-orb-lint-id-refs.orb +1 -1
  240. package/behaviors/registry/cli/atoms/std-orb-lint-identity-unique.orb +1 -1
  241. package/behaviors/registry/cli/atoms/std-orb-lint-inbound-answer-foreign.orb +1 -1
  242. package/behaviors/registry/cli/atoms/std-orb-lint-inbound.orb +1 -1
  243. package/behaviors/registry/cli/atoms/std-orb-lint-init-coverage.orb +1 -1
  244. package/behaviors/registry/cli/atoms/std-orb-lint-input.orb +1 -1
  245. package/behaviors/registry/cli/atoms/std-orb-lint-item-action-event.orb +1 -1
  246. package/behaviors/registry/cli/atoms/std-orb-lint-keyed-call-keys.orb +1 -1
  247. package/behaviors/registry/cli/atoms/std-orb-lint-keyed-call.orb +1 -1
  248. package/behaviors/registry/cli/atoms/std-orb-lint-listen-per.orb +1 -1
  249. package/behaviors/registry/cli/atoms/std-orb-lint-listen-redundant-embed-route.orb +1 -1
  250. package/behaviors/registry/cli/atoms/std-orb-lint-listen-route-starves-required-field.orb +1 -1
  251. package/behaviors/registry/cli/atoms/std-orb-lint-listen-source-never-produces.orb +1 -1
  252. package/behaviors/registry/cli/atoms/std-orb-lint-listen-source-unresolved.orb +1 -1
  253. package/behaviors/registry/cli/atoms/std-orb-lint-listen-trigger.orb +1 -1
  254. package/behaviors/registry/cli/atoms/std-orb-lint-listen-wildcard-unkeyed.orb +1 -1
  255. package/behaviors/registry/cli/atoms/std-orb-lint-literal-default.orb +1 -1
  256. package/behaviors/registry/cli/atoms/std-orb-lint-llm-wire-unrouted.orb +1 -1
  257. package/behaviors/registry/cli/atoms/std-orb-lint-loop-invariant-parse.orb +1 -1
  258. package/behaviors/registry/cli/atoms/std-orb-lint-mem-handles.orb +1 -1
  259. package/behaviors/registry/cli/atoms/std-orb-lint-merged-fields.orb +1 -1
  260. package/behaviors/registry/cli/atoms/std-orb-lint-missing-orbital-name.orb +1 -1
  261. package/behaviors/registry/cli/atoms/std-orb-lint-nav-target.orb +1 -1
  262. package/behaviors/registry/cli/atoms/std-orb-lint-navigate.orb +1 -1
  263. package/behaviors/registry/cli/atoms/std-orb-lint-not-found.orb +1 -1
  264. package/behaviors/registry/cli/atoms/std-orb-lint-oauth.orb +1 -1
  265. package/behaviors/registry/cli/atoms/std-orb-lint-orbital-config-dead-knob.orb +1 -1
  266. package/behaviors/registry/cli/atoms/std-orb-lint-orbital-duplicate-name.orb +1 -1
  267. package/behaviors/registry/cli/atoms/std-orb-lint-page-content-owner.orb +1 -1
  268. package/behaviors/registry/cli/atoms/std-orb-lint-page-empty-traits.orb +1 -1
  269. package/behaviors/registry/cli/atoms/std-orb-lint-page-modifiers.orb +1 -1
  270. package/behaviors/registry/cli/atoms/std-orb-lint-page-path-uniqueness.orb +1 -1
  271. package/behaviors/registry/cli/atoms/std-orb-lint-page-path.orb +1 -1
  272. package/behaviors/registry/cli/atoms/std-orb-lint-page-unreachable.orb +1 -1
  273. package/behaviors/registry/cli/atoms/std-orb-lint-parallel-pure.orb +1 -1
  274. package/behaviors/registry/cli/atoms/std-orb-lint-pattern-props.orb +1 -1
  275. package/behaviors/registry/cli/atoms/std-orb-lint-payload-field-name.orb +1 -1
  276. package/behaviors/registry/cli/atoms/std-orb-lint-placement.orb +1 -1
  277. package/behaviors/registry/cli/atoms/std-orb-lint-program-eval.orb +1 -1
  278. package/behaviors/registry/cli/atoms/std-orb-lint-query-index.orb +1 -1
  279. package/behaviors/registry/cli/atoms/std-orb-lint-relation-targets.orb +1 -1
  280. package/behaviors/registry/cli/atoms/std-orb-lint-render-ui-pattern.orb +1 -1
  281. package/behaviors/registry/cli/atoms/std-orb-lint-reserved-component-name.orb +1 -1
  282. package/behaviors/registry/cli/atoms/std-orb-lint-retired-effect-forms.orb +1 -1
  283. package/behaviors/registry/cli/atoms/std-orb-lint-rui-binding.orb +1 -1
  284. package/behaviors/registry/cli/atoms/std-orb-lint-rui-effects.orb +1 -1
  285. package/behaviors/registry/cli/atoms/std-orb-lint-schema-header.orb +1 -1
  286. package/behaviors/registry/cli/atoms/std-orb-lint-service-def.orb +1 -1
  287. package/behaviors/registry/cli/atoms/std-orb-lint-set-column.orb +1 -1
  288. package/behaviors/registry/cli/atoms/std-orb-lint-sexpr-binding.orb +1 -1
  289. package/behaviors/registry/cli/atoms/std-orb-lint-sigil-context.orb +1 -1
  290. package/behaviors/registry/cli/atoms/std-orb-lint-sign-in-route.orb +1 -1
  291. package/behaviors/registry/cli/atoms/std-orb-lint-slot-tick.orb +1 -1
  292. package/behaviors/registry/cli/atoms/std-orb-lint-slot.orb +1 -1
  293. package/behaviors/registry/cli/atoms/std-orb-lint-state-shape.orb +1 -1
  294. package/behaviors/registry/cli/atoms/std-orb-lint-state-unreachable.orb +1 -1
  295. package/behaviors/registry/cli/atoms/std-orb-lint-store-binding.orb +1 -1
  296. package/behaviors/registry/cli/atoms/std-orb-lint-theme-pin-contradicts-app.orb +1 -1
  297. package/behaviors/registry/cli/atoms/std-orb-lint-theme-ref.orb +1 -1
  298. package/behaviors/registry/cli/atoms/std-orb-lint-theme-undeclared.orb +1 -1
  299. package/behaviors/registry/cli/atoms/std-orb-lint-theme-values.orb +1 -1
  300. package/behaviors/registry/cli/atoms/std-orb-lint-tick-requires-runtime.orb +1 -1
  301. package/behaviors/registry/cli/atoms/std-orb-lint-time-unit.orb +1 -1
  302. package/behaviors/registry/cli/atoms/std-orb-lint-trait-embeds.orb +1 -1
  303. package/behaviors/registry/cli/atoms/std-orb-lint-trait-id-uniqueness.orb +1 -1
  304. package/behaviors/registry/cli/atoms/std-orb-lint-trait-mounts.orb +1 -1
  305. package/behaviors/registry/cli/atoms/std-orb-lint-trait-ref-config.orb +1 -1
  306. package/behaviors/registry/cli/atoms/std-orb-lint-trait-refs.orb +1 -1
  307. package/behaviors/registry/cli/atoms/std-orb-lint-transition-refs.orb +1 -1
  308. package/behaviors/registry/cli/atoms/std-orb-lint-type-param-sweep.orb +1 -1
  309. package/behaviors/registry/cli/atoms/std-orb-lint-unsigned-guard.orb +1 -1
  310. package/behaviors/registry/cli/atoms/std-orb-lint-untyped-array.orb +1 -1
  311. package/behaviors/registry/cli/atoms/std-orb-lint-user-field-exists.orb +1 -1
  312. package/behaviors/registry/cli/atoms/std-orb-lint-user-identity.orb +1 -1
  313. package/behaviors/registry/cli/atoms/std-orb-lint-viewer-stranded.orb +1 -1
  314. package/behaviors/registry/cli/atoms/std-orb-mcp-install.orb +1 -1
  315. package/behaviors/registry/cli/atoms/std-orb-mcp.orb +1 -1
  316. package/behaviors/registry/cli/atoms/std-orb-packages.orb +1 -1
  317. package/behaviors/registry/cli/atoms/std-orb-supervise.orb +1 -1
  318. package/behaviors/registry/cli/atoms/std-orb-update-notice.orb +1 -1
  319. package/behaviors/registry/cli/atoms/std-orb-validate.orb +1 -1
  320. package/behaviors/registry/dev/atoms/std-launchpad-updates.orb +1 -1
  321. package/behaviors/registry/dev/atoms/std-orb-stats.orb +1 -1
  322. package/behaviors/registry/dev/organisms/std-launchpad.orb +5 -0
  323. package/package.json +1 -1
@@ -1 +1 @@
1
- {"typeContractVersion":1,"types":{"KcCH":[{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"at","type":"number","required":true},{"nullable":false,"name":"node","type":"KcVal","required":true,"properties":[],"projectedFrom":{"type":"KcVal"}}],"KcForm":[{"nullable":false,"name":"","type":"[KcVal]","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcHeads":[{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"KcIdx":[{"nullable":false,"name":"","type":"Map<string,[KcCH]>","items":{"nullable":false,"name":"","type":"[object]","properties":[{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"at","type":"number","required":true},{"nullable":false,"name":"node","type":"KcVal","required":true,"properties":[],"projectedFrom":{"type":"KcVal"}}],"items":{"nullable":false,"name":"","type":"KcCH","projectedFrom":{"type":"KcCH"}}}}],"KcMachine":[{"nullable":true,"name":"transitions","type":"[KcTransition]","items":{"nullable":false,"name":"","type":"KcTransition","projectedFrom":{"type":"KcTransition"}}}],"KcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcProgram":[{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"items":{"nullable":false,"name":"","type":"KcOrbital","projectedFrom":{"type":"KcOrbital"}}}],"KcStr":[{"nullable":false,"name":"","type":"string"}],"KcTick":[{"nullable":true,"name":"effects","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":true,"name":"stateMachine","type":"KcMachine","projectedFrom":{"type":"KcMachine"}},{"nullable":true,"name":"ticks","type":"[KcTick]","items":{"nullable":false,"name":"","type":"KcTick","projectedFrom":{"type":"KcTick"}}}],"KcTransition":[{"nullable":true,"name":"effects","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcVal":[{"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":"[KcVal]","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}},{"nullable":false,"name":"object","type":"Map<string,KcVal>","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}]}],"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}],"LintKeyedCallCodes":[{"nullable":false,"name":"effectOptionDropped","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":"callServiceKeyDuplicate","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"]}]},"name":"std-orb-lint-keyed-call","version":"1.0.0","description":"std-orb-lint-keyed-call — the `orb lint keyed-call <file>` command, the port of the key-and-emit rules of keyed_call.rs that need no type inference: ORB_EFFECT_OPTION_DROPPED (a `persist` or `fetch` whose options object declares both `emit` and `key`, which the completion never echoes; reported at the top effect of the transition or tick, once per such call) and ORB_CALL_SERVICE_KEY_DUPLICATE (two `call-service` calls in one transition whose trailing options carry the same literal `key`; a key starting with @ or ? is computed and never duplicates; reported at the second call). It needs the RESOLVED program (program/read resolve), so a `use`-imported atom's traits are checked too. Findings print as `[code] path: message` (status 500, exit 1); clean answers `lint keyed-call: 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. ORB_CALL_KEY_UNUSED, ORB_CANCEL_CALL_NO_KEYED_CALL and the key-expression type check are not ported here: they need the substrate and tab operator set or inferred expression types, which the lint input does not carry.","orbitals":[{"name":"OrbLintKeyedCallOrbital","id":"orb_GZFBQ363K11SGQ2FRD0ZBHZP8G","uses":[{"from":"almadar-std/lint-keyed-call","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintKeyedCallRun","id":"ent_Z88XHZPVGWDREDF6V0346RKGAW","persistence":"runtime","fields":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","default":""},{"nullable":false,"name":"findings","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"code":{"nullable":false,"name":"code","type":"string","required":true},"path":{"nullable":false,"name":"path","type":"string","required":true},"message":{"nullable":false,"name":"message","type":"string","required":true},"suggestion":{"nullable":false,"name":"suggestion","type":"string","required":true},"severity":{"nullable":false,"name":"severity","type":"string","required":false,"values":["warning","error"]}},"projectedFrom":{"type":"OrbFinding"}}}]},"traits":[{"name":"OrbLintKeyedCall","id":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintKeyedCallRun","linkedEntityId":"ent_Z88XHZPVGWDREDF6V0346RKGAW","entityRefIds":{"OrbLintKeyedCallRun":"ent_Z88XHZPVGWDREDF6V0346RKGAW"},"emits":[{"event":"LINT_FOUND","eventId":"evt_4Q586324ZN2FTXTBRWB9FFNWCX","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_FINISH","eventId":"evt_JC30QK1NBVTNXG145378BNK3QH","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_7ZZ82F9GT6RD38X427D5HBDE24","triggers":"LINT_INPUT","triggersId":"evt_7ZZ82F9GT6RD38X427D5HBDE24","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_BK7CP4B5E9JQ4SSDF61TQH08VE","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_7ZZ82F9GT6RD38X427D5HBDE24","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]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"items":{"nullable":false,"name":"","type":"KcOrbital","projectedFrom":{"type":"KcOrbital"}}}],"projectedFrom":{"type":"KcProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_JC30QK1NBVTNXG145378BNK3QH","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_4Q586324ZN2FTXTBRWB9FFNWCX","name":"Lint Found","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_BK7CP4B5E9JQ4SSDF61TQH08VE"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_7ZZ82F9GT6RD38X427D5HBDE24","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["orbitals",["object/get","@payload.program","orbitals",[]]]],["let",[["sites",["array/flatten",["array/map",["array/range",0,["array/len","@orbitals"]],["fn","oi",["let",[["o",["array/nth","@orbitals","@oi"]]],["let",[["trs",["object/get","@o","traits",[]]]],["array/flatten",["array/map",["array/range",0,["array/len","@trs"]],["fn","ti",["let",[["t",["as",["array/nth","@trs","@ti"],"KcTrait"]]],["if",["or",["=","@t",null],["=",["object/get","@t","stateMachine",null],null]],[],[{"site":["str/concat","orbitals[","@oi"," (",["object/get","@o","name",""],")].traits[","@ti"," (",["object/get","@t","name",""],")]"],"trait":"@t"}]]]]]]]]]]]]],["let",[["places",["array/flatten",["array/map","@sites",["fn","s",["let",[["sm",["object/get",["object/get","@s","trait"],"stateMachine"]],["ticks",["default",["object/get",["object/get","@s","trait"],"ticks",[]],[]]]],["let",[["trans",["if",["=","@sm",null],[],["default",["object/get","@sm","transitions",[]],[]]]]],["array/concat",["array/flatten",["array/map",["array/range",0,["array/len","@trans"]],["fn","i",["let",[["effs",["default",["object/get",["array/nth","@trans","@i"],"effects",[]],[]]]],["array/map",["array/range",0,["array/len","@effs"]],["fn","j",{"path":["str/concat",["object/get","@s","site"],".stateMachine.transitions[","@i","].effects[","@j","]"],"effect":["array/nth","@effs","@j"]}]]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@ticks"]],["fn","i",["let",[["effs",["default",["object/get",["array/nth","@ticks","@i"],"effects",[]],[]]]],["array/map",["array/range",0,["array/len","@effs"]],["fn","j",{"path":["str/concat",["object/get","@s","site"],".ticks[","@i","].effects[","@j","]"],"effect":["array/nth","@effs","@j"]}]]]]]]]]]]]]]],["array/concat",["array/flatten",["array/map","@places",["fn","pl",["array/map",["let",[["ix",["default",["as",["tree/index",["object/get","@pl","effect"],["list","persist","fetch"]],"KcIdx"],{}],"{\"version\":1,\"name\":\"KcIdx\",\"type\":{\"kind\":\"map\",\"key\":{\"kind\":\"string\"},\"value\":{\"kind\":\"array\",\"inner\":{\"kind\":\"typeref\",\"name\":\"KcCH\"}}},\"named\":{\"KcCH\":{\"kind\":\"struct\",\"fields\":[{\"name\":\"path\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"at\",\"fieldType\":{\"kind\":\"number\"},\"required\":true,\"constraints\":[]},{\"name\":\"node\",\"fieldType\":{\"kind\":\"typeref\",\"name\":\"KcVal\"},\"required\":true,\"constraints\":[]}]},\"KcVal\":{\"kind\":\"union\",\"variants\":[{\"name\":\"string\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"number\",\"fieldType\":{\"kind\":\"number\"},\"required\":true,\"constraints\":[]},{\"name\":\"boolean\",\"fieldType\":{\"kind\":\"boolean\"},\"required\":true,\"constraints\":[]},{\"name\":\"array\",\"fieldType\":{\"kind\":\"array\",\"inner\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"KcVal\"}}},\"required\":true,\"constraints\":[]},{\"name\":\"map\",\"fieldType\":{\"kind\":\"map\",\"key\":{\"kind\":\"string\"},\"value\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"KcVal\"}}},\"required\":true,\"constraints\":[]}]}}}"]],["array/map",["array/filter",["array/sort",["array/flatten",["object/values","@ix"]],"at"],["fn","c",["array/some",["array/slice",["default",["as",["object/get","@c","node",null],"KcForm"],[]],1,["array/len",["default",["as",["object/get","@c","node",null],"KcForm"],[]]]],["fn","a",["and",["validate/object","@a"],["object/has","@a","emit"],["object/has","@a","key"]]]]]],["fn","c",["default",["as",["array/first",["default",["as",["object/get","@c","node",null],"KcForm"],[]]],"KcStr"],""]]]],["fn","head",{"code":"@config.codes.effectOptionDropped.code","path":["object/get","@pl","path"],"message":["str/concat","`","@head","` carries no `key`, so its completion would never echo the `key` its options declare"],"suggestion":["str/concat","Remove `key` from the `","@head","` options, or tell the arm apart by its event"],"severity":"error"}]]]]],["array/flatten",["array/map","@sites",["fn","s",["let",[["sm",["object/get",["object/get","@s","trait"],"stateMachine"]],["trans",["if",["=","@sm",null],[],["default",["object/get","@sm","transitions",[]],[]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@trans"]],["fn","i",["let",[["effs",["default",["object/get",["array/nth","@trans","@i"],"effects",[]],[]]]],["let",[["keys",["array/map","@effs",["fn","e",["if",["and",["validate/array","@e"],[">",["array/len","@e"],4],["validate/string",["array/first","@e"]],["=",["array/first","@e"],"call-service"]],["let",[["opts",["array/nth","@e",["-",["array/len","@e"],1]]]],["if",["and",["validate/object","@opts"],["or",["object/has","@opts","emit"],["object/has","@opts","key"]]],["let",[["k",["object/get","@opts","key",null]]],["if",["and",["validate/string","@k"],["not",["str/startsWith","@k",["quote","\"\\u0040\""]]],["not",["str/startsWith","@k","?"]]],"@k",null]],null]],null]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@keys"]],["fn","j",["let",[["k",["array/nth","@keys","@j"]]],["if",["or",["=","@k",null],["not",["array/includes",["array/slice","@keys",0,"@j"],"@k"]]],[],[{"code":"@config.codes.callServiceKeyDuplicate.code","path":["str/concat",["object/get","@s","site"],".stateMachine.transitions[","@i","].effects[","@j","]"],"message":["str/concat","call-service key '","@k","' is already used by another call in this transition"],"suggestion":"Give each call-service of a transition its own key","severity":"error"}]]]]]]]]]]]]]]]]]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_JC30QK1NBVTNXG145378BNK3QH","effects":[["emit","LINT_FOUND",{"rule":"keyed-call","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"LintKeyedCallCodes","default":{"effectOptionDropped":{"code":"ORB_EFFECT_OPTION_DROPPED","category":"effect","description":"An effect carries options that depend on a key echo, but the effect has no key so the options are dropped"},"callServiceKeyDuplicate":{"code":"ORB_CALL_SERVICE_KEY_DUPLICATE","category":"effect","description":"Two call-service effects in one transition use the same key"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"effectOptionDropped":{"nullable":false,"name":"effectOptionDropped","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"}},"callServiceKeyDuplicate":{"nullable":false,"name":"callServiceKeyDuplicate","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":"LintKeyedCallCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G","fingerprint":"d8880502f9dbd99dd3dbefdd87063116882f96990286b626ae7d3f1abc433404"}},{"name":"OrbLintKeyedCallCli","id":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintKeyedCallRun","linkedEntityId":"ent_Z88XHZPVGWDREDF6V0346RKGAW","entityRefIds":{"OrbLintKeyedCallRun":"ent_Z88XHZPVGWDREDF6V0346RKGAW"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_HTBHNCZW3FY1QY6W2YGZEVM85W","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_GW4Z27BMBST5WK6XVK875Q24ZA","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_RBGQAY634A1J59PAJ6N166WCGK","description":"The rule trait's findings for the file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_INPUT_UNREAD","eventId":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","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_4Q586324ZN2FTXTBRWB9FFNWCX","triggers":"LINT_FOUND","triggersId":"evt_RBGQAY634A1J59PAJ6N166WCGK","source":{"kind":"trait","trait":"OrbLintKeyedCall","traitId":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_V0BER9AZZ0FZG38SXHXDGF9W2K","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_ZEREX18K389HM6JNM4YZ040KD4","name":"Lint Called","description":"Run `orb lint keyed-call` with its arguments and working directory.","synonyms":"orb lint keyed-call","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-keyed-call","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_RBGQAY634A1J59PAJ6N166WCGK","name":"Lint Found","description":"The rule trait's findings for the file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"key":"LINT_INPUT_UNREAD","id":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","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_HTBHNCZW3FY1QY6W2YGZEVM85W","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_GW4Z27BMBST5WK6XVK875Q24ZA","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_V0BER9AZZ0FZG38SXHXDGF9W2K"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_ZEREX18K389HM6JNM4YZ040KD4","guard":["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["or",["=","@a",null],["!=",["array/len",["object/get","@a","argv"]],1]]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint keyed-call <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_ZEREX18K389HM6JNM4YZ040KD4","guard":["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["and",["!=","@a",null],["=",["array/len",["object/get","@a","argv"]],1]]],"effects":[["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["if",["=","@a",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint keyed-call <file>"}],["let",[["f",["array/first",["object/get","@a","argv"]]]],["if",["=","@f",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint keyed-call <file>"}],["emit","LINT_REQUEST",{"file":"@f"}]]]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_V0BER9AZZ0FZG38SXHXDGF9W2K"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_RBGQAY634A1J59PAJ6N166WCGK","guard":["and",["=","@payload.rule","keyed-call"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint keyed-call: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_RBGQAY634A1J59PAJ6N166WCGK","guard":["and",["=","@payload.rule","keyed-call"],[">",["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_RB0XKK58ETM7DAVMRZHFC8N5TW","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint keyed-call: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F","fingerprint":"1d4226ab29e8adf1045b54c31afc551c57ed263c508bed82ef579447efbb7ffd"}},{"ref":"Input.traits.Versions","id":"trt_8B7MT69ZBPZNV9JTHXRRCRXH34","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_ZMR8V5CFM77T3G0A0928X6N0WB","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintKeyedCallCli"}},{"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":"OrbLintKeyedCallOrbitalStart","id":"pag_MR4A9H8TSCDCP5D1MK3C9KY4C2","path":"","protocol":"boot","traits":[{"ref":"OrbLintKeyedCall","refId":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},{"ref":"OrbLintKeyedCallCli","refId":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},{"ref":"OrbLintInput","refId":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF"},{"ref":"Packs","refId":"trt_ZMR8V5CFM77T3G0A0928X6N0WB"},{"ref":"Versions","refId":"trt_8B7MT69ZBPZNV9JTHXRRCRXH34"}]}],"types":{"KcCH":[{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"at","type":"number","required":true},{"nullable":false,"name":"node","type":"KcVal","required":true,"properties":[],"projectedFrom":{"type":"KcVal"}}],"KcForm":[{"nullable":false,"name":"","type":"[KcVal]","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcHeads":[{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"KcIdx":[{"nullable":false,"name":"","type":"Map<string,[KcCH]>","items":{"nullable":false,"name":"","type":"[object]","properties":[{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"at","type":"number","required":true},{"nullable":false,"name":"node","type":"KcVal","required":true,"properties":[],"projectedFrom":{"type":"KcVal"}}],"items":{"nullable":false,"name":"","type":"KcCH","projectedFrom":{"type":"KcCH"}}}}],"KcMachine":[{"nullable":true,"name":"transitions","type":"[KcTransition]","items":{"nullable":false,"name":"","type":"KcTransition","projectedFrom":{"type":"KcTransition"}}}],"KcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcProgram":[{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"items":{"nullable":false,"name":"","type":"KcOrbital","projectedFrom":{"type":"KcOrbital"}}}],"KcStr":[{"nullable":false,"name":"","type":"string"}],"KcTick":[{"nullable":true,"name":"effects","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":true,"name":"stateMachine","type":"KcMachine","projectedFrom":{"type":"KcMachine"}},{"nullable":true,"name":"ticks","type":"[KcTick]","items":{"nullable":false,"name":"","type":"KcTick","projectedFrom":{"type":"KcTick"}}}],"KcTransition":[{"nullable":true,"name":"effects","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcVal":[{"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":"[KcVal]","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}},{"nullable":false,"name":"object","type":"Map<string,KcVal>","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}]}],"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}],"LintKeyedCallCodes":[{"nullable":false,"name":"effectOptionDropped","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":"callServiceKeyDuplicate","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"]}]}}],"inbound":["cli-lint-keyed-call"],"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_Z88XHZPVGWDREDF6V0346RKGAW":{"id":"ent_Z88XHZPVGWDREDF6V0346RKGAW","kind":"entity","bakedName":"OrbLintKeyedCallRun","curName":"OrbLintKeyedCallRun","renames":[],"owner":"workspace"},"evt_4Q586324ZN2FTXTBRWB9FFNWCX":{"id":"evt_4Q586324ZN2FTXTBRWB9FFNWCX","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},"evt_7ZZ82F9GT6RD38X427D5HBDE24":{"id":"evt_7ZZ82F9GT6RD38X427D5HBDE24","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},"evt_BK7CP4B5E9JQ4SSDF61TQH08VE":{"id":"evt_BK7CP4B5E9JQ4SSDF61TQH08VE","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},"evt_GW4Z27BMBST5WK6XVK875Q24ZA":{"id":"evt_GW4Z27BMBST5WK6XVK875Q24ZA","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_HTBHNCZW3FY1QY6W2YGZEVM85W":{"id":"evt_HTBHNCZW3FY1QY6W2YGZEVM85W","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_JC30QK1NBVTNXG145378BNK3QH":{"id":"evt_JC30QK1NBVTNXG145378BNK3QH","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},"evt_RB0XKK58ETM7DAVMRZHFC8N5TW":{"id":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_RBGQAY634A1J59PAJ6N166WCGK":{"id":"evt_RBGQAY634A1J59PAJ6N166WCGK","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_V0BER9AZZ0FZG38SXHXDGF9W2K":{"id":"evt_V0BER9AZZ0FZG38SXHXDGF9W2K","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_ZEREX18K389HM6JNM4YZ040KD4":{"id":"evt_ZEREX18K389HM6JNM4YZ040KD4","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"orb_GZFBQ363K11SGQ2FRD0ZBHZP8G":{"id":"orb_GZFBQ363K11SGQ2FRD0ZBHZP8G","kind":"orbital","bakedName":"OrbLintKeyedCallOrbital","curName":"OrbLintKeyedCallOrbital","renames":[],"owner":"workspace"},"pag_MR4A9H8TSCDCP5D1MK3C9KY4C2":{"id":"pag_MR4A9H8TSCDCP5D1MK3C9KY4C2","kind":"page","bakedName":"OrbLintKeyedCallOrbitalStart","curName":"OrbLintKeyedCallOrbitalStart","renames":[],"owner":"workspace"},"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F":{"id":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F","kind":"trait","bakedName":"OrbLintKeyedCallCli","curName":"OrbLintKeyedCallCli","renames":[],"owner":"workspace"},"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G":{"id":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G","kind":"trait","bakedName":"OrbLintKeyedCall","curName":"OrbLintKeyedCall","renames":[],"owner":"workspace"},"trt_8B7MT69ZBPZNV9JTHXRRCRXH34":{"id":"trt_8B7MT69ZBPZNV9JTHXRRCRXH34","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF":{"id":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_ZMR8V5CFM77T3G0A0928X6N0WB":{"id":"trt_ZMR8V5CFM77T3G0A0928X6N0WB","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"}}}}
1
+ {"typeContractVersion":1,"types":{"KcCH":[{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"at","type":"number","required":true},{"nullable":false,"name":"node","type":"KcVal","required":true,"properties":[],"projectedFrom":{"type":"KcVal"}}],"KcForm":[{"nullable":false,"name":"","type":"[KcVal]","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcHeads":[{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"KcIdx":[{"nullable":false,"name":"","type":"Map<string,[KcCH]>","items":{"nullable":false,"name":"","type":"[object]","properties":[{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"at","type":"number","required":true},{"nullable":false,"name":"node","type":"KcVal","required":true,"properties":[],"projectedFrom":{"type":"KcVal"}}],"items":{"nullable":false,"name":"","type":"KcCH","projectedFrom":{"type":"KcCH"}}}}],"KcMachine":[{"nullable":true,"name":"transitions","type":"[KcTransition]","items":{"nullable":false,"name":"","type":"KcTransition","projectedFrom":{"type":"KcTransition"}}}],"KcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcProgram":[{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"items":{"nullable":false,"name":"","type":"KcOrbital","projectedFrom":{"type":"KcOrbital"}}}],"KcStr":[{"nullable":false,"name":"","type":"string"}],"KcTick":[{"nullable":true,"name":"effects","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":true,"name":"stateMachine","type":"KcMachine","projectedFrom":{"type":"KcMachine"}},{"nullable":true,"name":"ticks","type":"[KcTick]","items":{"nullable":false,"name":"","type":"KcTick","projectedFrom":{"type":"KcTick"}}}],"KcTransition":[{"nullable":true,"name":"effects","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcVal":[{"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":"[KcVal]","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}},{"nullable":false,"name":"object","type":"Map<string,KcVal>","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}]}],"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}],"LintKeyedCallCodes":[{"nullable":false,"name":"effectOptionDropped","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":"callServiceKeyDuplicate","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"]}]},"name":"std-orb-lint-keyed-call","version":"1.0.0","description":"std-orb-lint-keyed-call — the `orb lint keyed-call <file>` command, the port of the key-and-emit rules of keyed_call.rs that need no type inference: ORB_EFFECT_OPTION_DROPPED (a `persist` or `fetch` whose options object declares both `emit` and `key`, which the completion never echoes; reported at the top effect of the transition or tick, once per such call) and ORB_CALL_SERVICE_KEY_DUPLICATE (two `call-service` calls in one transition whose trailing options carry the same literal `key`; a key starting with @ or ? is computed and never duplicates; reported at the second call). It needs the RESOLVED program (program/read resolve), so a `use`-imported atom's traits are checked too. Findings print as `[code] path: message` (status 500, exit 1); clean answers `lint keyed-call: 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. ORB_CALL_KEY_UNUSED, ORB_CANCEL_CALL_NO_KEYED_CALL and the key-expression type check are not ported here: they need the substrate and tab operator set or inferred expression types, which the lint input does not carry.","orbitals":[{"name":"OrbLintKeyedCallOrbital","id":"orb_GZFBQ363K11SGQ2FRD0ZBHZP8G","uses":[{"from":"almadar-std/lint-keyed-call","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintKeyedCallRun","id":"ent_Z88XHZPVGWDREDF6V0346RKGAW","persistence":"runtime","fields":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","default":""},{"nullable":false,"name":"findings","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"code":{"nullable":false,"name":"code","type":"string","required":true},"path":{"nullable":false,"name":"path","type":"string","required":true},"message":{"nullable":false,"name":"message","type":"string","required":true},"suggestion":{"nullable":false,"name":"suggestion","type":"string","required":true},"severity":{"nullable":false,"name":"severity","type":"string","required":false,"values":["warning","error"]}},"projectedFrom":{"type":"OrbFinding"}}}]},"traits":[{"name":"OrbLintKeyedCall","id":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintKeyedCallRun","linkedEntityId":"ent_Z88XHZPVGWDREDF6V0346RKGAW","entityRefIds":{"OrbLintKeyedCallRun":"ent_Z88XHZPVGWDREDF6V0346RKGAW"},"emits":[{"event":"LINT_FOUND","eventId":"evt_4Q586324ZN2FTXTBRWB9FFNWCX","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_FINISH","eventId":"evt_JC30QK1NBVTNXG145378BNK3QH","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_7ZZ82F9GT6RD38X427D5HBDE24","triggers":"LINT_INPUT","triggersId":"evt_7ZZ82F9GT6RD38X427D5HBDE24","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_BK7CP4B5E9JQ4SSDF61TQH08VE","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_7ZZ82F9GT6RD38X427D5HBDE24","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]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"items":{"nullable":false,"name":"","type":"KcOrbital","projectedFrom":{"type":"KcOrbital"}}}],"projectedFrom":{"type":"KcProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_JC30QK1NBVTNXG145378BNK3QH","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_4Q586324ZN2FTXTBRWB9FFNWCX","name":"Lint Found","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_BK7CP4B5E9JQ4SSDF61TQH08VE"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_7ZZ82F9GT6RD38X427D5HBDE24","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["orbitals",["object/get","@payload.program","orbitals",[]]]],["let",[["sites",["array/flatten",["array/map",["array/range",0,["array/len","@orbitals"]],["fn","oi",["let",[["o",["array/nth","@orbitals","@oi"]]],["let",[["trs",["object/get","@o","traits",[]]]],["array/flatten",["array/map",["array/range",0,["array/len","@trs"]],["fn","ti",["let",[["t",["as",["array/nth","@trs","@ti"],"KcTrait"]]],["if",["or",["=","@t",null],["=",["object/get","@t","stateMachine",null],null]],[],[{"site":["str/concat","orbitals[","@oi"," (",["object/get","@o","name",""],")].traits[","@ti"," (",["object/get","@t","name",""],")]"],"trait":"@t"}]]]]]]]]]]]]],["let",[["places",["array/flatten",["array/map","@sites",["fn","s",["let",[["sm",["object/get",["object/get","@s","trait"],"stateMachine"]],["ticks",["default",["object/get",["object/get","@s","trait"],"ticks",[]],[]]]],["let",[["trans",["if",["=","@sm",null],[],["default",["object/get","@sm","transitions",[]],[]]]]],["array/concat",["array/flatten",["array/map",["array/range",0,["array/len","@trans"]],["fn","i",["let",[["effs",["default",["object/get",["array/nth","@trans","@i"],"effects",[]],[]]]],["array/map",["array/range",0,["array/len","@effs"]],["fn","j",{"path":["str/concat",["object/get","@s","site"],".stateMachine.transitions[","@i","].effects[","@j","]"],"effect":["array/nth","@effs","@j"]}]]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@ticks"]],["fn","i",["let",[["effs",["default",["object/get",["array/nth","@ticks","@i"],"effects",[]],[]]]],["array/map",["array/range",0,["array/len","@effs"]],["fn","j",{"path":["str/concat",["object/get","@s","site"],".ticks[","@i","].effects[","@j","]"],"effect":["array/nth","@effs","@j"]}]]]]]]]]]]]]]],["array/concat",["array/flatten",["array/map","@places",["fn","pl",["array/map",["let",[["ix",["default",["as",["tree/index",["object/get","@pl","effect"],["list","persist","fetch"]],"KcIdx"],{}],"{\"version\":1,\"name\":\"KcIdx\",\"type\":{\"kind\":\"map\",\"key\":{\"kind\":\"string\"},\"value\":{\"kind\":\"array\",\"inner\":{\"kind\":\"typeref\",\"name\":\"KcCH\"}}},\"named\":{\"KcCH\":{\"kind\":\"struct\",\"fields\":[{\"name\":\"path\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"at\",\"fieldType\":{\"kind\":\"number\"},\"required\":true,\"constraints\":[]},{\"name\":\"node\",\"fieldType\":{\"kind\":\"typeref\",\"name\":\"KcVal\"},\"required\":true,\"constraints\":[]}]},\"KcVal\":{\"kind\":\"union\",\"variants\":[{\"name\":\"string\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"number\",\"fieldType\":{\"kind\":\"number\"},\"required\":true,\"constraints\":[]},{\"name\":\"boolean\",\"fieldType\":{\"kind\":\"boolean\"},\"required\":true,\"constraints\":[]},{\"name\":\"array\",\"fieldType\":{\"kind\":\"array\",\"inner\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"KcVal\"}}},\"required\":true,\"constraints\":[]},{\"name\":\"map\",\"fieldType\":{\"kind\":\"map\",\"key\":{\"kind\":\"string\"},\"value\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"KcVal\"}}},\"required\":true,\"constraints\":[]}]}}}"]],["array/map",["array/filter",["array/sort",["array/flatten",["object/values","@ix"]],"at"],["fn","c",["array/some",["array/slice",["default",["as",["object/get","@c","node",null],"KcForm"],[]],1,["array/len",["default",["as",["object/get","@c","node",null],"KcForm"],[]]]],["fn","a",["and",["validate/object","@a"],["object/has","@a","emit"],["object/has","@a","key"]]]]]],["fn","c",["default",["as",["array/first",["default",["as",["object/get","@c","node",null],"KcForm"],[]]],"KcStr"],""]]]],["fn","head",{"code":"@config.codes.effectOptionDropped.code","path":["object/get","@pl","path"],"message":["str/concat","`","@head","` carries no `key`, so its completion would never echo the `key` its options declare"],"suggestion":["str/concat","Remove `key` from the `","@head","` options, or tell the arm apart by its event"],"severity":"error"}]]]]],["array/flatten",["array/map","@sites",["fn","s",["let",[["sm",["object/get",["object/get","@s","trait"],"stateMachine"]],["trans",["if",["=","@sm",null],[],["default",["object/get","@sm","transitions",[]],[]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@trans"]],["fn","i",["let",[["effs",["default",["object/get",["array/nth","@trans","@i"],"effects",[]],[]]]],["let",[["keys",["array/map","@effs",["fn","e",["if",["and",["validate/array","@e"],[">",["array/len","@e"],4],["validate/string",["array/first","@e"]],["=",["array/first","@e"],"call-service"]],["let",[["opts",["array/nth","@e",["-",["array/len","@e"],1]]]],["if",["and",["validate/object","@opts"],["or",["object/has","@opts","emit"],["object/has","@opts","key"]]],["let",[["k",["object/get","@opts","key",null]]],["if",["and",["validate/string","@k"],["not",["str/startsWith","@k",["quote","\"\\u0040\""]]],["not",["str/startsWith","@k","?"]]],"@k",null]],null]],null]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@keys"]],["fn","j",["let",[["k",["array/nth","@keys","@j"]]],["if",["or",["=","@k",null],["not",["array/includes",["array/slice","@keys",0,"@j"],"@k"]]],[],[{"code":"@config.codes.callServiceKeyDuplicate.code","path":["str/concat",["object/get","@s","site"],".stateMachine.transitions[","@i","].effects[","@j","]"],"message":["str/concat","call-service key '","@k","' is already used by another call in this transition"],"suggestion":"Give each call-service of a transition its own key","severity":"error"}]]]]]]]]]]]]]]]]]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_JC30QK1NBVTNXG145378BNK3QH","effects":[["emit","LINT_FOUND",{"rule":"keyed-call","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"LintKeyedCallCodes","default":{"effectOptionDropped":{"code":"ORB_EFFECT_OPTION_DROPPED","category":"effect","description":"An effect carries options that depend on a key echo, but the effect has no key so the options are dropped"},"callServiceKeyDuplicate":{"code":"ORB_CALL_SERVICE_KEY_DUPLICATE","category":"effect","description":"Two call-service effects in one transition use the same key"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"effectOptionDropped":{"nullable":false,"name":"effectOptionDropped","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"}},"callServiceKeyDuplicate":{"nullable":false,"name":"callServiceKeyDuplicate","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":"LintKeyedCallCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G","fingerprint":"d8880502f9dbd99dd3dbefdd87063116882f96990286b626ae7d3f1abc433404"}},{"name":"OrbLintKeyedCallCli","id":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintKeyedCallRun","linkedEntityId":"ent_Z88XHZPVGWDREDF6V0346RKGAW","entityRefIds":{"OrbLintKeyedCallRun":"ent_Z88XHZPVGWDREDF6V0346RKGAW"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_HTBHNCZW3FY1QY6W2YGZEVM85W","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_GW4Z27BMBST5WK6XVK875Q24ZA","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_RBGQAY634A1J59PAJ6N166WCGK","description":"The rule trait's findings for the file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_INPUT_UNREAD","eventId":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","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_4Q586324ZN2FTXTBRWB9FFNWCX","triggers":"LINT_FOUND","triggersId":"evt_RBGQAY634A1J59PAJ6N166WCGK","source":{"kind":"trait","trait":"OrbLintKeyedCall","traitId":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_V0BER9AZZ0FZG38SXHXDGF9W2K","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_ZEREX18K389HM6JNM4YZ040KD4","name":"Lint Called","description":"Run `orb lint keyed-call` with its arguments and working directory.","synonyms":"orb lint keyed-call","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-keyed-call","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_RBGQAY634A1J59PAJ6N166WCGK","name":"Lint Found","description":"The rule trait's findings for the file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"key":"LINT_INPUT_UNREAD","id":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","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_HTBHNCZW3FY1QY6W2YGZEVM85W","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_GW4Z27BMBST5WK6XVK875Q24ZA","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_V0BER9AZZ0FZG38SXHXDGF9W2K"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_ZEREX18K389HM6JNM4YZ040KD4","guard":["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["or",["=","@a",null],["!=",["array/len",["object/get","@a","argv"]],1]]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint keyed-call <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_ZEREX18K389HM6JNM4YZ040KD4","guard":["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["and",["!=","@a",null],["=",["array/len",["object/get","@a","argv"]],1]]],"effects":[["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["if",["=","@a",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint keyed-call <file>"}],["let",[["f",["array/first",["object/get","@a","argv"]]]],["if",["=","@f",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint keyed-call <file>"}],["emit","LINT_REQUEST",{"file":"@f"}]]]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_V0BER9AZZ0FZG38SXHXDGF9W2K"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_RBGQAY634A1J59PAJ6N166WCGK","guard":["and",["=","@payload.rule","keyed-call"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint keyed-call: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_RBGQAY634A1J59PAJ6N166WCGK","guard":["and",["=","@payload.rule","keyed-call"],[">",["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_RB0XKK58ETM7DAVMRZHFC8N5TW","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint keyed-call: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F","fingerprint":"1d4226ab29e8adf1045b54c31afc551c57ed263c508bed82ef579447efbb7ffd"}},{"ref":"Input.traits.Versions","id":"trt_8B7MT69ZBPZNV9JTHXRRCRXH34","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_ZMR8V5CFM77T3G0A0928X6N0WB","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintKeyedCallCli"}},{"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":"OrbLintKeyedCallOrbitalStart","id":"pag_MR4A9H8TSCDCP5D1MK3C9KY4C2","path":"","protocol":"boot","traits":[{"ref":"OrbLintKeyedCall","refId":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},{"ref":"OrbLintKeyedCallCli","refId":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},{"ref":"OrbLintInput","refId":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF"},{"ref":"Packs","refId":"trt_ZMR8V5CFM77T3G0A0928X6N0WB"},{"ref":"Versions","refId":"trt_8B7MT69ZBPZNV9JTHXRRCRXH34"}]}],"types":{"KcCH":[{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"at","type":"number","required":true},{"nullable":false,"name":"node","type":"KcVal","required":true,"properties":[],"projectedFrom":{"type":"KcVal"}}],"KcForm":[{"nullable":false,"name":"","type":"[KcVal]","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcHeads":[{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"KcIdx":[{"nullable":false,"name":"","type":"Map<string,[KcCH]>","items":{"nullable":false,"name":"","type":"[object]","properties":[{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"at","type":"number","required":true},{"nullable":false,"name":"node","type":"KcVal","required":true,"properties":[],"projectedFrom":{"type":"KcVal"}}],"items":{"nullable":false,"name":"","type":"KcCH","projectedFrom":{"type":"KcCH"}}}}],"KcMachine":[{"nullable":true,"name":"transitions","type":"[KcTransition]","items":{"nullable":false,"name":"","type":"KcTransition","projectedFrom":{"type":"KcTransition"}}}],"KcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcProgram":[{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"items":{"nullable":false,"name":"","type":"KcOrbital","projectedFrom":{"type":"KcOrbital"}}}],"KcStr":[{"nullable":false,"name":"","type":"string"}],"KcTick":[{"nullable":true,"name":"effects","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":true,"name":"stateMachine","type":"KcMachine","projectedFrom":{"type":"KcMachine"}},{"nullable":true,"name":"ticks","type":"[KcTick]","items":{"nullable":false,"name":"","type":"KcTick","projectedFrom":{"type":"KcTick"}}}],"KcTransition":[{"nullable":true,"name":"effects","type":"[KcVal]","items":{"nullable":false,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}],"KcVal":[{"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":"[KcVal]","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}},{"nullable":false,"name":"object","type":"Map<string,KcVal>","items":{"nullable":true,"name":"","type":"KcVal","projectedFrom":{"type":"KcVal"}}}]}],"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}],"LintKeyedCallCodes":[{"nullable":false,"name":"effectOptionDropped","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":"callServiceKeyDuplicate","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"]}]}}],"inbound":["cli-lint-keyed-call"],"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_Z88XHZPVGWDREDF6V0346RKGAW":{"id":"ent_Z88XHZPVGWDREDF6V0346RKGAW","kind":"entity","bakedName":"OrbLintKeyedCallRun","curName":"OrbLintKeyedCallRun","renames":[],"owner":"workspace"},"evt_4Q586324ZN2FTXTBRWB9FFNWCX":{"id":"evt_4Q586324ZN2FTXTBRWB9FFNWCX","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},"evt_7ZZ82F9GT6RD38X427D5HBDE24":{"id":"evt_7ZZ82F9GT6RD38X427D5HBDE24","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},"evt_BK7CP4B5E9JQ4SSDF61TQH08VE":{"id":"evt_BK7CP4B5E9JQ4SSDF61TQH08VE","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},"evt_GW4Z27BMBST5WK6XVK875Q24ZA":{"id":"evt_GW4Z27BMBST5WK6XVK875Q24ZA","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_HTBHNCZW3FY1QY6W2YGZEVM85W":{"id":"evt_HTBHNCZW3FY1QY6W2YGZEVM85W","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_JC30QK1NBVTNXG145378BNK3QH":{"id":"evt_JC30QK1NBVTNXG145378BNK3QH","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G"},"evt_RB0XKK58ETM7DAVMRZHFC8N5TW":{"id":"evt_RB0XKK58ETM7DAVMRZHFC8N5TW","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_RBGQAY634A1J59PAJ6N166WCGK":{"id":"evt_RBGQAY634A1J59PAJ6N166WCGK","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_V0BER9AZZ0FZG38SXHXDGF9W2K":{"id":"evt_V0BER9AZZ0FZG38SXHXDGF9W2K","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"evt_ZEREX18K389HM6JNM4YZ040KD4":{"id":"evt_ZEREX18K389HM6JNM4YZ040KD4","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F"},"orb_GZFBQ363K11SGQ2FRD0ZBHZP8G":{"id":"orb_GZFBQ363K11SGQ2FRD0ZBHZP8G","kind":"orbital","bakedName":"OrbLintKeyedCallOrbital","curName":"OrbLintKeyedCallOrbital","renames":[],"owner":"workspace"},"pag_MR4A9H8TSCDCP5D1MK3C9KY4C2":{"id":"pag_MR4A9H8TSCDCP5D1MK3C9KY4C2","kind":"page","bakedName":"OrbLintKeyedCallOrbitalStart","curName":"OrbLintKeyedCallOrbitalStart","renames":[],"owner":"workspace"},"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F":{"id":"trt_3RK7S3NZG9ZR4S53DT4DYFMB1F","kind":"trait","bakedName":"OrbLintKeyedCallCli","curName":"OrbLintKeyedCallCli","renames":[],"owner":"workspace"},"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G":{"id":"trt_5EQQTHFW3ZY1ZKMAR1TCZCDD3G","kind":"trait","bakedName":"OrbLintKeyedCall","curName":"OrbLintKeyedCall","renames":[],"owner":"workspace"},"trt_8B7MT69ZBPZNV9JTHXRRCRXH34":{"id":"trt_8B7MT69ZBPZNV9JTHXRRCRXH34","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF":{"id":"trt_HDDZZ8ADJR6SCFCV0KF5FXNRYF","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_ZMR8V5CFM77T3G0A0928X6N0WB":{"id":"trt_ZMR8V5CFM77T3G0A0928X6N0WB","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"}}}}