@almadar/std 17.0.0 → 17.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/lolo/cli/atoms/std-orb-behaviors.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-compile.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-i18n.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-language.lolo +2 -2
- package/behaviors/lolo/cli/atoms/std-orb-lint-all.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-asset-inline-url.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-async-result-deaf-target.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-binding-fields.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-binding-roots.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-binding-setters.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-binding-traits.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-browser-effects.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-call-service.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-circuit-client-bound.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-circuit-emits.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-circuit-graph.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-circuit-item-actions.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-circular-dependencies.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-client-tick-locality.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-collection-policy.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-composed-wiring.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-computed-key-dot-path.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-config-dangling-ref.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-config-knob.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-config-role-lists.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-control-unhandled.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-control-value-discarded.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-cross-duplicate-entity.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-cross-emitter.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-cross-registry.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-derived-field-write.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-dispatch-contract.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-duplicate-transition.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-duplicate-use-alias.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-effect-forms.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-egress-scheme-unused.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-embed-config-forward.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-emit-config-ref.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-emit-declaration.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-emit.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-empty-event-name.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-engine.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-access.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-browser-storage.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-duplicate-field.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-empty-enum.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-field-type.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-locale-instances.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-mock-member.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-mutation.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-name-shadows-trait-union.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-persistence.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-semantic-default.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-entity-shape.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-event-id-uniqueness.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-event-wiring.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-config-knob.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-event-unfired.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-field-undeclared.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-final.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-persistent-unwritten.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-provider-mismatch.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-expectation-unsatisfied.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-expected-field-not-provided.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-external-emit-payload.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-fetch-by-id-payload.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-fetch-deliver.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-field-path.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-filter-field-never-written.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-finding-codes.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-generic-types.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-groupby-enum-column-gap.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-guest-view-not-client.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-host-effects.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-http-egress-entry.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-icon-exists.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-icon-format.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-id-refs.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-identity-unique.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-inbound-answer-foreign.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-inbound.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-init-coverage.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-input.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-item-action-event.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-keyed-call-keys.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-keyed-call.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-listen-per.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-listen-redundant-embed-route.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-listen-route-starves-required-field.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-listen-source-never-produces.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-listen-source-unresolved.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-listen-trigger.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-listen-wildcard-unkeyed.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-literal-default.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-llm-wire-unrouted.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-loop-invariant-parse.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-mem-handles.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-merged-fields.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-missing-orbital-name.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-nav-target.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-navigate.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-not-found.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-oauth.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-orbital-config-dead-knob.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-orbital-duplicate-name.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-page-content-owner.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-page-empty-traits.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-page-modifiers.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-page-path-uniqueness.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-page-path.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-page-unreachable.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-parallel-pure.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-pattern-props.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-payload-field-name.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-placement.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-program-eval.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-query-index.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-relation-targets.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-render-ui-pattern.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-reserved-component-name.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-retired-effect-forms.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-rui-binding.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-rui-effects.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-schema-header.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-service-def.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-set-column.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-sexpr-binding.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-sigil-context.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-sign-in-route.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-slot-tick.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-slot.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-state-shape.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-state-unreachable.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-store-binding.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-theme-pin-contradicts-app.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-theme-ref.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-theme-undeclared.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-theme-values.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-tick-requires-runtime.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-time-unit.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-trait-embeds.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-trait-id-uniqueness.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-trait-mounts.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-trait-ref-config.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-trait-refs.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-transition-refs.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-type-param-sweep.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-unsigned-guard.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-untyped-array.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-user-field-exists.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-user-identity.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-lint-viewer-stranded.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-mcp-install.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-mcp.lolo +2 -2
- package/behaviors/lolo/cli/atoms/std-orb-packages.lolo +2 -2
- package/behaviors/lolo/cli/atoms/std-orb-supervise.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-update-notice.lolo +1 -1
- package/behaviors/lolo/cli/atoms/std-orb-validate.lolo +1 -1
- package/behaviors/lolo/dev/atoms/std-launchpad-updates.lolo +1 -1
- package/behaviors/lolo/dev/atoms/std-orb-stats.lolo +1 -1
- package/behaviors/lolo/dev/organisms/std-launchpad.lolo +1 -1
- package/behaviors/registry/cli/atoms/std-orb-behaviors.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-compile.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-i18n.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-language.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-all.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-asset-inline-url.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-async-result-deaf-target.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-binding-fields.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-binding-roots.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-binding-setters.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-binding-traits.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-browser-effects.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-call-service.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-circuit-client-bound.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-circuit-emits.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-circuit-graph.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-circuit-item-actions.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-circular-dependencies.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-client-tick-locality.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-collection-policy.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-composed-wiring.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-computed-key-dot-path.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-config-dangling-ref.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-config-knob.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-config-role-lists.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-control-unhandled.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-control-value-discarded.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-cross-duplicate-entity.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-cross-emitter.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-cross-registry.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-derived-field-write.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-dispatch-contract.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-duplicate-transition.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-duplicate-use-alias.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-effect-forms.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-egress-scheme-unused.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-embed-config-forward.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-emit-config-ref.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-emit-declaration.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-emit.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-empty-event-name.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-engine.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-access.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-browser-storage.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-duplicate-field.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-empty-enum.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-field-type.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-locale-instances.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-mock-member.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-mutation.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-name-shadows-trait-union.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-persistence.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-semantic-default.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-entity-shape.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-event-id-uniqueness.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-event-wiring.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-expectation-config-knob.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-expectation-event-unfired.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-expectation-field-undeclared.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-expectation-final.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-expectation-persistent-unwritten.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-expectation-provider-mismatch.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-expectation-unsatisfied.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-expected-field-not-provided.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-external-emit-payload.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-fetch-by-id-payload.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-fetch-deliver.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-field-path.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-filter-field-never-written.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-finding-codes.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-generic-types.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-groupby-enum-column-gap.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-guest-view-not-client.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-host-effects.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-http-egress-entry.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-icon-exists.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-icon-format.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-id-refs.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-identity-unique.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-inbound-answer-foreign.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-inbound.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-init-coverage.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-input.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-item-action-event.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-keyed-call-keys.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-keyed-call.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-listen-per.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-listen-redundant-embed-route.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-listen-route-starves-required-field.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-listen-source-never-produces.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-listen-source-unresolved.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-listen-trigger.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-listen-wildcard-unkeyed.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-literal-default.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-llm-wire-unrouted.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-loop-invariant-parse.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-mem-handles.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-merged-fields.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-missing-orbital-name.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-nav-target.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-navigate.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-not-found.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-oauth.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-orbital-config-dead-knob.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-orbital-duplicate-name.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-page-content-owner.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-page-empty-traits.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-page-modifiers.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-page-path-uniqueness.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-page-path.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-page-unreachable.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-parallel-pure.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-pattern-props.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-payload-field-name.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-placement.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-program-eval.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-query-index.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-relation-targets.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-render-ui-pattern.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-reserved-component-name.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-retired-effect-forms.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-rui-binding.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-rui-effects.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-schema-header.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-service-def.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-set-column.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-sexpr-binding.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-sigil-context.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-sign-in-route.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-slot-tick.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-slot.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-state-shape.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-state-unreachable.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-store-binding.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-theme-pin-contradicts-app.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-theme-ref.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-theme-undeclared.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-theme-values.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-tick-requires-runtime.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-time-unit.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-trait-embeds.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-trait-id-uniqueness.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-trait-mounts.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-trait-ref-config.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-trait-refs.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-transition-refs.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-type-param-sweep.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-unsigned-guard.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-untyped-array.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-user-field-exists.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-user-identity.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-lint-viewer-stranded.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-mcp-install.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-mcp.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-packages.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-supervise.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-update-notice.orb +1 -1
- package/behaviors/registry/cli/atoms/std-orb-validate.orb +1 -1
- package/behaviors/registry/dev/atoms/std-launchpad-updates.orb +1 -1
- package/behaviors/registry/dev/atoms/std-orb-stats.orb +1 -1
- package/behaviors/registry/dev/organisms/std-launchpad.orb +5 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"typeContractVersion":1,"types":{"EmitItem":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"EmitObj":[{"nullable":false,"name":"","type":"Map<string,EmitVal>","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}}],"EmitResult":[{"nullable":false,"name":"id","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"}}}],"EmitVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[EmitVal]","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"object","type":"Map<string,EmitVal>","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}}]}],"HcByLiteral":[{"nullable":false,"name":"key","type":"string","required":true},{"nullable":false,"name":"required","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}}],"HcCall":[{"nullable":false,"name":"head","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"call","type":"[HcVal]","required":true,"items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"tname","type":"string","required":true},{"nullable":false,"name":"tick","type":"string","required":true},{"nullable":false,"name":"bg","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"config","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":true,"name":"inGuard","type":"boolean"}],"HcClosed":[{"nullable":true,"name":"request","type":"boolean"},{"nullable":true,"name":"intRange","type":"HcIntRange","projectedFrom":{"type":"HcIntRange"}},{"nullable":true,"name":"requestKeysByLiteral","type":"HcByLiteral","projectedFrom":{"type":"HcByLiteral"}}],"HcExtras":[{"nullable":true,"name":"closedCall","type":"HcClosed","projectedFrom":{"type":"HcClosed"}},{"nullable":true,"name":"grant","type":"[HcGrantNeed]","items":{"nullable":false,"name":"","type":"HcGrantNeed","projectedFrom":{"type":"HcGrantNeed"}}},{"nullable":false,"name":"defaultPorts","type":"Map<string,number>","items":{"nullable":true,"name":"","type":"number"}},{"nullable":true,"name":"family","type":"string"},{"nullable":true,"name":"emitKeys","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"HcFact":[{"nullable":false,"name":"minArity","type":"number","required":true},{"nullable":true,"name":"maxArity","type":"number"},{"nullable":true,"name":"runsOn","type":"string"},{"nullable":true,"name":"host","type":"string"},{"nullable":false,"name":"params","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"items":{"nullable":false,"name":"","type":"HcParam","projectedFrom":{"type":"HcParam"}}},{"nullable":true,"name":"closedCall","type":"HcClosed","projectedFrom":{"type":"HcClosed"}},{"nullable":true,"name":"grant","type":"[HcGrantNeed]","items":{"nullable":false,"name":"","type":"HcGrantNeed","projectedFrom":{"type":"HcGrantNeed"}}},{"nullable":false,"name":"defaultPorts","type":"Map<string,number>","items":{"nullable":true,"name":"","type":"number"}},{"nullable":true,"name":"family","type":"string"},{"nullable":true,"name":"emitOrder","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"hasOptions","type":"boolean","required":true},{"nullable":false,"name":"optionKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"emitKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"hasRequest","type":"boolean","required":true},{"nullable":false,"name":"requestFields","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"requestRequired","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"words","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}},{"nullable":false,"name":"keys","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}}],"HcGrantNeed":[{"nullable":false,"name":"","type":"Map<string,HcVal>","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"HcIntRange":[{"nullable":false,"name":"arg","type":"number","required":true},{"nullable":false,"name":"min","type":"number","required":true},{"nullable":false,"name":"max","type":"number","required":true}],"HcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"HcParam":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"HcShape":[{"nullable":true,"name":"category","type":"string"},{"nullable":true,"name":"minArity","type":"number"},{"nullable":true,"name":"maxArity","type":"number"},{"nullable":true,"name":"runsOn","type":"string"},{"nullable":true,"name":"host","type":"string"},{"nullable":false,"name":"hasSideEffects","type":"boolean","required":true},{"nullable":false,"name":"params","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"items":{"nullable":false,"name":"","type":"HcParam","projectedFrom":{"type":"HcParam"}}}],"HcType":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"HcTypeNode","type":"object","properties":[{"nullable":false,"name":"kind","type":"string","required":true},{"nullable":false,"name":"fields","type":"Map<string,HcType>","items":{"nullable":true,"name":"","type":"HcType","projectedFrom":{"type":"HcType"}}},{"nullable":true,"name":"optional","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"HcTypeNode"}}]}],"HcTypeNode":[{"nullable":false,"name":"kind","type":"string","required":true},{"nullable":false,"name":"fields","type":"Map<string,HcType>","items":{"nullable":true,"name":"","type":"HcType","projectedFrom":{"type":"HcType"}}},{"nullable":true,"name":"optional","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"HcVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[HcVal]","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"object","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}]}],"HcValMap":[{"nullable":false,"name":"","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"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}],"LintHostEffectsCodes":[{"nullable":false,"name":"lintOperatorShapesUnread","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":"hostEffectArity","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":"randomBytesCount","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":"credentialRequestInvalid","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":"hostEffectOptionUnknown","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"}}],"LnProgramHE":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}}],"LnVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[LnVal]","items":{"nullable":true,"name":"","type":"LnVal","projectedFrom":{"type":"LnVal"}}},{"nullable":false,"name":"object","type":"Map<string,LnVal>","items":{"nullable":true,"name":"","type":"LnVal","projectedFrom":{"type":"LnVal"}}}]}],"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"]}],"Seg":[{"nullable":false,"name":"items","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"EmitItem","projectedFrom":{"type":"EmitItem"}}},{"nullable":false,"name":"pre","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"}}},{"nullable":false,"name":"post","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"}}}]},"name":"std-orb-lint-host-effects","version":"1.0.0","description":"std-orb-lint-host-effects — the `orb lint host-effects <file>` command, the port of effect/host_effects.rs (validate_host_effects): every call of an operator the installed operator table marks `closedCall` (random-bytes, access-check and the credential-* effects), found at any depth of a guard or effect of an inline trait. The operators, their arity bounds, the integer range of an argument, whether the first parameter is a request object with its declared and required fields, and the options keys all come from the table through std-orb-lint-host-calls, never from this atom. Reports ORB_HOST_EFFECT_ARITY (the call has fewer or more arguments than the table allows), ORB_RANDOM_BYTES_COUNT (a literal number at the table's intRange argument that is not a whole number inside the range), ORB_CREDENTIAL_REQUEST_INVALID (a literal request that is not an object, carries a field the table does not declare, or lacks a required one; a binding is the runtime's to check) and ORB_HOST_EFFECT_OPTION_UNKNOWN (an options argument that is not an object or carries a key the table does not declare). The `emit` block of an options object is checked through std-orb-emit-config against the operator's emit keys (ORB_EFF_EMIT_KEY_INVALID, ORB_EFF_EMIT_INVALID_NAME, ORB_EFF_EMIT_UNDECLARED_EVENT); the key findings belong to std-orb-lint-keyed-call-keys. Findings carry the Rust path (the guard or effect), message and suggestion (status 500, exit 1). Clean answers `lint host-effects: 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":"OrbLintHostEffectsOrbital","id":"orb_DHPPTF7Y4GZ285QQH0AYBBDX73","uses":[{"from":"almadar-std/lint-host-effects","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"},{"from":"std/behaviors/std-orb-lint-host-calls","as":"Calls"},{"from":"std/behaviors/std-orb-emit-config","as":"EmitConfigUse"}],"entity":{"name":"OrbLintHostEffectsRun","id":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H","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"}}},{"nullable":false,"name":"segs","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"items":{"nullable":false,"name":"items","type":"array","required":true,"items":{"nullable":false,"type":"object","properties":{"id":{"nullable":false,"name":"id","type":"string","required":true},"path":{"nullable":false,"name":"path","type":"string","required":true},"emit":{"nullable":false,"name":"emit","type":"object","required":true,"items":{"nullable":true,"type":"union","values":["string","number","boolean","array","map"],"properties":{"string":{"nullable":false,"name":"string","type":"string"},"number":{"nullable":false,"name":"number","type":"number"},"boolean":{"nullable":false,"name":"boolean","type":"boolean"},"array":{"nullable":false,"name":"array","type":"array","items":{"nullable":true,"type":"union","values":["EmitVal"],"projectedFrom":{"type":"EmitVal"}}},"map":{"nullable":false,"name":"map","type":"object","items":{"nullable":true,"type":"union","values":["EmitVal"],"projectedFrom":{"type":"EmitVal"}}}},"projectedFrom":{"type":"EmitVal"}},"projectedFrom":{"type":"EmitObj"}},"allowedKeys":{"nullable":false,"name":"allowedKeys","type":"array","required":true,"items":{"nullable":false,"type":"string"}},"checkDeclared":{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},"declared":{"nullable":false,"name":"declared","type":"array","required":true,"items":{"nullable":false,"type":"string"}}},"projectedFrom":{"type":"EmitItem"}}},"pre":{"nullable":false,"name":"pre","type":"array","required":true,"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"}}},"post":{"nullable":false,"name":"post","type":"array","required":true,"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"}}}},"projectedFrom":{"type":"Seg"}}},{"nullable":false,"name":"emitRes","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"id":{"nullable":false,"name":"id","type":"string","required":true},"findings":{"nullable":false,"name":"findings","type":"array","required":true,"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"}}}},"projectedFrom":{"type":"EmitResult"}}}]},"traits":[{"name":"OrbLintHostEffects","id":"trt_MXN5TNKERYQCF5KC3HFW92S0ED","effectRow":[{"kind":"emit","resource":"EMIT_CONFIG_CHECK"},{"kind":"emit","resource":"HOST_CALLS_COLLECT"},{"kind":"emit","resource":"LINT_ASSEMBLE"},{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"emit","resource":"LINT_PLANNED"},{"kind":"set","resource":"@entity.emitRes"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"},{"kind":"set","resource":"@entity.segs"}],"linkedEntity":"OrbLintHostEffectsRun","linkedEntityId":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H","entityRefIds":{"OrbLintHostEffectsRun":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H"},"emits":[{"event":"LINT_FOUND","eventId":"evt_KSHDW76V9ZDMZW5CG19XPJ6FZX","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_GKW8DQY88Z44FKVK2E8Q36NWNR","description":"Internal: answer with the verdict.","tier":"internal"},{"event":"HOST_CALLS_COLLECT","eventId":"evt_CWJH1AFG2FR17H5CCDDDXRFP2V","description":"Ask the shared collector for the calls this rule checks.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}},{"nullable":false,"name":"heads","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"operators","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"fields","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}]},{"event":"LINT_PLANNED","eventId":"evt_MWDRSMG7DR3PW54YZK5CXYDQWE","description":"Internal: the calls are planned, ask the emit-config checker.","tier":"internal"},{"event":"LINT_ASSEMBLE","eventId":"evt_4T4MQKPFQ57VJPYC8NXXNT885J","description":"Internal: merge the emit-config findings into the call findings.","tier":"internal"},{"event":"EMIT_CONFIG_CHECK","eventId":"evt_5K1C4D4HJ08S0888JBETDJA7HK","description":"Ask std-orb-emit-config to check each call's emit object.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"items","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"EmitItem","projectedFrom":{"type":"EmitItem"}}}]}],"listens":[{"event":"LINT_INPUT","eventId":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","triggers":"LINT_INPUT","triggersId":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z"}},{"event":"HOST_CALLS_COLLECTED","triggers":"HOST_CALLS_HEARD","triggersId":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","source":{"kind":"trait","trait":"HostCalls","traitId":"trt_6CJS24AYAXF5EXBC7N0CW1N7P7"}},{"event":"EMIT_CONFIG_CHECKED","triggers":"EMIT_HEARD","triggersId":"evt_0JCT1Q219M0MT7SSFGY1V4XGTV","source":{"kind":"trait","trait":"OrbEmitConfig","traitId":"trt_ZRX01DR8FS47WJW0EXS5T3YJHK"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_587R90CAG1580KMNKC76PWBTNS","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","name":"Lint Input","description":"The lint input: the file read, its language decided and the program lowered.","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true},{"nullable":false,"name":"raw","type":"string","required":true},{"nullable":false,"name":"latin","type":"boolean","required":true},{"nullable":false,"name":"program","type":"object","required":true,"properties":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}}],"projectedFrom":{"type":"LnProgramHE"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"HOST_CALLS_HEARD","id":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","name":"Host Calls Heard","description":"The shared collector's answer: the calls of the asked heads and the table entries.","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"unread","type":"boolean","required":true},{"nullable":false,"name":"calls","type":"[object]","required":true,"properties":[{"nullable":false,"name":"head","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"call","type":"[HcVal]","required":true,"items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"tname","type":"string","required":true},{"nullable":false,"name":"tick","type":"string","required":true},{"nullable":false,"name":"bg","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"config","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":true,"name":"inGuard","type":"boolean"}],"items":{"nullable":false,"name":"","type":"HcCall","projectedFrom":{"type":"HcCall"}}},{"nullable":false,"name":"facts","type":"Map<string,HcFact>","required":true,"items":{"nullable":false,"name":"","type":"HcFact","projectedFrom":{"type":"HcFact"}}}],"listened":true},{"key":"LINT_FINISH","id":"evt_GKW8DQY88Z44FKVK2E8Q36NWNR","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_PLANNED","id":"evt_MWDRSMG7DR3PW54YZK5CXYDQWE","name":"Lint Planned","description":"Internal: the calls are planned, ask the emit-config checker.","tier":"internal"},{"key":"EMIT_HEARD","id":"evt_0JCT1Q219M0MT7SSFGY1V4XGTV","name":"Emit Heard","description":"std-orb-emit-config's answer: the findings of each call's emit object.","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"results","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","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"}}}],"items":{"nullable":false,"name":"","type":"EmitResult","projectedFrom":{"type":"EmitResult"}}}],"listened":true},{"key":"LINT_ASSEMBLE","id":"evt_4T4MQKPFQ57VJPYC8NXXNT885J","name":"Lint Assemble","description":"Internal: merge the emit-config findings into the call findings.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_KSHDW76V9ZDMZW5CG19XPJ6FZX","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"}}}]},{"key":"HOST_CALLS_COLLECT","id":"evt_CWJH1AFG2FR17H5CCDDDXRFP2V","name":"Host Calls Collect","description":"Ask the shared collector for the calls this rule checks.","tier":"internal","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}},{"nullable":false,"name":"heads","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"operators","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"fields","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}]},{"key":"EMIT_CONFIG_CHECK","id":"evt_5K1C4D4HJ08S0888JBETDJA7HK","name":"Emit Config Check","description":"Ask std-orb-emit-config to check each call's emit object.","tier":"internal","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"items","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"EmitItem","projectedFrom":{"type":"EmitItem"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_587R90CAG1580KMNKC76PWBTNS"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","effects":[["set","@entity.scope","@payload.scope"],["emit","HOST_CALLS_COLLECT",{"requestId":["str/concat","host-effects:","@payload.scope"],"orbitals":["object/get","@payload.program","orbitals",[]],"heads":[],"operators":[],"fields":["closedCall"]}]]},{"from":"ready","to":"ready","event":"HOST_CALLS_HEARD","eventId":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","guard":["and",["str/startsWith","@payload.requestId","host-effects:"],"@payload.unread"],"effects":[["set","@entity.findings",[{"code":"@config.codes.lintOperatorShapesUnread.code","path":"operators","message":"the installed @almadar/std operator table could not be read, so the closed host calls are unknown","suggestion":"Reinstall @almadar/std so its operator table declares the params of every operator","severity":"error"}]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"HOST_CALLS_HEARD","eventId":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","guard":["and",["str/startsWith","@payload.requestId","host-effects:"],["not","@payload.unread"]],"effects":[["set","@entity.segs",["let",[["facts","@payload.facts"],["none",[],"{\"version\":1,\"type\":{\"kind\":\"array\",\"inner\":{\"kind\":\"typeref\",\"name\":\"OrbFinding\"}},\"named\":{\"OrbFinding\":{\"kind\":\"struct\",\"fields\":[{\"name\":\"code\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"path\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"message\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"suggestion\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"severity\",\"fieldType\":{\"kind\":\"enum\",\"name\":\"\\\"warning\\\" | \\\"error\\\"\"},\"required\":false,\"constraints\":[]}]}}}"],["noitems",[],"{\"version\":1,\"type\":{\"kind\":\"array\",\"inner\":{\"kind\":\"typeref\",\"name\":\"EmitItem\"}},\"named\":{\"EmitItem\":{\"kind\":\"struct\",\"fields\":[{\"name\":\"id\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"path\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"emit\",\"fieldType\":{\"kind\":\"typeref\",\"name\":\"EmitObj\"},\"required\":true,\"constraints\":[]},{\"name\":\"allowedKeys\",\"fieldType\":{\"kind\":\"array\",\"inner\":{\"kind\":\"string\"}},\"required\":true,\"constraints\":[]},{\"name\":\"checkDeclared\",\"fieldType\":{\"kind\":\"boolean\"},\"required\":true,\"constraints\":[]},{\"name\":\"declared\",\"fieldType\":{\"kind\":\"array\",\"inner\":{\"kind\":\"string\"}},\"required\":true,\"constraints\":[]}]},\"EmitObj\":{\"kind\":\"map\",\"key\":{\"kind\":\"string\"},\"value\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"EmitVal\"}}},\"EmitVal\":{\"kind\":\"union\",\"variants\":[{\"name\":\"string\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"number\",\"fieldType\":{\"kind\":\"number\"},\"required\":true,\"constraints\":[]},{\"name\":\"boolean\",\"fieldType\":{\"kind\":\"boolean\"},\"required\":true,\"constraints\":[]},{\"name\":\"array\",\"fieldType\":{\"kind\":\"array\",\"inner\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"EmitVal\"}}},\"required\":true,\"constraints\":[]},{\"name\":\"map\",\"fieldType\":{\"kind\":\"map\",\"key\":{\"kind\":\"string\"},\"value\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"EmitVal\"}}},\"required\":true,\"constraints\":[]}]}}}"]],["array/flatten",["array/map",["array/range",0,["array/len","@payload.calls"]],["fn","ci",["let",[["c",["array/nth","@payload.calls","@ci"]]],["let",[["a",["object/get","@c","call"]],["p",["object/get","@c","path"]]],["let",[["h",["object/get","@c","head"]],["n",["array/len","@a"]]],["let",[["f",["object/get","@facts","@h",null]]],["if",["=","@f",null],[],["let",[["cc",["object/get","@f","closedCall",{}]],["lo",["+",["object/get","@f","minArity"],1]]],["let",[["hi",["+",["object/get","@f","maxArity",["+",["object/get","@f","minArity"],1]],1]]],[{"items":["if",["and",["<=","@n","@hi"],[">=","@n","@lo"],[">","@n","@lo"],["validate/object",["array/nth","@a","@lo"]],["validate/object",["object/get",["default",["as",["array/nth","@a","@lo"],"HcValMap"],{}],"emit",null]]],[{"id":["str/concat","e","@ci"],"path":"@p","emit":["default",["as",["object/get",["default",["as",["array/nth","@a","@lo"],"HcValMap"],{}],"emit"],"EmitObj"],{}],"allowedKeys":["object/get","@f","emitKeys",[]],"checkDeclared":true,"declared":["object/get","@c","declared"]}],"@noitems"],"pre":["if",["or",["<","@n","@lo"],[">","@n","@hi"]],[{"code":"@config.codes.hostEffectArity.code","path":"@p","message":["str/concat","`","@h","` takes ",["if",["=","@lo",1],"only an optional options object","one argument and an optional options object"],", got ",["-","@n",1]],"suggestion":["if",["=","@lo",1],["str/concat","Write (","@h"," { emit: { success: <EVENT> } })"],["str/concat","Write (","@h"," <arg> { emit: { success: <EVENT> } })"]],"severity":"error"}],["array/concat",["let",[["ir",["object/get","@cc","intRange",null]]],["if",["and",["!=","@ir",null],[">","@n",["+",["object/get","@ir","arg"],1]]],["let",[["v",["array/nth","@a",["+",["object/get","@ir","arg"],1]]]],["if",["and",["validate/number","@v"],["or",["!=","@v",["math/floor","@v"]],["<","@v",["object/get","@ir","min"]],[">","@v",["object/get","@ir","max"]]]],[{"code":"@config.codes.randomBytesCount.code","path":"@p","message":["str/concat","`","@h","` argument ",["+",["object/get","@ir","arg"],1]," is an integer from ",["object/get","@ir","min"]," to ",["object/get","@ir","max"],", got ","@v"],"suggestion":"Use a whole number of bytes such as 32","severity":"error"}],[]]],[]]],["if",["and",["object/get","@cc","request",false],["object/get","@f","hasRequest"]],["let",[["req",["array/nth","@a",1]],["declared",["object/get","@f","requestFields",[]]],["required",["object/get","@f","requestRequired",[]]]],["if",["validate/object","@req"],["array/concat",["let",[["bad",["array/find",["object/keys","@req"],["fn","k",["not",["array/includes","@declared","@k"]]]]]],["if",["=","@bad",null],[],[{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` takes only ",["str/join","@declared",", "],", got `","@bad","`"],"suggestion":"","severity":"error"}]]],["array/map",["array/filter","@required",["fn","k",["not",["object/has","@req","@k"]]]],["fn","k",{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` needs `","@k","` in its request"],"suggestion":"","severity":"error"}]],["let",[["bl",["object/get","@cc","requestKeysByLiteral",null]]],["if",["=","@bl",null],[],["let",[["word",["default",["as",["object/get","@req",["object/get","@bl","key"],null],"string"],""]],["need",["object/get","@bl","required"]]],["array/map",["array/filter",["default",["object/get","@need","@word"],[]],["fn","k",["not",["object/has","@req","@k"]]]],["fn","k",{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` with ",["object/get","@bl","key"]," `","@word","` needs `","@k","` in its request"],"suggestion":"","severity":"error"}]]]]],["let",[["ws",["object/get","@f","words",{}]]],["array/flatten",["array/map",["object/keys","@req"],["fn","k",["let",[["v",["object/get","@req","@k",null]],["allowed",["object/get","@ws",["str/concat","request/","@k"],null]]],["if",["and",["validate/string","@v"],["!=","@allowed",null],["not",["str/startsWith","@v",["quote","\"\\u0040\""]]],["not",["array/includes","@allowed","@v"]]],[{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` request `","@k","` is one of ",["str/join","@allowed",", "],", got `","@v","`"],"suggestion":"","severity":"error"}],[]]]]]]]],["if",["validate/string","@req"],["if",["str/startsWith","@req",["quote","\"\\u0040\""]],[],[{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` takes a request object, not text"],"suggestion":"","severity":"error"}]],[{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` takes a request object"],"suggestion":"","severity":"error"}]]]],[]],["if",["<=","@n","@lo"],[],["let",[["opt",["array/nth","@a","@lo"]],["allowed",["object/get","@f","optionKeys",[]]]],["if",["validate/object","@opt"],["let",[["bad",["array/find",["object/keys","@opt"],["fn","k",["not",["array/includes","@allowed","@k"]]]]]],["if",["=","@bad",null],[],[{"code":"@config.codes.hostEffectOptionUnknown.code","path":"@p","message":["str/concat","`","@h","` options accept only ",["str/join","@allowed"," and "],", got `","@bad","`"],"suggestion":"","severity":"error"}]]],[{"code":"@config.codes.hostEffectOptionUnknown.code","path":"@p","message":["str/concat","`","@h","` options must be an object"],"suggestion":"Write { emit: { success: <EVENT>, failure: <EVENT> } }","severity":"error"}]]]]]],"post":"@none"}]]]]]]]]]]]]],["emit","LINT_PLANNED",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_GKW8DQY88Z44FKVK2E8Q36NWNR","effects":[["emit","LINT_FOUND",{"rule":"host-effects","scope":"@entity.scope","findings":"@entity.findings"}]]},{"from":"ready","to":"ready","event":"LINT_PLANNED","eventId":"evt_MWDRSMG7DR3PW54YZK5CXYDQWE","effects":[["emit","EMIT_CONFIG_CHECK",{"requestId":["str/concat","emit","@entity.scope"],"items":["array/flatten",["array/map","@entity.segs",["fn","s",["object/get","@s","items"]]]]}]]},{"from":"ready","to":"ready","event":"EMIT_HEARD","eventId":"evt_0JCT1Q219M0MT7SSFGY1V4XGTV","effects":[["set","@entity.emitRes","@payload.results"],["emit","LINT_ASSEMBLE",{}]]},{"from":"ready","to":"ready","event":"LINT_ASSEMBLE","eventId":"evt_4T4MQKPFQ57VJPYC8NXXNT885J","effects":[["set","@entity.findings",["let",[["none",[],"{\"version\":1,\"type\":{\"kind\":\"array\",\"inner\":{\"kind\":\"typeref\",\"name\":\"OrbFinding\"}},\"named\":{\"OrbFinding\":{\"kind\":\"struct\",\"fields\":[{\"name\":\"code\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"path\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"message\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"suggestion\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"severity\",\"fieldType\":{\"kind\":\"enum\",\"name\":\"\\\"warning\\\" | \\\"error\\\"\"},\"required\":false,\"constraints\":[]}]}}}"]],["array/flatten",["array/map","@entity.segs",["fn","s",["array/concat",["object/get","@s","pre"],["array/flatten",["array/map",["object/get","@s","items"],["fn","it",["object/get",["default",["array/find","@entity.emitRes",["fn","r",["=",["object/get","@r","id"],["object/get","@it","id"]]]],{"id":"","findings":"@none"}],"findings"]]]],["object/get","@s","post"]]]]]]],["emit","LINT_FINISH",{}]]}]},"config":{"codes":{"nullable":false,"type":"LintHostEffectsCodes","default":{"lintOperatorShapesUnread":{"code":"ORB_LINT_OPERATOR_SHAPES_UNREAD","category":"lint","description":"The installed operator table could not be read or does not match the operator shape type, so a lint cannot run"},"hostEffectArity":{"code":"ORB_HOST_EFFECT_ARITY","category":"effect","description":"A host effect is called with the wrong number of arguments"},"randomBytesCount":{"code":"ORB_RANDOM_BYTES_COUNT","category":"random","description":"A random-bytes count argument is outside the allowed integer range"},"credentialRequestInvalid":{"code":"ORB_CREDENTIAL_REQUEST_INVALID","category":"credential","description":"A credential request host effect carries options other than the ones it declares"},"hostEffectOptionUnknown":{"code":"ORB_HOST_EFFECT_OPTION_UNKNOWN","category":"host_effect","description":"A host effect is given an option outside the set of options it accepts"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"lintOperatorShapesUnread":{"nullable":false,"name":"lintOperatorShapesUnread","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"}},"hostEffectArity":{"nullable":false,"name":"hostEffectArity","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"}},"randomBytesCount":{"nullable":false,"name":"randomBytesCount","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"}},"credentialRequestInvalid":{"nullable":false,"name":"credentialRequestInvalid","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"}},"hostEffectOptionUnknown":{"nullable":false,"name":"hostEffectOptionUnknown","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":"LintHostEffectsCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_MXN5TNKERYQCF5KC3HFW92S0ED","fingerprint":"ff81883622bb3bfd8b2beb5a8eabb44c0a94e8ca04cbc77d62fb8f4fe0bf0b25"}},{"name":"OrbLintHostEffectsCli","id":"trt_QA1SBPH0JGG983K8RM0RWSM8DK","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintHostEffectsRun","linkedEntityId":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H","entityRefIds":{"OrbLintHostEffectsRun":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_YH27TXMJZJ9FSDKBWCJGHHAZR0","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_NTYZPA1Q56VJKE23MMWWJQ2JWQ","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_174M9P0FKD7SPR74HWYTFXQPZ4","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_QV632V6DVC6XPDKCJG435MM5MQ","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_KSHDW76V9ZDMZW5CG19XPJ6FZX","triggers":"LINT_FOUND","triggersId":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","source":{"kind":"trait","trait":"OrbLintHostEffects","traitId":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_QV632V6DVC6XPDKCJG435MM5MQ","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_QV632V6DVC6XPDKCJG435MM5MQ","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_A2GG7G7BRBNW5MDETJZH2GANA5","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D","name":"Lint Called","description":"Run `orb lint host-effects` with its arguments and working directory.","synonyms":"orb lint host-effects","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-host-effects","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","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_QV632V6DVC6XPDKCJG435MM5MQ","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_YH27TXMJZJ9FSDKBWCJGHHAZR0","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_NTYZPA1Q56VJKE23MMWWJQ2JWQ","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_A2GG7G7BRBNW5MDETJZH2GANA5"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D","guard":["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["or",["=","@a",null],["!=",["array/len",["object/get","@a","argv"]],1]]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint host-effects <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D","guard":["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["and",["!=","@a",null],["=",["array/len",["object/get","@a","argv"]],1]]],"effects":[["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["if",["=","@a",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint host-effects <file>"}],["let",[["f",["array/first",["object/get","@a","argv"]]]],["if",["=","@f",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint host-effects <file>"}],["emit","LINT_REQUEST",{"file":"@f"}]]]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_A2GG7G7BRBNW5MDETJZH2GANA5"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","guard":["and",["=","@payload.rule","host-effects"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint host-effects: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","guard":["and",["=","@payload.rule","host-effects"],[">",["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_QV632V6DVC6XPDKCJG435MM5MQ","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint host-effects: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_QA1SBPH0JGG983K8RM0RWSM8DK","fingerprint":"9c5de4f75a1af26c45f3f7662616cfe54291e8ec23da2c4201dce027d3c19257"}},{"ref":"Input.traits.Versions","id":"trt_8HSRY0PFF47QJ2GXYKW336ZNPS","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_PBPTCCHA3WN1YAHJMBN879T602","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintHostEffectsCli"}},{"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"}}]},{"ref":"Calls.traits.HostCalls","id":"trt_6CJS24AYAXF5EXBC7N0CW1N7P7","name":"HostCalls","listens":[{"event":"HOST_CALLS_COLLECT","triggers":"HOST_CALLS_COLLECT","source":{"kind":"trait","trait":"OrbLintHostEffects"}},{"event":"LINT_OPERATOR_SHAPES","triggers":"LINT_OPERATOR_SHAPES_HEARD","source":{"kind":"trait","trait":"OrbLintInput"}},{"event":"LINT_OPERATOR_SHAPES_UNREAD","triggers":"LINT_OPERATOR_SHAPES_UNREAD_HEARD","source":{"kind":"trait","trait":"OrbLintInput"}},{"event":"LINT_HOST_FACTS","triggers":"LINT_HOST_FACTS_HEARD","source":{"kind":"trait","trait":"OrbLintInput"}},{"event":"LINT_HOST_FACTS_UNREAD","triggers":"LINT_HOST_FACTS_UNREAD_HEARD","source":{"kind":"trait","trait":"OrbLintInput"}}]},{"ref":"EmitConfigUse.traits.OrbEmitConfig","id":"trt_ZRX01DR8FS47WJW0EXS5T3YJHK","name":"OrbEmitConfig","listens":[{"event":"EMIT_CONFIG_CHECK","triggers":"EMIT_CONFIG_CHECK","source":{"kind":"trait","trait":"OrbLintHostEffects"}}]}],"pages":[{"name":"OrbLintHostEffectsOrbitalStart","id":"pag_DDFD631Y2NZ1AXF3SB02VJ9RES","path":"","protocol":"boot","traits":[{"ref":"OrbLintHostEffects","refId":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},{"ref":"OrbLintHostEffectsCli","refId":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},{"ref":"OrbLintInput","refId":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z"},{"ref":"Packs","refId":"trt_PBPTCCHA3WN1YAHJMBN879T602"},{"ref":"Versions","refId":"trt_8HSRY0PFF47QJ2GXYKW336ZNPS"},{"ref":"HostCalls","refId":"trt_6CJS24AYAXF5EXBC7N0CW1N7P7"},{"ref":"OrbEmitConfig","refId":"trt_ZRX01DR8FS47WJW0EXS5T3YJHK"}]}],"types":{"EmitItem":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"EmitObj":[{"nullable":false,"name":"","type":"Map<string,EmitVal>","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}}],"EmitResult":[{"nullable":false,"name":"id","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"}}}],"EmitVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[EmitVal]","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"object","type":"Map<string,EmitVal>","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}}]}],"HcByLiteral":[{"nullable":false,"name":"key","type":"string","required":true},{"nullable":false,"name":"required","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}}],"HcCall":[{"nullable":false,"name":"head","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"call","type":"[HcVal]","required":true,"items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"tname","type":"string","required":true},{"nullable":false,"name":"tick","type":"string","required":true},{"nullable":false,"name":"bg","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"config","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":true,"name":"inGuard","type":"boolean"}],"HcClosed":[{"nullable":true,"name":"request","type":"boolean"},{"nullable":true,"name":"intRange","type":"HcIntRange","projectedFrom":{"type":"HcIntRange"}},{"nullable":true,"name":"requestKeysByLiteral","type":"HcByLiteral","projectedFrom":{"type":"HcByLiteral"}}],"HcExtras":[{"nullable":true,"name":"closedCall","type":"HcClosed","projectedFrom":{"type":"HcClosed"}},{"nullable":true,"name":"grant","type":"[HcGrantNeed]","items":{"nullable":false,"name":"","type":"HcGrantNeed","projectedFrom":{"type":"HcGrantNeed"}}},{"nullable":false,"name":"defaultPorts","type":"Map<string,number>","items":{"nullable":true,"name":"","type":"number"}},{"nullable":true,"name":"family","type":"string"},{"nullable":true,"name":"emitKeys","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"HcFact":[{"nullable":false,"name":"minArity","type":"number","required":true},{"nullable":true,"name":"maxArity","type":"number"},{"nullable":true,"name":"runsOn","type":"string"},{"nullable":true,"name":"host","type":"string"},{"nullable":false,"name":"params","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"items":{"nullable":false,"name":"","type":"HcParam","projectedFrom":{"type":"HcParam"}}},{"nullable":true,"name":"closedCall","type":"HcClosed","projectedFrom":{"type":"HcClosed"}},{"nullable":true,"name":"grant","type":"[HcGrantNeed]","items":{"nullable":false,"name":"","type":"HcGrantNeed","projectedFrom":{"type":"HcGrantNeed"}}},{"nullable":false,"name":"defaultPorts","type":"Map<string,number>","items":{"nullable":true,"name":"","type":"number"}},{"nullable":true,"name":"family","type":"string"},{"nullable":true,"name":"emitOrder","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"hasOptions","type":"boolean","required":true},{"nullable":false,"name":"optionKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"emitKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"hasRequest","type":"boolean","required":true},{"nullable":false,"name":"requestFields","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"requestRequired","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"words","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}},{"nullable":false,"name":"keys","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}}],"HcGrantNeed":[{"nullable":false,"name":"","type":"Map<string,HcVal>","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"HcIntRange":[{"nullable":false,"name":"arg","type":"number","required":true},{"nullable":false,"name":"min","type":"number","required":true},{"nullable":false,"name":"max","type":"number","required":true}],"HcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"HcParam":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"HcShape":[{"nullable":true,"name":"category","type":"string"},{"nullable":true,"name":"minArity","type":"number"},{"nullable":true,"name":"maxArity","type":"number"},{"nullable":true,"name":"runsOn","type":"string"},{"nullable":true,"name":"host","type":"string"},{"nullable":false,"name":"hasSideEffects","type":"boolean","required":true},{"nullable":false,"name":"params","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"items":{"nullable":false,"name":"","type":"HcParam","projectedFrom":{"type":"HcParam"}}}],"HcType":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"HcTypeNode","type":"object","properties":[{"nullable":false,"name":"kind","type":"string","required":true},{"nullable":false,"name":"fields","type":"Map<string,HcType>","items":{"nullable":true,"name":"","type":"HcType","projectedFrom":{"type":"HcType"}}},{"nullable":true,"name":"optional","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"HcTypeNode"}}]}],"HcTypeNode":[{"nullable":false,"name":"kind","type":"string","required":true},{"nullable":false,"name":"fields","type":"Map<string,HcType>","items":{"nullable":true,"name":"","type":"HcType","projectedFrom":{"type":"HcType"}}},{"nullable":true,"name":"optional","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"HcVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[HcVal]","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"object","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}]}],"HcValMap":[{"nullable":false,"name":"","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"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}],"LintHostEffectsCodes":[{"nullable":false,"name":"lintOperatorShapesUnread","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":"hostEffectArity","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":"randomBytesCount","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":"credentialRequestInvalid","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":"hostEffectOptionUnknown","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"}}],"LnProgramHE":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}}],"LnVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[LnVal]","items":{"nullable":true,"name":"","type":"LnVal","projectedFrom":{"type":"LnVal"}}},{"nullable":false,"name":"object","type":"Map<string,LnVal>","items":{"nullable":true,"name":"","type":"LnVal","projectedFrom":{"type":"LnVal"}}}]}],"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"]}],"Seg":[{"nullable":false,"name":"items","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"EmitItem","projectedFrom":{"type":"EmitItem"}}},{"nullable":false,"name":"pre","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"}}},{"nullable":false,"name":"post","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"}}}]}}],"inbound":["cli-lint-host-effects"],"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_WQ2Q9TDMD8T6M9VWJEPFBV3F1H":{"id":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H","kind":"entity","bakedName":"OrbLintHostEffectsRun","curName":"OrbLintHostEffectsRun","renames":[],"owner":"workspace"},"evt_0JCT1Q219M0MT7SSFGY1V4XGTV":{"id":"evt_0JCT1Q219M0MT7SSFGY1V4XGTV","kind":"event","bakedName":"EMIT_HEARD","curName":"EMIT_HEARD","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_174M9P0FKD7SPR74HWYTFXQPZ4":{"id":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_4T4MQKPFQ57VJPYC8NXXNT885J":{"id":"evt_4T4MQKPFQ57VJPYC8NXXNT885J","kind":"event","bakedName":"LINT_ASSEMBLE","curName":"LINT_ASSEMBLE","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_587R90CAG1580KMNKC76PWBTNS":{"id":"evt_587R90CAG1580KMNKC76PWBTNS","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_5K1C4D4HJ08S0888JBETDJA7HK":{"id":"evt_5K1C4D4HJ08S0888JBETDJA7HK","kind":"event","bakedName":"EMIT_CONFIG_CHECK","curName":"EMIT_CONFIG_CHECK","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D":{"id":"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_A2GG7G7BRBNW5MDETJZH2GANA5":{"id":"evt_A2GG7G7BRBNW5MDETJZH2GANA5","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_CWJH1AFG2FR17H5CCDDDXRFP2V":{"id":"evt_CWJH1AFG2FR17H5CCDDDXRFP2V","kind":"event","bakedName":"HOST_CALLS_COLLECT","curName":"HOST_CALLS_COLLECT","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_GKW8DQY88Z44FKVK2E8Q36NWNR":{"id":"evt_GKW8DQY88Z44FKVK2E8Q36NWNR","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_KSHDW76V9ZDMZW5CG19XPJ6FZX":{"id":"evt_KSHDW76V9ZDMZW5CG19XPJ6FZX","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_MWDRSMG7DR3PW54YZK5CXYDQWE":{"id":"evt_MWDRSMG7DR3PW54YZK5CXYDQWE","kind":"event","bakedName":"LINT_PLANNED","curName":"LINT_PLANNED","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y":{"id":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_NTYZPA1Q56VJKE23MMWWJQ2JWQ":{"id":"evt_NTYZPA1Q56VJKE23MMWWJQ2JWQ","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_QV632V6DVC6XPDKCJG435MM5MQ":{"id":"evt_QV632V6DVC6XPDKCJG435MM5MQ","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1":{"id":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","kind":"event","bakedName":"HOST_CALLS_HEARD","curName":"HOST_CALLS_HEARD","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_YH27TXMJZJ9FSDKBWCJGHHAZR0":{"id":"evt_YH27TXMJZJ9FSDKBWCJGHHAZR0","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"orb_DHPPTF7Y4GZ285QQH0AYBBDX73":{"id":"orb_DHPPTF7Y4GZ285QQH0AYBBDX73","kind":"orbital","bakedName":"OrbLintHostEffectsOrbital","curName":"OrbLintHostEffectsOrbital","renames":[],"owner":"workspace"},"pag_DDFD631Y2NZ1AXF3SB02VJ9RES":{"id":"pag_DDFD631Y2NZ1AXF3SB02VJ9RES","kind":"page","bakedName":"OrbLintHostEffectsOrbitalStart","curName":"OrbLintHostEffectsOrbitalStart","renames":[],"owner":"workspace"},"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z":{"id":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_6CJS24AYAXF5EXBC7N0CW1N7P7":{"id":"trt_6CJS24AYAXF5EXBC7N0CW1N7P7","kind":"trait","bakedName":"HostCalls","curName":"HostCalls","renames":[],"owner":"workspace"},"trt_8HSRY0PFF47QJ2GXYKW336ZNPS":{"id":"trt_8HSRY0PFF47QJ2GXYKW336ZNPS","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_MXN5TNKERYQCF5KC3HFW92S0ED":{"id":"trt_MXN5TNKERYQCF5KC3HFW92S0ED","kind":"trait","bakedName":"OrbLintHostEffects","curName":"OrbLintHostEffects","renames":[],"owner":"workspace"},"trt_PBPTCCHA3WN1YAHJMBN879T602":{"id":"trt_PBPTCCHA3WN1YAHJMBN879T602","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"},"trt_QA1SBPH0JGG983K8RM0RWSM8DK":{"id":"trt_QA1SBPH0JGG983K8RM0RWSM8DK","kind":"trait","bakedName":"OrbLintHostEffectsCli","curName":"OrbLintHostEffectsCli","renames":[],"owner":"workspace"},"trt_ZRX01DR8FS47WJW0EXS5T3YJHK":{"id":"trt_ZRX01DR8FS47WJW0EXS5T3YJHK","kind":"trait","bakedName":"OrbEmitConfig","curName":"OrbEmitConfig","renames":[],"owner":"workspace"}}}}
|
|
1
|
+
{"typeContractVersion":1,"types":{"EmitItem":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"EmitObj":[{"nullable":false,"name":"","type":"Map<string,EmitVal>","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}}],"EmitResult":[{"nullable":false,"name":"id","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"}}}],"EmitVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[EmitVal]","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"object","type":"Map<string,EmitVal>","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}}]}],"HcByLiteral":[{"nullable":false,"name":"key","type":"string","required":true},{"nullable":false,"name":"required","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}}],"HcCall":[{"nullable":false,"name":"head","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"call","type":"[HcVal]","required":true,"items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"tname","type":"string","required":true},{"nullable":false,"name":"tick","type":"string","required":true},{"nullable":false,"name":"bg","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"config","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":true,"name":"inGuard","type":"boolean"}],"HcClosed":[{"nullable":true,"name":"request","type":"boolean"},{"nullable":true,"name":"intRange","type":"HcIntRange","projectedFrom":{"type":"HcIntRange"}},{"nullable":true,"name":"requestKeysByLiteral","type":"HcByLiteral","projectedFrom":{"type":"HcByLiteral"}}],"HcExtras":[{"nullable":true,"name":"closedCall","type":"HcClosed","projectedFrom":{"type":"HcClosed"}},{"nullable":true,"name":"grant","type":"[HcGrantNeed]","items":{"nullable":false,"name":"","type":"HcGrantNeed","projectedFrom":{"type":"HcGrantNeed"}}},{"nullable":false,"name":"defaultPorts","type":"Map<string,number>","items":{"nullable":true,"name":"","type":"number"}},{"nullable":true,"name":"family","type":"string"},{"nullable":true,"name":"emitKeys","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"HcFact":[{"nullable":false,"name":"minArity","type":"number","required":true},{"nullable":true,"name":"maxArity","type":"number"},{"nullable":true,"name":"runsOn","type":"string"},{"nullable":true,"name":"host","type":"string"},{"nullable":false,"name":"params","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"items":{"nullable":false,"name":"","type":"HcParam","projectedFrom":{"type":"HcParam"}}},{"nullable":true,"name":"closedCall","type":"HcClosed","projectedFrom":{"type":"HcClosed"}},{"nullable":true,"name":"grant","type":"[HcGrantNeed]","items":{"nullable":false,"name":"","type":"HcGrantNeed","projectedFrom":{"type":"HcGrantNeed"}}},{"nullable":false,"name":"defaultPorts","type":"Map<string,number>","items":{"nullable":true,"name":"","type":"number"}},{"nullable":true,"name":"family","type":"string"},{"nullable":true,"name":"emitOrder","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"hasOptions","type":"boolean","required":true},{"nullable":false,"name":"optionKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"emitKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"hasRequest","type":"boolean","required":true},{"nullable":false,"name":"requestFields","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"requestRequired","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"words","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}},{"nullable":false,"name":"keys","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}}],"HcGrantNeed":[{"nullable":false,"name":"","type":"Map<string,HcVal>","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"HcIntRange":[{"nullable":false,"name":"arg","type":"number","required":true},{"nullable":false,"name":"min","type":"number","required":true},{"nullable":false,"name":"max","type":"number","required":true}],"HcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"HcParam":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"HcShape":[{"nullable":true,"name":"category","type":"string"},{"nullable":true,"name":"minArity","type":"number"},{"nullable":true,"name":"maxArity","type":"number"},{"nullable":true,"name":"runsOn","type":"string"},{"nullable":true,"name":"host","type":"string"},{"nullable":false,"name":"hasSideEffects","type":"boolean","required":true},{"nullable":false,"name":"params","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"items":{"nullable":false,"name":"","type":"HcParam","projectedFrom":{"type":"HcParam"}}}],"HcType":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"HcTypeNode","type":"object","properties":[{"nullable":false,"name":"kind","type":"string","required":true},{"nullable":false,"name":"fields","type":"Map<string,HcType>","items":{"nullable":true,"name":"","type":"HcType","projectedFrom":{"type":"HcType"}}},{"nullable":true,"name":"optional","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"HcTypeNode"}}]}],"HcTypeNode":[{"nullable":false,"name":"kind","type":"string","required":true},{"nullable":false,"name":"fields","type":"Map<string,HcType>","items":{"nullable":true,"name":"","type":"HcType","projectedFrom":{"type":"HcType"}}},{"nullable":true,"name":"optional","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"HcVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[HcVal]","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"object","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}]}],"HcValMap":[{"nullable":false,"name":"","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"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}],"LintHostEffectsCodes":[{"nullable":false,"name":"lintOperatorShapesUnread","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":"hostEffectArity","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":"randomBytesCount","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":"credentialRequestInvalid","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":"hostEffectOptionUnknown","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"}}],"LnProgramHE":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}}],"LnVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[LnVal]","items":{"nullable":true,"name":"","type":"LnVal","projectedFrom":{"type":"LnVal"}}},{"nullable":false,"name":"object","type":"Map<string,LnVal>","items":{"nullable":true,"name":"","type":"LnVal","projectedFrom":{"type":"LnVal"}}}]}],"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"]}],"Seg":[{"nullable":false,"name":"items","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"EmitItem","projectedFrom":{"type":"EmitItem"}}},{"nullable":false,"name":"pre","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"}}},{"nullable":false,"name":"post","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"}}}]},"name":"std-orb-lint-host-effects","version":"1.0.0","description":"std-orb-lint-host-effects — the `orb lint host-effects <file>` command, the port of effect/host_effects.rs (validate_host_effects): every call of an operator the installed operator table marks `closedCall` (random-bytes, access-check and the credential-* effects), found at any depth of a guard or effect of an inline trait. The operators, their arity bounds, the integer range of an argument, whether the first parameter is a request object with its declared and required fields, and the options keys all come from the table through std-orb-lint-host-calls, never from this atom. Reports ORB_HOST_EFFECT_ARITY (the call has fewer or more arguments than the table allows), ORB_RANDOM_BYTES_COUNT (a literal number at the table's intRange argument that is not a whole number inside the range), ORB_CREDENTIAL_REQUEST_INVALID (a literal request that is not an object, carries a field the table does not declare, or lacks a required one; a binding is the runtime's to check) and ORB_HOST_EFFECT_OPTION_UNKNOWN (an options argument that is not an object or carries a key the table does not declare). The `emit` block of an options object is checked through std-orb-emit-config against the operator's emit keys (ORB_EFF_EMIT_KEY_INVALID, ORB_EFF_EMIT_INVALID_NAME, ORB_EFF_EMIT_UNDECLARED_EVENT); the key findings belong to std-orb-lint-keyed-call-keys. Findings carry the Rust path (the guard or effect), message and suggestion (status 500, exit 1). Clean answers `lint host-effects: 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":"OrbLintHostEffectsOrbital","id":"orb_DHPPTF7Y4GZ285QQH0AYBBDX73","uses":[{"from":"almadar-std/lint-host-effects","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"},{"from":"std/behaviors/std-orb-lint-host-calls","as":"Calls"},{"from":"std/behaviors/std-orb-emit-config","as":"EmitConfigUse"}],"entity":{"name":"OrbLintHostEffectsRun","id":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H","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"}}},{"nullable":false,"name":"segs","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"items":{"nullable":false,"name":"items","type":"array","required":true,"items":{"nullable":false,"type":"object","properties":{"id":{"nullable":false,"name":"id","type":"string","required":true},"path":{"nullable":false,"name":"path","type":"string","required":true},"emit":{"nullable":false,"name":"emit","type":"object","required":true,"items":{"nullable":true,"type":"union","values":["string","number","boolean","array","map"],"properties":{"string":{"nullable":false,"name":"string","type":"string"},"number":{"nullable":false,"name":"number","type":"number"},"boolean":{"nullable":false,"name":"boolean","type":"boolean"},"array":{"nullable":false,"name":"array","type":"array","items":{"nullable":true,"type":"union","values":["EmitVal"],"projectedFrom":{"type":"EmitVal"}}},"map":{"nullable":false,"name":"map","type":"object","items":{"nullable":true,"type":"union","values":["EmitVal"],"projectedFrom":{"type":"EmitVal"}}}},"projectedFrom":{"type":"EmitVal"}},"projectedFrom":{"type":"EmitObj"}},"allowedKeys":{"nullable":false,"name":"allowedKeys","type":"array","required":true,"items":{"nullable":false,"type":"string"}},"checkDeclared":{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},"declared":{"nullable":false,"name":"declared","type":"array","required":true,"items":{"nullable":false,"type":"string"}}},"projectedFrom":{"type":"EmitItem"}}},"pre":{"nullable":false,"name":"pre","type":"array","required":true,"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"}}},"post":{"nullable":false,"name":"post","type":"array","required":true,"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"}}}},"projectedFrom":{"type":"Seg"}}},{"nullable":false,"name":"emitRes","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"id":{"nullable":false,"name":"id","type":"string","required":true},"findings":{"nullable":false,"name":"findings","type":"array","required":true,"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"}}}},"projectedFrom":{"type":"EmitResult"}}}]},"traits":[{"name":"OrbLintHostEffects","id":"trt_MXN5TNKERYQCF5KC3HFW92S0ED","effectRow":[{"kind":"emit","resource":"EMIT_CONFIG_CHECK"},{"kind":"emit","resource":"HOST_CALLS_COLLECT"},{"kind":"emit","resource":"LINT_ASSEMBLE"},{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"emit","resource":"LINT_PLANNED"},{"kind":"set","resource":"@entity.emitRes"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"},{"kind":"set","resource":"@entity.segs"}],"linkedEntity":"OrbLintHostEffectsRun","linkedEntityId":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H","entityRefIds":{"OrbLintHostEffectsRun":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H"},"emits":[{"event":"LINT_FOUND","eventId":"evt_KSHDW76V9ZDMZW5CG19XPJ6FZX","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_GKW8DQY88Z44FKVK2E8Q36NWNR","description":"Internal: answer with the verdict.","tier":"internal"},{"event":"HOST_CALLS_COLLECT","eventId":"evt_CWJH1AFG2FR17H5CCDDDXRFP2V","description":"Ask the shared collector for the calls this rule checks.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}},{"nullable":false,"name":"heads","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"operators","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"fields","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}]},{"event":"LINT_PLANNED","eventId":"evt_MWDRSMG7DR3PW54YZK5CXYDQWE","description":"Internal: the calls are planned, ask the emit-config checker.","tier":"internal"},{"event":"LINT_ASSEMBLE","eventId":"evt_4T4MQKPFQ57VJPYC8NXXNT885J","description":"Internal: merge the emit-config findings into the call findings.","tier":"internal"},{"event":"EMIT_CONFIG_CHECK","eventId":"evt_5K1C4D4HJ08S0888JBETDJA7HK","description":"Ask std-orb-emit-config to check each call's emit object.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"items","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"EmitItem","projectedFrom":{"type":"EmitItem"}}}]}],"listens":[{"event":"LINT_INPUT","eventId":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","triggers":"LINT_INPUT","triggersId":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z"}},{"event":"HOST_CALLS_COLLECTED","triggers":"HOST_CALLS_HEARD","triggersId":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","source":{"kind":"trait","trait":"HostCalls","traitId":"trt_6CJS24AYAXF5EXBC7N0CW1N7P7"}},{"event":"EMIT_CONFIG_CHECKED","triggers":"EMIT_HEARD","triggersId":"evt_0JCT1Q219M0MT7SSFGY1V4XGTV","source":{"kind":"trait","trait":"OrbEmitConfig","traitId":"trt_ZRX01DR8FS47WJW0EXS5T3YJHK"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_587R90CAG1580KMNKC76PWBTNS","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","name":"Lint Input","description":"The lint input: the file read, its language decided and the program lowered.","payloadSchema":[{"nullable":false,"name":"file","type":"string","required":true},{"nullable":false,"name":"raw","type":"string","required":true},{"nullable":false,"name":"latin","type":"boolean","required":true},{"nullable":false,"name":"program","type":"object","required":true,"properties":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}}],"projectedFrom":{"type":"LnProgramHE"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"HOST_CALLS_HEARD","id":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","name":"Host Calls Heard","description":"The shared collector's answer: the calls of the asked heads and the table entries.","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"unread","type":"boolean","required":true},{"nullable":false,"name":"calls","type":"[object]","required":true,"properties":[{"nullable":false,"name":"head","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"call","type":"[HcVal]","required":true,"items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"tname","type":"string","required":true},{"nullable":false,"name":"tick","type":"string","required":true},{"nullable":false,"name":"bg","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"config","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":true,"name":"inGuard","type":"boolean"}],"items":{"nullable":false,"name":"","type":"HcCall","projectedFrom":{"type":"HcCall"}}},{"nullable":false,"name":"facts","type":"Map<string,HcFact>","required":true,"items":{"nullable":false,"name":"","type":"HcFact","projectedFrom":{"type":"HcFact"}}}],"listened":true},{"key":"LINT_FINISH","id":"evt_GKW8DQY88Z44FKVK2E8Q36NWNR","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_PLANNED","id":"evt_MWDRSMG7DR3PW54YZK5CXYDQWE","name":"Lint Planned","description":"Internal: the calls are planned, ask the emit-config checker.","tier":"internal"},{"key":"EMIT_HEARD","id":"evt_0JCT1Q219M0MT7SSFGY1V4XGTV","name":"Emit Heard","description":"std-orb-emit-config's answer: the findings of each call's emit object.","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"results","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","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"}}}],"items":{"nullable":false,"name":"","type":"EmitResult","projectedFrom":{"type":"EmitResult"}}}],"listened":true},{"key":"LINT_ASSEMBLE","id":"evt_4T4MQKPFQ57VJPYC8NXXNT885J","name":"Lint Assemble","description":"Internal: merge the emit-config findings into the call findings.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_KSHDW76V9ZDMZW5CG19XPJ6FZX","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"}}}]},{"key":"HOST_CALLS_COLLECT","id":"evt_CWJH1AFG2FR17H5CCDDDXRFP2V","name":"Host Calls Collect","description":"Ask the shared collector for the calls this rule checks.","tier":"internal","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"orbitals","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}},{"nullable":false,"name":"heads","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"operators","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"fields","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}]},{"key":"EMIT_CONFIG_CHECK","id":"evt_5K1C4D4HJ08S0888JBETDJA7HK","name":"Emit Config Check","description":"Ask std-orb-emit-config to check each call's emit object.","tier":"internal","payloadSchema":[{"nullable":false,"name":"requestId","type":"string","required":true},{"nullable":false,"name":"items","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"EmitItem","projectedFrom":{"type":"EmitItem"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_587R90CAG1580KMNKC76PWBTNS"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","effects":[["set","@entity.scope","@payload.scope"],["emit","HOST_CALLS_COLLECT",{"requestId":["str/concat","host-effects:","@payload.scope"],"orbitals":["object/get","@payload.program","orbitals",[]],"heads":[],"operators":[],"fields":["closedCall"]}]]},{"from":"ready","to":"ready","event":"HOST_CALLS_HEARD","eventId":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","guard":["and",["str/startsWith","@payload.requestId","host-effects:"],"@payload.unread"],"effects":[["set","@entity.findings",[{"code":"@config.codes.lintOperatorShapesUnread.code","path":"operators","message":"the installed @almadar/std operator table could not be read, so the closed host calls are unknown","suggestion":"Reinstall @almadar/std so its operator table declares the params of every operator","severity":"error"}]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"HOST_CALLS_HEARD","eventId":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","guard":["and",["str/startsWith","@payload.requestId","host-effects:"],["not","@payload.unread"]],"effects":[["set","@entity.segs",["let",[["facts","@payload.facts"],["none",[],"{\"version\":1,\"type\":{\"kind\":\"array\",\"inner\":{\"kind\":\"typeref\",\"name\":\"OrbFinding\"}},\"named\":{\"OrbFinding\":{\"kind\":\"struct\",\"fields\":[{\"name\":\"code\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"path\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"message\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"suggestion\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"severity\",\"fieldType\":{\"kind\":\"enum\",\"name\":\"\\\"warning\\\" | \\\"error\\\"\"},\"required\":false,\"constraints\":[]}]}}}"],["noitems",[],"{\"version\":1,\"type\":{\"kind\":\"array\",\"inner\":{\"kind\":\"typeref\",\"name\":\"EmitItem\"}},\"named\":{\"EmitItem\":{\"kind\":\"struct\",\"fields\":[{\"name\":\"id\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"path\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"emit\",\"fieldType\":{\"kind\":\"typeref\",\"name\":\"EmitObj\"},\"required\":true,\"constraints\":[]},{\"name\":\"allowedKeys\",\"fieldType\":{\"kind\":\"array\",\"inner\":{\"kind\":\"string\"}},\"required\":true,\"constraints\":[]},{\"name\":\"checkDeclared\",\"fieldType\":{\"kind\":\"boolean\"},\"required\":true,\"constraints\":[]},{\"name\":\"declared\",\"fieldType\":{\"kind\":\"array\",\"inner\":{\"kind\":\"string\"}},\"required\":true,\"constraints\":[]}]},\"EmitObj\":{\"kind\":\"map\",\"key\":{\"kind\":\"string\"},\"value\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"EmitVal\"}}},\"EmitVal\":{\"kind\":\"union\",\"variants\":[{\"name\":\"string\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"number\",\"fieldType\":{\"kind\":\"number\"},\"required\":true,\"constraints\":[]},{\"name\":\"boolean\",\"fieldType\":{\"kind\":\"boolean\"},\"required\":true,\"constraints\":[]},{\"name\":\"array\",\"fieldType\":{\"kind\":\"array\",\"inner\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"EmitVal\"}}},\"required\":true,\"constraints\":[]},{\"name\":\"map\",\"fieldType\":{\"kind\":\"map\",\"key\":{\"kind\":\"string\"},\"value\":{\"kind\":\"optional\",\"inner\":{\"kind\":\"typeref\",\"name\":\"EmitVal\"}}},\"required\":true,\"constraints\":[]}]}}}"]],["array/flatten",["array/map",["array/range",0,["array/len","@payload.calls"]],["fn","ci",["let",[["c",["array/nth","@payload.calls","@ci"]]],["let",[["a",["object/get","@c","call"]],["p",["object/get","@c","path"]]],["let",[["h",["object/get","@c","head"]],["n",["array/len","@a"]]],["let",[["f",["object/get","@facts","@h",null]]],["if",["=","@f",null],[],["let",[["cc",["object/get","@f","closedCall",{}]],["lo",["+",["object/get","@f","minArity"],1]]],["let",[["hi",["+",["object/get","@f","maxArity",["+",["object/get","@f","minArity"],1]],1]]],[{"items":["if",["and",["<=","@n","@hi"],[">=","@n","@lo"],[">","@n","@lo"],["validate/object",["array/nth","@a","@lo"]],["validate/object",["object/get",["default",["as",["array/nth","@a","@lo"],"HcValMap"],{}],"emit",null]]],[{"id":["str/concat","e","@ci"],"path":"@p","emit":["default",["as",["object/get",["default",["as",["array/nth","@a","@lo"],"HcValMap"],{}],"emit"],"EmitObj"],{}],"allowedKeys":["object/get","@f","emitKeys",[]],"checkDeclared":true,"declared":["object/get","@c","declared"]}],"@noitems"],"pre":["if",["or",["<","@n","@lo"],[">","@n","@hi"]],[{"code":"@config.codes.hostEffectArity.code","path":"@p","message":["str/concat","`","@h","` takes ",["if",["=","@lo",1],"only an optional options object","one argument and an optional options object"],", got ",["-","@n",1]],"suggestion":["if",["=","@lo",1],["str/concat","Write (","@h"," { emit: { success: <EVENT> } })"],["str/concat","Write (","@h"," <arg> { emit: { success: <EVENT> } })"]],"severity":"error"}],["array/concat",["let",[["ir",["object/get","@cc","intRange",null]]],["if",["and",["!=","@ir",null],[">","@n",["+",["object/get","@ir","arg"],1]]],["let",[["v",["array/nth","@a",["+",["object/get","@ir","arg"],1]]]],["if",["and",["validate/number","@v"],["or",["!=","@v",["math/floor","@v"]],["<","@v",["object/get","@ir","min"]],[">","@v",["object/get","@ir","max"]]]],[{"code":"@config.codes.randomBytesCount.code","path":"@p","message":["str/concat","`","@h","` argument ",["+",["object/get","@ir","arg"],1]," is an integer from ",["object/get","@ir","min"]," to ",["object/get","@ir","max"],", got ","@v"],"suggestion":"Use a whole number of bytes such as 32","severity":"error"}],[]]],[]]],["if",["and",["object/get","@cc","request",false],["object/get","@f","hasRequest"]],["let",[["req",["array/nth","@a",1]],["declared",["object/get","@f","requestFields",[]]],["required",["object/get","@f","requestRequired",[]]]],["if",["validate/object","@req"],["array/concat",["let",[["bad",["array/find",["object/keys","@req"],["fn","k",["not",["array/includes","@declared","@k"]]]]]],["if",["=","@bad",null],[],[{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` takes only ",["str/join","@declared",", "],", got `","@bad","`"],"suggestion":"","severity":"error"}]]],["array/map",["array/filter","@required",["fn","k",["not",["object/has","@req","@k"]]]],["fn","k",{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` needs `","@k","` in its request"],"suggestion":"","severity":"error"}]],["let",[["bl",["object/get","@cc","requestKeysByLiteral",null]]],["if",["=","@bl",null],[],["let",[["word",["default",["as",["object/get","@req",["object/get","@bl","key"],null],"string"],""]],["need",["object/get","@bl","required"]]],["array/map",["array/filter",["default",["object/get","@need","@word"],[]],["fn","k",["not",["object/has","@req","@k"]]]],["fn","k",{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` with ",["object/get","@bl","key"]," `","@word","` needs `","@k","` in its request"],"suggestion":"","severity":"error"}]]]]],["let",[["ws",["object/get","@f","words",{}]]],["array/flatten",["array/map",["object/keys","@req"],["fn","k",["let",[["v",["object/get","@req","@k",null]],["allowed",["object/get","@ws",["str/concat","request/","@k"],null]]],["if",["and",["validate/string","@v"],["!=","@allowed",null],["not",["str/startsWith","@v",["quote","\"\\u0040\""]]],["not",["array/includes","@allowed","@v"]]],[{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` request `","@k","` is one of ",["str/join","@allowed",", "],", got `","@v","`"],"suggestion":"","severity":"error"}],[]]]]]]]],["if",["validate/string","@req"],["if",["str/startsWith","@req",["quote","\"\\u0040\""]],[],[{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` takes a request object, not text"],"suggestion":"","severity":"error"}]],[{"code":"@config.codes.credentialRequestInvalid.code","path":"@p","message":["str/concat","`","@h","` takes a request object"],"suggestion":"","severity":"error"}]]]],[]],["if",["<=","@n","@lo"],[],["let",[["opt",["array/nth","@a","@lo"]],["allowed",["object/get","@f","optionKeys",[]]]],["if",["validate/object","@opt"],["let",[["bad",["array/find",["object/keys","@opt"],["fn","k",["not",["array/includes","@allowed","@k"]]]]]],["if",["=","@bad",null],[],[{"code":"@config.codes.hostEffectOptionUnknown.code","path":"@p","message":["str/concat","`","@h","` options accept only ",["str/join","@allowed"," and "],", got `","@bad","`"],"suggestion":"","severity":"error"}]]],[{"code":"@config.codes.hostEffectOptionUnknown.code","path":"@p","message":["str/concat","`","@h","` options must be an object"],"suggestion":"Write { emit: { success: <EVENT>, failure: <EVENT> } }","severity":"error"}]]]]]],"post":"@none"}]]]]]]]]]]]]],["emit","LINT_PLANNED",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_GKW8DQY88Z44FKVK2E8Q36NWNR","effects":[["emit","LINT_FOUND",{"rule":"host-effects","scope":"@entity.scope","findings":"@entity.findings"}]]},{"from":"ready","to":"ready","event":"LINT_PLANNED","eventId":"evt_MWDRSMG7DR3PW54YZK5CXYDQWE","effects":[["emit","EMIT_CONFIG_CHECK",{"requestId":["str/concat","emit","@entity.scope"],"items":["array/flatten",["array/map","@entity.segs",["fn","s",["object/get","@s","items"]]]]}]]},{"from":"ready","to":"ready","event":"EMIT_HEARD","eventId":"evt_0JCT1Q219M0MT7SSFGY1V4XGTV","effects":[["set","@entity.emitRes","@payload.results"],["emit","LINT_ASSEMBLE",{}]]},{"from":"ready","to":"ready","event":"LINT_ASSEMBLE","eventId":"evt_4T4MQKPFQ57VJPYC8NXXNT885J","effects":[["set","@entity.findings",["let",[["none",[],"{\"version\":1,\"type\":{\"kind\":\"array\",\"inner\":{\"kind\":\"typeref\",\"name\":\"OrbFinding\"}},\"named\":{\"OrbFinding\":{\"kind\":\"struct\",\"fields\":[{\"name\":\"code\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"path\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"message\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"suggestion\",\"fieldType\":{\"kind\":\"string\"},\"required\":true,\"constraints\":[]},{\"name\":\"severity\",\"fieldType\":{\"kind\":\"enum\",\"name\":\"\\\"warning\\\" | \\\"error\\\"\"},\"required\":false,\"constraints\":[]}]}}}"]],["array/flatten",["array/map","@entity.segs",["fn","s",["array/concat",["object/get","@s","pre"],["array/flatten",["array/map",["object/get","@s","items"],["fn","it",["object/get",["default",["array/find","@entity.emitRes",["fn","r",["=",["object/get","@r","id"],["object/get","@it","id"]]]],{"id":"","findings":"@none"}],"findings"]]]],["object/get","@s","post"]]]]]]],["emit","LINT_FINISH",{}]]}]},"config":{"codes":{"nullable":false,"type":"LintHostEffectsCodes","default":{"lintOperatorShapesUnread":{"code":"ORB_LINT_OPERATOR_SHAPES_UNREAD","category":"lint","description":"The installed operator table could not be read or does not match the operator shape type, so a lint cannot run"},"hostEffectArity":{"code":"ORB_HOST_EFFECT_ARITY","category":"effect","description":"A host effect is called with the wrong number of arguments"},"randomBytesCount":{"code":"ORB_RANDOM_BYTES_COUNT","category":"random","description":"A random-bytes count argument is outside the allowed integer range"},"credentialRequestInvalid":{"code":"ORB_CREDENTIAL_REQUEST_INVALID","category":"credential","description":"A credential request host effect carries options other than the ones it declares"},"hostEffectOptionUnknown":{"code":"ORB_HOST_EFFECT_OPTION_UNKNOWN","category":"host_effect","description":"A host effect is given an option outside the set of options it accepts"}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"lintOperatorShapesUnread":{"nullable":false,"name":"lintOperatorShapesUnread","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"}},"hostEffectArity":{"nullable":false,"name":"hostEffectArity","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"}},"randomBytesCount":{"nullable":false,"name":"randomBytesCount","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"}},"credentialRequestInvalid":{"nullable":false,"name":"credentialRequestInvalid","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"}},"hostEffectOptionUnknown":{"nullable":false,"name":"hostEffectOptionUnknown","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":"LintHostEffectsCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_MXN5TNKERYQCF5KC3HFW92S0ED","fingerprint":"ff81883622bb3bfd8b2beb5a8eabb44c0a94e8ca04cbc77d62fb8f4fe0bf0b25"}},{"name":"OrbLintHostEffectsCli","id":"trt_QA1SBPH0JGG983K8RM0RWSM8DK","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintHostEffectsRun","linkedEntityId":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H","entityRefIds":{"OrbLintHostEffectsRun":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_YH27TXMJZJ9FSDKBWCJGHHAZR0","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_NTYZPA1Q56VJKE23MMWWJQ2JWQ","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_174M9P0FKD7SPR74HWYTFXQPZ4","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_QV632V6DVC6XPDKCJG435MM5MQ","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_KSHDW76V9ZDMZW5CG19XPJ6FZX","triggers":"LINT_FOUND","triggersId":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","source":{"kind":"trait","trait":"OrbLintHostEffects","traitId":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_QV632V6DVC6XPDKCJG435MM5MQ","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_QV632V6DVC6XPDKCJG435MM5MQ","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_A2GG7G7BRBNW5MDETJZH2GANA5","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D","name":"Lint Called","description":"Run `orb lint host-effects` with its arguments and working directory.","synonyms":"orb lint host-effects","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-host-effects","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","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_QV632V6DVC6XPDKCJG435MM5MQ","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_YH27TXMJZJ9FSDKBWCJGHHAZR0","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_NTYZPA1Q56VJKE23MMWWJQ2JWQ","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_A2GG7G7BRBNW5MDETJZH2GANA5"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D","guard":["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["or",["=","@a",null],["!=",["array/len",["object/get","@a","argv"]],1]]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint host-effects <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D","guard":["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["and",["!=","@a",null],["=",["array/len",["object/get","@a","argv"]],1]]],"effects":[["let",[["a",["json/parse","@payload.rawBody","OrbCommandArgs"]]],["if",["=","@a",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint host-effects <file>"}],["let",[["f",["array/first",["object/get","@a","argv"]]]],["if",["=","@f",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint host-effects <file>"}],["emit","LINT_REQUEST",{"file":"@f"}]]]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_A2GG7G7BRBNW5MDETJZH2GANA5"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","guard":["and",["=","@payload.rule","host-effects"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint host-effects: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","guard":["and",["=","@payload.rule","host-effects"],[">",["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_QV632V6DVC6XPDKCJG435MM5MQ","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint host-effects: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_QA1SBPH0JGG983K8RM0RWSM8DK","fingerprint":"9c5de4f75a1af26c45f3f7662616cfe54291e8ec23da2c4201dce027d3c19257"}},{"ref":"Input.traits.Versions","id":"trt_8HSRY0PFF47QJ2GXYKW336ZNPS","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_PBPTCCHA3WN1YAHJMBN879T602","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintHostEffectsCli"}},{"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"}}]},{"ref":"Calls.traits.HostCalls","id":"trt_6CJS24AYAXF5EXBC7N0CW1N7P7","name":"HostCalls","listens":[{"event":"HOST_CALLS_COLLECT","triggers":"HOST_CALLS_COLLECT","source":{"kind":"trait","trait":"OrbLintHostEffects"}},{"event":"LINT_OPERATOR_SHAPES","triggers":"LINT_OPERATOR_SHAPES_HEARD","source":{"kind":"trait","trait":"OrbLintInput"}},{"event":"LINT_OPERATOR_SHAPES_UNREAD","triggers":"LINT_OPERATOR_SHAPES_UNREAD_HEARD","source":{"kind":"trait","trait":"OrbLintInput"}},{"event":"LINT_HOST_FACTS","triggers":"LINT_HOST_FACTS_HEARD","source":{"kind":"trait","trait":"OrbLintInput"}},{"event":"LINT_HOST_FACTS_UNREAD","triggers":"LINT_HOST_FACTS_UNREAD_HEARD","source":{"kind":"trait","trait":"OrbLintInput"}}]},{"ref":"EmitConfigUse.traits.OrbEmitConfig","id":"trt_ZRX01DR8FS47WJW0EXS5T3YJHK","name":"OrbEmitConfig","listens":[{"event":"EMIT_CONFIG_CHECK","triggers":"EMIT_CONFIG_CHECK","source":{"kind":"trait","trait":"OrbLintHostEffects"}}]}],"pages":[{"name":"OrbLintHostEffectsOrbitalStart","id":"pag_DDFD631Y2NZ1AXF3SB02VJ9RES","path":"","protocol":"boot","traits":[{"ref":"OrbLintHostEffects","refId":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},{"ref":"OrbLintHostEffectsCli","refId":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},{"ref":"OrbLintInput","refId":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z"},{"ref":"Packs","refId":"trt_PBPTCCHA3WN1YAHJMBN879T602"},{"ref":"Versions","refId":"trt_8HSRY0PFF47QJ2GXYKW336ZNPS"},{"ref":"HostCalls","refId":"trt_6CJS24AYAXF5EXBC7N0CW1N7P7"},{"ref":"OrbEmitConfig","refId":"trt_ZRX01DR8FS47WJW0EXS5T3YJHK"}]}],"types":{"EmitItem":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"EmitObj":[{"nullable":false,"name":"","type":"Map<string,EmitVal>","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}}],"EmitResult":[{"nullable":false,"name":"id","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"}}}],"EmitVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[EmitVal]","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"object","type":"Map<string,EmitVal>","items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}}]}],"HcByLiteral":[{"nullable":false,"name":"key","type":"string","required":true},{"nullable":false,"name":"required","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}}],"HcCall":[{"nullable":false,"name":"head","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"call","type":"[HcVal]","required":true,"items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"tname","type":"string","required":true},{"nullable":false,"name":"tick","type":"string","required":true},{"nullable":false,"name":"bg","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"config","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":true,"name":"inGuard","type":"boolean"}],"HcClosed":[{"nullable":true,"name":"request","type":"boolean"},{"nullable":true,"name":"intRange","type":"HcIntRange","projectedFrom":{"type":"HcIntRange"}},{"nullable":true,"name":"requestKeysByLiteral","type":"HcByLiteral","projectedFrom":{"type":"HcByLiteral"}}],"HcExtras":[{"nullable":true,"name":"closedCall","type":"HcClosed","projectedFrom":{"type":"HcClosed"}},{"nullable":true,"name":"grant","type":"[HcGrantNeed]","items":{"nullable":false,"name":"","type":"HcGrantNeed","projectedFrom":{"type":"HcGrantNeed"}}},{"nullable":false,"name":"defaultPorts","type":"Map<string,number>","items":{"nullable":true,"name":"","type":"number"}},{"nullable":true,"name":"family","type":"string"},{"nullable":true,"name":"emitKeys","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"HcFact":[{"nullable":false,"name":"minArity","type":"number","required":true},{"nullable":true,"name":"maxArity","type":"number"},{"nullable":true,"name":"runsOn","type":"string"},{"nullable":true,"name":"host","type":"string"},{"nullable":false,"name":"params","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"items":{"nullable":false,"name":"","type":"HcParam","projectedFrom":{"type":"HcParam"}}},{"nullable":true,"name":"closedCall","type":"HcClosed","projectedFrom":{"type":"HcClosed"}},{"nullable":true,"name":"grant","type":"[HcGrantNeed]","items":{"nullable":false,"name":"","type":"HcGrantNeed","projectedFrom":{"type":"HcGrantNeed"}}},{"nullable":false,"name":"defaultPorts","type":"Map<string,number>","items":{"nullable":true,"name":"","type":"number"}},{"nullable":true,"name":"family","type":"string"},{"nullable":true,"name":"emitOrder","type":"[string]","items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"hasOptions","type":"boolean","required":true},{"nullable":false,"name":"optionKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"emitKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"hasRequest","type":"boolean","required":true},{"nullable":false,"name":"requestFields","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"requestRequired","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"words","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}},{"nullable":false,"name":"keys","type":"Map<string,[string]>","required":true,"items":{"nullable":false,"name":"","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}}],"HcGrantNeed":[{"nullable":false,"name":"","type":"Map<string,HcVal>","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"HcIntRange":[{"nullable":false,"name":"arg","type":"number","required":true},{"nullable":false,"name":"min","type":"number","required":true},{"nullable":false,"name":"max","type":"number","required":true}],"HcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"HcParam":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"HcShape":[{"nullable":true,"name":"category","type":"string"},{"nullable":true,"name":"minArity","type":"number"},{"nullable":true,"name":"maxArity","type":"number"},{"nullable":true,"name":"runsOn","type":"string"},{"nullable":true,"name":"host","type":"string"},{"nullable":false,"name":"hasSideEffects","type":"boolean","required":true},{"nullable":false,"name":"params","type":"[object]","required":true,"properties":[{"nullable":false,"name":"name","type":"string","required":true},{"nullable":true,"name":"optional","type":"boolean"},{"nullable":false,"name":"type","type":"HcType","properties":[],"projectedFrom":{"type":"HcType"}}],"items":{"nullable":false,"name":"","type":"HcParam","projectedFrom":{"type":"HcParam"}}}],"HcType":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"HcTypeNode","type":"object","properties":[{"nullable":false,"name":"kind","type":"string","required":true},{"nullable":false,"name":"fields","type":"Map<string,HcType>","items":{"nullable":true,"name":"","type":"HcType","projectedFrom":{"type":"HcType"}}},{"nullable":true,"name":"optional","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"projectedFrom":{"type":"HcTypeNode"}}]}],"HcTypeNode":[{"nullable":false,"name":"kind","type":"string","required":true},{"nullable":false,"name":"fields","type":"Map<string,HcType>","items":{"nullable":true,"name":"","type":"HcType","projectedFrom":{"type":"HcType"}}},{"nullable":true,"name":"optional","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"HcVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[HcVal]","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}},{"nullable":false,"name":"object","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}]}],"HcValMap":[{"nullable":false,"name":"","type":"Map<string,HcVal>","items":{"nullable":true,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"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}],"LintHostEffectsCodes":[{"nullable":false,"name":"lintOperatorShapesUnread","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":"hostEffectArity","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":"randomBytesCount","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":"credentialRequestInvalid","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":"hostEffectOptionUnknown","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"}}],"LnProgramHE":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[HcVal]","items":{"nullable":false,"name":"","type":"HcVal","projectedFrom":{"type":"HcVal"}}}],"items":{"nullable":false,"name":"","type":"HcOrbital","projectedFrom":{"type":"HcOrbital"}}}],"LnVal":[{"nullable":false,"name":"","type":"union","properties":[{"nullable":false,"name":"string","type":"string"},{"nullable":false,"name":"number","type":"number"},{"nullable":false,"name":"boolean","type":"boolean"},{"nullable":false,"name":"array","type":"[LnVal]","items":{"nullable":true,"name":"","type":"LnVal","projectedFrom":{"type":"LnVal"}}},{"nullable":false,"name":"object","type":"Map<string,LnVal>","items":{"nullable":true,"name":"","type":"LnVal","projectedFrom":{"type":"LnVal"}}}]}],"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"]}],"Seg":[{"nullable":false,"name":"items","type":"[object]","required":true,"properties":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"emit","type":"EmitObj","required":true,"projectedFrom":{"type":"EmitObj"},"items":{"nullable":true,"name":"","type":"EmitVal","projectedFrom":{"type":"EmitVal"}}},{"nullable":false,"name":"allowedKeys","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"checkDeclared","type":"boolean","required":true},{"nullable":false,"name":"declared","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"EmitItem","projectedFrom":{"type":"EmitItem"}}},{"nullable":false,"name":"pre","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"}}},{"nullable":false,"name":"post","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"}}}]}}],"inbound":["cli-lint-host-effects"],"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_WQ2Q9TDMD8T6M9VWJEPFBV3F1H":{"id":"ent_WQ2Q9TDMD8T6M9VWJEPFBV3F1H","kind":"entity","bakedName":"OrbLintHostEffectsRun","curName":"OrbLintHostEffectsRun","renames":[],"owner":"workspace"},"evt_0JCT1Q219M0MT7SSFGY1V4XGTV":{"id":"evt_0JCT1Q219M0MT7SSFGY1V4XGTV","kind":"event","bakedName":"EMIT_HEARD","curName":"EMIT_HEARD","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_174M9P0FKD7SPR74HWYTFXQPZ4":{"id":"evt_174M9P0FKD7SPR74HWYTFXQPZ4","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_4T4MQKPFQ57VJPYC8NXXNT885J":{"id":"evt_4T4MQKPFQ57VJPYC8NXXNT885J","kind":"event","bakedName":"LINT_ASSEMBLE","curName":"LINT_ASSEMBLE","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_587R90CAG1580KMNKC76PWBTNS":{"id":"evt_587R90CAG1580KMNKC76PWBTNS","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_5K1C4D4HJ08S0888JBETDJA7HK":{"id":"evt_5K1C4D4HJ08S0888JBETDJA7HK","kind":"event","bakedName":"EMIT_CONFIG_CHECK","curName":"EMIT_CONFIG_CHECK","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D":{"id":"evt_9C38ZSVYS3ZCHXKR9Z7DC1J79D","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_A2GG7G7BRBNW5MDETJZH2GANA5":{"id":"evt_A2GG7G7BRBNW5MDETJZH2GANA5","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_CWJH1AFG2FR17H5CCDDDXRFP2V":{"id":"evt_CWJH1AFG2FR17H5CCDDDXRFP2V","kind":"event","bakedName":"HOST_CALLS_COLLECT","curName":"HOST_CALLS_COLLECT","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_GKW8DQY88Z44FKVK2E8Q36NWNR":{"id":"evt_GKW8DQY88Z44FKVK2E8Q36NWNR","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_KSHDW76V9ZDMZW5CG19XPJ6FZX":{"id":"evt_KSHDW76V9ZDMZW5CG19XPJ6FZX","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_MWDRSMG7DR3PW54YZK5CXYDQWE":{"id":"evt_MWDRSMG7DR3PW54YZK5CXYDQWE","kind":"event","bakedName":"LINT_PLANNED","curName":"LINT_PLANNED","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y":{"id":"evt_NGNRMFDZ51ZJGVRXQXNNXQ8Q3Y","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_NTYZPA1Q56VJKE23MMWWJQ2JWQ":{"id":"evt_NTYZPA1Q56VJKE23MMWWJQ2JWQ","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_QV632V6DVC6XPDKCJG435MM5MQ":{"id":"evt_QV632V6DVC6XPDKCJG435MM5MQ","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1":{"id":"evt_WCV2B85VWJXY98B5SA6ZNVA4Q1","kind":"event","bakedName":"HOST_CALLS_HEARD","curName":"HOST_CALLS_HEARD","renames":[],"owner":"workspace","parent":"trt_MXN5TNKERYQCF5KC3HFW92S0ED"},"evt_YH27TXMJZJ9FSDKBWCJGHHAZR0":{"id":"evt_YH27TXMJZJ9FSDKBWCJGHHAZR0","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_QA1SBPH0JGG983K8RM0RWSM8DK"},"orb_DHPPTF7Y4GZ285QQH0AYBBDX73":{"id":"orb_DHPPTF7Y4GZ285QQH0AYBBDX73","kind":"orbital","bakedName":"OrbLintHostEffectsOrbital","curName":"OrbLintHostEffectsOrbital","renames":[],"owner":"workspace"},"pag_DDFD631Y2NZ1AXF3SB02VJ9RES":{"id":"pag_DDFD631Y2NZ1AXF3SB02VJ9RES","kind":"page","bakedName":"OrbLintHostEffectsOrbitalStart","curName":"OrbLintHostEffectsOrbitalStart","renames":[],"owner":"workspace"},"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z":{"id":"trt_3TDMSQ8F4N7JAJDEF9E211VD3Z","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_6CJS24AYAXF5EXBC7N0CW1N7P7":{"id":"trt_6CJS24AYAXF5EXBC7N0CW1N7P7","kind":"trait","bakedName":"HostCalls","curName":"HostCalls","renames":[],"owner":"workspace"},"trt_8HSRY0PFF47QJ2GXYKW336ZNPS":{"id":"trt_8HSRY0PFF47QJ2GXYKW336ZNPS","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_MXN5TNKERYQCF5KC3HFW92S0ED":{"id":"trt_MXN5TNKERYQCF5KC3HFW92S0ED","kind":"trait","bakedName":"OrbLintHostEffects","curName":"OrbLintHostEffects","renames":[],"owner":"workspace"},"trt_PBPTCCHA3WN1YAHJMBN879T602":{"id":"trt_PBPTCCHA3WN1YAHJMBN879T602","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"},"trt_QA1SBPH0JGG983K8RM0RWSM8DK":{"id":"trt_QA1SBPH0JGG983K8RM0RWSM8DK","kind":"trait","bakedName":"OrbLintHostEffectsCli","curName":"OrbLintHostEffectsCli","renames":[],"owner":"workspace"},"trt_ZRX01DR8FS47WJW0EXS5T3YJHK":{"id":"trt_ZRX01DR8FS47WJW0EXS5T3YJHK","kind":"trait","bakedName":"OrbEmitConfig","curName":"OrbEmitConfig","renames":[],"owner":"workspace"}}}}
|