跳到正文
cccskills
免费在 GitHub 公开

go

Approve session plan and begin wave execution

中文简介正在准备中。当前显示原文说明。

Kanevry/session-orchestrator星标 52(GitHub 52 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md6.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Execute Session Plan

The user has approved the session plan. Begin execution immediately.

No plan to execute

Before executing either path below, check for a plan. A plan exists when either holds:

  • the conversation — including a context-compaction summary — contains a session-plan result that offers Use /go to begin. (wave plan or Express Path plan);
  • <state-dir>/STATE.md has status: active or status: paused and its frontmatter session-id (the raw harness id) equals this process's own raw id — readProcessLocalSessionIds() in scripts/lib/session-identity/own-session.mjs (Claude Code: $CLAUDE_CODE_SESSION_ID; readInvocationSessionId() there is the ancestor-process proof). That is an interrupted wave execution of this session; the raw id survives a context compaction.

Never decide this by the labels STATE.md session, semantic_session_id or .orchestrator/current-session.json: they are repo-wide, and a peer session started later in the same repo owns them (skills/_shared/state-ownership.md § Session Identity and Lock Ownership). A STATE.md without session-id, without a measurable own id, or not active/paused proves nothing: session-plan does not write it, and the wave-executor sets status: active only when execution starts. If neither holds, print the line /go: kein Plan vorhanden – nichts ausgeführt and end the answer with the wait sentence Ich warte auf den nächsten Auftrag. (or Bereit zum Schließen. when the fleet handover applies) — the status line alone is not recognised as a waiting answer (skills/_shared/fleet-protocol.md § Rücklauf an den Navigator, Wartesatz). Do not re-plan or start a new session.

In this no-plan case apply skills/_shared/fleet-protocol.md § Rücklauf an den Navigator (Pflicht) with the wait case go-ohne-plan: measure fleet and lease read-only (no check-in) and send exactly ONE report in this turn, even if an earlier turn already reported the same case (SendMessage with an active, reachable lease; on failure or otherwise a Lead-Todo; if that fails too, Meldung gescheitert: <Grund> in the last paragraph) — the session, /go ohne Plan, the time from date, and what the session needs next. Never wait for a reply (CSM-004). Return without executing work.

Invocation

Invoked as /go [optional instructions] with arguments: $ARGUMENTS. The user has approved the session plan; begin execution immediately.

$ARGUMENTS is optional priority guidance, forwarded verbatim to skills/wave-executor/SKILL.md for agent prompts (see "Standard Execution" below). It never re-opens the plan: do NOT re-plan, do NOT re-analyze — execute the agreed plan NOW with maximum efficiency.

Express Path Detection

Before invoking the wave-executor, check the conversation context for the Express Path activation banner — printed by node scripts/express-path.mjs in session-start Phase 8.5, and carried through session-plan's Short-Circuit (#1146):

Express path activated — <N> tasks, coordinator-direct, no inter-wave checks.

If the banner is present (and the session-plan output emitted a 1-wave Express Path plan per skills/session-plan/SKILL.md § "Express Path Short-Circuit"):

The express 1-wave plan IS the housekeeping shape. node scripts/session-shape.mjs --repo-root "$PWD" --session-type housekeeping --no-event resolves to a single wave with coordinatorDirect: true — the express path is not a bespoke shortcut but that shape executed. Consequently, when the session type is housekeeping, the coordinator-direct execution runs the maintenance loop first (drift-check, expired sweep, /evolve analyze, /reconcile, /evolve dialectic, /memory-cleanup — ordered scope, gates and proving artefacts in skills/wave-executor/SKILL.md § Housekeeping Sessions — the Maintenance Loop), and then the selected issues in dependency order.

  1. Execute the agreed tasks directly as coordinator actions, in dependency order. Do NOT dispatch subagents. Do NOT invoke the wave-executor skill.
  2. Append the Express Path deviation to STATE.md before invoking session-end. Use appendDeviationOnDisk() from scripts/lib/state-md.mjs — the on-disk wrapper takes the STATE.md lock automatically, serialising any concurrent writers. This step ensures the audit trail exists BEFORE session-end finalizes the file. Equivalent one-liner via Bash:
    node --input-type=module -e "
    import {execSync} from 'node:child_process';
    import {appendDeviationOnDisk} from './scripts/lib/state-md.mjs';
    const repoRoot = execSync('git rev-parse --show-toplevel', {encoding: 'utf8'}).trim();
    await appendDeviationOnDisk(repoRoot, new Date().toISOString(), 'Express path: <N> tasks executed coord-direct (express-path.enabled: true, session-type: housekeeping, scope: <N> issues)');
    "
    
  3. Fleet check (#1620), then close. Measure fleet integration first with the read-only one-liner in skills/_shared/fleet-protocol.md § Rücklauf an den Navigator. On flotte: true (fleet integration on this host, with or without an active lease) the session does NOT close itself (fleet-protocol § Übergabe Punkt 4): skip the rest of this step and steps 4–5. Instead give the session summary first, then report the wait case fertig, write the hand-over and end the reply with Bereit zum Schließen. as its last sentence, per fleet-protocol § Übergabe und Zug-Manifest (the coordinator only reads the last 600 characters). The deviation from step 2 is already on disk; the coordinator triggers /close, and the regular session-end flow finalizes STATE.md — the step-4 persistence check does not run on this path. On flotte: false continue: Invoke session-orchestrator:session-end directly via the Skill tool. Session-end finalizes STATE.md (sets status: completed, writes .orchestrator/metrics/sessions.jsonl, runs vault-mirror if enabled). Without this auto-invocation, every Express Path run leaves no audit trail (issue #320).
  4. Verify persistence after session-end completes: read <state-dir>/STATE.md and confirm frontmatter.status === 'completed' and the body's ## Deviations section contains an Express path: entry. If either is missing, warn the user inline with: ⚠ Express Path persistence verification failed — STATE.md not finalized. Re-run /close manually. Then return the final summary.
  5. Return the session summary to the user. The express-path execution is complete.

If the banner is absent: proceed to "Standard Execution" below.

Standard Execution

Invoke the wave-executor skill. Follow the agreed plan wave by wave. Forward $ARGUMENTS (if any) to the wave-executor as priority guidance for agent prompts (see wave-executor Pre-Execution: User Instructions).

Do NOT re-plan. Do NOT re-analyze. Execute the agreed plan NOW with maximum efficiency.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when the user asks to improve architecture, find refactoring opportunities, surface deepening opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable. Surfaces shallow modules and hypothetical seams using a precise vocabulary (Module / Interface / Implementation / Depth / Seam / Adapter / Leverage / Locality from LANGUAGE.md).

中文简介正在准备中。当前显示原文说明。

Kanevry/session-orchestrator522026年10月26日 更新

autopilot

免费

Use this skill when running an autonomous session-orchestration loop. Chains session-start → session-plan → wave-executor → session-end for N iterations with all 10 kill-switches (SPIRAL, FAILED wave, carryover > 50%, max-hours, max-sessions, resource-overload, token-budget, stall-timeout, sub-threshold confidence, user-abort). Reads Mode-Selector output (Phase B) to decide auto-execute vs. fallback. Writes one autopilot.jsonl record per loop run. Phase C scaffold (issue #277); implementation lives in scripts/lib/autopilot.mjs (Phase C-1 follow-up).

中文简介正在准备中。当前显示原文说明。

Kanevry/session-orchestrator522026年10月26日 更新

bootstrap

免费

Use this skill when scaffolding the minimum repository structure required by session-orchestrator. Invoked automatically by the Bootstrap Gate when CLAUDE.md, Session Config, or bootstrap.lock is missing. Also available as /bootstrap for manual invocation. Three intensity tiers: fast (demos/spikes), standard (MVPs), deep (production/team).

中文简介正在准备中。当前显示原文说明。

Kanevry/session-orchestrator522026年10月26日 更新

Use when you have a feature idea but the scope or UX is still ambiguous — runs a lightweight Socratic design dialogue (3-5 AUQ rounds) and writes a spec markdown file. Use BEFORE /plan feature when product intent needs validation; skip to /plan feature when scope is already clear. HARD-GATE prevents any code work until the design is user-approved.

中文简介正在准备中。当前显示原文说明。

Kanevry/session-orchestrator522026年10月26日 更新

Use when detecting drift between CLAUDE.md (or AGENTS.md, the Codex CLI alias) / _meta narrative and live repository state. Ten checks: absolute-path resolution, 01-projects/ count claims, issue-reference freshness, session-file existence, command-count sync, session-config-parity (mandatory template keys = error, opt-in gaps = note, unknown local keys = warning), vault-dir-parity (CLAUDE.md vs AGENTS.md), generated-rule-staleness (WARN-only), rule-scoping (paths:/globs: frontmatter defects, dangling rule citations, zero-match globs), and docs-parity (docs/components.md count-claims vs on-disk counts, template-vs-reference config-key parity, stale .claude/metrics/ paths). Full per-check spec in the body table. Invoked as an opt-in session-end phase; mirrors vault-sync's lean JSON+exit-code contract.

中文简介正在准备中。当前显示原文说明。

Kanevry/session-orchestrator522026年10月26日 更新

close

免费

End session with verification, commits, and documentation

中文简介正在准备中。当前显示原文说明。

Kanevry/session-orchestrator522026年10月26日 更新

查看 Kanevry 的全部技能

报告此技能的问题