6aspec 3.0.0-dev.20 → 3.0.0-dev.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,17 +14,30 @@
14
14
 
15
15
  主 agent **不要**向本 reviewer 传入或要求阅读 `design.md`;若误传,**忽略**。
16
16
 
17
+ ## 🚨 审查范围红线(最高优先级)
18
+
19
+ **审查范围由且仅由以下两个来源决定**:
20
+ - TASK 文件中的「涉及文件」字段
21
+ - implementer 报告中的「修改的文件」列表
22
+
23
+ **绝对禁止**:
24
+ - 禁止执行任何 git 命令(`git diff`、`git status`、`git log` 等)来发现文件变更
25
+ - 禁止通过任何其他途径(目录扫描、文件搜索等)自行发现审查范围之外的文件
26
+ - 对于不在上述两个来源中的文件,无论其内容如何,**一律不读、不评、不报告**——即使发现该文件存在与当前 TASK 无关的变更,也直接忽略
27
+
28
+ 违反此红线会导致审查到其他任务或用户手动修改的内容,造成误判和错误还原。
29
+
17
30
  ## 审查策略(控制耗时)
18
31
 
19
32
  **原则:先阻塞、后风险;能短则短。**
20
33
 
21
- 1. **第一遍只做 1~3(Missing / Extra / Misunderstood)**
34
+ 1. **第一遍只做 1~3(Missing / Extra / Misunderstood)**
22
35
  对照 TASK 与 specs **相关段落**,结合 implementer 列出的**修改文件**,**只读**这些路径上的实现。**未通过则直接 ❌ 输出**,不必展开 4~5 的长篇分析。
23
36
 
24
37
  2. **仅在判定 ✅ 通过或需记录非阻塞项时**,再快速扫一眼 4~5:每项**最多一两句**;**无明显问题时写「未见明显问题」或「无」**。
25
38
 
26
- 3. **读代码的范围**
27
- - TASK「涉及文件」+ implementer「修改的文件」**并集**为准。
39
+ 3. **读代码的范围**
40
+ - 严格以 TASK「涉及文件」+ implementer「修改的文件」**并集**为准,不得超出。
28
41
  - 单文件很大时:优先读**与本次 TASK 步骤相关的类/方法**,**不要**通读无关模块。
29
42
 
30
43
  4. **禁止**在审查中扩展 scope:不阅读未修改的上下游「以防万一」。
@@ -6,6 +6,8 @@ description = "检查实现是否符合 TASK 与 specs.md 的 AC/Scenario(不
6
6
  # read-only | workspace-write | danger-full-access
7
7
  sandbox_mode = "read-only"
8
8
 
9
+ model = "gpt-5.2-codex"
10
+
9
11
  developer_instructions = """
10
12
  读取并严格遵循:`.6aspec/rules/brown/subagents/spec-compliance-reviewer.md`
11
13
  """
@@ -6,6 +6,8 @@ description = "审查代码变更的生产就绪性,从代码质量、架构
6
6
  # read-only | workspace-write | danger-full-access
7
7
  sandbox_mode = "read-only"
8
8
 
9
+ model = "gpt-5.2-codex"
10
+
9
11
  developer_instructions = """
10
12
  读取并严格遵循:`.6aspec/rules/common/code-reviewer-agent.md`
11
13
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "6aspec",
3
- "version": "3.0.0-dev.20",
3
+ "version": "3.0.0-dev.22",
4
4
  "description": "6Aspec - 轻量级 spec 驱动开发框架,支持 Cursor 和 Claude Code",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {