@almadar/std 17.0.1 → 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 (321) 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-supervise.lolo +1 -1
  156. package/behaviors/lolo/cli/atoms/std-orb-update-notice.lolo +1 -1
  157. package/behaviors/lolo/cli/atoms/std-orb-validate.lolo +1 -1
  158. package/behaviors/lolo/dev/atoms/std-launchpad-updates.lolo +1 -1
  159. package/behaviors/lolo/dev/atoms/std-orb-stats.lolo +1 -1
  160. package/behaviors/lolo/dev/organisms/std-launchpad.lolo +1 -1
  161. package/behaviors/registry/cli/atoms/std-orb-behaviors.orb +1 -1
  162. package/behaviors/registry/cli/atoms/std-orb-compile.orb +1 -1
  163. package/behaviors/registry/cli/atoms/std-orb-i18n.orb +1 -1
  164. package/behaviors/registry/cli/atoms/std-orb-language.orb +1 -1
  165. package/behaviors/registry/cli/atoms/std-orb-lint-all.orb +1 -1
  166. package/behaviors/registry/cli/atoms/std-orb-lint-asset-inline-url.orb +1 -1
  167. package/behaviors/registry/cli/atoms/std-orb-lint-async-result-deaf-target.orb +1 -1
  168. package/behaviors/registry/cli/atoms/std-orb-lint-binding-fields.orb +1 -1
  169. package/behaviors/registry/cli/atoms/std-orb-lint-binding-roots.orb +1 -1
  170. package/behaviors/registry/cli/atoms/std-orb-lint-binding-setters.orb +1 -1
  171. package/behaviors/registry/cli/atoms/std-orb-lint-binding-traits.orb +1 -1
  172. package/behaviors/registry/cli/atoms/std-orb-lint-browser-effects.orb +1 -1
  173. package/behaviors/registry/cli/atoms/std-orb-lint-call-service.orb +1 -1
  174. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-client-bound.orb +1 -1
  175. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-emits.orb +1 -1
  176. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-graph.orb +1 -1
  177. package/behaviors/registry/cli/atoms/std-orb-lint-circuit-item-actions.orb +1 -1
  178. package/behaviors/registry/cli/atoms/std-orb-lint-circular-dependencies.orb +1 -1
  179. package/behaviors/registry/cli/atoms/std-orb-lint-client-tick-locality.orb +1 -1
  180. package/behaviors/registry/cli/atoms/std-orb-lint-collection-policy.orb +1 -1
  181. package/behaviors/registry/cli/atoms/std-orb-lint-composed-wiring.orb +1 -1
  182. package/behaviors/registry/cli/atoms/std-orb-lint-computed-key-dot-path.orb +1 -1
  183. package/behaviors/registry/cli/atoms/std-orb-lint-config-dangling-ref.orb +1 -1
  184. package/behaviors/registry/cli/atoms/std-orb-lint-config-knob.orb +1 -1
  185. package/behaviors/registry/cli/atoms/std-orb-lint-config-role-lists.orb +1 -1
  186. package/behaviors/registry/cli/atoms/std-orb-lint-control-unhandled.orb +1 -1
  187. package/behaviors/registry/cli/atoms/std-orb-lint-control-value-discarded.orb +1 -1
  188. package/behaviors/registry/cli/atoms/std-orb-lint-cross-duplicate-entity.orb +1 -1
  189. package/behaviors/registry/cli/atoms/std-orb-lint-cross-emitter.orb +1 -1
  190. package/behaviors/registry/cli/atoms/std-orb-lint-cross-registry.orb +1 -1
  191. package/behaviors/registry/cli/atoms/std-orb-lint-derived-field-write.orb +1 -1
  192. package/behaviors/registry/cli/atoms/std-orb-lint-dispatch-contract.orb +1 -1
  193. package/behaviors/registry/cli/atoms/std-orb-lint-duplicate-transition.orb +1 -1
  194. package/behaviors/registry/cli/atoms/std-orb-lint-duplicate-use-alias.orb +1 -1
  195. package/behaviors/registry/cli/atoms/std-orb-lint-effect-forms.orb +1 -1
  196. package/behaviors/registry/cli/atoms/std-orb-lint-egress-scheme-unused.orb +1 -1
  197. package/behaviors/registry/cli/atoms/std-orb-lint-embed-config-forward.orb +1 -1
  198. package/behaviors/registry/cli/atoms/std-orb-lint-emit-config-ref.orb +1 -1
  199. package/behaviors/registry/cli/atoms/std-orb-lint-emit-declaration.orb +1 -1
  200. package/behaviors/registry/cli/atoms/std-orb-lint-emit.orb +1 -1
  201. package/behaviors/registry/cli/atoms/std-orb-lint-empty-event-name.orb +1 -1
  202. package/behaviors/registry/cli/atoms/std-orb-lint-engine.orb +1 -1
  203. package/behaviors/registry/cli/atoms/std-orb-lint-entity-access.orb +1 -1
  204. package/behaviors/registry/cli/atoms/std-orb-lint-entity-browser-storage.orb +1 -1
  205. package/behaviors/registry/cli/atoms/std-orb-lint-entity-duplicate-field.orb +1 -1
  206. package/behaviors/registry/cli/atoms/std-orb-lint-entity-empty-enum.orb +1 -1
  207. package/behaviors/registry/cli/atoms/std-orb-lint-entity-field-type.orb +1 -1
  208. package/behaviors/registry/cli/atoms/std-orb-lint-entity-locale-instances.orb +1 -1
  209. package/behaviors/registry/cli/atoms/std-orb-lint-entity-mock-member.orb +1 -1
  210. package/behaviors/registry/cli/atoms/std-orb-lint-entity-mutation.orb +1 -1
  211. package/behaviors/registry/cli/atoms/std-orb-lint-entity-name-shadows-trait-union.orb +1 -1
  212. package/behaviors/registry/cli/atoms/std-orb-lint-entity-persistence.orb +1 -1
  213. package/behaviors/registry/cli/atoms/std-orb-lint-entity-semantic-default.orb +1 -1
  214. package/behaviors/registry/cli/atoms/std-orb-lint-entity-shape.orb +1 -1
  215. package/behaviors/registry/cli/atoms/std-orb-lint-event-id-uniqueness.orb +1 -1
  216. package/behaviors/registry/cli/atoms/std-orb-lint-event-wiring.orb +1 -1
  217. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-config-knob.orb +1 -1
  218. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-event-unfired.orb +1 -1
  219. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-field-undeclared.orb +1 -1
  220. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-final.orb +1 -1
  221. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-persistent-unwritten.orb +1 -1
  222. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-provider-mismatch.orb +1 -1
  223. package/behaviors/registry/cli/atoms/std-orb-lint-expectation-unsatisfied.orb +1 -1
  224. package/behaviors/registry/cli/atoms/std-orb-lint-expected-field-not-provided.orb +1 -1
  225. package/behaviors/registry/cli/atoms/std-orb-lint-external-emit-payload.orb +1 -1
  226. package/behaviors/registry/cli/atoms/std-orb-lint-fetch-by-id-payload.orb +1 -1
  227. package/behaviors/registry/cli/atoms/std-orb-lint-fetch-deliver.orb +1 -1
  228. package/behaviors/registry/cli/atoms/std-orb-lint-field-path.orb +1 -1
  229. package/behaviors/registry/cli/atoms/std-orb-lint-filter-field-never-written.orb +1 -1
  230. package/behaviors/registry/cli/atoms/std-orb-lint-finding-codes.orb +1 -1
  231. package/behaviors/registry/cli/atoms/std-orb-lint-generic-types.orb +1 -1
  232. package/behaviors/registry/cli/atoms/std-orb-lint-groupby-enum-column-gap.orb +1 -1
  233. package/behaviors/registry/cli/atoms/std-orb-lint-guest-view-not-client.orb +1 -1
  234. package/behaviors/registry/cli/atoms/std-orb-lint-host-effects.orb +1 -1
  235. package/behaviors/registry/cli/atoms/std-orb-lint-http-egress-entry.orb +1 -1
  236. package/behaviors/registry/cli/atoms/std-orb-lint-icon-exists.orb +1 -1
  237. package/behaviors/registry/cli/atoms/std-orb-lint-icon-format.orb +1 -1
  238. package/behaviors/registry/cli/atoms/std-orb-lint-id-refs.orb +1 -1
  239. package/behaviors/registry/cli/atoms/std-orb-lint-identity-unique.orb +1 -1
  240. package/behaviors/registry/cli/atoms/std-orb-lint-inbound-answer-foreign.orb +1 -1
  241. package/behaviors/registry/cli/atoms/std-orb-lint-inbound.orb +1 -1
  242. package/behaviors/registry/cli/atoms/std-orb-lint-init-coverage.orb +1 -1
  243. package/behaviors/registry/cli/atoms/std-orb-lint-input.orb +1 -1
  244. package/behaviors/registry/cli/atoms/std-orb-lint-item-action-event.orb +1 -1
  245. package/behaviors/registry/cli/atoms/std-orb-lint-keyed-call-keys.orb +1 -1
  246. package/behaviors/registry/cli/atoms/std-orb-lint-keyed-call.orb +1 -1
  247. package/behaviors/registry/cli/atoms/std-orb-lint-listen-per.orb +1 -1
  248. package/behaviors/registry/cli/atoms/std-orb-lint-listen-redundant-embed-route.orb +1 -1
  249. package/behaviors/registry/cli/atoms/std-orb-lint-listen-route-starves-required-field.orb +1 -1
  250. package/behaviors/registry/cli/atoms/std-orb-lint-listen-source-never-produces.orb +1 -1
  251. package/behaviors/registry/cli/atoms/std-orb-lint-listen-source-unresolved.orb +1 -1
  252. package/behaviors/registry/cli/atoms/std-orb-lint-listen-trigger.orb +1 -1
  253. package/behaviors/registry/cli/atoms/std-orb-lint-listen-wildcard-unkeyed.orb +1 -1
  254. package/behaviors/registry/cli/atoms/std-orb-lint-literal-default.orb +1 -1
  255. package/behaviors/registry/cli/atoms/std-orb-lint-llm-wire-unrouted.orb +1 -1
  256. package/behaviors/registry/cli/atoms/std-orb-lint-loop-invariant-parse.orb +1 -1
  257. package/behaviors/registry/cli/atoms/std-orb-lint-mem-handles.orb +1 -1
  258. package/behaviors/registry/cli/atoms/std-orb-lint-merged-fields.orb +1 -1
  259. package/behaviors/registry/cli/atoms/std-orb-lint-missing-orbital-name.orb +1 -1
  260. package/behaviors/registry/cli/atoms/std-orb-lint-nav-target.orb +1 -1
  261. package/behaviors/registry/cli/atoms/std-orb-lint-navigate.orb +1 -1
  262. package/behaviors/registry/cli/atoms/std-orb-lint-not-found.orb +1 -1
  263. package/behaviors/registry/cli/atoms/std-orb-lint-oauth.orb +1 -1
  264. package/behaviors/registry/cli/atoms/std-orb-lint-orbital-config-dead-knob.orb +1 -1
  265. package/behaviors/registry/cli/atoms/std-orb-lint-orbital-duplicate-name.orb +1 -1
  266. package/behaviors/registry/cli/atoms/std-orb-lint-page-content-owner.orb +1 -1
  267. package/behaviors/registry/cli/atoms/std-orb-lint-page-empty-traits.orb +1 -1
  268. package/behaviors/registry/cli/atoms/std-orb-lint-page-modifiers.orb +1 -1
  269. package/behaviors/registry/cli/atoms/std-orb-lint-page-path-uniqueness.orb +1 -1
  270. package/behaviors/registry/cli/atoms/std-orb-lint-page-path.orb +1 -1
  271. package/behaviors/registry/cli/atoms/std-orb-lint-page-unreachable.orb +1 -1
  272. package/behaviors/registry/cli/atoms/std-orb-lint-parallel-pure.orb +1 -1
  273. package/behaviors/registry/cli/atoms/std-orb-lint-pattern-props.orb +1 -1
  274. package/behaviors/registry/cli/atoms/std-orb-lint-payload-field-name.orb +1 -1
  275. package/behaviors/registry/cli/atoms/std-orb-lint-placement.orb +1 -1
  276. package/behaviors/registry/cli/atoms/std-orb-lint-program-eval.orb +1 -1
  277. package/behaviors/registry/cli/atoms/std-orb-lint-query-index.orb +1 -1
  278. package/behaviors/registry/cli/atoms/std-orb-lint-relation-targets.orb +1 -1
  279. package/behaviors/registry/cli/atoms/std-orb-lint-render-ui-pattern.orb +1 -1
  280. package/behaviors/registry/cli/atoms/std-orb-lint-reserved-component-name.orb +1 -1
  281. package/behaviors/registry/cli/atoms/std-orb-lint-retired-effect-forms.orb +1 -1
  282. package/behaviors/registry/cli/atoms/std-orb-lint-rui-binding.orb +1 -1
  283. package/behaviors/registry/cli/atoms/std-orb-lint-rui-effects.orb +1 -1
  284. package/behaviors/registry/cli/atoms/std-orb-lint-schema-header.orb +1 -1
  285. package/behaviors/registry/cli/atoms/std-orb-lint-service-def.orb +1 -1
  286. package/behaviors/registry/cli/atoms/std-orb-lint-set-column.orb +1 -1
  287. package/behaviors/registry/cli/atoms/std-orb-lint-sexpr-binding.orb +1 -1
  288. package/behaviors/registry/cli/atoms/std-orb-lint-sigil-context.orb +1 -1
  289. package/behaviors/registry/cli/atoms/std-orb-lint-sign-in-route.orb +1 -1
  290. package/behaviors/registry/cli/atoms/std-orb-lint-slot-tick.orb +1 -1
  291. package/behaviors/registry/cli/atoms/std-orb-lint-slot.orb +1 -1
  292. package/behaviors/registry/cli/atoms/std-orb-lint-state-shape.orb +1 -1
  293. package/behaviors/registry/cli/atoms/std-orb-lint-state-unreachable.orb +1 -1
  294. package/behaviors/registry/cli/atoms/std-orb-lint-store-binding.orb +1 -1
  295. package/behaviors/registry/cli/atoms/std-orb-lint-theme-pin-contradicts-app.orb +1 -1
  296. package/behaviors/registry/cli/atoms/std-orb-lint-theme-ref.orb +1 -1
  297. package/behaviors/registry/cli/atoms/std-orb-lint-theme-undeclared.orb +1 -1
  298. package/behaviors/registry/cli/atoms/std-orb-lint-theme-values.orb +1 -1
  299. package/behaviors/registry/cli/atoms/std-orb-lint-tick-requires-runtime.orb +1 -1
  300. package/behaviors/registry/cli/atoms/std-orb-lint-time-unit.orb +1 -1
  301. package/behaviors/registry/cli/atoms/std-orb-lint-trait-embeds.orb +1 -1
  302. package/behaviors/registry/cli/atoms/std-orb-lint-trait-id-uniqueness.orb +1 -1
  303. package/behaviors/registry/cli/atoms/std-orb-lint-trait-mounts.orb +1 -1
  304. package/behaviors/registry/cli/atoms/std-orb-lint-trait-ref-config.orb +1 -1
  305. package/behaviors/registry/cli/atoms/std-orb-lint-trait-refs.orb +1 -1
  306. package/behaviors/registry/cli/atoms/std-orb-lint-transition-refs.orb +1 -1
  307. package/behaviors/registry/cli/atoms/std-orb-lint-type-param-sweep.orb +1 -1
  308. package/behaviors/registry/cli/atoms/std-orb-lint-unsigned-guard.orb +1 -1
  309. package/behaviors/registry/cli/atoms/std-orb-lint-untyped-array.orb +1 -1
  310. package/behaviors/registry/cli/atoms/std-orb-lint-user-field-exists.orb +1 -1
  311. package/behaviors/registry/cli/atoms/std-orb-lint-user-identity.orb +1 -1
  312. package/behaviors/registry/cli/atoms/std-orb-lint-viewer-stranded.orb +1 -1
  313. package/behaviors/registry/cli/atoms/std-orb-mcp-install.orb +1 -1
  314. package/behaviors/registry/cli/atoms/std-orb-mcp.orb +1 -1
  315. package/behaviors/registry/cli/atoms/std-orb-supervise.orb +1 -1
  316. package/behaviors/registry/cli/atoms/std-orb-update-notice.orb +1 -1
  317. package/behaviors/registry/cli/atoms/std-orb-validate.orb +1 -1
  318. package/behaviors/registry/dev/atoms/std-launchpad-updates.orb +1 -1
  319. package/behaviors/registry/dev/atoms/std-orb-stats.orb +1 -1
  320. package/behaviors/registry/dev/organisms/std-launchpad.orb +5 -0
  321. package/package.json +1 -1
@@ -1 +1 @@
1
- {"typeContractVersion":1,"types":{"InboundEmit":[{"nullable":false,"name":"event","type":"string"}],"InboundEvent":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"InboundHook":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"InboundMachine":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"InboundOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"InboundProgram":[{"nullable":false,"name":"inbound","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"items":{"nullable":false,"name":"","type":"InboundOrbital","projectedFrom":{"type":"InboundOrbital"}}}],"InboundTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"InboundVerifies":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"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}],"LintInboundCodes":[{"nullable":false,"name":"inboundEntryInvalid","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":"inboundUndeclared","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":"inboundDuplicate","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":"inboundVerifyInvalid","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":"inboundAnswerUndeclared","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-inbound","version":"1.0.0","description":"std-orb-lint-inbound — the `orb lint inbound <file>` command, the port of ORB_INBOUND_ENTRY_INVALID, ORB_INBOUND_UNDECLARED, ORB_INBOUND_DUPLICATE, ORB_INBOUND_VERIFY_INVALID and ORB_INBOUND_ANSWER_UNDECLARED (effect/inbound.rs validate_inbound). It lowers the file with program/read, checks the app's `inbound` entries (a lower-case hook name, listed once) and every inline trait event that handles an inbound hook (declared by the app, one handler per name, a `verifies` header and credential of the right form, an answer the trait emits), each with the Rust path, message and suggestion (status 500, exit 1). Clean answers `lint inbound: clean` (status 200, exit 0). Anything but one file argument is the usage (status 400, exit 2); an unreadable or unlowerable file is status 500.","orbitals":[{"name":"OrbLintInboundOrbital","id":"orb_7Y5BVGGYXQFEVH0M3HT200FM2X","uses":[{"from":"almadar-std/lint-inbound","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintInboundRun","id":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV","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":"OrbLintInbound","id":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintInboundRun","linkedEntityId":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV","entityRefIds":{"OrbLintInboundRun":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV"},"emits":[{"event":"LINT_FOUND","eventId":"evt_MHHB7EBVTWXXE20PWZ1DD2MXYA","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_H2EG5AV9RVMWDX9K2ZZGSW5Y7M","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","triggers":"LINT_INPUT","triggersId":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_G9N2KJM0C20610Q5BRA6S01A59","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","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":"inbound","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"items":{"nullable":false,"name":"","type":"InboundOrbital","projectedFrom":{"type":"InboundOrbital"}}}],"projectedFrom":{"type":"InboundProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_H2EG5AV9RVMWDX9K2ZZGSW5Y7M","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_MHHB7EBVTWXXE20PWZ1DD2MXYA","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_G9N2KJM0C20610Q5BRA6S01A59"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["orbitals",["object/get","@payload.program","orbitals",[]]],["entries",["object/get","@payload.program","inbound",[]]]],["let",[["handlers",["array/flatten",["array/map",["array/range",0,["array/len","@orbitals"]],["fn","oi",["let",[["orb",["array/nth","@orbitals","@oi"]]],["let",[["trs",["object/get","@orb","traits",[]]]],["array/flatten",["array/map",["array/filter",["array/range",0,["array/len","@trs"]],["fn","ti",["validate/object",["array/nth","@trs","@ti"]]]],["fn","ti",["let",[["td",["array/nth","@trs","@ti"]]],["let",[["evs",["object/get",["object/get","@td","stateMachine",{}],"events",[]]],["emitted",["array/map",["object/get","@td","emits",[]],["fn","x",["object/get","@x","event",""]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@evs"]],["fn","ei",["let",[["ev",["array/nth","@evs","@ei"]]],["let",[["inb",["object/get","@ev","inbound"]]],["if",["=","@inb",null],[],[{"at":["str/concat","orbitals[","@oi"," (",["object/get","@orb","name",""],")].traits[","@ti"," (",["object/get","@td","name",""],")].stateMachine.events[","@ei","]"],"key":["object/get","@ev","key",""],"name":["object/get","@inb","name",""],"ans":["object/get","@inb","answers",""],"hasV":["object/has","@inb","verifies"],"hdr":["object/get",["object/get","@inb","verifies",{}],"header",""],"cred":["object/get",["object/get","@inb","verifies",{}],"credential",""],"emitted":"@emitted"}]]]]]]]]]]]]]]]]]]],["array/concat",["array/flatten",["array/map",["array/range",0,["array/len","@entries"]],["fn","i",["let",[["en",["array/nth","@entries","@i"]]],["if",["not",["validate/pattern","@en","^[a-z0-9][a-z0-9-]*$"]],[{"code":"@config.codes.inboundEntryInvalid.code","path":["str/concat","inbound[","@i","]"],"message":["str/concat","inbound entry '","@en","' is not a hook name"],"suggestion":"Write the one path segment after /api/hooks/: lower-case letters, digits and '-'","severity":"error"}],["if",["array/includes",["array/slice","@entries",0,"@i"],"@en"],[{"code":"@config.codes.inboundEntryInvalid.code","path":["str/concat","inbound[","@i","]"],"message":["str/concat","inbound entry '","@en","' is listed twice"],"suggestion":"","severity":"error"}],[]]]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@handlers"]],["fn","k",["let",[["h",["array/nth","@handlers","@k"]]],["array/flatten",[["if",["array/includes","@entries",["object/get","@h","name"]],[],[{"code":"@config.codes.inboundUndeclared.code","path":["object/get","@h","at"],"message":["str/concat","event '",["object/get","@h","key"],"' handles the inbound hook '",["object/get","@h","name"],"', which the program's `inbound` does not declare"],"suggestion":"Add the hook name to the app's `inbound: [...]`","severity":"error"}]],["if",[">",["array/len",["array/filter",["array/slice","@handlers",0,"@k"],["fn","p",["=",["object/get","@p","name"],["object/get","@h","name"]]]]],0],[{"code":"@config.codes.inboundDuplicate.code","path":["object/get","@h","at"],"message":["str/concat","the inbound hook '",["object/get","@h","name"],"' has more than one handler"],"suggestion":"","severity":"error"}],[]],["if",["and",["object/get","@h","hasV"],["or",["not",["validate/pattern",["object/get","@h","hdr"],"^[a-z0-9][a-z0-9-]*$"]],["not",["validate/pattern",["object/get","@h","cred"],"^[A-Za-z0-9_]+$"]]]],[{"code":"@config.codes.inboundVerifyInvalid.code","path":["object/get","@h","at"],"message":["str/concat","inbound hook '",["object/get","@h","name"],"' verifies header '",["object/get","@h","hdr"],"' against credential '",["object/get","@h","cred"],"', which are not a lower-case header name and a credential name"],"suggestion":["str/concat","Write `verifies ","\"x-signature-token\""," ","\"PROVIDER_TOKEN\"","`: a lower-case header, then a credential name of letters, digits and '_'"],"severity":"error"}],[]],["if",["array/includes",["object/get","@h","emitted"],["object/get","@h","ans"]],[],[{"code":"@config.codes.inboundAnswerUndeclared.code","path":["object/get","@h","at"],"message":["str/concat","event '",["object/get","@h","key"],"' answers with '",["object/get","@h","ans"],"', which the trait does not declare in `emits`"],"suggestion":"Declare the answer event in the trait's `emits { … }` with a `status : number!` and a `body : string!` payload","severity":"error"}]]]]]]]]]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_H2EG5AV9RVMWDX9K2ZZGSW5Y7M","effects":[["emit","LINT_FOUND",{"rule":"inbound","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"LintInboundCodes","default":{"inboundEntryInvalid":{"code":"ORB_INBOUND_ENTRY_INVALID","category":"inbound","description":"An inbound entry is not a valid hook name"},"inboundUndeclared":{"code":"ORB_INBOUND_UNDECLARED","category":"inbound","description":"An event handles an inbound hook that the program's inbound block does not declare"},"inboundDuplicate":{"code":"ORB_INBOUND_DUPLICATE","category":"inbound","description":"An inbound hook has more than one handler"},"inboundVerifyInvalid":{"code":"ORB_INBOUND_VERIFY_INVALID","category":"inbound","description":"An inbound hook verifies a header against a credential, but the header is not a lower-case header name or the credential is not a credential name"},"inboundAnswerUndeclared":{"code":"ORB_INBOUND_ANSWER_UNDECLARED","category":"inbound","description":"An inbound hook event answers with an event the trait does not declare in emits"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"inboundEntryInvalid":{"nullable":false,"name":"inboundEntryInvalid","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"}},"inboundUndeclared":{"nullable":false,"name":"inboundUndeclared","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"}},"inboundDuplicate":{"nullable":false,"name":"inboundDuplicate","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"}},"inboundVerifyInvalid":{"nullable":false,"name":"inboundVerifyInvalid","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"}},"inboundAnswerUndeclared":{"nullable":false,"name":"inboundAnswerUndeclared","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":"LintInboundCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN","fingerprint":"3997a81a6a055f7f275df7ece14184bcf9f57151adc5f812fbb517468a4ef305"}},{"name":"OrbLintInboundCli","id":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintInboundRun","linkedEntityId":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV","entityRefIds":{"OrbLintInboundRun":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_N8FGX4DGKCR9P86JCZBWQBVC31","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_TBXRPJ7CYGPF8BZJSWZ3FN0QJ2","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_MGBG1HTRFDC7PK9JA336KAD3RP","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_XMXGMS27Q93VMJZNYSYN53AFX4","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_MHHB7EBVTWXXE20PWZ1DD2MXYA","triggers":"LINT_FOUND","triggersId":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","source":{"kind":"trait","trait":"OrbLintInbound","traitId":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_XMXGMS27Q93VMJZNYSYN53AFX4","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_XMXGMS27Q93VMJZNYSYN53AFX4","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_5RFAEMHR1KW0SKV7M57101JGHK","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_KCVJG9G7363HK5VGQQPM1FA2SF","name":"Lint Called","description":"Run `orb lint inbound` with its arguments and working directory.","synonyms":"orb lint inbound, inbound hooks","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-inbound","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","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_XMXGMS27Q93VMJZNYSYN53AFX4","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_N8FGX4DGKCR9P86JCZBWQBVC31","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_TBXRPJ7CYGPF8BZJSWZ3FN0QJ2","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_5RFAEMHR1KW0SKV7M57101JGHK"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_KCVJG9G7363HK5VGQQPM1FA2SF","guard":["or",["=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["!=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint inbound <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_KCVJG9G7363HK5VGQQPM1FA2SF","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["if",["=","@a",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint inbound <file>"}],["let",[["f",["array/first",["object/get","@a","argv"]]]],["if",["=","@f",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint inbound <file>"}],["emit","LINT_REQUEST",{"file":"@f"}]]]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_5RFAEMHR1KW0SKV7M57101JGHK"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","guard":["and",["=","@payload.rule","inbound"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint inbound: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","guard":["and",["=","@payload.rule","inbound"],[">",["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_XMXGMS27Q93VMJZNYSYN53AFX4","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint inbound: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J","fingerprint":"c642bb23ef1669da7ca473068a23c6d4caf0bc95741d027eea3c46c92fa7a4e2"}},{"ref":"Input.traits.Versions","id":"trt_PSQ7R0M38S1MCJXG6A38MGCMNR","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_RY05P1GPJJB9937BF2WNKPC6NN","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintInboundCli"}},{"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":"OrbLintInboundOrbitalStart","id":"pag_GSN20K8X7QEKVZN4W52J5FFWFY","path":"","protocol":"boot","traits":[{"ref":"OrbLintInbound","refId":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},{"ref":"OrbLintInboundCli","refId":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},{"ref":"OrbLintInput","refId":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF"},{"ref":"Packs","refId":"trt_RY05P1GPJJB9937BF2WNKPC6NN"},{"ref":"Versions","refId":"trt_PSQ7R0M38S1MCJXG6A38MGCMNR"}]}],"types":{"InboundEmit":[{"nullable":false,"name":"event","type":"string"}],"InboundEvent":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"InboundHook":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"InboundMachine":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"InboundOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"InboundProgram":[{"nullable":false,"name":"inbound","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"items":{"nullable":false,"name":"","type":"InboundOrbital","projectedFrom":{"type":"InboundOrbital"}}}],"InboundTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"InboundVerifies":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"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}],"LintInboundCodes":[{"nullable":false,"name":"inboundEntryInvalid","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":"inboundUndeclared","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":"inboundDuplicate","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":"inboundVerifyInvalid","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":"inboundAnswerUndeclared","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-inbound"],"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_K0WY33H2CVH6DQYS52ZXYVGHEV":{"id":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV","kind":"entity","bakedName":"OrbLintInboundRun","curName":"OrbLintInboundRun","renames":[],"owner":"workspace"},"evt_5RFAEMHR1KW0SKV7M57101JGHK":{"id":"evt_5RFAEMHR1KW0SKV7M57101JGHK","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA":{"id":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},"evt_G9N2KJM0C20610Q5BRA6S01A59":{"id":"evt_G9N2KJM0C20610Q5BRA6S01A59","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},"evt_H2EG5AV9RVMWDX9K2ZZGSW5Y7M":{"id":"evt_H2EG5AV9RVMWDX9K2ZZGSW5Y7M","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},"evt_KCVJG9G7363HK5VGQQPM1FA2SF":{"id":"evt_KCVJG9G7363HK5VGQQPM1FA2SF","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_MGBG1HTRFDC7PK9JA336KAD3RP":{"id":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_MHHB7EBVTWXXE20PWZ1DD2MXYA":{"id":"evt_MHHB7EBVTWXXE20PWZ1DD2MXYA","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},"evt_N8FGX4DGKCR9P86JCZBWQBVC31":{"id":"evt_N8FGX4DGKCR9P86JCZBWQBVC31","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_TBXRPJ7CYGPF8BZJSWZ3FN0QJ2":{"id":"evt_TBXRPJ7CYGPF8BZJSWZ3FN0QJ2","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_XMXGMS27Q93VMJZNYSYN53AFX4":{"id":"evt_XMXGMS27Q93VMJZNYSYN53AFX4","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"orb_7Y5BVGGYXQFEVH0M3HT200FM2X":{"id":"orb_7Y5BVGGYXQFEVH0M3HT200FM2X","kind":"orbital","bakedName":"OrbLintInboundOrbital","curName":"OrbLintInboundOrbital","renames":[],"owner":"workspace"},"pag_GSN20K8X7QEKVZN4W52J5FFWFY":{"id":"pag_GSN20K8X7QEKVZN4W52J5FFWFY","kind":"page","bakedName":"OrbLintInboundOrbitalStart","curName":"OrbLintInboundOrbitalStart","renames":[],"owner":"workspace"},"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF":{"id":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN":{"id":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN","kind":"trait","bakedName":"OrbLintInbound","curName":"OrbLintInbound","renames":[],"owner":"workspace"},"trt_PSQ7R0M38S1MCJXG6A38MGCMNR":{"id":"trt_PSQ7R0M38S1MCJXG6A38MGCMNR","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_QB9M9MGF6X7KEQX16VPBWTKX2J":{"id":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J","kind":"trait","bakedName":"OrbLintInboundCli","curName":"OrbLintInboundCli","renames":[],"owner":"workspace"},"trt_RY05P1GPJJB9937BF2WNKPC6NN":{"id":"trt_RY05P1GPJJB9937BF2WNKPC6NN","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"}}}}
1
+ {"typeContractVersion":1,"types":{"InboundEmit":[{"nullable":false,"name":"event","type":"string"}],"InboundEvent":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"InboundHook":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"InboundMachine":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"InboundOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"InboundProgram":[{"nullable":false,"name":"inbound","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"items":{"nullable":false,"name":"","type":"InboundOrbital","projectedFrom":{"type":"InboundOrbital"}}}],"InboundTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"InboundVerifies":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"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}],"LintInboundCodes":[{"nullable":false,"name":"inboundEntryInvalid","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":"inboundUndeclared","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":"inboundDuplicate","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":"inboundVerifyInvalid","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":"inboundAnswerUndeclared","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-inbound","version":"1.0.0","description":"std-orb-lint-inbound — the `orb lint inbound <file>` command, the port of ORB_INBOUND_ENTRY_INVALID, ORB_INBOUND_UNDECLARED, ORB_INBOUND_DUPLICATE, ORB_INBOUND_VERIFY_INVALID and ORB_INBOUND_ANSWER_UNDECLARED (effect/inbound.rs validate_inbound). It lowers the file with program/read, checks the app's `inbound` entries (a lower-case hook name, listed once) and every inline trait event that handles an inbound hook (declared by the app, one handler per name, a `verifies` header and credential of the right form, an answer the trait emits), each with the Rust path, message and suggestion (status 500, exit 1). Clean answers `lint inbound: clean` (status 200, exit 0). Anything but one file argument is the usage (status 400, exit 2); an unreadable or unlowerable file is status 500.","orbitals":[{"name":"OrbLintInboundOrbital","id":"orb_7Y5BVGGYXQFEVH0M3HT200FM2X","uses":[{"from":"almadar-std/lint-inbound","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintInboundRun","id":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV","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":"OrbLintInbound","id":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintInboundRun","linkedEntityId":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV","entityRefIds":{"OrbLintInboundRun":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV"},"emits":[{"event":"LINT_FOUND","eventId":"evt_MHHB7EBVTWXXE20PWZ1DD2MXYA","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_H2EG5AV9RVMWDX9K2ZZGSW5Y7M","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","triggers":"LINT_INPUT","triggersId":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_G9N2KJM0C20610Q5BRA6S01A59","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","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":"inbound","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"items":{"nullable":false,"name":"","type":"InboundOrbital","projectedFrom":{"type":"InboundOrbital"}}}],"projectedFrom":{"type":"InboundProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_H2EG5AV9RVMWDX9K2ZZGSW5Y7M","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_MHHB7EBVTWXXE20PWZ1DD2MXYA","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_G9N2KJM0C20610Q5BRA6S01A59"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["orbitals",["object/get","@payload.program","orbitals",[]]],["entries",["object/get","@payload.program","inbound",[]]]],["let",[["handlers",["array/flatten",["array/map",["array/range",0,["array/len","@orbitals"]],["fn","oi",["let",[["orb",["array/nth","@orbitals","@oi"]]],["let",[["trs",["object/get","@orb","traits",[]]]],["array/flatten",["array/map",["array/filter",["array/range",0,["array/len","@trs"]],["fn","ti",["validate/object",["array/nth","@trs","@ti"]]]],["fn","ti",["let",[["td",["array/nth","@trs","@ti"]]],["let",[["evs",["object/get",["object/get","@td","stateMachine",{}],"events",[]]],["emitted",["array/map",["object/get","@td","emits",[]],["fn","x",["object/get","@x","event",""]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@evs"]],["fn","ei",["let",[["ev",["array/nth","@evs","@ei"]]],["let",[["inb",["object/get","@ev","inbound"]]],["if",["=","@inb",null],[],[{"at":["str/concat","orbitals[","@oi"," (",["object/get","@orb","name",""],")].traits[","@ti"," (",["object/get","@td","name",""],")].stateMachine.events[","@ei","]"],"key":["object/get","@ev","key",""],"name":["object/get","@inb","name",""],"ans":["object/get","@inb","answers",""],"hasV":["object/has","@inb","verifies"],"hdr":["object/get",["object/get","@inb","verifies",{}],"header",""],"cred":["object/get",["object/get","@inb","verifies",{}],"credential",""],"emitted":"@emitted"}]]]]]]]]]]]]]]]]]]],["array/concat",["array/flatten",["array/map",["array/range",0,["array/len","@entries"]],["fn","i",["let",[["en",["array/nth","@entries","@i"]]],["if",["not",["validate/pattern","@en","^[a-z0-9][a-z0-9-]*$"]],[{"code":"@config.codes.inboundEntryInvalid.code","path":["str/concat","inbound[","@i","]"],"message":["str/concat","inbound entry '","@en","' is not a hook name"],"suggestion":"Write the one path segment after /api/hooks/: lower-case letters, digits and '-'","severity":"error"}],["if",["array/includes",["array/slice","@entries",0,"@i"],"@en"],[{"code":"@config.codes.inboundEntryInvalid.code","path":["str/concat","inbound[","@i","]"],"message":["str/concat","inbound entry '","@en","' is listed twice"],"suggestion":"","severity":"error"}],[]]]]]]],["array/flatten",["array/map",["array/range",0,["array/len","@handlers"]],["fn","k",["let",[["h",["array/nth","@handlers","@k"]]],["array/flatten",[["if",["array/includes","@entries",["object/get","@h","name"]],[],[{"code":"@config.codes.inboundUndeclared.code","path":["object/get","@h","at"],"message":["str/concat","event '",["object/get","@h","key"],"' handles the inbound hook '",["object/get","@h","name"],"', which the program's `inbound` does not declare"],"suggestion":"Add the hook name to the app's `inbound: [...]`","severity":"error"}]],["if",[">",["array/len",["array/filter",["array/slice","@handlers",0,"@k"],["fn","p",["=",["object/get","@p","name"],["object/get","@h","name"]]]]],0],[{"code":"@config.codes.inboundDuplicate.code","path":["object/get","@h","at"],"message":["str/concat","the inbound hook '",["object/get","@h","name"],"' has more than one handler"],"suggestion":"","severity":"error"}],[]],["if",["and",["object/get","@h","hasV"],["or",["not",["validate/pattern",["object/get","@h","hdr"],"^[a-z0-9][a-z0-9-]*$"]],["not",["validate/pattern",["object/get","@h","cred"],"^[A-Za-z0-9_]+$"]]]],[{"code":"@config.codes.inboundVerifyInvalid.code","path":["object/get","@h","at"],"message":["str/concat","inbound hook '",["object/get","@h","name"],"' verifies header '",["object/get","@h","hdr"],"' against credential '",["object/get","@h","cred"],"', which are not a lower-case header name and a credential name"],"suggestion":["str/concat","Write `verifies ","\"x-signature-token\""," ","\"PROVIDER_TOKEN\"","`: a lower-case header, then a credential name of letters, digits and '_'"],"severity":"error"}],[]],["if",["array/includes",["object/get","@h","emitted"],["object/get","@h","ans"]],[],[{"code":"@config.codes.inboundAnswerUndeclared.code","path":["object/get","@h","at"],"message":["str/concat","event '",["object/get","@h","key"],"' answers with '",["object/get","@h","ans"],"', which the trait does not declare in `emits`"],"suggestion":"Declare the answer event in the trait's `emits { … }` with a `status : number!` and a `body : string!` payload","severity":"error"}]]]]]]]]]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_H2EG5AV9RVMWDX9K2ZZGSW5Y7M","effects":[["emit","LINT_FOUND",{"rule":"inbound","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"LintInboundCodes","default":{"inboundEntryInvalid":{"code":"ORB_INBOUND_ENTRY_INVALID","category":"inbound","description":"An inbound entry is not a valid hook name"},"inboundUndeclared":{"code":"ORB_INBOUND_UNDECLARED","category":"inbound","description":"An event handles an inbound hook that the program's inbound block does not declare"},"inboundDuplicate":{"code":"ORB_INBOUND_DUPLICATE","category":"inbound","description":"An inbound hook has more than one handler"},"inboundVerifyInvalid":{"code":"ORB_INBOUND_VERIFY_INVALID","category":"inbound","description":"An inbound hook verifies a header against a credential, but the header is not a lower-case header name or the credential is not a credential name"},"inboundAnswerUndeclared":{"code":"ORB_INBOUND_ANSWER_UNDECLARED","category":"inbound","description":"An inbound hook event answers with an event the trait does not declare in emits"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"inboundEntryInvalid":{"nullable":false,"name":"inboundEntryInvalid","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"}},"inboundUndeclared":{"nullable":false,"name":"inboundUndeclared","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"}},"inboundDuplicate":{"nullable":false,"name":"inboundDuplicate","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"}},"inboundVerifyInvalid":{"nullable":false,"name":"inboundVerifyInvalid","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"}},"inboundAnswerUndeclared":{"nullable":false,"name":"inboundAnswerUndeclared","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":"LintInboundCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN","fingerprint":"3997a81a6a055f7f275df7ece14184bcf9f57151adc5f812fbb517468a4ef305"}},{"name":"OrbLintInboundCli","id":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintInboundRun","linkedEntityId":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV","entityRefIds":{"OrbLintInboundRun":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_N8FGX4DGKCR9P86JCZBWQBVC31","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_TBXRPJ7CYGPF8BZJSWZ3FN0QJ2","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_MGBG1HTRFDC7PK9JA336KAD3RP","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_XMXGMS27Q93VMJZNYSYN53AFX4","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_MHHB7EBVTWXXE20PWZ1DD2MXYA","triggers":"LINT_FOUND","triggersId":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","source":{"kind":"trait","trait":"OrbLintInbound","traitId":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_XMXGMS27Q93VMJZNYSYN53AFX4","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_XMXGMS27Q93VMJZNYSYN53AFX4","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_5RFAEMHR1KW0SKV7M57101JGHK","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_KCVJG9G7363HK5VGQQPM1FA2SF","name":"Lint Called","description":"Run `orb lint inbound` with its arguments and working directory.","synonyms":"orb lint inbound, inbound hooks","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-inbound","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","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_XMXGMS27Q93VMJZNYSYN53AFX4","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_N8FGX4DGKCR9P86JCZBWQBVC31","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_TBXRPJ7CYGPF8BZJSWZ3FN0QJ2","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_5RFAEMHR1KW0SKV7M57101JGHK"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_KCVJG9G7363HK5VGQQPM1FA2SF","guard":["or",["=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["!=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint inbound <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_KCVJG9G7363HK5VGQQPM1FA2SF","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["if",["=","@a",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint inbound <file>"}],["let",[["f",["array/first",["object/get","@a","argv"]]]],["if",["=","@f",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint inbound <file>"}],["emit","LINT_REQUEST",{"file":"@f"}]]]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_5RFAEMHR1KW0SKV7M57101JGHK"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","guard":["and",["=","@payload.rule","inbound"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint inbound: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","guard":["and",["=","@payload.rule","inbound"],[">",["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_XMXGMS27Q93VMJZNYSYN53AFX4","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint inbound: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J","fingerprint":"c642bb23ef1669da7ca473068a23c6d4caf0bc95741d027eea3c46c92fa7a4e2"}},{"ref":"Input.traits.Versions","id":"trt_PSQ7R0M38S1MCJXG6A38MGCMNR","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_RY05P1GPJJB9937BF2WNKPC6NN","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintInboundCli"}},{"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":"OrbLintInboundOrbitalStart","id":"pag_GSN20K8X7QEKVZN4W52J5FFWFY","path":"","protocol":"boot","traits":[{"ref":"OrbLintInbound","refId":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},{"ref":"OrbLintInboundCli","refId":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},{"ref":"OrbLintInput","refId":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF"},{"ref":"Packs","refId":"trt_RY05P1GPJJB9937BF2WNKPC6NN"},{"ref":"Versions","refId":"trt_PSQ7R0M38S1MCJXG6A38MGCMNR"}]}],"types":{"InboundEmit":[{"nullable":false,"name":"event","type":"string"}],"InboundEvent":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"InboundHook":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"InboundMachine":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"InboundOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"InboundProgram":[{"nullable":false,"name":"inbound","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"items":{"nullable":false,"name":"","type":"InboundTrait","projectedFrom":{"type":"InboundTrait"}}}],"items":{"nullable":false,"name":"","type":"InboundOrbital","projectedFrom":{"type":"InboundOrbital"}}}],"InboundTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"emits","type":"[object]","properties":[{"nullable":false,"name":"event","type":"string"}],"items":{"nullable":false,"name":"","type":"InboundEmit","projectedFrom":{"type":"InboundEmit"}}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"events","type":"[object]","properties":[{"nullable":false,"name":"key","type":"string"},{"nullable":false,"name":"inbound","type":"object","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"answers","type":"string"},{"nullable":false,"name":"verifies","type":"object","properties":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"projectedFrom":{"type":"InboundVerifies"}}],"projectedFrom":{"type":"InboundHook"}}],"items":{"nullable":false,"name":"","type":"InboundEvent","projectedFrom":{"type":"InboundEvent"}}}],"projectedFrom":{"type":"InboundMachine"}}],"InboundVerifies":[{"nullable":false,"name":"header","type":"string"},{"nullable":false,"name":"credential","type":"string"}],"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}],"LintInboundCodes":[{"nullable":false,"name":"inboundEntryInvalid","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":"inboundUndeclared","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":"inboundDuplicate","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":"inboundVerifyInvalid","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":"inboundAnswerUndeclared","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-inbound"],"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_K0WY33H2CVH6DQYS52ZXYVGHEV":{"id":"ent_K0WY33H2CVH6DQYS52ZXYVGHEV","kind":"entity","bakedName":"OrbLintInboundRun","curName":"OrbLintInboundRun","renames":[],"owner":"workspace"},"evt_5RFAEMHR1KW0SKV7M57101JGHK":{"id":"evt_5RFAEMHR1KW0SKV7M57101JGHK","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA":{"id":"evt_6ZEJT38QJXBSEZS8B6GXPVHJBA","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},"evt_G9N2KJM0C20610Q5BRA6S01A59":{"id":"evt_G9N2KJM0C20610Q5BRA6S01A59","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},"evt_H2EG5AV9RVMWDX9K2ZZGSW5Y7M":{"id":"evt_H2EG5AV9RVMWDX9K2ZZGSW5Y7M","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},"evt_KCVJG9G7363HK5VGQQPM1FA2SF":{"id":"evt_KCVJG9G7363HK5VGQQPM1FA2SF","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_MGBG1HTRFDC7PK9JA336KAD3RP":{"id":"evt_MGBG1HTRFDC7PK9JA336KAD3RP","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_MHHB7EBVTWXXE20PWZ1DD2MXYA":{"id":"evt_MHHB7EBVTWXXE20PWZ1DD2MXYA","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN"},"evt_N8FGX4DGKCR9P86JCZBWQBVC31":{"id":"evt_N8FGX4DGKCR9P86JCZBWQBVC31","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_TBXRPJ7CYGPF8BZJSWZ3FN0QJ2":{"id":"evt_TBXRPJ7CYGPF8BZJSWZ3FN0QJ2","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"evt_XMXGMS27Q93VMJZNYSYN53AFX4":{"id":"evt_XMXGMS27Q93VMJZNYSYN53AFX4","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J"},"orb_7Y5BVGGYXQFEVH0M3HT200FM2X":{"id":"orb_7Y5BVGGYXQFEVH0M3HT200FM2X","kind":"orbital","bakedName":"OrbLintInboundOrbital","curName":"OrbLintInboundOrbital","renames":[],"owner":"workspace"},"pag_GSN20K8X7QEKVZN4W52J5FFWFY":{"id":"pag_GSN20K8X7QEKVZN4W52J5FFWFY","kind":"page","bakedName":"OrbLintInboundOrbitalStart","curName":"OrbLintInboundOrbitalStart","renames":[],"owner":"workspace"},"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF":{"id":"trt_B8CRDBMVMKDT9Z2DTHMM2597ZF","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN":{"id":"trt_E3NSGYCD3E6HQ20QJTF5W2KKRN","kind":"trait","bakedName":"OrbLintInbound","curName":"OrbLintInbound","renames":[],"owner":"workspace"},"trt_PSQ7R0M38S1MCJXG6A38MGCMNR":{"id":"trt_PSQ7R0M38S1MCJXG6A38MGCMNR","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_QB9M9MGF6X7KEQX16VPBWTKX2J":{"id":"trt_QB9M9MGF6X7KEQX16VPBWTKX2J","kind":"trait","bakedName":"OrbLintInboundCli","curName":"OrbLintInboundCli","renames":[],"owner":"workspace"},"trt_RY05P1GPJJB9937BF2WNKPC6NN":{"id":"trt_RY05P1GPJJB9937BF2WNKPC6NN","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"}}}}