Skip to content

Commit e8419cd

Browse files
committed
docs(agents): enforce conventional commit message policy
1 parent 00a4628 commit e8419cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ browser openboot.dev/user/slug → [username]/[slug]/+page.server.ts → config
108108
- **Slug generation**: `slugify()` from `$lib/server/auth` — lowercase, alphanumeric + hyphens
109109
- **Error handling**: Return `json({ error: '...' }, { status: N })`, never throw in API routes
110110
- **Svelte 5**: Uses `$state`, `$derived`, `$props()` runes (not legacy `$:` reactive)
111+
- **Commits**: Commit messages must follow Conventional Commits (`type(scope): subject`), e.g. `feat(api): add public config filter`
112+
- **History fix**: If a commit message is not conventional, amend it and push with `git push --force-with-lease` (do not leave non-conforming commits on `main`)
111113

112114
## ANTI-PATTERNS
113115

0 commit comments

Comments
 (0)