Generate a session pickup prompt — summarizes current state so the next session can resume seamlessly
Generate a handoff summary for the next session. The optional notes argument lets the user add specific context (e.g., "was debugging the auth flow" or "next step is PR review").
Collect the following in parallel:
Git state:
git status
git log --oneline -10
git branch --show-current
Open PRs across all repos:
for repo in noorinalabs-main noorinalabs-isnad-graph noorinalabs-user-service noorinalabs-deploy noorinalabs-design-system noorinalabs-landing-page noorinalabs-data-acquisition; do
echo "--- $repo ---"
gh pr list --repo "noorinalabs/$repo" --state open --json number,title,author,headRefName --limit 5 2>/dev/null
done
Wave/phase status:
cross-repo-status.json if it existsOntology staleness:
ontology/checksums.json — count dirty filesRecent issues:
gh issue list --repo noorinalabs/noorinalabs-main --state open --limit 10 --json number,title,labels
Review what was accomplished in this session:
Write the handoff to two locations so it's available regardless of how the next session starts:
Location 1: Project memory (auto-loaded at session start)
Write to the project memory directory as session_handoff.md:
---