WIP: boostrapping opencode for use with at least GLM agents
This commit is contained in:
47
.opencode/commands/conductor-setup.md
Normal file
47
.opencode/commands/conductor-setup.md
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
description: Initialize conductor context — read product docs, verify structure, report readiness
|
||||
agent: tier1-orchestrator
|
||||
subtask: true
|
||||
---
|
||||
|
||||
# /conductor-setup
|
||||
|
||||
Bootstrap the session with full conductor context. Run this at session start.
|
||||
|
||||
## Steps
|
||||
|
||||
1. **Read Core Documents:**
|
||||
- `conductor/index.md` — navigation hub
|
||||
- `conductor/product.md` — product vision
|
||||
- `conductor/product-guidelines.md` — UX/code standards
|
||||
- `conductor/tech-stack.md` — technology constraints
|
||||
- `conductor/workflow.md` — task lifecycle (skim; reference during implementation)
|
||||
|
||||
2. **Check Active Tracks:**
|
||||
- List all directories in `conductor/tracks/`
|
||||
- Read each `metadata.json` for status
|
||||
- Read each `plan.md` for current task state
|
||||
- Identify the track with `[~]` in-progress tasks
|
||||
|
||||
3. **Check Session Context:**
|
||||
- Read `TASKS.md` if it exists — check for IN_PROGRESS or BLOCKED tasks
|
||||
- Read last 3 entries in `JOURNAL.md` for recent activity
|
||||
- Run `git log --oneline -10` for recent commits
|
||||
|
||||
4. **Report Readiness:**
|
||||
Present a session startup summary:
|
||||
```
|
||||
## Session Ready
|
||||
|
||||
**Active Track:** {track name} — Phase {N}, Task: {current task description}
|
||||
**Recent Activity:** {last journal entry title}
|
||||
**Last Commit:** {git log -1 oneline}
|
||||
|
||||
Ready to:
|
||||
- `/conductor-implement` — resume active track
|
||||
- `/conductor-status` — full status overview
|
||||
- `/conductor-new-track` — start new work
|
||||
```
|
||||
|
||||
## Important
|
||||
- This is READ-ONLY — do not modify files
|
||||
Reference in New Issue
Block a user