Submit Work Workflow
Procedure
- •
Identify the current issue from the branch name:
bashgit branch --show-current
Extract issue number N from
feat/N-short-description. - •
Lint and format:
bashruff check src/ --fix black src/
Fix issues automatically. If unfixable errors remain, report them and stop.
- •
Run tests:
bashpytest tests/
If tests fail, report failures and stop. Do not submit broken code.
- •
Stage and commit:
bashgit add -A git commit -m "<meaningful message describing what was done>"
Commit message should reference the issue:
feat(#N): <what changed>. - •
Push the branch:
bashgit push -u origin feat/N-short-description
- •
Create the pull request:
codemcp__github__create_pull_request( owner: "intellidoctor", repo: "medgemma-triage", title: "<concise title>", head: "feat/N-short-description", base: "main", body: "Closes #N\n\n## Summary\n<bullet points>\n\n## Test plan\n<how it was tested>" )
Always include
Closes #Nto auto-link the issue. - •
Confirm — print summary with the PR URL.