# configuration/constants/evidence.chapter.constants.ts

> 98 lines of code and 11 definitions.

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

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

## Definitions

- `COUPLING` (lexical_declaration, line 52)
- `COORDINATION` (lexical_declaration, line 53)
- `INVOCATION` (lexical_declaration, line 54)
- `PATTERN_TEMPLATE` (lexical_declaration, line 55)
- `CHECKLIST_TEMPLATE` (lexical_declaration, line 56)
- `BOARD_TEMPLATE` (lexical_declaration, line 57)
- `ROLE_TEMPLATE` (lexical_declaration, line 58)
- `VERIFIER_AGENT` (lexical_declaration, line 59)
- `AGENTS` (lexical_declaration, line 60)
- `ONTOLOGY_SECTIONS` (lexical_declaration, line 65)
- `CHAPTER_EVIDENCE` (lexical_declaration, line 67, exported)

## Source

```typescript
import {
    AGENT_SECTION_ID,
    COORDINATION_SECTION_ID,
    INVARIANT_SECTION_ID,
    SURFACE_SECTION_ID,
    WAIT_SECTION_ID,
} from "#core/ids/coordination.ids";
import {
    AGENT_SECTION_ID as AGENT_TEMPLATE_SECTION_ID,
    BLUEPRINT_SECTION_ID,
    COMPOSITION_SECTION_ID,
    CONSTRUCT_SECTION_ID,
    TEMPLATE_SECTION_ID as CORE_TEMPLATE_SECTION_ID,
    GRAMMAR_GUIDE_TAB,
    GRAMMAR_INTRODUCTION_TAB,
    GRAMMAR_ORCHESTRATION_TAB,
    GRAMMAR_TEMPLATES_TAB,
    HANDOFF_SECTION_ID,
    DEFINITION_SECTION_ID as PAG_DEFINITION_SECTION_ID,
    PRINCIPLE_SECTION_ID,
    STRUCTURE_SECTION_ID,
    TRACKING_SECTION_ID,
} from "#core/ids/grammar.ids";
import { ARCHITECTURE_PAGE, GRAMMAR_PAGE, METHODOLOGY_PAGE } from "#core/ids/page.ids";
import {
    ARCHIVE_VALIDATOR,
    COORDINATION_MODEL,
    COUPLING_MODEL,
    INVOCATION_MODEL,
} from "#configuration/constants/evidence.coordination.constants";
import {
    CANON_SECTION_ID,
    CEILING_SECTION_ID,
    FORCING_SECTION_ID,
    GLOSSARY_SECTION_ID,
    GLOSSARY_TAB,
    GRAPH_SECTION_ID,
    GROUPING_SECTION_ID,
    MODEL_TAB,
    PRINCIPLES_TAB,
    RECORD_KIND_SECTION_ID,
    SCALE_TAB,
} from "#core/ids/architecture.ids";
import { COLLABORATE_TAB, PLAN_TAB, SHIP_TAB, START_TAB, VERIFY_TAB } from "#core/ids/methodology.ids";
import { FLAT_LIST_SECTION_ID, TEMPLATE_SECTION_ID } from "#core/ids/plan.ids";
import { definitionNode, fileNode, groundedChapters } from "#core/factories/evidence.factory";
import { CONTRACT_SECTION_ID } from "#core/ids/rule.ids";
import type { Evidence } from "#types/evidence.types";
import { SCALE_SECTION_ID } from "#core/ids/release.ids";
import { VERIFIER_SECTION_ID } from "#core/ids/evidence.ids";

const COUPLING = fileNode(COUPLING_MODEL);
const COORDINATION = fileNode(COORDINATION_MODEL);
const INVOCATION = fileNode(INVOCATION_MODEL);
const PATTERN_TEMPLATE = fileNode("coordination~.{provider}/templates/pattern.protocol.template.md");
const CHECKLIST_TEMPLATE = fileNode("coordination~.{provider}/templates/checklist.protocol.template.md");
const BOARD_TEMPLATE = fileNode("coordination~templates/collab.comms.template.md");
const ROLE_TEMPLATE = fileNode("coordination~templates/role.template.md");
const VERIFIER_AGENT = fileNode("coordination~.{provider}/agents/forensic-context-verifier.SAd.md");
const AGENTS = [
    fileNode("coordination~.{provider}/agents/agent-auditor.SAa.md"),
    fileNode("coordination~.{provider}/agents/agent-creator.SAb.md"),
    VERIFIER_AGENT,
];
const ONTOLOGY_SECTIONS = [CANON_SECTION_ID, RECORD_KIND_SECTION_ID, GROUPING_SECTION_ID];

export const CHAPTER_EVIDENCE: readonly Evidence[] = [
    ...groundedChapters([definitionNode("importsDiagram")], ARCHITECTURE_PAGE, MODEL_TAB, [GRAPH_SECTION_ID]),
    ...groundedChapters([definitionNode("ONTOLOGY")], ARCHITECTURE_PAGE, PRINCIPLES_TAB, ONTOLOGY_SECTIONS),
    ...groundedChapters([COUPLING], ARCHITECTURE_PAGE, SCALE_TAB, [FORCING_SECTION_ID, CEILING_SECTION_ID]),
    ...groundedChapters([definitionNode("joinGlossary")], ARCHITECTURE_PAGE, GLOSSARY_TAB, [GLOSSARY_SECTION_ID]),
    ...groundedChapters([PATTERN_TEMPLATE], GRAMMAR_PAGE, GRAMMAR_INTRODUCTION_TAB, [PAG_DEFINITION_SECTION_ID]),
    ...groundedChapters(AGENTS, GRAMMAR_PAGE, GRAMMAR_GUIDE_TAB, [STRUCTURE_SECTION_ID]),
    ...groundedChapters([COUPLING], GRAMMAR_PAGE, GRAMMAR_ORCHESTRATION_TAB, [COMPOSITION_SECTION_ID]),
    ...groundedChapters([COORDINATION], GRAMMAR_PAGE, GRAMMAR_ORCHESTRATION_TAB, [
        CONSTRUCT_SECTION_ID,
        PRINCIPLE_SECTION_ID,
    ]),
    ...groundedChapters(
        [definitionNode("closureRefusal", ARCHIVE_VALIDATOR)],
        GRAMMAR_PAGE,
        GRAMMAR_ORCHESTRATION_TAB,
        [HANDOFF_SECTION_ID],
    ),
    ...groundedChapters([PATTERN_TEMPLATE], GRAMMAR_PAGE, GRAMMAR_TEMPLATES_TAB, [CORE_TEMPLATE_SECTION_ID]),
    ...groundedChapters([BOARD_TEMPLATE], GRAMMAR_PAGE, GRAMMAR_TEMPLATES_TAB, [BLUEPRINT_SECTION_ID]),
    ...groundedChapters([CHECKLIST_TEMPLATE], GRAMMAR_PAGE, GRAMMAR_TEMPLATES_TAB, [TRACKING_SECTION_ID]),
    ...groundedChapters(AGENTS, GRAMMAR_PAGE, GRAMMAR_TEMPLATES_TAB, [AGENT_TEMPLATE_SECTION_ID]),
    ...groundedChapters([ROLE_TEMPLATE], METHODOLOGY_PAGE, START_TAB, [CONTRACT_SECTION_ID]),
    ...groundedChapters([CHECKLIST_TEMPLATE], METHODOLOGY_PAGE, PLAN_TAB, [FLAT_LIST_SECTION_ID, TEMPLATE_SECTION_ID]),
    ...groundedChapters([VERIFIER_AGENT], METHODOLOGY_PAGE, VERIFY_TAB, [VERIFIER_SECTION_ID]),
    ...groundedChapters(AGENTS, METHODOLOGY_PAGE, COLLABORATE_TAB, [AGENT_SECTION_ID]),
    ...groundedChapters([COORDINATION], METHODOLOGY_PAGE, COLLABORATE_TAB, [
        COORDINATION_SECTION_ID,
        INVARIANT_SECTION_ID,
    ]),
    ...groundedChapters([COORDINATION, BOARD_TEMPLATE], METHODOLOGY_PAGE, COLLABORATE_TAB, [SURFACE_SECTION_ID]),
    ...groundedChapters([INVOCATION], METHODOLOGY_PAGE, COLLABORATE_TAB, [WAIT_SECTION_ID]),
    ...groundedChapters([COUPLING], METHODOLOGY_PAGE, SHIP_TAB, [SCALE_SECTION_ID]),
];
```
