{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/predicates/secret.predicate.ts",
          "name": "matchesShape",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-secret-predicate-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/secret.predicate.ts",
            "label": "tools/core/predicates/secret.predicate.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/secret.predicate.ts.md",
            "ref": "anatomy:file-coordination-tools-core-predicates-secret-predicate-ts"
          }
        },
        {
          "file": "tools/core/predicates/secret.predicate.ts",
          "name": "tokensOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-secret-predicate-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/secret.predicate.ts",
            "label": "tools/core/predicates/secret.predicate.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/secret.predicate.ts.md",
            "ref": "anatomy:file-coordination-tools-core-predicates-secret-predicate-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "tools/rules/secret.rule.ts",
          "name": "check",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-rules-secret-rule-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/rules/secret.rule.ts",
            "label": "tools/rules/secret.rule.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/rules/secret.rule.ts.md",
            "ref": "anatomy:file-coordination-tools-rules-secret-rule-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "bearsSecret",
      "signature": "export const bearsSecret = function bearsSecret(source: string, shapes: readonly SecretShape[]): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/predicates/token.predicate.ts",
          "name": "accumulate",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-token-predicate-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/token.predicate.ts",
            "label": "tools/core/predicates/token.predicate.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/token.predicate.ts.md",
            "ref": "anatomy:file-coordination-tools-core-predicates-token-predicate-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "tools/core/predicates/secret.predicate.ts",
          "name": "bearsSecret",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-secret-predicate-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/secret.predicate.ts",
            "label": "tools/core/predicates/secret.predicate.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/secret.predicate.ts.md",
            "ref": "anatomy:file-coordination-tools-core-predicates-secret-predicate-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "tokensOf",
      "signature": "export const tokensOf = function tokensOf(source: string): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/predicates/secret.predicate.ts",
          "name": "isPlaceholder",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-secret-predicate-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/secret.predicate.ts",
            "label": "tools/core/predicates/secret.predicate.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/secret.predicate.ts.md",
            "ref": "anatomy:file-coordination-tools-core-predicates-secret-predicate-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "tools/core/predicates/secret.predicate.ts",
          "name": "bearsSecret",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-secret-predicate-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/secret.predicate.ts",
            "label": "tools/core/predicates/secret.predicate.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/secret.predicate.ts.md",
            "ref": "anatomy:file-coordination-tools-core-predicates-secret-predicate-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 32,
      "name": "matchesShape",
      "signature": "const matchesShape = function matchesShape(token: string, shape: SecretShape): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "tools/core/predicates/secret.predicate.ts",
          "name": "matchesShape",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-secret-predicate-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/secret.predicate.ts",
            "label": "tools/core/predicates/secret.predicate.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/secret.predicate.ts.md",
            "ref": "anatomy:file-coordination-tools-core-predicates-secret-predicate-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "isPlaceholder",
      "signature": "export const isPlaceholder = function isPlaceholder(body: string): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "tools/core/predicates/token.predicate.ts",
          "name": "isWordCharacter",
          "source": {
            "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-token-predicate-ts",
            "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/token.predicate.ts",
            "label": "tools/core/predicates/token.predicate.ts",
            "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/token.predicate.ts.md",
            "ref": "anatomy:file-coordination-tools-core-predicates-token-predicate-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "isTokenChar",
      "signature": "const isTokenChar = function isTokenChar(char: string): boolean {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 4,
      "name": "SHAPE_SEPARATOR",
      "signature": "const SHAPE_SEPARATOR = \":\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "shapeOf",
      "signature": "const shapeOf = function shapeOf(entry: string): SecretShape[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "cut",
      "signature": "const cut = entry.lastIndexOf(SHAPE_SEPARATOR);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "minimumLength",
      "signature": "const minimumLength = Number(entry.slice(cut + 1));"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "parseShapes",
      "signature": "export const parseShapes = function parseShapes(declared: readonly string[]): SecretShape[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "core",
      "signature": "const core = body.replaceAll(\"_\", \"\").replaceAll(\"-\", \"\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "first",
      "signature": "const first = core.codePointAt(0);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-secret-predicate-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "secret.predicate.ts",
  "path": "tools/core/predicates/secret.predicate.ts",
  "ref": "anatomy:file-coordination-tools-core-predicates-secret-predicate-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-predicates",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-predicates",
          "label": "tools/core/predicates",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-predicates.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-predicates"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-token-predicate-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/token.predicate.ts",
          "label": "tools/core/predicates/token.predicate.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/token.predicate.ts.md",
          "ref": "anatomy:file-coordination-tools-core-predicates-token-predicate-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-rules-secret-rule-ts",
          "json": "https://banes-lab.com/json/source/coordination/tools/rules/secret.rule.ts",
          "label": "tools/rules/secret.rule.ts",
          "markdown": "https://banes-lab.com/source/coordination/tools/rules/secret.rule.ts.md",
          "ref": "anatomy:file-coordination-tools-rules-secret-rule-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-core-predicates",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-core-predicates",
          "label": "tools/core/predicates",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-core-predicates.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-core-predicates"
        },
        {
          "href": "https://banes-lab.com/anatomy/coordination#folder-coordination-tools-rules",
          "json": "https://banes-lab.com/json/anatomy/coordination/folder-coordination-tools-rules",
          "label": "tools/rules",
          "markdown": "https://banes-lab.com/anatomy/coordination/folder-coordination-tools-rules.md",
          "ref": "chapter:/anatomy/coordination#folder-coordination-tools-rules"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "predicate",
    "subject": "secret",
    "variant": null
  },
  "stats": {
    "bytes": 1698,
    "callable": 7,
    "definitions": 12,
    "edges": 5,
    "exported": 6,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 3,
      "leaf": 1,
      "entry": 1,
      "isolated": 7
    },
    "lines": {
      "blank": 8,
      "code": 37,
      "total": 45
    }
  },
  "summary": "37 lines of code and 12 definitions.",
  "text": "https://banes-lab.com/source/coordination/tools/core/predicates/secret.predicate.ts.txt",
  "tree": "coordination",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-source-predicate-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/source.predicate.ts",
      "label": "tools/core/predicates/source.predicate.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/source.predicate.ts.md",
      "ref": "anatomy:file-coordination-tools-core-predicates-source-predicate-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-predicates-schema-predicate-ts",
      "json": "https://banes-lab.com/json/source/coordination/tools/core/predicates/schema.predicate.ts",
      "label": "tools/core/predicates/schema.predicate.ts",
      "markdown": "https://banes-lab.com/source/coordination/tools/core/predicates/schema.predicate.ts.md",
      "ref": "anatomy:file-coordination-tools-core-predicates-schema-predicate-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/coordination/tools/core/predicates",
    "label": "tools/core/predicates",
    "markdown": "https://banes-lab.com/api/source/coordination/tools/core/predicates.md",
    "ref": "api:source/coordination/tools/core/predicates"
  }
}
