跳到正文
cccskills
免费在 GitHub 公开

fleet-audit

Report which local git worktrees under tmp/ are safe to close, need a human look, or are explicitly protected. Use when the user says /fleet-audit, asks what worktrees can be cleaned up, or wants a status check across all Ralph-loop/spike worktrees before running closeout on any of them.

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

查看安装方法

包含的文件(1)

  • SKILL.md3.3 KB

SKILL.md(原文)

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

Fleet Audit — Incan Worktrees

Purpose

/fleet-audit gives a read-only, fleet-wide status report across every worktree under the shared tmp/ root — something closeout deliberately does not do, since closeout only acts on one PR/branch at a time. This skill never removes, moves, or modifies anything. It exists to tell you (or an orchestrator deciding what to hand to closeout) what's actually going on before anyone touches a worktree.

When to use this vs closeout

  • Use fleet-audit first, to see the whole picture.
  • Use closeout second, worktree by worktree, only on things fleet-audit reported as safe-to-close — and still verify PR-merged status yourself per closeout's own rules before removing anything.
  • Never use fleet-audit's output as authorization to force-remove anything. It classifies; it does not approve deletion.

How it works

Runs ~/Development/encero/.agents-state/scripts/fleet_audit.py, which:

  1. Lists every worktree via git worktree list --porcelain.
  2. Skips (reports as protected) any worktree with a .agents/state/KEEP marker file — that marker means a human already decided this one is not up for evaluation, full stop.
  3. For everything else, checks: branch ancestry against origin/main, matching GitHub PR state via gh pr list (catches squash/rebase merges the ancestor check alone would miss), uncommitted tracked file edits specifically (not just untracked build junk), and Ralph-loop slice status via the same parsing Codex's session hook already uses (~/.codex/hooks/ralph_state_impl.py's summarize_state).
  4. Classifies each as protected, safe-to-close, or needs-review, with a one-line reason.

Workflow

  1. Run:

    python3 ~/Development/encero/.agents-state/scripts/fleet_audit.py --repo-root . --repo-slug encero-systems/incan
    

    If that script or the private workspace state root (~/Development/encero/.agents-state/) doesn't exist on this machine, say so plainly and stop — do not attempt to reimplement the logic inline.

  2. Present the report grouped by status, exactly as the script outputs it. Do not editorialize the protected group — those are closed questions.

  3. For safe-to-close entries, note that the next step is a human-approved closeout run per worktree, not automatic removal.

  4. For needs-review entries, summarize the reason field per worktree so the user can decide quickly (tracked edits vs. non-terminal loop state vs. no signal at all) rather than re-reading the whole report.

  5. If asked to mark something as protected on the spot, write a one-line reason to <worktree>/.agents/state/KEEP (create .agents/state/ first if it doesn't exist) — do not mark something protected without a reason.

Output format

## Fleet Audit — <date>

### Protected (N)
- <worktree>: <reason>

### Safe to close (N)
- <worktree> (branch): <reason> — run /closeout to remove

### Needs review (N)
- <worktree> (branch): <reason>

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Add a new learning to the agent learnings file. Use when the user says /add-learning, asks to record a lesson, or when an implementation produced a reusable insight worth preserving for future agents.

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

encero-systems/incan662026年10月21日 更新

bump-rfc

免费

Transition an Incan RFC from one status to the next. Use when the user asks to promote, advance, or finalize an RFC, or says /bump-rfc. Handles Draft → Planned, Planned → In Progress, and In Progress → Implemented transitions.

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

encero-systems/incan662026年10月21日 更新

closeout

免费

Safely close out completed Incan work after a PR is merged by verifying merge status, syncing the base branch, removing task-owned local worktrees/assets, deleting merged local/remote branches, pruning refs, and reporting dirty or ambiguous leftovers. Use when the user says /closeout, asks to clean up after a merged PR, or wants local RFC/issue branch/worktree cleanup.

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

encero-systems/incan662026年10月21日 更新

Drafts a GitHub issue title and body using the target repository's issue templates under .github/ISSUE_TEMPLATE. Use when the user asks to create, draft, or file a GitHub issue, bug report, feature request, chore, documentation issue, or RFC proposal, or wants issue text that matches the repo's template.

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

encero-systems/incan662026年10月21日 更新

Drafts implementation plans with TDD, documentation updates, and repository verification commands before coding. Use when the user asks for an implementation plan, /create-plan, or structured pre-implementation design for work in encero workspaces (e.g. Incan, IncQL).

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

encero-systems/incan662026年10月21日 更新

Generate a PR description following the repository's pull request template. Use when the user asks to create, draft, or generate a PR description for a pull request. The skill automatically locates the PR template in the target repository and fills it in based on the git diff.

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

encero-systems/incan662026年10月21日 更新

查看 encero-systems 的全部技能

报告此技能的问题