From 9e8b9ec470164c4250e9dcbc39acbdb9ba8d8bf8 Mon Sep 17 00:00:00 2001 From: Brummel Date: Thu, 4 Jun 2026 17:11:18 +0200 Subject: [PATCH] change(profile): default document naming to per-directory counter Flip the naming default from `flat` (slug.md) to `stable_per_directory_4digit` and seed `counter_dirs` with the four document-producing directories (specs, plans, design contracts, design models) so the counter policy is effective out of the box. Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/profile-schema.md | 4 ++-- templates/project-profile.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/profile-schema.md b/docs/profile-schema.md index 1751773..f415483 100644 --- a/docs/profile-schema.md +++ b/docs/profile-schema.md @@ -59,8 +59,8 @@ it ships in a spec. | Key | Type | Default | Description | |--------------------|--------|----------------------------------|-------------| -| `counter_dirs` | list | `[]` | Directories that use the counter-prefix policy. | -| `policy` | enum | `flat` | One of `stable_per_directory_4digit`, `date_prefix`, `flat`. | +| `counter_dirs` | list | `[docs/specs, docs/plans, design/contracts, design/models]` | Directories that use the counter-prefix policy. | +| `policy` | enum | `stable_per_directory_4digit` | One of `stable_per_directory_4digit`, `date_prefix`, `flat`. | | `slug_separator` | string | `-` | Separator inside the slug. | `stable_per_directory_4digit` means each listed directory has a diff --git a/templates/project-profile.yml b/templates/project-profile.yml index 29e797c..94c425c 100644 --- a/templates/project-profile.yml +++ b/templates/project-profile.yml @@ -18,8 +18,8 @@ paths: # fieldtest_examples: examples/fieldtest # where fieldtester writes fixtures naming: - counter_dirs: [] - policy: flat # stable_per_directory_4digit | date_prefix | flat + counter_dirs: [docs/specs, docs/plans, design/contracts, design/models] + policy: stable_per_directory_4digit # stable_per_directory_4digit | date_prefix | flat slug_separator: "-" commands: