Development Workflow
The daily branch, implementation, verification, formatting, and synchronization loop for BookWorm changes.
Keep each branch focused on one cohesive change. Use this loop for backend, frontend, and documentation work; the standards and test guides define the detailed rules for each area.
Branching and Change Flow
Loading graph...
Create a focused branch
After configuring the upstream remote, update main and branch from it:
git fetch upstreamgit switch maingit merge --ff-only upstream/maingit switch -c feature/<short-description>Replace <short-description> with a concise lowercase-kebab-case name. Use feature/, fix/, or docs/ to identify the change type.
Implement and verify in small steps
- Confirm the owning service, frontend, or documentation area before editing.
- Make one cohesive change and add or update focused tests when behavior changes.
- Run the smallest relevant build, test, and formatting tasks. See Testing ExecutionCustom DocTesting ExecutionHow to run backend, frontend, contract, browser, and documentation checks locally and interpret their results.Ownerarchitecture-enabling-teamOpen doc for test commands and Engineering StandardsCustom DocEngineering StandardsPractical coding, API, contract, naming, formatting, and analysis rules and how automated checks enforce them.Ownerarchitecture-enabling-teamOpen doc for enforced rules.
- For rapid iteration, use
dotnet watchfrom the relevant .NET project workspace orbun run devfrom the relevant frontend workspace.
Useful formatting tasks include mise run format:cs, mise run format:fe, and mise run format:docs. Use mise run format when you want to format every supported workspace.
Keep the branch current
When main advances, update your branch without discarding local work:
git fetch upstreamgit merge upstream/mainResolve conflicts deliberately, rerun the affected checks, and push the branch to your fork. Do not reset a branch that contains work you have not confirmed is safe to discard.
Commit and hand off
Use a Conventional Commit prefix such as feat:, fix:, docs:, refactor:, test:, or chore: followed by a concise, imperative summary. Repository hooks run formatting, analyzers, and build checks on commit.
When the change is ready, follow Pull Request ProcessCustom DocPull Request ProcessPrepare a focused draft, satisfy automated checks and review, and merge a contribution safely.Ownerarchitecture-enabling-teamOpen doc. Do not start the full Aspire application for routine code or documentation checks.