plan-orchestrator
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "plan-orchestrator":https://skillpi.com/zh/skills/deepskill-1150e304eda193c943af9bedb91d1709a08f59fff231c33b321f7fc067aab398。安装前核对上游来源和版本:https://github.com/wasintoh/toh-framework。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
作为 /toh-plan 的“大脑”,根据需求或 PRD 并遵循 orchestration-protocol 第 D 部分规范编写 .toh/plan.md(计划为文件而非聊天状态),给出精简摘要,并在移交给 THE TOH LOOP 前持有唯一的“Go”审批权限。同时负责为 /toh-vibe 起草计划,用于执行前的规划、重新规划或调整。
介绍来源: third_party · wasintoh · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: plan-orchestrator
description: Orquestra as fases pendentes de um plano do document-plan (.plans/<plan-slug>/README.md) em ondas de dependência, com worktree por fase, workers isolados (context_phase_NN.md) e integração centralizada. Executa todas as ondas até zerar fases pendentes no plano. Genérico para qualquer layout Git (monorepo ou multi-repo). Workers usam execute-orchestrated-plan-phase. Use para executar um plano inteiro em paralelo. Não use para uma única fase — use execute-phase-plan.
argument-hint: "<caminho-do-plano> [--max-parallel N]"Plan Orchestrator
Executa automaticamente todas as fases pendentes de um plano do document-plan com paralelismo seguro.
- Orquestrador: gerencia subagents, Git (worktrees, cherry-pick) e o arquivo do plano.
- Workers: implementam e validam uma fase via
/execute-orchestrated-plan-phase, gravandoreport_phase_NN.md.
Uso
/plan-orchestrator .plans/<plan-slug>/README.md
/plan-orchestrator .plans/<plan-slug> # a pasta também serve
/plan-orchestrator .plans/<plan-slug>/README.md --max-parallel 2
O argumento é o caminho do plano relativo à raiz do workspace. Aceite tanto o arquivo quanto a pasta: se apontar para um diretório, o plano é <dir>/README.md. Caminho absoluto também vale.
Se o argumento for .plans/<plan-slug>.md (convenção antiga, arquivo irmão) e esse arquivo não existir, procure .plans/<plan-slug>/README.md antes de reportar erro.
Divisão de responsabilidades
| Responsável | Artefato | O quê |
|---|---|---|
| Worker | report_phase_NN.md |
Checklist da fase, evidência de validação, ADRs propostos — via execute-orchestrated-plan-phase |
| Worker | Código | Commits na branch phase/<plan-slug>/phase_NN no worktree |
| Orquestrador | .plans/<plan-slug>/README.md |
Único dono — status, Progress Log e Resume Point somente após cherry-pick |
| Orquestrador | .plans/<plan-slug>/adrs/ |
Único dono — materializa os ADRs propostos pelos workers, numerando sem colisão |
| Orquestrador | Git | Worktrees, ondas, integração em orchestrator/<plan-slug>, cleanup |
Workers nunca escrevem o plano nem os ADRs. Numeração de ADR em paralelo colide — por isso é centralizada. Não use execute-phase-plan nos workers.
Objetivo
- Respeitar as dependências declaradas na coluna
Depende dedo Phase Outline, em ondas. - Isolar a implementação de cada fase via git worktree no
git_rootcorreto. - Integrar código somente no orquestrador (cherry-pick).
- Executar todas as ondas numa sessão, sem parar entre elas.
Regra de ouro
Uma onda integrada ≠ plano concluído.
Encerre somente quando o Phase Outline tiver zero fases em
⏳,🔄ou⚠️elegíveis. Após integrar a onda N, inicie a onda N+1 na mesma sessão se houver elegíveis. Retorno de subagent ≠ fim do orquestrador.
Após cada onda — checklist obrigatório
- Reler
.plans/<plan-slug>/README.mddo disco. - Contar fases:
⏳pendentes,✅concluídas,⚠️falhas/bloqueadas. - Se pendentes > 0 e há elegíveis → Micro-relatório e Fase 4 imediata.
- Se pendentes > 0 sem elegíveis → corrigir o tracking ou marcar
⚠️. - Só se pendentes = 0 → Relatório Final.
## Plan Orchestrator — Onda <N> integrada
- Integradas: phase_01, phase_03
- Plano: <P> pendentes · <C> concluídas · <F> bloqueadas
- **Próxima ação:** iniciando onda <N+1> agora.
Máximo 6 linhas; continue executando sem esperar o usuário.
O que NÃO fazer
- Não emitir "Concluído" com fases pendentes.
- Não perguntar "deseja continuar?" entre ondas.
- Não usar
execute-phase-plannos workers — useexecute-orchestrated-plan-phase. - Não deixar o worker escrever no plano ou criar ADR numerado.
Isolamento de contexto
Cada worker = sessão nova (Task, run_in_background: true).
Persiste entre fases:
- Commits nas branches de fase
report_phase_NN.md(worker).plans/<plan-slug>/README.mdeadrs/(orquestrador)- Conjunto
integrated_phases - JSON de retorno
Passe aos workers apenas caminhos absolutos + context_phase_NN.md — sem histórico de conversa.
Após o JSON: deletar context_phase_NN.md; nunca reutilizar sessão.
Inputs obrigatórios
plan_file—.plans/<plan-slug>/README.md, gerado pelodocument-plan, com Phase Outline contendo as colunasDepende deeGit root.
Se o plano não tiver essas colunas (formato antigo), pare e peça ao usuário para rodar /document-plan <plan-slug> --update antes, ou derive as dependências e confirme-as explicitamente na Fase 2 antes de executar.
Fase 1 — Plano, Git e grafo
1.1 Plano e dependências
- Ler
.plans/<plan-slug>/README.md: Propósito, Invariants, Repository Map, Phase Outline, Master Task List, Progress Log, Deferred / Blocked, Notes for Future Agents. - Ler todos os ADRs em
.plans/<plan-slug>/adrs/. ADRSubstituído por/Descontinuadonão vale como decisão vigente. - Do Phase Outline, montar:
phase_id → objetivo,phase_id → depends_on[],phase_id → git_root,phase_id → DoD,phase_id → status. - Da Master Task List, agrupar as tasks por fase (coluna
Fase) — cada fase carrega suas tasks, validações e checklist.
Valide: ausência de ciclos, ids no formato phase_01 (não phase_1), toda fase com git_root resolvível, toda task pertencendo a exatamente uma fase.
Defina:
plan_slug= nome da pasta do plano (o<plan-slug>em.plans/<plan-slug>/) — não o nome do arquivo, que é sempreREADME.mdWORKSPACE_ROOT= raiz do workspace (absoluto)integrated_phases= fases✅no plano e confirmadas por integração anterior (checkpoint)
Elegível: fase com status ⏳ e todas as depends_on ∈ integrated_phases.
1.2 Detecção Git (genérica)
WORKSPACE_ROOT="<absoluto>"
git -C "$WORKSPACE_ROOT" rev-parse --is-inside-work-tree 2>/dev/null && echo monorepo
for d in "$WORKSPACE_ROOT"/*/; do
git -C "$d" rev-parse --is-inside-work-tree 2>/dev/null && echo "git-root: $d"
done
| Modo | Worktrees |
|---|---|
| monorepo | $WORKSPACE_ROOT/.worktrees/<plan-slug>/phase_NN |
| multi-repo | <git-root>/.worktrees/<plan-slug>/phase_NN |
| sem Git | Parar na Fase 3 |
O plano pode ficar fora de qualquer Git (.plans/ normalmente está).
1.3 Fase → git_root
Para cada fase pendente:
- Use a coluna
Git rootdo Phase Outline. - Se vazia, derive dos caminhos citados nas tasks daquela fase e no Repository Map.
- Todas as tasks no mesmo root → OK.
- Fase cruzando roots distintos → quebrar em subfases por root ou serializar; se nem isso resolver, marcar
⚠️e reportar. - Ambíguo → perguntar na Fase 2.
1.4 Sessões concorrentes (pré-voo obrigatório)
Antes da Fase 2, verifique se outro plano está rodando nos mesmos git_root:
for cp in "$WORKSPACE_ROOT"/.plans/*/.orchestrator_checkpoint; do
[ -e "$cp" ] || continue
grep -q '"in_progress_wave"' "$cp" && echo "SESSÃO ATIVA: $cp" && cat "$cp"
done
Um checkpoint com in_progress_wave/in_progress_phases indica uma sessão viva. Cruze os git_roots dele com os seus.
Interseção vazia (ex.: o outro plano só toca club, o seu só toca app) → siga normalmente. O worktree de integração já garante que os dois não disputam branch.
Interseção não vazia → o worktree de integração resolve o conflito de branch, mas não os outros dois pontos de compartilhamento. Reporte ao usuário e peça decisão explícita antes de continuar:
| Compartilhado | Ainda quebra? | Por quê |
|---|---|---|
| Working tree principal / branch | Não | Cada plano tem seu _integration |
| Banco de dados de teste | Sim | Os worktrees leem o mesmo .env/.env.test do repo → mesmos bancos, mesmas migrations |
Client/artefato gerado dentro de node_modules compartilhado |
Sim | Symlink de dependências resolve para o realpath do repo principal; dois planos com schemas/configs diferentes se sobrescrevem |
| Núcleos de CPU | Degrada | Duas suítes de teste dimensionadas para a máquina inteira |
E o que nenhuma correção de Git resolve: se os dois planos editam os mesmos arquivos, cada um fica verde em isolamento e ninguém testa a combinação. Nesse caso, recomende serializar.
Fase 2 — Planejamento e confirmação
## Plan Orchestrator — Roteiro de Execução
Modo: monorepo | multi-repo
Plano: <plan_file>
Workspace: <WORKSPACE_ROOT>
| Git root | Branch orquestração | Worktree de integração | Worktrees de fase |
|----------|---------------------|------------------------|-------------------|
| <path> | orchestrator/<plan-slug> | <git-root>/.worktrees/<plan-slug>/_integration | <git-root>/.worktrees/<plan-slug>/phase_NN |
| Git root | Branch atual detectada | Base branch selecionada | Working tree principal |
|----------|------------------------|-------------------------|------------------------|
| <path> | <branch-atual> | <base_branch> | intocado (permanece em `<branch-atual>`) |
Concorrência: 3 · Integração: cherry-pick · Worker skill: execute-orchestrated-plan-phase
| Onda | Fases | Tasks | Git roots | Aguarda |
|------|-------|-------|-----------|---------|
| 1 | phase_01, phase_03 | 01-04, 08-09 | ... | — |
Invariants em vigor: <lista curta do plano>
ADRs vigentes: <ADR-001, ADR-003 (ADR-002 substituído)>
Total: N fases · T tasks · M ondas
Já integradas: <lista>
Antes da Fase 3, a confirmação inicial é obrigatória:
- Exibir o roteiro completo (ondas, estratégia de disparo,
base_branchporgit_root, invariants e ADRs vigentes). - Pedir confirmação única:
Posso iniciar a execução com este plano? (sim/não). - Se
sim, seguir e executar todas as ondas sem novas confirmações. - Se
não, parar sem criar worktrees e sem alterar branches.
Regra: não iniciar a Fase 3 sem essa confirmação explícita.
Loop principal (Fases 4 → 5 → 6)
wave := 1
integrated_phases := { já confirmadas }
loop:
pending := fases não ✅ no plano
if pending == 0: goto FINAL_REPORT
eligible := pending com depends_on ⊆ integrated_phases
if eligible empty and pending > 0: goto HANDLE_BLOCKED
run_wave(eligible, max_parallel=3)
integrate_and_update_plan()
write_checkpoint()
emit MICRO_REPORT(wave)
STOP_CHECK
wave += 1
goto loop
FINAL_REPORT
STOP CHECK: se pending > 0, não encerre — volte ao loop.
Retomar execução
- Ler
.plans/<plan-slug>/.orchestrator_checkpoint, depois o plano. - Reconstruir
integrated_phases. - Reconectar o worktree de integração de cada
git_rootativo (ver Fase 3) — sem tocar no working tree principal. Seintegration_worktreesdo checkpoint apontar para um diretório que não existe mais, recrie-o a partir da branchorchestrator/<plan-slug>, que preserva o que já foi integrado. - Exibir o roteiro remanescente (ondas pendentes +
base_branchatual porgit_root) e pedir confirmação única (sim/não). - Se
sim, entrar no loop sem novas confirmações por onda; senão, encerrar sem executar.
Fase 3 — Preparação Git
Nunca dê
checkoutno working tree principal dogit_root. Ele pertence ao usuário — e a outra sessão do orquestrador que talvez esteja rodando no mesmo repo. Toda a integração acontece em um worktree de integração dedicado, um por plano.
Por git_root usado:
INTEG="$GIT_ROOT/.worktrees/<plan-slug>/_integration"
mkdir -p "$GIT_ROOT/.worktrees/<plan-slug>"
if git -C "$GIT_ROOT" show-ref --verify --quiet "refs/heads/orchestrator/<plan-slug>"; then
# Retomada: a branch já existe, só reconectar o worktree
[ -d "$INTEG" ] || git -C "$GIT_ROOT" worktree add "$INTEG" "orchestrator/<plan-slug>"
else
git -C "$GIT_ROOT" worktree add "$INTEG" -b "orchestrator/<plan-slug>" "$base_branch"
fi
O working tree principal fica onde estava, na branch que o usuário deixou. Confirme isso antes de seguir:
git -C "$GIT_ROOT" rev-parse --abbrev-ref HEAD # deve ser a branch original do usuário
Convenções:
- Orquestração:
orchestrator/<plan-slug> - Fase:
phase/<plan-slug>/phase_NN - Worktree de fase:
$GIT_ROOT/.worktrees/<plan-slug>/phase_NN - Worktree de integração:
$GIT_ROOT/.worktrees/<plan-slug>/_integration— onde o orquestrador faz todo cherry-pick
O prefixo _ distingue o worktree de integração dos de fase: onde a skill varrer .worktrees/<plan-slug>/*, filtre por phase_* para não tratar _integration como fase.
Ligue os diretórios de dependência no worktree de integração também (mesma receita da seção seguinte) — sem eles ninguém consegue rodar nada contra o resultado integrado.
Ligar os diretórios de dependência
Um git worktree novo não tem as dependências instaladas, e rodar o instalador em cada fase é caro e sujeito a divergência de versão. Ligue (symlink) os diretórios de dependência já presentes no git_root para o worktree, após git worktree add e antes de disparar o worker.
- Detecte o gerenciador pelo manifesto/lockfile presente no
git_root. - Defina
DEP_DIRS= os diretórios de dependência correspondentes (o nome varia por ecossistema; sempre inclua os que já existirem nogit_roote estiverem ignorados pelo Git). - Para cada diretório de manifesto encontrado — inclusive os de sub-pacotes, em repositórios com múltiplos pacotes — crie o link espelhando o caminho relativo:
# DEP_DIRS: nomes dos diretórios de dependência detectados no passo 1
for name in $DEP_DIRS; do
find "$GIT_ROOT" -type d -name "$name" -prune -not -path "*/.git/*" | while read -r src; do
rel="${src#$GIT_ROOT/}"
dst="$WT_PATH/$rel"
mkdir -p "$(dirname "$dst")"
[ ! -e "$dst" ] && ln -s "$src" "$dst"
done
done
Registre os DEP_DIRS usados no checkpoint — o cleanup precisa remover exatamente esses links.
Workers não rodam instalador de dependências. Se o ecossistema não tolerar dependências por symlink, o modo degradado é rodar a instalação no orquestrador, uma vez por worktree, antes de disparar o worker.
Fase 4 — Execução em ondas
Início de cada iteração: reler o plano do disco.
- Onda = fases
⏳elegíveis (depends_on⊆integrated_phases). - Máximo 3 por lote (fases são maiores que tasks; suba para 4 só com
--max-parallel). - Mesmo
git_root+ mesmo módulo/arquivo → serializar; em dúvida, serializar. git_rootdiferentes → paralelo.
Por fase no lote
a) Worktree
git -C "$GIT_ROOT" worktree add \
".worktrees/<plan-slug>/phase_NN" \
-b "phase/<plan-slug>/phase_NN" \
"orchestrator/<plan-slug>"
b) Ligar os diretórios de dependência (se aplicável).
c) Context Builder (orquestrador, inline)
Gravar .plans/<plan-slug>/context_phase_NN.md:
# Contexto — phase_NN: <Nome da fase>
## Objetivo e Definition of Done
<!-- linha do Phase Outline -->
## Tasks desta fase
<!-- linhas da Master Task List com Fase = NN, incluindo coluna Validação -->
## Checklist da fase
<!-- bloco "### Fase N" de Checklists por Fase -->
## Invariants aplicáveis
<!-- apenas os que tocam esta fase -->
## Repository Map relevante
<!-- apenas as linhas cujos caminhos esta fase toca -->
## Comandos do Projeto
<!-- seção "Comandos do Projeto" do plano; se ausente, os comandos reais que você descobriu no repositório -->
## Arquivos de convenção a ler
<!-- caminhos de AGENTS.md / CLAUDE.md / CONTRIBUTING.md da raiz, do git_root e do módulo tocado -->
## ADRs vigentes relevantes
<!-- resumo + caminho; nunca copiar ADR substituído/descontinuado -->
## Estado de dependências
<!-- fase integrada: phase_id + summary do JSON do worker anterior -->
## Notas para agentes
<!-- itens de Notes for Future Agents que se aplicam -->
Regra: o worker recebe este arquivo, não o plano inteiro.
d) Worker (Task, run_in_background: true)
Você é um worker isolado para <phase_id>.
Não fale com o usuário. Sessão nova, sem histórico.
Use execute-orchestrated-plan-phase com:
- plan_slug: <plan-slug>
- phase_id: phase_NN
- context_file: .plans/<plan-slug>/context_phase_NN.md
- report_file: .plans/<plan-slug>/report_phase_NN.md
- worktree_path: <WT_PATH>
- git_root: <GIT_ROOT>
- auto_commit: true
Leia antes (se existirem):
- <WORKSPACE_ROOT>/AGENTS.md ou CLAUDE.md
- <GIT_ROOT>/AGENTS.md ou CLAUDE.md
Retorno (somente JSON):
{
"phase_id": "phase_NN",
"git_root": "<GIT_ROOT>",
"status": "done|partial|failed",
"branch": "phase/<plan-slug>/phase_NN",
"commits": ["<sha>"],
"report_status": "completed|partial|failed",
"tasks_done": ["01", "02"],
"tasks_pending": ["03"],
"validation": "<comando> → <resultado real>",
"proposed_adrs": [
{ "title": "<título>", "decision": "<1 linha>", "alternatives": "<1 linha>", "body_file": ".plans/<plan-slug>/report_phase_NN_adr_1.md" }
],
"manual_validation_required": ["<o que o usuário precisa checar>"],
"summary": "resumo pt-BR",
"error": ""
}
e) Aguardar todos os workers da onda antes da Fase 5.
Fase 5 — Integração e atualização do plano
Por worker com status done ou partial:
- Validar
report_phase_NN.md: checklist da fase preenchido + evidência de validação por task. Sem isso →failed, não integrar. - Conferir contra o DoD da fase no Phase Outline. DoD não atendido → integra apenas se
partiale o usuário aceitar; caso contrário⚠️. - Cherry-pick no worktree de integração (
-Caponta para ele, nunca para$GIT_ROOT):INTEG="$GIT_ROOT/.worktrees/<plan-slug>/_integration" git -C "$INTEG" cherry-pick <SHA1> <SHA2> ...O
_integrationjá está na branchorchestrator/<plan-slug>desde a Fase 3 — não hácheckouta fazer aqui. Se por algum motivo ele não estiver, pare e investigue: alguém mexeu no worktree, e integrar às cegas escreveria commits na branch errada.git -C "$INTEG" rev-parse --abbrev-ref HEAD # deve ser orchestrator/<plan-slug> - Se OK:
integrated_phases+=phase_id(somente sestatus: done)- Atualizar o plano (único escritor):
- Master Task List:
[x]nas tasks detasks_done,[~]nas detasks_pending - Checklist da Fase: marcar conforme o report
- Phase Outline:
✅(done) ·🔄(partial) ·⚠️(failed) - Progress Log: nova entrada append-only por fase integrada (branch, resumo, arquivos, validação real)
- Deferred / Blocked:
manual_validation_requirede o que ficou pendente - Header:
Status,Current Phase,Last Updated,Resume Pointreescrito
- Master Task List:
- Materializar
proposed_adrs: ler.plans/<plan-slug>/adrs/para o próximo número livre, gravaradr-NNN.mda partir dobody_fileno formato do template, e acrescentar a linha na tabela Architecture Decision Records. Numere em série, uma fase por vez, para evitar colisão. - Deletar
context_phase_NN.md,report_phase_NN.mde osbody_filejá materializados - Cleanup do worktree
- Conflito de cherry-pick →
git -C "$INTEG" cherry-pick --abort, marcar⚠️e pausar aquelegit_root; as outras fases da onda seguem. O--aborté obrigatório: um_integrationdeixado no meio de um cherry-pick faz a próxima onda falhar de um jeito confuso.
Nunca marque uma fase como ✅ antes do cherry-pick bem-sucedido.
Fase 6 — Revalidação
- Reler o plano do disco.
- Conferir JSON ↔ commits ↔
report_phase_NN.md↔ plano. - Gravar
.plans/<plan-slug>/.orchestrator_checkpoint:
{
"plan_file": ".plans/<plan-slug>/README.md",
"plan_slug": "<plan-slug>",
"last_wave": 2,
"integrated_phases": ["phase_01", "phase_03"],
"pending": 2,
"blocked": [],
"next_adr_number": 4,
"git_roots": ["<absoluto>"],
"integration_worktrees": { "<git-root-absoluto>": "<git-root>/.worktrees/<plan-slug>/_integration" },
"dep_dirs": ["<nome-do-diretório-de-dependências>"]
}
- Se pendentes > 0 → Micro-relatório + Fase 4.
- Apagar o checkpoint quando pendentes = 0.
Regras de paralelismo
| Situação | Comportamento |
|---|---|
Dep ∉ integrated_phases |
Nunca iniciar |
git_root diferentes |
Paralelo |
Mesmo git_root, mesmo módulo/arquivo |
Serializar |
| Fase que altera contrato consumido por outra | Serializar, mesmo sem dep declarada |
| Fase com validação manual obrigatória | Serializar e reportar ao usuário |
Lote > max_parallel (padrão 3) |
Dividir |
Tratamento de erros
| Erro | Ação |
|---|---|
| Sem Git | Parar na Fase 3 |
Plano sem Depende de / Git root |
Parar; pedir /document-plan --update |
| Ciclo de dependência entre fases | Parar; reportar o ciclo |
worktree_creation_failed |
Retentar / abortar |
worker_no_commit |
Falha; não integrar |
report_incomplete |
Não integrar; marcar ⚠️ |
cherry_pick_conflict |
cherry-pick --abort no _integration; pausar o repo; marcar ⚠️ |
_integration fora de orchestrator/<plan-slug> |
Parar aquele git_root; alguém mexeu no worktree — não integrar às cegas |
Outra sessão do orquestrador ativa no mesmo git_root |
Ver "Sessões concorrentes" |
| Worker viola Invariant | Não integrar; registrar em Deferred / Blocked |
| Colisão de numeração de ADR | Impossível por construção — só o orquestrador numera |
Cleanup
Remova primeiro os symlinks de dependência — senão worktree remove reclama de conteúdo não rastreado, e um rm -rf do worktree pode seguir o link e apagar as dependências do repositório real.
WT_ABS="$GIT_ROOT/.worktrees/<plan-slug>/phase_NN"
find "$WT_ABS" -type l -exec rm {} \; # apenas links, nunca -delete em diretórios
git -C "$GIT_ROOT" worktree remove ".worktrees/<plan-slug>/phase_NN"
git -C "$GIT_ROOT" branch -D "phase/<plan-slug>/phase_NN"
Fases ⚠️: manter o worktree para debug.
Worktree de integração — só no fim
O _integration sobrevive a todas as ondas: é onde os commits integrados vivem. Remova-o apenas depois do Relatório Final, e nunca apague a branch orchestrator/<plan-slug> — é o entregável do plano, de onde sai o PR.
INTEG="$GIT_ROOT/.worktrees/<plan-slug>/_integration"
find "$INTEG" -type l -exec rm {} \;
git -C "$GIT_ROOT" worktree remove "$INTEG"
# a branch orchestrator/<plan-slug> permanece
Se qualquer fase ficou ⚠️, mantenha também o _integration — o usuário vai querer inspecionar o estado integrado parcial.
Para conferir o resultado, o usuário faz git checkout orchestrator/<plan-slug> no próprio working tree quando quiser — decisão dele, nunca do orquestrador.
Relatório final
## Plan Orchestrator — Concluído
✅ fases: N/N · ❌ bloqueadas: F · 🌊 ondas: M
📋 tasks: T/T · 🧭 ADRs criados: A
Integração: <git-root> → orchestrator/<plan-slug>
📄 plano: .plans/<plan-slug>/README.md
Working tree principal: intocado, ainda em `<branch-original>`
Para revisar o resultado: `git -C <git-root> checkout orchestrator/<plan-slug>`
Validação manual pendente:
- <item> (fase N)
Guardrails
- Nunca encerrar com fases pendentes.
- Nunca dar
checkoutno working tree principal de umgit_root. Todo cherry-pick vai no_integration. O working tree do usuário fica na branch dele do começo ao fim. - Nunca marcar
✅no plano antes do cherry-pick. - Elegibilidade de onda via
integrated_phases, não suposição. - Workers usam execute-orchestrated-plan-phase — nunca
execute-phase-plan. - Workers nunca escrevem o plano nem numeram ADR.
- Progress Log é append-only, inclusive no orquestrador.
- STOP CHECK antes de qualquer mensagem de conclusão.
- Sem plano inteiro no worker — use
context_phase_NN.md. - Nunca fazer push.
Modos degradados (confirmação explícita)
| Modo | Risco |
|---|---|
| Sem worktree | Conflitos em edição paralela |
| Serial total | Mais lento |
--max-parallel 1 |
Mais seguro |
Skills relacionadas
| Skill | Quando |
|---|---|
document-plan |
Criar/atualizar o plano que esta skill executa |
execute-orchestrated-plan-phase |
Worker desta skill |
execute-phase-plan |
Execução manual de uma fase, fora do orquestrador |
Idioma
pt-BR.
版本历史
-
v2.2.1
GitHub ↗
原版更新说明
### 🔁 Releases Publish Themselves v2.2.1 changes nothing you install — ปล่อยเวอร์ชันใหม่ได้ด้วยการ push ครั้งเดียว. It moves the release pipeline off a long-lived npm token and onto npm Trusted Publishing, so a release is now just "bump the version and push". #### Changed - **Release on push** — `.github/workflows/release.yml` runs on every push to `main`. When the `package.json` version is not on npm yet, it smoke-tests, publishes, then creates tag `vX.Y.Z` and the GitHub Release from this file. A push that keeps the version publishes nothing. - **npm Trusted Publishing (OIDC)** — no `NPM_TOKEN` secret, nothing to expire; provenance is attached automatically. Pre-release versions (`X.Y.Z-beta.N`) go to the `next` dist-tag. #### Technical - Release job runs on Node 24 (trusted publishing needs npm >= 11.5.1) and fails loudly on an older npm. - No agent, skill, command or installer changes — counts unchanged (8 agents / 23 skills / 14 commands).
-
v2.2.0
GitHub ↗
原版更新说明
### 🤖 Codex Gets a Real Team v2.2 gives Codex what Claude Code, Cursor and Antigravity already had — a native team. ทีม agent ตัวจริงบน Codex. Every Toh agent now installs as a project-scoped Codex custom agent, the 14 workflows are invoked as `$toh-<cmd>` skills, and for the first time the repo has an automated test suite gating every release. This release began as [PR #3](https://github.com/wasintoh/toh-framework/pull/3) by @pcbimon — the first external code contribution to Toh Framework. #### Added - **Native Codex agents** — every Toh agent in `.toh/agents/` is now also installed as a project-scoped Codex custom agent in `.codex/agents/<name>.toml` (`name`, `description`, `model_reasoning_effort`, `sandbox_mode`, `developer_instructions`), so Codex can delegate to `ui-builder`, `plan-orchestrator` and friends natively. The files deliberately carry **no `model` key**: they inherit the parent session's model, so one config choice governs every agent and a future model rename never strands an install. Reasoning effort comes from a new `modelIntent` frontmatter key (`lightweight | implementation | planning | review`, falling back to the Claude tier), and agents whose tool allowlist has no write tool get Codex's `read-only` sandbox. Ownership is tracked by sha256 in `.codex/toh-framework.json`: a file you edited or created is never overwritten or removed. AGENTS.md now points Codex at `$toh-<cmd>` skill invocation and the native agents. Contributed by @pcbimon in [PR #3](https://github.com/wasintoh/toh-framework/pull/3); reshaped in review so `.agents/skills/` keeps a single writer (shared.js), an existing `.codex/config.toml` is still never modified, and the codex capability profile stays the probed v2.1.1 floor. - **`toh uninstall --ide codex`** — removes just the native agent files this installer wrote (hash-verified, backed up first) and their manifest; AGENTS.md, `.codex/config.toml` and `.toh/` stay. The full uninstall also knows the new paths. - **Test suite** — `npm test` runs `tests/codex.test.js` (node:test, in-band): install layout, TOML shape, single-writer invariant across IDE order, config.toml untouched, ownership by hash, AGENTS.md idempotency and budget, both uninstall paths. First automated tests in the repo; CI and the release workflow now run it. #### Changed - **Codex quick start** — README and AGENTS.md now show `$toh-vibe` (native skill invocation) first; plain `/toh-vibe` text still works. AGENTS.md also tells Codex to hand a custom agent a self-contained brief, because a full-history fork is refused (seen in the live run). - **Hard-budget abort is thrown, not exited** — `setupIDEWithSpinner` still prints the same explanation on a fatal size-budget error, then throws; `bin/toh-cli.js` turns it into exit code 1. Same behaviour for users, observable by the test suite. - **`--quick` never prompts** — a missing target directory is created without the confirmation question. - **Banner** — bumped to 2.2 (the canvas widened by 102 px so the wider number keeps the same margins; every other pixel is unchanged).
-
v2.1.1
GitHub ↗
原版更新说明
### 🩹 Patch: Updates That Respect Your Work v2.1.1 is a repair release — อัปเดตได้โดยไม่ทับงานเดิม. Every fix answers the same complaint, reported in GitHub issue #2 by @tumansdev: re-running the installer on a project that was already mid-work behaved as if the project were brand new. Updates now preserve live state, stop hooks now respect a plan you deliberately parked, and Codex capability claims are probed at install time instead of assumed. #### Fixed - **Memory survives an update** — re-running the installer over an existing project no longer resets `.toh/memory/`. All 7 memory files are now seeded only if absent, the same contract `.toh/plan.md` and `.toh/progress.md` have had since v2.0.0 — an update never clobbers what the loop has learned. Applied at every one of the 6 inline template code sites (`install.js` + 5 IDE handlers; zcode deliberately has none). - **Stop hooks respect a parked plan** — a plan whose header says `Status: blocked` or `Status: paused` is now terminal for the Claude Code prompt Stop hook, exactly like `Status: done`/`Status: draft`: the loop no longer refuses to end a session over work the user deliberately put down. The deterministic Antigravity command-script hook gains the same exemptions plus `Status: done` (which its grep previously never checked). Existing installs are **upgraded in place**: the installer recognises its own `<TFW-STOP-HOOK>` entry and rewrites just that entry to the new text instead of treating "marker present" as "nothing to do" — user hook entries are still never removed or reordered. - **Codex capabilities probed, not assumed** — the Codex handler now runs a runtime capability probe and falls back conservatively when the probe cannot confirm a feature, instead of hardcoding what the currently-installed Codex is presumed to support. An unverifiable capability is declared absent — the generated text never promises what the runtime was not proven to do. - **Version-drift sweep completed** — re-audited every user-visible and generated surface (`src/`, `installer/`, `README.md`, `docs/README-TH.md`, plus a real install of all 5 IDE targets) for stale `Next.js 14` / `React 18` / `Tailwind 3` stack mentions left after 0795eec. Result: zero remaining — generated output states only Next.js 16 / React 19 / Tailwind 4, matching the `src/templates/nextjs-pro/package.json` pins. Historical CHANGELOG entries and archived planning docs keep their original wording on purpose. Fixes [GitHub issue #2](https://github.com/wasintoh/toh-framework/issues/2) — thank you @tumansdev for the detailed report. #### Technical - Counts (from disk): **8 agents / 23 skills / 14 commands** — unchanged from 2.1.0; `toh-help.md`, README stats and both parallel command surfaces (14 Gemini CLI TOML, 14 Antigravity workflows) untouched. - Synced IDE surfaces touched by this patch: - **All IDE installs** — `.toh/memory/` (7 files) now seed-if-absent at all 6 inline template sites: `installer/install.js` plus the claude-code, cursor, antigravity-cli, codex and gemini-cli handlers (zcode has no 7th copy by design). - **Claude Code** — `<TFW-STOP-HOOK>` prompt hook in `.claude/settings.json`: new blocked/paused terminal semantics + in-place upgrade of our own entry on reinstall. - **Antigravity (agy CLI + IDE)** — `<TFW-STOP-HOOK>` command-script hook in `.agents/hooks.json`: same terminal semantics (done/blocked/paused alongside draft) + in-place upgrade. - **Codex** — capability probe with conservative fallback feeding the generated `AGENTS.md` claims and `.toh/capabilities.json`. Probe format verified live against codex-cli 0.149.1 and 0.145.0: the real interface is the plain-text `codex features list` table (no `--json` flag exists), and the real feature names are `multi_agent`, `hooks`, `goals` — `parallel` has no codex equivalent and stays declared false. - No source counts, templates, commands, agents or skills changed — README.md and docs/README-TH.md are untouched (the drift sweep found nothing left in either). - package.json: version **2.1.0 → 2.1.1**. ---
-
v2.1.0
GitHub ↗
原版更新说明
### 🔌 Compatibility Release: Every Living IDE, Verified For Real v2.1 is a compatibility release — ตรวจจริง ซ่อมจริง ทุก IDE ที่ยังมีชีวิต. Every supported tool was measured against its current version and repaired where reality had moved: Codex was silently truncating our instructions (now slimmed and hard-guarded), Antigravity and the Antigravity CLI (agy) became a first-class target, Cursor 2.4's native subagents are used instead of denied, every non-Claude runtime — including newcomer ZCode (Z.ai) — discovers one shared open-standard `.agents/skills/` surface, and Claude Code subagents preload their skills natively. #### Changed - **Codex un-truncated** — Codex now reads the whole Toh Framework instead of silently dropping 6 of 8 agents. The generated `AGENTS.md` block shrank from ~117 KB to 12,958 bytes (EN; TH 12,647) — safely under Codex's 32 KiB combined project-doc budget — by replacing embedded agent bodies with a compact roster table plus runtime reads from `.toh/agents/` and `.toh/commands/`. A hard assertion now fails the install if the block ever exceeds 24 KiB, and a project-scoped `.codex/config.toml` raises `project_doc_max_bytes` to 131,072 (written only when no user `config.toml` exists). - **Antigravity and the Antigravity CLI (`agy`) are a first-class target** — a new handler emits the workspace `.agents/` surface: an Always-On rule, 14 workflows (plus a legacy `.agent/workflows/` mirror), 8 file-based subagents, skills, and a deterministic Stop hook. Legacy `.gemini/` output survives for Enterprise/GCP users behind the new `--legacy-gemini` flag (removed from the interactive menu); its 14 TOML commands and settings.json are unchanged from v2.0.0, GEMINI.md differs only in its version line, and the verbatim-copied `.gemini/skills/` pick up this release's new skill frontmatter. - **Cursor 2.4 gets a real agent team** — instead of being told "multi-agent features are unavailable here", Cursor now installs all 8 Toh agents as native `.cursor/agents/*.md` subagents (root-cause-debugger derives `readonly: true` from its read-only tools allowlist), the capability profile declares `subagents: native`, and the rule prose describes native delegation with the sequential TOH LOOP as the documented fallback. - **`.cursorrules` no longer written by default** — the file has vanished from official Cursor docs and duplicated the alwaysApply `.mdc`; users on very old Cursor versions can keep it via the new `--legacy-cursorrules` flag. - **Claude Code subagents preload their skills natively** — skill loading no longer depends on prose the subagent can skip: the installer passes the native `skills` frontmatter key through, filtered to skills that actually exist in `.claude/skills/` (excluding any marked `disable-model-invocation: true`). - **`/toh-protect` shortcut is now `/toh-pt`** — resolves the long-standing alias collision: `/toh-p` belongs solely to `/toh-plan`. `/toh-security` and `/toh-audit` still work. - **`npm run list` reads the live catalog** — the stale hardcoded tables are gone; it now parses `src/` frontmatter at runtime and prints the real 14 commands / 8 agents / 23 skills. - **Claude Code Stop hook: deliberately unchanged** — the flagship "refuses to quit until DONE" prompt hook ships byte-identical to v2.0.0 (owner decision); the new deterministic command-script Stop hook is Antigravity-only. #### Added - **`toh uninstall` — the missing counterpart to `toh install`** — until now a user who installed Toh Framework had no supported way to remove it. `npx toh-framework uninstall` prints a plain-language preview of every file it would remove, keep, or edit, then asks once before touching anything. Safety outranks completeness throughout: files it cannot prove it installed are left in place and named on screen; co-owned files (`CLAUDE.md`, `AGENTS.md`, `.claude/settings.json`, `.agents/hooks.json`, `.codex/config.toml`, `.cursorrules`) are edited surgically — only our marker-delimited block or our `<TFW-STOP-HOOK>` entry comes out, and an unparseable or unrecognisable file is skipped with a warning instead of rewritten; symlinked paths are never followed; directories are removed only once they are empty. `.toh/plan.md`, `.toh/progress.md` and both memory folders are the project's live work, so they are kept by default and deleted only after a separate opt-in (the second question, or `--all`) — with a copy saved to `.toh-uninstall-backup/` first. When there is no install record to check against, files matched by name alone are copied to that same backup folder before removal. Flags: `--dry-run`, `-y/--yes`, `--all`, `--verbose`, `-t/--target`. Also available as `npm run uninstall:local`. - **Install inventory (`manifestSchema` 2)** — `.toh/manifest.json` now records the path, sha256 and pre-install state of every file the installer wrote, plus the directories it created. That record is what lets uninstall tell "our file, untouched" from "our file, edited by you" (kept, never deleted) and from "your file" (never claimed). Reinstalls carry the original pre-existence facts forward, and a file rewritten with identical bytes is still recorded as ours, so an upgrade never produces an under-reporting record. - **The project `CLAUDE.md` block is delimited** — the Toh Framework section is now written between `<!-- TOH-FRAMEWORK-START -->` / `<!-- TOH-FRAMEWORK-END -->` markers (the same pair Codex already used in `AGENTS.md`), so it can be lifted out of a file you also write in without touching a byte of your own text. Projects installed before v2.1 have no markers; uninstall recognises our generated text there instead, and backs the file up before editing it. - **ZCode (Z.ai) is a supported target** — ZCode reads the same open surfaces this release already writes, so support needed no bespoke file format: `AGENTS.md` as project memory (the identical file Codex reads), `.agents/skills/` for all 37 skills, and the new `.agents/commands/` for 14 real `/toh-*` slash commands — a native command surface Codex itself does not offer. This was verified by running ZCode CLI 0.16.3 against an installed project, not inferred from documentation: `zcode skills list --json` reports 37 entries at `scope: project`, `source: agents`, and `zcode commands list --json` reports all 14 commands from `<project>/.agents/commands`, both with an empty `diagnostics` array. Selecting ZCode alongside Codex writes `AGENTS.md` exactly once, in the conservative Codex variant that stays truthful for both runtimes. - **Shared `.agents/commands/` — real slash commands beyond Claude Code** — the same 14 command prompts that ship as skills are now also written as project slash commands, generated from the one TOML source. Runtimes that ignore the directory are unaffected; they still reach every prompt through `.agents/skills/toh-*`. - **Shared `.agents/skills/` open standard — one write, four tools** — Codex, Cursor 2.4, Antigravity, and ZCode all natively discover Agent Skills from `<project>/.agents/skills/`, so the installer now generates 37 skills there: 23 thin wrappers over the framework skills plus 14 `/toh-*` command skills (`disable-model-invocation: true`, so they surface as explicit `/` commands). Wrapper descriptions are capped at 300 chars so the whole name+description listing (7,383 chars) fits Codex's shared 8,000-char budget; full skill text still lives in `.toh/skills/`, which every wrapper reads at runtime. - **Real slash aliases on Claude Code** — typing `/toh-v` or `/toh-p` no longer risks "Unknown command": the installer generates 15 thin alias command files (`toh-v`, `toh-p`, `toh-pt`, `toh-security`, `toh-audit`, …) that forward `$ARGUMENTS` to the real commands. - **Frontmatter for all 23 skills** — the 13 previously bare SKILL.md files gained spec-compliant YAML frontmatter (keyword-rich third-person descriptions; internal skills marked `user-invocable: false`), so auto-invocation now triggers off real descriptions instead of decorated titles. Skill bodies are byte-identical. - **Deterministic Antigravity Stop hook** — `.agents/hooks.json` blocks ending a session while `.toh/plan.md` still has unchecked tasks, via a plain `grep` command script (exit 2 + reason). Strictly additive and idempotent (`<TFW-STOP-HOOK>` marker); never removes or reorders user hook entries. - **New install flags** — `--legacy-gemini` (Enterprise Gemini CLI `.gemini/` output) and `--legacy-cursorrules` (root `.cursorrules`). - **Install only what you use** — the IDE picker now starts with Claude Code alone selected instead of three tools pre-ticked, and `--ide` defaults to `claude` to match. Picking your own tools takes one keystroke; cleaning up surfaces you never wanted took a support ticket. The picker also dropped its emoji so the five entries read as one plain list. #### Fixed - **Codex footer URLs** — both EN and TH `AGENTS.md` footers pointed at the dead `github.com/ArtificialWeb`; now `github.com/wasintoh/toh-framework`. - **ui-builder dead skill paths** — the agent body referenced `src/skills/...` paths that don't exist in end-user projects; now the IDE-neutral `.toh/skills/...`. - **TH/EN drift in the Cursor rule** — the Thai `/toh-vibe` Command→Skills row was missing `ui-first-builder`; now byte-equal to the EN row. - **Stale docs and counts** — `src/commands/README.md` now counts all 14 commands (the `/toh-protect` row was missing); `toh-help.md` names the current IDE set; web bundles (`npm run bundle`) drop the v1.0.0-era `*star` commands for `/toh-*` names, and a failed bundle run now exits non-zero. Every generated per-IDE context file and memory seed now states Next.js 16, matching `src/templates`. - **Dead code removed** — `bin/toh-npx-wrapper.js` (never referenced anywhere) deleted from the package. - **Renamed-tool wording** — orchestration-protocol now says "the Agent tool (Task)", matching Claude Code ≥ 2.1.178. #### Technical - Counts (from disk): **8 agents / 23 skills / 14 commands** — unchanged from 2.0.0. The parallel command surfaces stay in sync at 14 Gemini CLI TOML files (legacy) and 14 Antigravity workflow files. - Synced IDE surfaces at 2.1.0, verified from a real install: - **Claude Code** — `.claude/commands/` (14 commands + 15 generated aliases), `.claude/agents/` (8), `.claude/skills/` (23), Stop hook in `.claude/settings.json` (byte-identical to 2.0.0), `.claude/loop.md`, project `CLAUDE.md` (now wrapped in `<!-- TOH-FRAMEWORK-START/END -->` markers). - **Cursor** — `.cursor/rules/toh-framework.mdc` + `toh-agents.mdc`, new `.cursor/agents/` (8 native subagents); root `.cursorrules` only with `--legacy-cursorrules`. - **Antigravity (agy CLI + IDE)** — `.agents/rules/toh-framework.md` (EN 6,034 chars / TH 5,780; ≤ 12,000 hard assert), `.agents/skills/` (37), `.agents/workflows/` (14) + legacy mirror `.agent/workflows/` (14), `.agents/agents/` (8, `subagent: true`), `.agents/hooks.json`. - **Codex** — root `AGENTS.md` TOH block 12,958 B EN / 12,647 B TH (24,576 B hard assert) + `.codex/config.toml` (`project_doc_max_bytes = 131072`, never overwrites an existing file); also reads the shared `.agents/skills/`. - **Gemini CLI (legacy, `--legacy-gemini`)** — `.gemini/` (GEMINI.md, 14 TOML commands, skills, settings.json); the TOML commands and settings.json are byte-identical to 2.0.0 (verified by diffing real installs), GEMINI.md differs only in its embedded version line, and the copied skills differ in 14 SKILL.md files (the new v2.1 frontmatter, plus this release's small orchestration-protocol wording updates). - `.toh/capabilities.json` profiles updated: cursor `subagents: "native"`; antigravity `subagents: "file-based"`, `hooks: true`, `workflows: true`. Union semantics are additive — projects installed under v2.0 with gemini keep both `gemini-cli` and `antigravity` declared. - Removed `bin/toh-npx-wrapper.js`; `installer/list.js` rewritten to live-read `src/`. Package tarball: 142 files, ~1.1 MB unpacked (`npm pack --dry-run`). - New `installer/uninstall.js`, lazy-loaded by `bin/toh-cli.js` like every other command; `installer/install.js` gained a before/after content snapshot of its own surfaces (`.toh`, `.claude`, `.cursor`, `.agents`, `.agent`, `.codex`, `.gemini`, `CLAUDE.md`, `AGENTS.md`, `.cursorrules`) to build the schema-2 inventory. The snapshot never follows symlinks and never walks the project tree. `generateClaudeMd` / `generateClaudeMdBlock` are now exported from `installer/ide-handlers/claude-code.js` so the uninstaller can recognise our own generated text in pre-2.1 projects. New npm script `uninstall:local`. - package.json: version **2.0.0 → 2.1.0**; description and keywords now name Claude Code, Cursor, Antigravity (+ Antigravity CLI), Codex (CLI + desktop app), and ZCode — the dead `gemini` keyword dropped; `codex`, `openai-codex`, `antigravity-cli`, `agy`, `agent-skills`, `zcode`, `z-ai` added. ---
-
v2.0.0
GitHub ↗
原版更新说明
> **The "never babysit your AI again" release.** One approval in. One finished app out.  ## Headline features | Feature | What it means for you | |---------|----------------------| | 🚀 **One-Go Build** | Approve once, get a whole finished app — `/toh-plan` writes the plan to `.toh/plan.md`, you say **"Go"**, it builds to the end. Zero babysitting. | | 🔁 **TOH LOOP** | Type & Forget — builds, tests, and fixes itself task by task. Never asks "continue?" between phases. | | 🛡️ **Stop Hook** | Refuses to quit until every task is verified DONE — real command output is the only proof it accepts (Claude Code). | | 🎨 **Design Identity** | No one can tell AI made it — per-project root `DESIGN.md` + versioned AVOID-LIST kill the "AI look". | | ⏯️ **Auto-Resume** | Quit anytime — `/clear`, close the terminal, switch IDEs — it resumes exactly where it left off. | ## Also in 2.0.0 - 🧠 `/toh` v5 — intent-based orchestrator with runtime capability survey + model routing (opus/sonnet/haiku per role) - 🔬 `/toh-fix` evidence-first — proves the root cause before touching a line - ⚡ Next.js 16 / React 19 / Tailwind CSS 4 templates, build-verified - 💚 `/toh-line` (LINE MINI App) + `/toh-mobile` (PWA/Capacitor) in one command - 🤖 Single-source agents, transformed per IDE at install - 🎛️ `.toh/capabilities.json` + per-IDE command variants; Claude Code gets hard enforcement (Stop hook, `/goal`, `/loop`) - 🧠 New `orchestration-protocol` skill (23 skills total) + `engineer-harness` 1.1 announce contract ## Install / Upgrade ```bash npx toh-framework@latest install ``` Full details: [CHANGELOG.md](https://github.com/wasintoh/toh-framework/blob/main/CHANGELOG.md) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决复杂多阶段计划执行的编排痛点,具备 Git 工作树隔离、依赖波次执行、ADR 管理等高级特性
- 面向明确的高阶用户场景(如 PRD 实现、重构计划),显著提升工程效率
待提升项
-
description写错位置 原报告严重程度:轻微
顶层 frontmatter 中 description 为空,实际描述内容位于 skill_body 内部
改进建议:将核心触发描述移至顶层 frontmatter 的 description 字段,确保平台能正确索引
亮点
- 触发词清晰指向计划编排功能,覆盖 .plans/<slug> 路径参数和 --max-parallel 选项
待提升项
-
文档过长 原报告严重程度:轻微
SKILL.md 内容超过 1000 行,可能影响可读性和维护性
改进建议:考虑将部分实现细节(如 Git 命令示例、错误处理表)移至附录或独立参考文档
亮点
- Phase 划分清晰,每阶段有明确目标和出口条件
- 包含端到端执行流程、并发控制策略和恢复机制
待提升项
-
并发会话处理依赖用户决策 原报告严重程度:轻微
当检测到其他 orchestrator 会话共享 git_root 时,需用户显式确认是否继续
改进建议:可补充自动规避策略(如延迟重试、资源锁检测)以减少人工干预
亮点
- 使用 Git worktree 实现物理隔离,cherry-pick 前验证分支状态
- ADR 编号集中管理避免冲突,checkpoint 机制支持断点续跑
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
删除文件
先确认绝对路径及作用范围,保留可恢复备份;不要直接对重要目录运行示例命令。
主文档提及 · 第 512 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。