{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "config/surface.config.ts",
          "name": "slotList",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-config-surface-config-ts",
            "json": "https://banes-lab.com/json/source/coordination/config/surface.config.ts",
            "label": "config/surface.config.ts",
            "markdown": "https://banes-lab.com/source/coordination/config/surface.config.ts.md",
            "ref": "anatomy:file-coordination-config-surface-config-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "tools/core/steps/quality.step.ts",
          "name": "concernFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-steps-quality-step-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/steps/quality.step.ts",
            "label": "tools/core/steps/quality.step.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/steps/quality.step.ts.md",
            "ref": "anatomy:file-coordination-tools-core-steps-quality-step-ts"
          }
        },
        {
          "file": "tools/core/steps/quality.step.ts",
          "name": "qualityFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-steps-quality-step-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/steps/quality.step.ts",
            "label": "tools/core/steps/quality.step.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/steps/quality.step.ts.md",
            "ref": "anatomy:file-coordination-tools-core-steps-quality-step-ts"
          }
        },
        {
          "file": "tools/core/steps/quality.step.ts",
          "name": "qualityFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-steps-quality-step-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/steps/quality.step.ts",
            "label": "tools/core/steps/quality.step.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/steps/quality.step.ts.md",
            "ref": "anatomy:file-coordination-tools-core-steps-quality-step-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "absenceFinding",
      "signature": "const absenceFinding = function absenceFinding(reason: string, locus: string): Finding {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "config/surface.config.ts",
          "name": "isResolved",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-config-surface-config-ts",
            "json": "https://banes-lab.com/json/source/coordination/config/surface.config.ts",
            "label": "config/surface.config.ts",
            "markdown": "https://banes-lab.com/source/coordination/config/surface.config.ts.md",
            "ref": "anatomy:file-coordination-config-surface-config-ts"
          }
        },
        {
          "file": "tools/core/steps/quality.step.ts",
          "name": "absenceFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-steps-quality-step-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/steps/quality.step.ts",
            "label": "tools/core/steps/quality.step.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/steps/quality.step.ts.md",
            "ref": "anatomy:file-coordination-tools-core-steps-quality-step-ts"
          }
        },
        {
          "file": "tools/core/steps/quality.step.ts",
          "name": "absenceFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-steps-quality-step-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/steps/quality.step.ts",
            "label": "tools/core/steps/quality.step.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/steps/quality.step.ts.md",
            "ref": "anatomy:file-coordination-tools-core-steps-quality-step-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 103,
      "name": "qualityFindings",
      "signature": "const qualityFindings = function qualityFindings(concerns: readonly string[]): Finding[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "config/surface.config.ts",
          "name": "slotList",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-config-surface-config-ts",
            "json": "https://banes-lab.com/json/source/coordination/config/surface.config.ts",
            "label": "config/surface.config.ts",
            "markdown": "https://banes-lab.com/source/coordination/config/surface.config.ts.md",
            "ref": "anatomy:file-coordination-config-surface-config-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "declaredKinds",
      "signature": "export const declaredKinds = function declaredKinds(): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/steps/quality.step.ts",
          "name": "absenceFinding",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-steps-quality-step-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/steps/quality.step.ts",
            "label": "tools/core/steps/quality.step.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/steps/quality.step.ts.md",
            "ref": "anatomy:file-coordination-tools-core-steps-quality-step-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 85,
      "name": "concernFindings",
      "signature": "const concernFindings = function concernFindings(concern: string): Finding[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/reporters/rule.reporter.ts",
          "name": "writeRuleReport",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-reporters-rule-reporter-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/reporters/rule.reporter.ts",
            "label": "tools/core/reporters/rule.reporter.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/reporters/rule.reporter.ts.md",
            "ref": "anatomy:file-coordination-tools-core-reporters-rule-reporter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 117,
      "name": "qualityStage",
      "signature": "export const qualityStage = function qualityStage(options: StepOptions): StepOutcome {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "INVARIANT",
      "signature": "const INVARIANT ="
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "STAGE",
      "signature": "const STAGE = \"meta\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "RULE",
      "signature": "const RULE = \"quality\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "commandParts",
      "signature": "const commandParts = function commandParts(): { readonly command: string; readonly leading: readonly string[] } {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 21,
      "name": "declared",
      "signature": "const declared = slotText(\"execution\", \"quality_command\").split(\" \");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "command",
      "signature": "const command = declared[0] ?? \"\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 50,
      "name": "scanFinding",
      "signature": "const scanFinding = function scanFinding(line: string, concern: string): Finding | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "open",
      "signature": "const open = line.indexOf(\":\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "path",
      "signature": "const path = line.slice(0, open);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 61,
      "name": "rest",
      "signature": "const rest = line.slice(open + 1);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 62,
      "name": "nextColon",
      "signature": "const nextColon = rest.indexOf(\":\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 63,
      "name": "lineNumber",
      "signature": "const lineNumber = leadingInteger(nextColon === -1 ? rest : rest.slice(0, nextColon));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 86,
      "name": "{ command, leading }",
      "signature": "const { command, leading } = commandParts();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 87,
      "name": "result",
      "signature": "const result = runTool(projectRoot(), `${RULE}:${concern}`, command, INVARIANT, ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 98,
      "name": "finding",
      "signature": "const finding = scanFinding(line.trim(), concern);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 125,
      "name": "concerns",
      "signature": "const concerns = slotList(\"execution\", \"quality_concerns\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 126,
      "name": "findings",
      "signature": "const findings = qualityFindings(concerns);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 127,
      "name": "declaredOnly",
      "signature": "const declaredOnly = findings.every((entry) => entry.rule === `${RULE}/notDeclared`);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-steps-quality-step-ts",
  "language": "typescript",
  "layer": "application",
  "name": "quality.step.ts",
  "path": "tools/core/steps/quality.step.ts",
  "ref": "anatomy:file-coordination-tools-core-steps-quality-step-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-steps",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-steps",
          "label": "tools/core/steps",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-steps.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-steps"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-config-surface-config-ts",
          "json": "https://banes-lab.com/json/source/coordination/config/surface.config.ts",
          "label": "config/surface.config.ts",
          "markdown": "https://banes-lab.com/source/coordination/config/surface.config.ts.md",
          "ref": "anatomy:file-coordination-config-surface-config-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-reporters-rule-reporter-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/reporters/rule.reporter.ts",
          "label": "tools/core/reporters/rule.reporter.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/reporters/rule.reporter.ts.md",
          "ref": "anatomy:file-coordination-tools-core-reporters-rule-reporter-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-config",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-config",
          "label": "config",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-config.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-config"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-reporters",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-reporters",
          "label": "tools/core/reporters",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-reporters.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-reporters"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-steps",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-steps",
          "label": "tools/core/steps",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-steps.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-steps"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "step",
    "subject": "quality",
    "variant": null
  },
  "stats": {
    "bytes": 6290,
    "callable": 7,
    "definitions": 23,
    "edges": 7,
    "exported": 5,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "entry": 4,
      "isolated": 18
    },
    "lines": {
      "blank": 20,
      "code": 137,
      "total": 157
    }
  },
  "summary": "137 lines of code and 23 definitions.",
  "text": "https://banes-lab.com/source/coordination/tools/core/steps/quality.step.ts.txt",
  "tree": "coordination",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-steps-snapshot-step-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/steps/snapshot.step.ts",
      "label": "tools/core/steps/snapshot.step.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/steps/snapshot.step.ts.md",
      "ref": "anatomy:file-coordination-tools-core-steps-snapshot-step-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-steps-gate-step-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/steps/gate.step.ts",
      "label": "tools/core/steps/gate.step.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/steps/gate.step.ts.md",
      "ref": "anatomy:file-coordination-tools-core-steps-gate-step-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/coordination/tools/core/steps",
    "label": "tools/core/steps",
    "markdown": "https://banes-lab.com/api/source/coordination/tools/core/steps.md",
    "ref": "api:source/coordination/tools/core/steps"
  }
}
