# configuration/constants/evidence.governance.constants.ts

> 17 lines of code and 5 definitions.

Tree: Site tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/tree#file-configuration-constants-evidence-governance-constants-ts
Source text: https://banes-lab.com/source/tree/configuration/constants/evidence.governance.constants.ts.txt

Listed in [configuration/constants](https://banes-lab.com/api/source/tree/configuration/constants.md), after [configuration/constants/evidence.coordination.constants.ts](https://banes-lab.com/source/tree/configuration/constants/evidence.coordination.constants.ts.md) and before [configuration/constants/evidence.source.constants.ts](https://banes-lab.com/source/tree/configuration/constants/evidence.source.constants.ts.md).

## Definitions

- `FILENAME_MATCHER` (lexical_declaration, line 5)
- `SEGMENT_MATCHER` (lexical_declaration, line 6)
- `RULES` (lexical_declaration, line 7)
- `DIALECT` (lexical_declaration, line 9)
- `GOVERNANCE_EVIDENCE` (lexical_declaration, line 11, exported)

## Source

```typescript
import { ALGO_FACE, ARCH_FACE, LEX_FACE } from "@govlab/constants";
import { definitionNode as definition, fileNode as file, groundedBy } from "#core/factories/evidence.factory";
import type { Evidence } from "#types/evidence.types";

const FILENAME_MATCHER = "governance~shared/matchers/filename.matcher.ts";
const SEGMENT_MATCHER = "governance~shared/matchers/segment.matcher.ts";
const RULES = "governance~rules/eslint/";

const DIALECT = definition("parseDialect", FILENAME_MATCHER);

export const GOVERNANCE_EVIDENCE: readonly Evidence[] = [
    ...groundedBy([DIALECT], ARCH_FACE, ["case-dialect"]),
    ...groundedBy([DIALECT], ALGO_FACE, ["dialect-resolution"]),
    ...groundedBy([definition("wordsOf", SEGMENT_MATCHER)], LEX_FACE, ["word-boundary-case"]),
    ...groundedBy([file(`${RULES}closure-tests-centralized.eslint.rule.ts`)], ARCH_FACE, ["mirrored-test-placement"]),
    ...groundedBy([file(`${RULES}closure-no-import-cycles.eslint.rule.ts`)], ARCH_FACE, ["directed-acyclic-graph"]),
    ...groundedBy([file(`${RULES}no-plaintext-transport.eslint.rule.ts`)], ARCH_FACE, ["encryption-in-transit"]),
    ...groundedBy([file(`${RULES}no-port-literal.eslint.rule.ts`)], ARCH_FACE, ["configuration-externalization"]),
    ...groundedBy([file(`${RULES}no-raw-file-write.eslint.rule.ts`)], ARCH_FACE, ["idempotency"]),
];
```
