start
Session start protocol — workflow gates, pending work, status report
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Session start protocol — workflow gates, pending work, status report
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Babysit a sibling Claude Code session in another tmux pane through a long-running plan. On every idle, ask the session if /clear is useful; if yes, sibling Writes its self-contained next-prompt body to /tmp/orchestrate-next.txt, orchestrator runs /clear and tells sibling to Read+execute that file (no paste-buffer). Halt on design questions or unexpected deviations. On every /orchestrate invocation it FIRST reads the handoff doc /srv/grappa/.orchestrate/orchestrator-resume.md (the persistent brain) then reconciles against the per-pane daemon state — so /orchestrate alone resumes with zero extra instruction; user can /clear freely to save tokens.
Dispatch parallel codebase or architecture review agents per docs/reviewing.md
End-of-session protocol — push, checkpoint, docs, story episode
| name | start |
| description | Session start protocol — workflow gates, pending work, status report |
Session start skill. Run the full workflow checklist and produce a status report. This is the "what's pending" dashboard.
Count session headers (## S) in the active checkpoint. Check date
of last codebase review in docs/reviews/codebase/.
A review is DUE if:
2 weeks since last codebase review
When due: must run before new feature work. Bug fixes and deploy fixes are exempt. This is enforced, not advisory.
Find the checkpoint with status: active in docs/checkpoints/.
Report:
## S headers)Read docs/todo.md for the full backlog. Categorize by priority tier.
git status
git log --oneline -5
docker compose ps
Note any uncommitted changes, unpushed commits, active worktrees, and whether the grappa container is running.
scripts/healthcheck.sh # only if container is running
If the container is up but /healthz fails, that's an immediate red
flag — surface it before anything else.
Format:
🔬 **Codebase Review**: not due (n sessions, last YYYY-MM-DD) / DUE — must run before features
📍 **Active Checkpoint**: CPnn (n sessions, ~nnn lines)
🌿 **Git State**: clean / uncommitted changes / unpushed commits (count)
🐳 **Container**: running (healthz ok) / running (healthz FAIL) / stopped / never built
## Pending (from checkpoint)
- item 1
- item 2
## Todo Highlights
**Immediate**: ...
**High**: ...
**Medium**: ...
**Observation**: ...
## What's Available
Given the gate status, here's what we can work on: ...
The "What's Available" section is the key output. If a codebase review is due, say so and offer to run it. Otherwise, list the priority work from todo + checkpoint pending.
Surface the current Phase from README.md "Phases" section. If we're
mid-Phase, mention which Task in the relevant plan we're at based on
the last commit + the test/code state. Don't just pull from todo —
read the actual code.