# tools/core/constants/template.constants.ts

> 18 lines of code and 15 definitions.

Tree: Coordination tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/coordination#file-coordination-tools-core-constants-template-constants-ts
Source text: https://banes-lab.com/assets/sources/source.8feb9e124542e74801718d0aea501153df52272462b467a6f8a0db4ad80ce84f.generated.txt

## Definitions

- `within` (lexical_declaration, line 3)
- `TEMPLATE_ROOT` (lexical_declaration, line 7, exported)
- `EXECUTED_TEMPLATES` (lexical_declaration, line 9, exported)
- `MANDATORY_GATES` (lexical_declaration, line 11, exported)
- `AGENT_ROOT` (lexical_declaration, line 13, exported)
- `SKILL_ROOT` (lexical_declaration, line 15, exported)
- `DIGEST_ROOT` (lexical_declaration, line 17, exported)
- `INTEL_ROOT` (lexical_declaration, line 19, exported)
- `ROLE_ROOT` (lexical_declaration, line 21, exported)
- `ROLE_TEMPLATE` (lexical_declaration, line 23, exported)
- `FRONTMATTER_FENCE` (lexical_declaration, line 25, exported)
- `IDENTITY_MARKER` (lexical_declaration, line 27, exported)
- `PROTOCOL_SKILL` (lexical_declaration, line 29, exported)
- `SKILLS_MARKER` (lexical_declaration, line 31, exported)
- `SUPPORTED_AGENT_KEYS` (lexical_declaration, line 33, exported)

## Uses

- [config/surface.config.ts](https://banes-lab.com/source/coordination/config/surface.config.ts.md)

## Source

```typescript
import { slotList, surfacePath } from "../../../config/surface.config.ts";

const within = function within(folder: string): string {
    return `${surfacePath("behaviour_tree")}/${folder}/`;
};

export const TEMPLATE_ROOT = within("templates");

export const EXECUTED_TEMPLATES = ["checklist", "claim", "pattern", "agent", "layer"];

export const MANDATORY_GATES = ["tel-priority", "constrain", "ver-stop", "ter-stop"];

export const AGENT_ROOT = `${surfacePath("agents")}/`;

export const SKILL_ROOT = within("skills");

export const DIGEST_ROOT = `${surfacePath("rule_digests")}/`;

export const INTEL_ROOT = within("intel");

export const ROLE_ROOT = `${surfacePath("roles")}/`;

export const ROLE_TEMPLATE = surfacePath("role_template");

export const FRONTMATTER_FENCE = "---";

export const IDENTITY_MARKER = "THIS AGENT IS";

export const PROTOCOL_SKILL = "collaboration-protocol";

export const SKILLS_MARKER = "SKILLS:";

export const SUPPORTED_AGENT_KEYS = slotList("convention", "agent_keys");
```
