Upstream Sync PR
Use this workflow for CoachingAgentFramework fork/upstream handoffs.
Remotes
Expected remotes:
fork: Damian's fork,DamiMiller/CoachingAgentFrameworkorigin: Jarad's upstream,delorenj/CoachingAgentFramework
Verify with git remote -v before pushing or creating a PR.
Workflow
- Inspect state:
git status --shortgit branch --show-currentgit remote -v
- Preserve local work:
- Do not run
git reset --hard,git checkout -- ., or destructive cleanup. - If the current branch already has a PR, create a fresh
codex/branch for a new PR.
- Do not run
- Sync awareness:
- Fetch upstream with
git fetch origin main. - If local work is dirty, commit first or create the new branch before any rebase/merge.
- Prefer a normal PR into
origin/mainover risky local history surgery.
- Fetch upstream with
- Validate:
- Run the relevant local quality gate before commit when the change touches code.
- For
lamp-skills, the standard gate is full pytest, ruff, and mypy inside Docker.
- Commit:
- Stage intentional files only, including new untracked files.
- Use a concise message that describes the ticket wave or workflow.
- Push to Damian's fork:
git push -u fork <branch>
- Create the upstream PR:
gh pr create --repo delorenj/CoachingAgentFramework --base main --head DamiMiller:<branch>- Include local verification results and any external blockers.
Guardrails
- Never push directly to
origin/main. - Never mark GitHub branch protection done unless the protection write succeeds.
- If GitHub returns
404for branch protection, treat it as missing admin permission. - Keep secrets,
.env*, backup files, and localsession_data/*out of commits.