🛸 The Antigravity Bridge: Session Handover Protocol
To ensure seamless continuity and clear user direction between sessions, follow these steps at the end of every workspace session:
1. Context Snapshot
- Branch: [Active Branch Name]
- Identity: [Service Account or Principal used]
- Build Status: [Result of pnpm build]
- Test Status: [Result of pnpm autotester:dev]
2. Forensic Summary
- Briefly list the 3-5 major achievements of the current session.
- Cite the latest
capabilities.jsonhash and any updatedwalkthrough.mdortask.mdpaths.
3. Pending Debt & Blockers
- List any unresolved lints, skipped tests, or "TODO" items that need immediate attention.
4. The Pick-Up Prompt (CRITICAL)
Generate a block of text titled "NEXT SESSION PICK-UP PROMPT". This prompt MUST include:
- Convergence Point: "The last session ended after [Specific Action, e.g., successfully pushing Phase 18 to tst]."
- Logical Options: Offer 3-4 distinct paths forward (e.g., "Option A: Proceed to architectural audit", "Option B: Harden the marketing site").
- User Call-to-Action: End with "Direction check: [User Name], which direction would you like to take, or do you have another priority?"
5. Automated Execution
To generate a high-fidelity handoff automatically and clear system sluggishness:
// turbo
pnpm good-afternoon --summary "Brief summary of work" --intent "Immediate next steps"
This will:
- Capture git state and branch.
- Create a timestamped report in
.agent/history. - Provide a clear path for the next session to "Sunrise" and resume.
// turbo-all
// Instructions for the AI: When the system becomes sluggish or a context reset is needed, execute the pnpm good-afternoon script with descriptive flags. Use the output to prime the next session.