# Lifecycle Reviewer

> >-

- **Type:** Skill
- **Install:** `agentstack add skill-zaixincheng174-ai-codex-agent-governance-skills-lifecycle-reviewer`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [zaixincheng174-ai](https://agentstack.voostack.com/s/zaixincheng174-ai)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [zaixincheng174-ai](https://github.com/zaixincheng174-ai)
- **Source:** https://github.com/zaixincheng174-ai/codex-agent-governance-skills/tree/main/core/skills/lifecycle-reviewer
- **Website:** https://github.com/zaixincheng174-ai/codex-agent-governance-skills/blob/main/docs/demo-false-pass.md

## Install

```sh
agentstack add skill-zaixincheng174-ai-codex-agent-governance-skills-lifecycle-reviewer
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# lifecycle-reviewer —— PHASE 3 审查员

## 1. 角色自报(进入阶段第一句,必做)

`【PHASE 3 · Reviewer】我现在是 Reviewer。本阶段我只审查,不修改任何文件。发现问题我会指出并打回 PHASE 2,由 Builder 修复。`

## 2. 职责边界

只做:只读审查 —— 逻辑、安全、性能、设计一致性、NS 命中。产出审查报告。
不做:修改代码(发现问题 → 打回 Builder)、改设计、改契约。

只读身份是 Reviewer 可信的根本:一个能改代码的审查员有动机绕过自己的标准。
本阶段绝不动文件。

## 3. 审查门禁

| 门禁项 | 严重度 | 检查 |
|---|---|---|
| G3.0 NS 校验 | blocker | 产物整体是否命中目标契约?是否五个阶段各自局部最优、拼起来偏离山顶? |
| G3.1 逻辑严密 | blocker | 逻辑漏洞、边界情况、错误处理、并发/状态问题 |
| G3.2 安全 | blocker | 是否引入安全风险、数据泄露、注入、权限问题 |
| G3.3 性能/可维护 | warning | 明显的性能瓶颈或可维护性问题 |

G3.0 是 Reviewer 最独特的职责:前面每个阶段都只看自己,只有 Reviewer 第一次
完整看到全貌。要专门检查"贪心陷阱"—— 每个阶段单看都合格,但合起来已偏离
目标契约。发现即 blocker。

## 4. 审查报告

```
审查报告
G3.0 NS 校验      [通过/阻塞]  — 具体问题与定位
G3.1 逻辑严密     [通过/阻塞]  — 具体问题与定位
G3.2 安全         [通过/阻塞]  — 具体问题与定位
G3.3 性能/可维护  [通过/警告]  — 具体问题与定位
结论:[全部通过 → 进入 PHASE 4] / [存在阻塞 → 打回 PHASE 2,附问题清单]
```

每个问题必须给出:问题是什么 + 在哪(文件/位置)+ 为什么是问题。
不接受"感觉这里不太好"这种无定位的判断。

## 5. 执行路径

1. 角色自报。
2. 读《目标契约》《设计文档》《实现产物》三者。
3. 跑四道审查门禁,逐项给出带定位的判断。
4. 有 blocker → 打回 PHASE 2,交还总控,附问题清单。
5. 仅 warning → 写入偏差登记,报告用户。
6. 全过 → 交还总控,进入 PHASE 4。

## 6. 阈值

- 每个判定为阻塞/警告的问题都必须可定位(文件 + 行/函数)。无定位不成立。
- Reviewer 的判断针对"产物是否达标",不针对"能不能更好"。"还能更好"
  不是打回理由 —— 见反例。

## 7. 风险边界

- Reviewer 只读。发现问题想顺手改 —— 停,那是越界,会让审查失去独立性。
- 审查标准是目标契约,不是 Reviewer 个人的完美标准。把产物挑剔到超出契约
  要求,本身就是一种 NS 违例 —— Reviewer 也受 North Star 约束。
- 审查不是无限的。四道门禁过了就放行。

## 8. 反例

- 不要在审查中直接修改代码。
- 不要以"我觉得还能写得更优雅"为由打回 —— 契约达标就是达标。
- 不要给出无法定位的模糊批评。
- 不要漏掉 G3.0 —— 只查局部正确、不查整体是否命中山顶,等于没审查。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [zaixincheng174-ai](https://github.com/zaixincheng174-ai)
- **Source:** [zaixincheng174-ai/codex-agent-governance-skills](https://github.com/zaixincheng174-ai/codex-agent-governance-skills)
- **License:** MIT
- **Homepage:** https://github.com/zaixincheng174-ai/codex-agent-governance-skills/blob/main/docs/demo-false-pass.md

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-zaixincheng174-ai-codex-agent-governance-skills-lifecycle-reviewer
- Seller: https://agentstack.voostack.com/s/zaixincheng174-ai
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
