> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gloo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Synthesis templates

> Define workspace synthesis templates the Spec Linter applies at Builder dispatch: regex, length, and allowlist constraints that block (hard) or warn.

**Synthesis Templates** (`/platform/synthesis/templates`) holds per-workspace constraints layered on top of the Spec Linter at Builder dispatch time. It is the **Templates** tab of the **Synthesis** sidebar entry, after **Queue**. Open it to require that synthesized skills, agents, or procedures meet your workspace's rules before the Builder dispatches them.

![Synthesis templates (light)](https://mintcdn.com/gloo-b243725a/Ndtg9NEpwGc2OULA/forge/images/console/platform/synthesis-templates-light.png?fit=max\&auto=format\&n=Ndtg9NEpwGc2OULA\&q=85\&s=1193b25ecbbac68474a4a9267ff30bb7)

Synthesis templates — Forge Console at `/platform/synthesis/templates`

## What you can do

* **New template** opens the editor. Set **Name**, **Description**, **Applies to** (`skill`, `agent`, or `procedure`), **Enforcement** (`hard` or `warn`), and **Status** (`active`, `disabled`, or `draft`). Save with **Create**.
* **Add constraint** adds a row with **Path** (for example `requiredToolSetIds`), **Evaluator**, a value, and **Message (optional)**. **Remove** deletes a row.
* **Edit** reopens a template; save with **Save changes**.
* **Delete** asks for confirmation. Specs in flight are not affected, but new dispatches are no longer checked against the template.

## Evaluators

| Evaluator | Value |
| - | - |
| `regex` | A regex pattern the value must match |
| `max-length` | A maximum length |
| `min-length` | A minimum length |
| `must-be-one-of` | A comma-separated allowlist |

## Columns

| Column | Shows |
| - | - |
| **Name** | Template name |
| **Kind** | The primitive kind it applies to |
| **Enforcement** | `hard` blocks dispatch on a violation; `warn` surfaces an advisory issue only |
| **Constraints** | Number of constraints |
| **Status** | `active`, `disabled`, or `draft` |
| **Actions** | **Edit**, **Delete** |

## Who can act

The page is admin-only. Non-admins see the page header and an access notice instead of the table.

## Key state to watch

* A `hard` template with a broad constraint: every violating spec is blocked at dispatch. Check the synthesis queue for blocked specs after adding one.
* A template left in `draft` or `disabled`: it is not the active rule; confirm that is intended.
* "No templates configured.": new synthesis specs in this workspace are only lint-checked structurally.

## Related surfaces

* [Synthesis queue](https://docs.gloo.com/forge/console/platform/synthesis-queue)
* [Synthesis settings](https://docs.gloo.com/forge/console/platform/synthesis-settings.md)
* [Curator](https://docs.gloo.com/forge/console/platform/synthesis-curator.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.