@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":{"FcCodeEntry":[{"nullable":false,"name":"code","type":"string","required":true}],"FcCoded":[{"nullable":false,"name":"code","type":"string","required":true}],"FcCodesKnob":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"FcConfig":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"FcDocValue":[{"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":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}},{"nullable":false,"name":"object","type":"Map<string,FcDocValue>","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}]}],"FcMachine":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"FcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"FcProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"items":{"nullable":false,"name":"","type":"FcOrbital","projectedFrom":{"type":"FcOrbital"}}}],"FcTick":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"FcTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"FcTransition":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"FindingCodesCodes":[{"nullable":false,"name":"findingCodeUndeclared","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"}}],"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}],"OrbCommandArgs":[{"nullable":false,"name":"argv","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"cwd","type":"string","required":true}],"OrbFinding":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}]},"name":"std-orb-lint-finding-codes","version":"1.0.0","description":"std-orb-lint-finding-codes - the `orb lint finding-codes <file>` command, the prevention rung of the lint code registry: a trait that declares a `codes` knob (a lint rule) may name a finding code only from that knob's declared record, which the generated registry reads. Every object under a transition or tick of such a trait whose `code` is a string the record does not declare is an error at the trait, one per occurrence. The program is the resolved one, so a `@config.codes.<name>.code` read is already its declared value: a literal that spells a declared code cannot be told from the read, and the type checker owns an undeclared name. Each finding reads its code from the rule's `codes` record (findingCodeUndeclared). Clean answers `lint finding-codes: 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":"OrbLintFindingCodesOrbital","id":"orb_YDS7H5RQYVBZDTNZP3J0MYPRS0","uses":[{"from":"almadar-std/lint-finding-codes","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintFindingCodesRun","id":"ent_XK15V4WMEDA76PV3XVTY1BQFKW","persistence":"runtime","fields":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","default":""},{"nullable":false,"name":"findings","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"code":{"nullable":false,"name":"code","type":"string","required":true},"path":{"nullable":false,"name":"path","type":"string","required":true},"message":{"nullable":false,"name":"message","type":"string","required":true},"suggestion":{"nullable":false,"name":"suggestion","type":"string","required":true},"severity":{"nullable":false,"name":"severity","type":"string","required":false,"values":["warning","error"]},"validValues":{"nullable":false,"name":"validValues","type":"array","required":false,"items":{"nullable":false,"type":"string"}}},"projectedFrom":{"type":"OrbFinding"}}}]},"traits":[{"name":"OrbLintFindingCodes","id":"trt_7FNC9C9WWTYED1T2CAH04E75FQ","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintFindingCodesRun","linkedEntityId":"ent_XK15V4WMEDA76PV3XVTY1BQFKW","entityRefIds":{"OrbLintFindingCodesRun":"ent_XK15V4WMEDA76PV3XVTY1BQFKW"},"emits":[{"event":"LINT_FOUND","eventId":"evt_PBAE3V10WRGEC2QVCD6PKWQA77","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_FINISH","eventId":"evt_X23BMCBFD8QPM1ARBA5F7VKVE2","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","triggers":"LINT_INPUT","triggersId":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_T234GB4B9J5MS8F9VY665NMMF7"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_4QKEWZYD6E6K77RE1BC8DDKZ0R","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","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":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"items":{"nullable":false,"name":"","type":"FcOrbital","projectedFrom":{"type":"FcOrbital"}}}],"projectedFrom":{"type":"FcProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_X23BMCBFD8QPM1ARBA5F7VKVE2","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_PBAE3V10WRGEC2QVCD6PKWQA77","name":"Lint Found","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_4QKEWZYD6E6K77RE1BC8DDKZ0R"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["orbitals",["object/get","@payload.program","orbitals",[]]]],["array/flatten",["array/map",["array/range",0,["array/len","@orbitals"]],["fn","oi",["let",[["orb",["array/nth","@orbitals","@oi"]]],["let",[["trs",["object/get","@orb","traits",[]]]],["array/flatten",["array/map",["array/range",0,["array/len","@trs"]],["fn","ti",["let",[["td",["array/nth","@trs","@ti"]]],["let",[["codes",["object/get",["object/get","@td","config",{}],"codes"]]],["if",["=","@codes",null],[],["let",[["dflt",["object/get","@codes","default",{}]],["where",["str/concat","orbitals[","@oi"," (",["object/get","@orb","name",""],")].traits[","@ti"," (",["object/get","@td","name",""],")]"]]],["let",[["declared",["array/map",["object/values","@dflt"],["fn","d",["object/get","@d","code"]]]],["effects",["array/concat",["array/flatten",["array/map",["object/get",["object/get","@td","stateMachine",{}],"transitions",[]],["fn","tr",["object/get","@tr","effects",[]]]]],["array/flatten",["array/map",["object/get","@td","ticks",[]],["fn","tk",["object/get","@tk","effects",[]]]]]]]],["array/flatten",["array/map",["json/nodes",["@effects"]],["fn","n",["let",[["f",["as","@n","FcCoded"]]],["if",["=","@f",null],[],["if",["array/includes","@declared",["object/get","@f","code"]],[],[{"code":"@config.codes.findingCodeUndeclared.code","path":"@where","message":["str/concat","A finding names the code '",["object/get","@f","code"],"', which the rule's `codes` record does not declare"],"suggestion":"Declare the code in the rule's `codes` record and read it as `@config.codes.<name>.code`","severity":"error"}]]]]]]]]]]]]]]]]]]]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_X23BMCBFD8QPM1ARBA5F7VKVE2","effects":[["emit","LINT_FOUND",{"rule":"finding-codes","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"FindingCodesCodes","default":{"findingCodeUndeclared":{"code":"ORB_LINT_FINDING_CODE_UNDECLARED","category":"lint","description":"A lint rule names a finding code that its declared codes record does not carry."}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"findingCodeUndeclared":{"nullable":false,"name":"findingCodeUndeclared","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":"FindingCodesCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_7FNC9C9WWTYED1T2CAH04E75FQ","fingerprint":"09613edd74e7d028039acaa5b74fab4a151b2e7bdb5bf55d98d1e6b0fc1cd649"}},{"name":"OrbLintFindingCodesCli","id":"trt_YFW4VD60BA05N6TF0VJZT22SPH","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintFindingCodesRun","linkedEntityId":"ent_XK15V4WMEDA76PV3XVTY1BQFKW","entityRefIds":{"OrbLintFindingCodesRun":"ent_XK15V4WMEDA76PV3XVTY1BQFKW"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_QK6RKS9P8NV4AW6216ZC022TJW","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_5F6QYK7ZENZQAN8TETKY20X1AM","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_GHP4ZGZKNQSTVKJVRJWT5H41ZS","description":"The rule trait's findings for the file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_INPUT_UNREAD","eventId":"evt_PKHS4NSGF2R7H76308RKP3GR22","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_PBAE3V10WRGEC2QVCD6PKWQA77","triggers":"LINT_FOUND","triggersId":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","source":{"kind":"trait","trait":"OrbLintFindingCodes","traitId":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_PKHS4NSGF2R7H76308RKP3GR22","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_PKHS4NSGF2R7H76308RKP3GR22","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_T234GB4B9J5MS8F9VY665NMMF7"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_N4ACGEGAWN5EANHGYVV9BPDJJM","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_42EB90RAJJ5997HTMYE1XX53BK","name":"Lint Called","description":"Run `orb lint finding-codes` with its arguments and working directory.","synonyms":"orb lint finding-codes","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-finding-codes","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","name":"Lint Found","description":"The rule trait's findings for the file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"key":"LINT_INPUT_UNREAD","id":"evt_PKHS4NSGF2R7H76308RKP3GR22","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_QK6RKS9P8NV4AW6216ZC022TJW","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_5F6QYK7ZENZQAN8TETKY20X1AM","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_N4ACGEGAWN5EANHGYVV9BPDJJM"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_42EB90RAJJ5997HTMYE1XX53BK","guard":["or",["=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["!=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint finding-codes <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_42EB90RAJJ5997HTMYE1XX53BK","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["let",[["argFile",["array/first",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]]]],["if",["=","@argFile",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint finding-codes <file>"}],["emit","LINT_REQUEST",{"file":"@argFile"}]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_N4ACGEGAWN5EANHGYVV9BPDJJM"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","guard":["and",["=","@payload.rule","finding-codes"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint finding-codes: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","guard":["and",["=","@payload.rule","finding-codes"],[">",["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_PKHS4NSGF2R7H76308RKP3GR22","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint finding-codes: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_YFW4VD60BA05N6TF0VJZT22SPH","fingerprint":"fc61f0dd504272de88657a6ea49c39848cbd4678779049c03ecbdcaf8f1409e8"}},{"ref":"Input.traits.Versions","id":"trt_SVSF79J2YW1FE9TYGMWQ3RFXRR","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_KSDKP5G8F347HXAM9R9SRKJQP6","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_T234GB4B9J5MS8F9VY665NMMF7","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintFindingCodesCli"}},{"event":"SCAN_ANSWERED","triggers":"LANG_SCAN_ANSWERED","source":{"kind":"trait","trait":"Packs"}},{"event":"LANGUAGE_PACK_VOCAB","triggers":"LANGUAGE_PACK_VOCAB_HEARD","source":{"kind":"trait","trait":"Packs"}},{"event":"LANGUAGE_PACKS_DONE","triggers":"LANGUAGE_PACKS_DONE_HEARD","source":{"kind":"trait","trait":"Packs"}}]}],"pages":[{"name":"OrbLintFindingCodesOrbitalStart","id":"pag_3DJZF58865432RX4RJD997YTTV","path":"","protocol":"boot","traits":[{"ref":"OrbLintFindingCodes","refId":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},{"ref":"OrbLintFindingCodesCli","refId":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},{"ref":"OrbLintInput","refId":"trt_T234GB4B9J5MS8F9VY665NMMF7"},{"ref":"Packs","refId":"trt_KSDKP5G8F347HXAM9R9SRKJQP6"},{"ref":"Versions","refId":"trt_SVSF79J2YW1FE9TYGMWQ3RFXRR"}]}],"types":{"FcCodeEntry":[{"nullable":false,"name":"code","type":"string","required":true}],"FcCoded":[{"nullable":false,"name":"code","type":"string","required":true}],"FcCodesKnob":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"FcConfig":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"FcDocValue":[{"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":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}},{"nullable":false,"name":"object","type":"Map<string,FcDocValue>","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}]}],"FcMachine":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"FcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"FcProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"items":{"nullable":false,"name":"","type":"FcOrbital","projectedFrom":{"type":"FcOrbital"}}}],"FcTick":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"FcTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"FcTransition":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"FindingCodesCodes":[{"nullable":false,"name":"findingCodeUndeclared","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"}}],"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}],"OrbCommandArgs":[{"nullable":false,"name":"argv","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"cwd","type":"string","required":true}],"OrbFinding":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}]}}],"inbound":["cli-lint-finding-codes"],"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_XK15V4WMEDA76PV3XVTY1BQFKW":{"id":"ent_XK15V4WMEDA76PV3XVTY1BQFKW","kind":"entity","bakedName":"OrbLintFindingCodesRun","curName":"OrbLintFindingCodesRun","renames":[],"owner":"workspace"},"evt_42EB90RAJJ5997HTMYE1XX53BK":{"id":"evt_42EB90RAJJ5997HTMYE1XX53BK","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_4QKEWZYD6E6K77RE1BC8DDKZ0R":{"id":"evt_4QKEWZYD6E6K77RE1BC8DDKZ0R","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},"evt_5F6QYK7ZENZQAN8TETKY20X1AM":{"id":"evt_5F6QYK7ZENZQAN8TETKY20X1AM","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS":{"id":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK":{"id":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},"evt_N4ACGEGAWN5EANHGYVV9BPDJJM":{"id":"evt_N4ACGEGAWN5EANHGYVV9BPDJJM","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_PBAE3V10WRGEC2QVCD6PKWQA77":{"id":"evt_PBAE3V10WRGEC2QVCD6PKWQA77","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},"evt_PKHS4NSGF2R7H76308RKP3GR22":{"id":"evt_PKHS4NSGF2R7H76308RKP3GR22","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_QK6RKS9P8NV4AW6216ZC022TJW":{"id":"evt_QK6RKS9P8NV4AW6216ZC022TJW","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_X23BMCBFD8QPM1ARBA5F7VKVE2":{"id":"evt_X23BMCBFD8QPM1ARBA5F7VKVE2","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},"orb_YDS7H5RQYVBZDTNZP3J0MYPRS0":{"id":"orb_YDS7H5RQYVBZDTNZP3J0MYPRS0","kind":"orbital","bakedName":"OrbLintFindingCodesOrbital","curName":"OrbLintFindingCodesOrbital","renames":[],"owner":"workspace"},"pag_3DJZF58865432RX4RJD997YTTV":{"id":"pag_3DJZF58865432RX4RJD997YTTV","kind":"page","bakedName":"OrbLintFindingCodesOrbitalStart","curName":"OrbLintFindingCodesOrbitalStart","renames":[],"owner":"workspace"},"trt_7FNC9C9WWTYED1T2CAH04E75FQ":{"id":"trt_7FNC9C9WWTYED1T2CAH04E75FQ","kind":"trait","bakedName":"OrbLintFindingCodes","curName":"OrbLintFindingCodes","renames":[],"owner":"workspace"},"trt_KSDKP5G8F347HXAM9R9SRKJQP6":{"id":"trt_KSDKP5G8F347HXAM9R9SRKJQP6","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"},"trt_SVSF79J2YW1FE9TYGMWQ3RFXRR":{"id":"trt_SVSF79J2YW1FE9TYGMWQ3RFXRR","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_T234GB4B9J5MS8F9VY665NMMF7":{"id":"trt_T234GB4B9J5MS8F9VY665NMMF7","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_YFW4VD60BA05N6TF0VJZT22SPH":{"id":"trt_YFW4VD60BA05N6TF0VJZT22SPH","kind":"trait","bakedName":"OrbLintFindingCodesCli","curName":"OrbLintFindingCodesCli","renames":[],"owner":"workspace"}}}}
|
|
1
|
+
{"typeContractVersion":1,"types":{"FcCodeEntry":[{"nullable":false,"name":"code","type":"string","required":true}],"FcCoded":[{"nullable":false,"name":"code","type":"string","required":true}],"FcCodesKnob":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"FcConfig":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"FcDocValue":[{"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":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}},{"nullable":false,"name":"object","type":"Map<string,FcDocValue>","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}]}],"FcMachine":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"FcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"FcProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"items":{"nullable":false,"name":"","type":"FcOrbital","projectedFrom":{"type":"FcOrbital"}}}],"FcTick":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"FcTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"FcTransition":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"FindingCodesCodes":[{"nullable":false,"name":"findingCodeUndeclared","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"}}],"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}],"OrbCommandArgs":[{"nullable":false,"name":"argv","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"cwd","type":"string","required":true}],"OrbFinding":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}]},"name":"std-orb-lint-finding-codes","version":"1.0.0","description":"std-orb-lint-finding-codes - the `orb lint finding-codes <file>` command, the prevention rung of the lint code registry: a trait that declares a `codes` knob (a lint rule) may name a finding code only from that knob's declared record, which the generated registry reads. Every object under a transition or tick of such a trait whose `code` is a string the record does not declare is an error at the trait, one per occurrence. The program is the resolved one, so a `@config.codes.<name>.code` read is already its declared value: a literal that spells a declared code cannot be told from the read, and the type checker owns an undeclared name. Each finding reads its code from the rule's `codes` record (findingCodeUndeclared). Clean answers `lint finding-codes: 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":"OrbLintFindingCodesOrbital","id":"orb_YDS7H5RQYVBZDTNZP3J0MYPRS0","uses":[{"from":"almadar-std/lint-finding-codes","as":"Spec"},{"from":"std/behaviors/std-orb-lint-input","as":"Input"}],"entity":{"name":"OrbLintFindingCodesRun","id":"ent_XK15V4WMEDA76PV3XVTY1BQFKW","persistence":"runtime","fields":[{"nullable":false,"name":"id","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","default":""},{"nullable":false,"name":"findings","type":"array","default":[],"items":{"nullable":false,"type":"object","properties":{"code":{"nullable":false,"name":"code","type":"string","required":true},"path":{"nullable":false,"name":"path","type":"string","required":true},"message":{"nullable":false,"name":"message","type":"string","required":true},"suggestion":{"nullable":false,"name":"suggestion","type":"string","required":true},"severity":{"nullable":false,"name":"severity","type":"string","required":false,"values":["warning","error"]},"validValues":{"nullable":false,"name":"validValues","type":"array","required":false,"items":{"nullable":false,"type":"string"}}},"projectedFrom":{"type":"OrbFinding"}}}]},"traits":[{"name":"OrbLintFindingCodes","id":"trt_7FNC9C9WWTYED1T2CAH04E75FQ","effectRow":[{"kind":"emit","resource":"LINT_FINISH"},{"kind":"emit","resource":"LINT_FOUND"},{"kind":"set","resource":"@entity.findings"},{"kind":"set","resource":"@entity.scope"}],"linkedEntity":"OrbLintFindingCodesRun","linkedEntityId":"ent_XK15V4WMEDA76PV3XVTY1BQFKW","entityRefIds":{"OrbLintFindingCodesRun":"ent_XK15V4WMEDA76PV3XVTY1BQFKW"},"emits":[{"event":"LINT_FOUND","eventId":"evt_PBAE3V10WRGEC2QVCD6PKWQA77","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_FINISH","eventId":"evt_X23BMCBFD8QPM1ARBA5F7VKVE2","description":"Internal: answer with the verdict.","tier":"internal"}],"listens":[{"event":"LINT_INPUT","eventId":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","triggers":"LINT_INPUT","triggersId":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_T234GB4B9J5MS8F9VY665NMMF7"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true}],"events":[{"key":"INIT","id":"evt_4QKEWZYD6E6K77RE1BC8DDKZ0R","name":"Initialize"},{"key":"LINT_INPUT","id":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","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":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"items":{"nullable":false,"name":"","type":"FcOrbital","projectedFrom":{"type":"FcOrbital"}}}],"projectedFrom":{"type":"FcProgram"}},{"nullable":false,"name":"scope","type":"string","required":true}],"listened":true},{"key":"LINT_FINISH","id":"evt_X23BMCBFD8QPM1ARBA5F7VKVE2","name":"Lint Finish","description":"Internal: answer with the verdict.","tier":"internal"},{"key":"LINT_FOUND","id":"evt_PBAE3V10WRGEC2QVCD6PKWQA77","name":"Lint Found","description":"This rule's findings for the file, offered to the lint-all umbrella.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]}],"transitions":[{"from":"ready","to":"ready","event":"INIT","eventId":"evt_4QKEWZYD6E6K77RE1BC8DDKZ0R"},{"from":"ready","to":"ready","event":"LINT_INPUT","eventId":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","effects":[["set","@entity.scope","@payload.scope"],["set","@entity.findings",["let",[["orbitals",["object/get","@payload.program","orbitals",[]]]],["array/flatten",["array/map",["array/range",0,["array/len","@orbitals"]],["fn","oi",["let",[["orb",["array/nth","@orbitals","@oi"]]],["let",[["trs",["object/get","@orb","traits",[]]]],["array/flatten",["array/map",["array/range",0,["array/len","@trs"]],["fn","ti",["let",[["td",["array/nth","@trs","@ti"]]],["let",[["codes",["object/get",["object/get","@td","config",{}],"codes"]]],["if",["=","@codes",null],[],["let",[["dflt",["object/get","@codes","default",{}]],["where",["str/concat","orbitals[","@oi"," (",["object/get","@orb","name",""],")].traits[","@ti"," (",["object/get","@td","name",""],")]"]]],["let",[["declared",["array/map",["object/values","@dflt"],["fn","d",["object/get","@d","code"]]]],["effects",["array/concat",["array/flatten",["array/map",["object/get",["object/get","@td","stateMachine",{}],"transitions",[]],["fn","tr",["object/get","@tr","effects",[]]]]],["array/flatten",["array/map",["object/get","@td","ticks",[]],["fn","tk",["object/get","@tk","effects",[]]]]]]]],["array/flatten",["array/map",["json/nodes",["@effects"]],["fn","n",["let",[["f",["as","@n","FcCoded"]]],["if",["=","@f",null],[],["if",["array/includes","@declared",["object/get","@f","code"]],[],[{"code":"@config.codes.findingCodeUndeclared.code","path":"@where","message":["str/concat","A finding names the code '",["object/get","@f","code"],"', which the rule's `codes` record does not declare"],"suggestion":"Declare the code in the rule's `codes` record and read it as `@config.codes.<name>.code`","severity":"error"}]]]]]]]]]]]]]]]]]]]]]],["emit","LINT_FINISH",{}]]},{"from":"ready","to":"ready","event":"LINT_FINISH","eventId":"evt_X23BMCBFD8QPM1ARBA5F7VKVE2","effects":[["emit","LINT_FOUND",{"rule":"finding-codes","scope":"@entity.scope","findings":"@entity.findings"}]]}]},"config":{"codes":{"nullable":false,"type":"FindingCodesCodes","default":{"findingCodeUndeclared":{"code":"ORB_LINT_FINDING_CODE_UNDECLARED","category":"lint","description":"A lint rule names a finding code that its declared codes record does not carry."}},"label":"Emitted codes","description":"The finding codes this rule emits, with their category and meaning; the registry is generated from this declaration.","properties":{"findingCodeUndeclared":{"nullable":false,"name":"findingCodeUndeclared","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":"FindingCodesCodes"}}},"dispatch":"optimistic","sourceDeclaration":{"traitId":"trt_7FNC9C9WWTYED1T2CAH04E75FQ","fingerprint":"09613edd74e7d028039acaa5b74fab4a151b2e7bdb5bf55d98d1e6b0fc1cd649"}},{"name":"OrbLintFindingCodesCli","id":"trt_YFW4VD60BA05N6TF0VJZT22SPH","effectRow":[{"kind":"emit","resource":"LINT_ANSWERED"},{"kind":"emit","resource":"LINT_REQUEST"}],"linkedEntity":"OrbLintFindingCodesRun","linkedEntityId":"ent_XK15V4WMEDA76PV3XVTY1BQFKW","entityRefIds":{"OrbLintFindingCodesRun":"ent_XK15V4WMEDA76PV3XVTY1BQFKW"},"emits":[{"event":"LINT_ANSWERED","eventId":"evt_QK6RKS9P8NV4AW6216ZC022TJW","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_5F6QYK7ZENZQAN8TETKY20X1AM","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_GHP4ZGZKNQSTVKJVRJWT5H41ZS","description":"The rule trait's findings for the file.","tier":"internal","scope":"external","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"event":"LINT_INPUT_UNREAD","eventId":"evt_PKHS4NSGF2R7H76308RKP3GR22","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_PBAE3V10WRGEC2QVCD6PKWQA77","triggers":"LINT_FOUND","triggersId":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","source":{"kind":"trait","trait":"OrbLintFindingCodes","traitId":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"}},{"event":"LINT_INPUT_UNREAD","eventId":"evt_PKHS4NSGF2R7H76308RKP3GR22","triggers":"LINT_INPUT_UNREAD","triggersId":"evt_PKHS4NSGF2R7H76308RKP3GR22","source":{"kind":"trait","trait":"OrbLintInput","traitId":"trt_T234GB4B9J5MS8F9VY665NMMF7"}}],"stateMachine":{"states":[{"name":"ready","isInitial":true},{"name":"waiting"}],"events":[{"key":"INIT","id":"evt_N4ACGEGAWN5EANHGYVV9BPDJJM","name":"Initialize"},{"key":"LINT_CALLED","id":"evt_42EB90RAJJ5997HTMYE1XX53BK","name":"Lint Called","description":"Run `orb lint finding-codes` with its arguments and working directory.","synonyms":"orb lint finding-codes","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-finding-codes","answers":"LINT_ANSWERED"}},{"key":"LINT_FOUND","id":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","name":"Lint Found","description":"The rule trait's findings for the file.","tier":"internal","payloadSchema":[{"nullable":false,"name":"rule","type":"string","required":true},{"nullable":false,"name":"scope","type":"string","required":true},{"nullable":false,"name":"findings","type":"[object]","required":true,"properties":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}],"items":{"nullable":false,"name":"","type":"OrbFinding","projectedFrom":{"type":"OrbFinding"}}}]},{"key":"LINT_INPUT_UNREAD","id":"evt_PKHS4NSGF2R7H76308RKP3GR22","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_QK6RKS9P8NV4AW6216ZC022TJW","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_5F6QYK7ZENZQAN8TETKY20X1AM","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_N4ACGEGAWN5EANHGYVV9BPDJJM"},{"from":"ready","to":"ready","event":"LINT_CALLED","eventId":"evt_42EB90RAJJ5997HTMYE1XX53BK","guard":["or",["=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["!=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint finding-codes <file>"}]]},{"from":"ready","to":"waiting","event":"LINT_CALLED","eventId":"evt_42EB90RAJJ5997HTMYE1XX53BK","guard":["and",["!=",["json/parse","@payload.rawBody","OrbCommandArgs"],null],["=",["array/len",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]],1]],"effects":[["let",[["argFile",["array/first",["object/get",["json/parse","@payload.rawBody","OrbCommandArgs"],"argv"]]]],["if",["=","@argFile",null],["emit","LINT_ANSWERED",{"status":400,"body":"usage: orb lint finding-codes <file>"}],["emit","LINT_REQUEST",{"file":"@argFile"}]]]]},{"from":"waiting","to":"waiting","event":"INIT","eventId":"evt_N4ACGEGAWN5EANHGYVV9BPDJJM"},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","guard":["and",["=","@payload.rule","finding-codes"],["=",["array/len","@payload.findings"],0]],"effects":[["emit","LINT_ANSWERED",{"status":200,"body":"lint finding-codes: clean"}]]},{"from":"waiting","to":"ready","event":"LINT_FOUND","eventId":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","guard":["and",["=","@payload.rule","finding-codes"],[">",["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_PKHS4NSGF2R7H76308RKP3GR22","effects":[["emit","LINT_ANSWERED",{"status":500,"body":"lint finding-codes: the file could not be read or lowered"}]]}]},"dispatch":"client","sourceDeclaration":{"traitId":"trt_YFW4VD60BA05N6TF0VJZT22SPH","fingerprint":"fc61f0dd504272de88657a6ea49c39848cbd4678779049c03ecbdcaf8f1409e8"}},{"ref":"Input.traits.Versions","id":"trt_SVSF79J2YW1FE9TYGMWQ3RFXRR","name":"Versions"},{"ref":"Input.traits.Packs","id":"trt_KSDKP5G8F347HXAM9R9SRKJQP6","name":"Packs"},{"ref":"Input.traits.OrbLintInput","id":"trt_T234GB4B9J5MS8F9VY665NMMF7","name":"OrbLintInput","listens":[{"event":"LINT_REQUEST","triggers":"LINT_REQUEST","source":{"kind":"trait","trait":"OrbLintFindingCodesCli"}},{"event":"SCAN_ANSWERED","triggers":"LANG_SCAN_ANSWERED","source":{"kind":"trait","trait":"Packs"}},{"event":"LANGUAGE_PACK_VOCAB","triggers":"LANGUAGE_PACK_VOCAB_HEARD","source":{"kind":"trait","trait":"Packs"}},{"event":"LANGUAGE_PACKS_DONE","triggers":"LANGUAGE_PACKS_DONE_HEARD","source":{"kind":"trait","trait":"Packs"}}]}],"pages":[{"name":"OrbLintFindingCodesOrbitalStart","id":"pag_3DJZF58865432RX4RJD997YTTV","path":"","protocol":"boot","traits":[{"ref":"OrbLintFindingCodes","refId":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},{"ref":"OrbLintFindingCodesCli","refId":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},{"ref":"OrbLintInput","refId":"trt_T234GB4B9J5MS8F9VY665NMMF7"},{"ref":"Packs","refId":"trt_KSDKP5G8F347HXAM9R9SRKJQP6"},{"ref":"Versions","refId":"trt_SVSF79J2YW1FE9TYGMWQ3RFXRR"}]}],"types":{"FcCodeEntry":[{"nullable":false,"name":"code","type":"string","required":true}],"FcCoded":[{"nullable":false,"name":"code","type":"string","required":true}],"FcCodesKnob":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"FcConfig":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"FcDocValue":[{"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":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}},{"nullable":false,"name":"object","type":"Map<string,FcDocValue>","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}]}],"FcMachine":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"FcOrbital":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"FcProgram":[{"nullable":false,"name":"orbitals","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"traits","type":"[object]","properties":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"items":{"nullable":false,"name":"","type":"FcTrait","projectedFrom":{"type":"FcTrait"}}}],"items":{"nullable":false,"name":"","type":"FcOrbital","projectedFrom":{"type":"FcOrbital"}}}],"FcTick":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"FcTrait":[{"nullable":false,"name":"name","type":"string"},{"nullable":false,"name":"config","type":"object","properties":[{"nullable":false,"name":"codes","type":"object","properties":[{"nullable":false,"name":"default","type":"Map<string,FcCodeEntry>","items":{"nullable":false,"name":"","type":"FcCodeEntry","projectedFrom":{"type":"FcCodeEntry"}}}],"projectedFrom":{"type":"FcCodesKnob"}}],"projectedFrom":{"type":"FcConfig"}},{"nullable":false,"name":"stateMachine","type":"object","properties":[{"nullable":false,"name":"transitions","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTransition","projectedFrom":{"type":"FcTransition"}}}],"projectedFrom":{"type":"FcMachine"}},{"nullable":false,"name":"ticks","type":"[object]","properties":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"items":{"nullable":false,"name":"","type":"FcTick","projectedFrom":{"type":"FcTick"}}}],"FcTransition":[{"nullable":false,"name":"effects","type":"[FcDocValue]","items":{"nullable":false,"name":"","type":"FcDocValue","projectedFrom":{"type":"FcDocValue"}}}],"FindingCodesCodes":[{"nullable":false,"name":"findingCodeUndeclared","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"}}],"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}],"OrbCommandArgs":[{"nullable":false,"name":"argv","type":"[string]","required":true,"items":{"nullable":false,"name":"","type":"string"}},{"nullable":false,"name":"cwd","type":"string","required":true}],"OrbFinding":[{"nullable":false,"name":"code","type":"string","required":true},{"nullable":false,"name":"path","type":"string","required":true},{"nullable":false,"name":"message","type":"string","required":true},{"nullable":false,"name":"suggestion","type":"string","required":true},{"nullable":false,"name":"severity","type":"string","values":["warning","error"]},{"nullable":false,"name":"validValues","type":"[string]","items":{"nullable":false,"name":"","type":"string"}}]}}],"inbound":["cli-lint-finding-codes"],"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_XK15V4WMEDA76PV3XVTY1BQFKW":{"id":"ent_XK15V4WMEDA76PV3XVTY1BQFKW","kind":"entity","bakedName":"OrbLintFindingCodesRun","curName":"OrbLintFindingCodesRun","renames":[],"owner":"workspace"},"evt_42EB90RAJJ5997HTMYE1XX53BK":{"id":"evt_42EB90RAJJ5997HTMYE1XX53BK","kind":"event","bakedName":"LINT_CALLED","curName":"LINT_CALLED","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_4QKEWZYD6E6K77RE1BC8DDKZ0R":{"id":"evt_4QKEWZYD6E6K77RE1BC8DDKZ0R","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},"evt_5F6QYK7ZENZQAN8TETKY20X1AM":{"id":"evt_5F6QYK7ZENZQAN8TETKY20X1AM","kind":"event","bakedName":"LINT_REQUEST","curName":"LINT_REQUEST","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS":{"id":"evt_GHP4ZGZKNQSTVKJVRJWT5H41ZS","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK":{"id":"evt_MK7VSEBWWHYE8XV4VEF4KJB3EK","kind":"event","bakedName":"LINT_INPUT","curName":"LINT_INPUT","renames":[],"owner":"workspace","parent":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},"evt_N4ACGEGAWN5EANHGYVV9BPDJJM":{"id":"evt_N4ACGEGAWN5EANHGYVV9BPDJJM","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_PBAE3V10WRGEC2QVCD6PKWQA77":{"id":"evt_PBAE3V10WRGEC2QVCD6PKWQA77","kind":"event","bakedName":"LINT_FOUND","curName":"LINT_FOUND","renames":[],"owner":"workspace","parent":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},"evt_PKHS4NSGF2R7H76308RKP3GR22":{"id":"evt_PKHS4NSGF2R7H76308RKP3GR22","kind":"event","bakedName":"LINT_INPUT_UNREAD","curName":"LINT_INPUT_UNREAD","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_QK6RKS9P8NV4AW6216ZC022TJW":{"id":"evt_QK6RKS9P8NV4AW6216ZC022TJW","kind":"event","bakedName":"LINT_ANSWERED","curName":"LINT_ANSWERED","renames":[],"owner":"workspace","parent":"trt_YFW4VD60BA05N6TF0VJZT22SPH"},"evt_X23BMCBFD8QPM1ARBA5F7VKVE2":{"id":"evt_X23BMCBFD8QPM1ARBA5F7VKVE2","kind":"event","bakedName":"LINT_FINISH","curName":"LINT_FINISH","renames":[],"owner":"workspace","parent":"trt_7FNC9C9WWTYED1T2CAH04E75FQ"},"orb_YDS7H5RQYVBZDTNZP3J0MYPRS0":{"id":"orb_YDS7H5RQYVBZDTNZP3J0MYPRS0","kind":"orbital","bakedName":"OrbLintFindingCodesOrbital","curName":"OrbLintFindingCodesOrbital","renames":[],"owner":"workspace"},"pag_3DJZF58865432RX4RJD997YTTV":{"id":"pag_3DJZF58865432RX4RJD997YTTV","kind":"page","bakedName":"OrbLintFindingCodesOrbitalStart","curName":"OrbLintFindingCodesOrbitalStart","renames":[],"owner":"workspace"},"trt_7FNC9C9WWTYED1T2CAH04E75FQ":{"id":"trt_7FNC9C9WWTYED1T2CAH04E75FQ","kind":"trait","bakedName":"OrbLintFindingCodes","curName":"OrbLintFindingCodes","renames":[],"owner":"workspace"},"trt_KSDKP5G8F347HXAM9R9SRKJQP6":{"id":"trt_KSDKP5G8F347HXAM9R9SRKJQP6","kind":"trait","bakedName":"Packs","curName":"Packs","renames":[],"owner":"workspace"},"trt_SVSF79J2YW1FE9TYGMWQ3RFXRR":{"id":"trt_SVSF79J2YW1FE9TYGMWQ3RFXRR","kind":"trait","bakedName":"Versions","curName":"Versions","renames":[],"owner":"workspace"},"trt_T234GB4B9J5MS8F9VY665NMMF7":{"id":"trt_T234GB4B9J5MS8F9VY665NMMF7","kind":"trait","bakedName":"OrbLintInput","curName":"OrbLintInput","renames":[],"owner":"workspace"},"trt_YFW4VD60BA05N6TF0VJZT22SPH":{"id":"trt_YFW4VD60BA05N6TF0VJZT22SPH","kind":"trait","bakedName":"OrbLintFindingCodesCli","curName":"OrbLintFindingCodesCli","renames":[],"owner":"workspace"}}}}
|