跳到主要内容
知仓学习社ZHICANG

node-zombie-guardian

Use when diagnosing stale or orphaned Node.js processes launched by VCO, auditing ownership/liveness, or safely simulating cleanup without touching …

不碰外部(只输出文字)无严重或高危命中foryourhealth111-pixel/Vibe-Skills

它会碰到什么

扫了多少1 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Node Zombie Guardian

This skill is for managed-process hygiene inside the VCO ecosystem.

It exists to answer one question safely: which Node processes belong to VCO, which of them are stale, and which of those are eligible for cleanup without risking live external workloads.

Safety Boundary

  • Only processes with ownership = vco-managed can ever become cleanup candidates.
  • external and unknown processes remain audit-only.
  • Cleanup is report-first by default.
  • Fixture -Apply mode remains simulation-only and must never terminate real processes.

When To Use

  • Node processes accumulate after long VCO runs and you need an ownership-aware audit.
  • You want to register or observe VCO-launched Node processes through the wrapper.
  • You need a Markdown or JSON report of managed vs external Node processes.
  • You want to simulate cleanup of stale VCO-managed Node processes without touching real workloads.

Operator Surfaces

This skill is a focused wrapper around the operator scripts that live in the bundled vibe skill:

  • ../vibe/scripts/common/NodeLaunchWrapper.ps1
  • ../vibe/scripts/governance/Invoke-NodeProcessAudit.ps1
  • ../vibe/scripts/governance/Invoke-NodeZombieCleanup.ps1
  • ../vibe/scripts/verify/vibe-node-zombie-gate.ps1

Quick Start

1. Launch a managed Node process through the wrapper

Use the wrapper when VCO starts a Node workload that should be tracked in the ledger.

& "..\vibe\scripts\common\NodeLaunchWrapper.ps1" `
  -RepoRoot "C:\path\to\repo" `
  -Command "node" `
  -ArgumentList @("scripts\worker.js")

2. Audit live Node ownership and liveness

Default mode is read-only and emits a report.

& "..\vibe\scripts\governance\Invoke-NodeProcessAudit.ps1" `
  -RepoRoot "C:\path\to\repo" `
  -WriteArtifacts

Expected outcomes:

  • classify processes such as managed_live, managed_stale, external_audit_only
  • emit JSON and Markdown artifacts for review
  • keep non-managed processes out of the cleanup candidate set

3. Simulate cleanup

Cleanup remains report-only unless explicitly switched, and the safety filters still apply.

& "..\vibe\scripts\governance\Invoke-NodeZombieCleanup.ps1" `
  -RepoRoot "C:\path\to\repo" `
  -WriteArtifacts

Use this to confirm which managed stale processes would be targeted before any real cleanup path is considered.

Verification

Run the dedicated gate before trusting changes in this area:

& "..\vibe\scripts\verify\vibe-node-zombie-gate.ps1" -WriteArtifacts

The gate proves:

  • classification is deterministic on fixtures
  • only managed rows become cleanup candidates
  • external rows never become cleanup candidates
  • report-only mode never terminates processes
  • fixture -Apply mode stays simulated

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 3,314
本站分层T1
该仓技能数258
原文件路径bundled/skills/node-zombie-guardian/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 258 个技能