longrunning-session
Orchestrate long-running sessions with phase planning, validation, and archival.
SKILL.md.claude/skills/longrunning-session/SKILL.md
GitHubPurpose
Enforce the ADR orchestration workflow for long-running sessions.
Required steps (every session)
- Ensure the session folder exists in orchestration/current/history.
- Create or update primary task list, PRD, technical requirements, and notes in orchestration.
- Create a phase plan in
current/before starting work. - Execute tasks in that phase file.
- Validate every item listed in the phase file.
- Create a phase review file in
history/with file tree + technical summary. - Move the phase file to
history/when complete. - Check off the completed phase in the primary task list.
- Commit and push all phase changes.
- Create the next phase file before starting new work.
Subagent handoff
- After completing a phase, queue the next phase in
.claude/orchestration/queue/next_phase.json. - Use the orchestrator poke hook to spawn the next Claude exec session.
- If an agent name is provided, the orchestrator prefixes the prompt with the agent file path.
Output requirements
primary_task_list.mdprd.mdtechnical_requirements.mdnotes.mdphase_<N>.mdphase_<N>_review.md
Templates
Use templates in templates/ for every file type.
Safety
If access is missing or unclear, stop and request clarification before executing.
Testing policy
- Never force passing tests. Investigate failures, document causes, and fix for production readiness.
Remote handling
Do not hardcode repository remotes; use the repo's configured remote. Use HTTPS remotes (not SSH) for pushes.