1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# What this project's gates judge.
#
# Edit this file, then run `sdd hooks --apply`. The managed region of
# .pre-commit-config.yaml is rendered from here, so it stays wholly owned by
# sdd and an upgrade never meets your edit.
#
# `sdd gate --explain <path>` answers why a gate judged a path, or did not,
# and names the pattern that decided.
#
# Patterns are globs. `*` does not cross a `/` and `**` descends. A leading
# `!` or `#`, an absolute path, and a `..` component are refused.
#
# Four layers compose, in this order, highest last:
#
# 1. the gate's registry default
# 2. its `gates:` entry below
# 3. a --include or --exclude flag
# 4. the `reserved:` list, which no gate escapes
#
# Every `exclude` layer extends. A `gates:` `include` replaces the registry
# default rather than adding to it, because an include is a whitelist and
# extending one could only widen what the gate judges.
# Paths no delivered gate judges. Another tool owns these.
reserved:
# Per-gate filters. A gate not named here takes its registry default.
gates:
# Where the writing style comes from: `builtin` routes authors to
# `sdd method writing-style`, `project` routes them to the document
# `path` names, and `none` installs no route and imposes no conversion
# obligation. Edit it, then run `sdd hooks --apply`, which rewrites the
# documentation block in AGENTS.md as well as the pre-commit block.
writing_style:
source: builtin
path: null