Something went wrong. Try again.
A ebook and PDF reader, annotator, and citation manager.
Something went wrong. Try again.
2.6 kB 45 lines
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243444546== Project contribution and agent conventions <project-conventions>
Agents and human reviewers use the same literate sources. Begin at `src/main.typ`and read the chapters relevant to the proposed change, including the ownershipmap in #link(<architecture-boundaries>)[Runtime architecture and trust boundaries].Do not maintain a second copy of project policy in the agent bootstrap file:
```markdown#| file: AGENTS.mdRead the literate Typst sources, starting at [src/main.typ](src/main.typ), before working on this repository.```
=== Commit classification and rationale
Follow the user's #link("/agentwiki/instructions/git.md")[default Git conventions]and linked #link("/agentwiki/technical/git/conventional-commits.md")[ConventionalCommits summary], alongside governing instructions and current user requests.
- Bug fixes use `fix(scope): description` and increment PATCH. Dependency updates are `fix(deps): description` with PATCH, not `chore(deps)` or `build(deps)`.- Features use `feat(scope): description` and increment MINOR, resetting PATCH.- Breaking/schema classification and unstable/stable version increments are defined once in #link(<database-policy>)[Database contract and compatibility].- Codebase-only maintenance uses `scope: description` (or a scoped maintenance type such as `architecture(sessions): description`) without a product bump. Do not disguise product behavior changes or dependency updates as maintenance.- Use a short imperative subject, a blank line and a substantive rationale body explaining the problem, user impact and approach. Explain schema/migration implications and use a `BREAKING CHANGE:` footer when helpful.
=== Atomic changes and review
One finalized feature/fix is one logical commit containing implementation,version increment, generated release files, lockfiles and changelog. Do not makea separate version-only commit. Amend one's own unpublished iterations or squasha development branch; do not increment again for each iteration of the samechange. Do not rewrite released/shared history or another author's commitswithout explicit authorization; never force push.
Before committing, review status and the exact staged diff, include only theintended change, and preserve unrelated staged/unstaged work. Local implementationplans remain working notes, not commit inputs. Amend/squashworkflows do not authorize builds/tests. The authoritative editing, release andverification procedure is in #link(<environment-workflow>)[Environment and sourceworkflow]; documentation of a command is not permission to execute it.