Range Handoff Commits
Overview
Keep range implementation work and deployment/handoff documentation in separate commits. The goal is that a future engineer can tell exactly what changed in code/config and exactly what happened to Helm/Kubernetes/live range state.
Required Commit Shape
When a task changes code, config, Helm, Kubernetes manifests, deployment scripts, agent prompts, service behavior, or live range state, create two commits before pushing:
Implementation commit
- Code, tests, prompts, charts, values, manifests, scripts, generated runtime assets, or config needed for the behavior.
- Include focused verification relevant to those files.
Handoff commit
- Documentation only, normally a maintained handoff/deployment note under the range docs path.
- Record what changed, why, deploy steps, Helm/Kubernetes details, validation, live state, rollback/recovery notes, and known gaps.
If the task is docs-only, one documentation commit is fine. If the task is code-only and no deploy/handoff context exists, still add a concise handoff note when the change affects a range that people will operate, test, or deploy.
Handoff Contents
Update an existing handoff when one exists. Create a new one only when there is no obvious maintained document.
Include:
- Absolute date and timezone.
- Repo branch and commit IDs once known.
- Range, namespace, AWS profile, and affected services/releases.
- Files/charts/manifests/scripts changed.
- Helm commands, values files, kubectl commands, rollout steps, and sync jobs used or expected.
- Verification commands and exact pass/fail status. Do not claim unrun checks passed.
- Live-state evidence such as rollout status, service counts, smoke checks, URLs/routes, and relevant pod/release names.
- Data/provenance notes for agent-visible surfaces, uploaded documents, RAG corpora, OpenProject, Mattermost, or EAM state.
- Rollback/recovery steps and known gaps.
For Riverbend/coralbots, prefer docs/riverbend/ for handoffs and keep riverbend_stack/, riverbend_eam_service/, Helm release names, namespace agentnet-e2e-100, and relevant OpenProject/EAM/Mattermost details explicit.
Workflow
- Inspect
git status --short --branch before editing or committing. Do not stage unrelated dirty files.
- If the work involves deployment, rollout, Helm upgrade, or live Kubernetes changes, also use
pre-deployment-main-sync before touching live state.
- Make and verify implementation changes.
- Update the handoff document with concrete deployment and verification details.
- Review file classification with
git diff --name-only and git diff --stat.
- Stage and commit implementation files only.
- Stage and commit handoff documentation only.
- If the user asked to push, push after both commits exist.
Useful commit message pattern:
feat(<range>): <implementation summary>
docs(<range>): record <implementation summary> handoff
Guardrails
- Keep generated or live-derived secrets out of handoff docs.
- Do not mix handoff docs into the implementation commit unless the user explicitly forbids two commits.
- Do not let a handoff commit conceal code/config changes.
- Do not create multiple scattered handoff files when one maintained document should be updated.
- When a deployment was not performed, phrase the handoff as planned/expected commands, not live evidence.
- If tests or smoke checks fail, document the failure and do not push as completed unless the user explicitly accepts that state.
1---2name: range-handoff-commits3description: Use when committing, pushing, deploying, or changing AgentNet/coralbots red-team range code, Helm charts, Kubernetes manifests, live services, rollout scripts, or range handoff documentation.4---56# Range Handoff Commits78## Overview910Keep range implementation work and deployment/handoff documentation in separate commits. The goal is that a future engineer can tell exactly what changed in code/config and exactly what happened to Helm/Kubernetes/live range state.1112## Required Commit Shape1314When a task changes code, config, Helm, Kubernetes manifests, deployment scripts, agent prompts, service behavior, or live range state, create two commits before pushing:15161. **Implementation commit**17 - Code, tests, prompts, charts, values, manifests, scripts, generated runtime assets, or config needed for the behavior.18 - Include focused verification relevant to those files.19202. **Handoff commit**21 - Documentation only, normally a maintained handoff/deployment note under the range docs path.22 - Record what changed, why, deploy steps, Helm/Kubernetes details, validation, live state, rollback/recovery notes, and known gaps.2324If the task is docs-only, one documentation commit is fine. If the task is code-only and no deploy/handoff context exists, still add a concise handoff note when the change affects a range that people will operate, test, or deploy.2526## Handoff Contents2728Update an existing handoff when one exists. Create a new one only when there is no obvious maintained document.2930Include:3132- Absolute date and timezone.33- Repo branch and commit IDs once known.34- Range, namespace, AWS profile, and affected services/releases.35- Files/charts/manifests/scripts changed.36- Helm commands, values files, kubectl commands, rollout steps, and sync jobs used or expected.37- Verification commands and exact pass/fail status. Do not claim unrun checks passed.38- Live-state evidence such as rollout status, service counts, smoke checks, URLs/routes, and relevant pod/release names.39- Data/provenance notes for agent-visible surfaces, uploaded documents, RAG corpora, OpenProject, Mattermost, or EAM state.40- Rollback/recovery steps and known gaps.4142For Riverbend/coralbots, prefer `docs/riverbend/` for handoffs and keep `riverbend_stack/`, `riverbend_eam_service/`, Helm release names, namespace `agentnet-e2e-100`, and relevant OpenProject/EAM/Mattermost details explicit.4344## Workflow45461. Inspect `git status --short --branch` before editing or committing. Do not stage unrelated dirty files.472. If the work involves deployment, rollout, Helm upgrade, or live Kubernetes changes, also use `pre-deployment-main-sync` before touching live state.483. Make and verify implementation changes.494. Update the handoff document with concrete deployment and verification details.505. Review file classification with `git diff --name-only` and `git diff --stat`.516. Stage and commit implementation files only.527. Stage and commit handoff documentation only.538. If the user asked to push, push after both commits exist.5455Useful commit message pattern:5657```text58feat(<range>): <implementation summary>59docs(<range>): record <implementation summary> handoff60```6162## Guardrails6364- Keep generated or live-derived secrets out of handoff docs.65- Do not mix handoff docs into the implementation commit unless the user explicitly forbids two commits.66- Do not let a handoff commit conceal code/config changes.67- Do not create multiple scattered handoff files when one maintained document should be updated.68- When a deployment was not performed, phrase the handoff as planned/expected commands, not live evidence.69- If tests or smoke checks fail, document the failure and do not push as completed unless the user explicitly accepts that state.