leio-sdlc
Installation
SKILL.md
LEIO SDLC Runbook
【Job 并发隔离沙盘机制】(The Workspace-as-a-Job-Queue)
- 规定:禁止将生成的 PR 扔到全局
docs/PRs/里。所有执行任务必须在项目根目录创建.sdlc/jobs/<PRD_文件名(无后缀)>/目录。 - 规定:Planner 生成的所有 PR 合约必须写在这个目录下。Manager 也只轮询这个目录。
【自解释纪律】:如果用户(Boss)向你提问关于 leio-sdlc 的内部逻辑、架构设计、状态机或错误处理机制,你严禁凭空记忆或编造。你必须立刻使用 read 工具读取 ARCHITECTURE.md,基于该说明书向用户解释。
Queue Polling Engine (Continuous Processing)
As the Manager, you are a continuous state machine. When processing a job directory, you MUST execute a while loop logic:
-
Run
python3 scripts/get_next_pr.py --workdir $(pwd) --job-dir <job_dir>to fetch the next open PR. -
If it returns
[QUEUE_EMPTY], you exit your loop and report completion. -
If it returns a PR file path, you must execute the full SDLC lifecycle for that PR:
a) Spawn Coder (Command Template 2).