openspec-playwright 0.3.7 → 0.3.8

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.
@@ -3,9 +3,21 @@
3
3
 
4
4
  <!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
5
5
 
6
- ### Apr 7, 2026
6
+ ### Mar 27, 2026
7
7
 
8
8
  | ID | Time | T | Title | Read |
9
9
  |----|------|---|-------|------|
10
- | #5762 | 11:14 AM | 🔵 | SKILL.md Already Documents fillAndVerify Pattern | ~214 |
10
+ | #5635 | 3:00 PM | | Simplified skill input instructions | ~201 |
11
+ | #5634 | " | 🟣 | Improved change selection logic in openspec-e2e skill | ~200 |
12
+ | #5633 | " | 🔵 | openspec-e2e SKILL.md implements three-agent Playwright pipeline | ~252 |
13
+ | #5511 | 11:22 AM | ✅ | Extended guardrails to protect auth files from overwriting | ~181 |
14
+ | #5510 | 11:21 AM | 🟣 | Enhanced SKILL.md with Playwright auth project configuration | ~228 |
15
+ | #5427 | 10:05 AM | ✅ | Committed style fixes aligning SKILL.md with OpenSpec template standard | ~281 |
16
+
17
+ ### Apr 16, 2026
18
+
19
+ | ID | Time | T | Title | Read |
20
+ |----|------|---|-------|------|
21
+ | #5997 | 9:59 AM | 🔵 | openspec-e2e skill uses openspec-pw CLI for parallel exploration | ~279 |
22
+ | #5996 | " | 🔵 | openspec-e2e skill handles missing auth gracefully | ~172 |
11
23
  </claude-mem-context>
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: openspec-e2e
3
- description: Run Playwright E2E verification for an OpenSpec change. Use when the user wants to validate that the implementation works end-to-end by running Playwright tests generated from the specs.
3
+ description: "Run Playwright E2E verification. ONLY invoke when user explicitly says '/opsx:e2e' or 'run E2E tests'. Do NOT auto-trigger from explore/propose/apply/verify/continue stages E2E is a separate workflow requiring explicit user request."
4
4
  license: MIT
5
5
  compatibility: Requires openspec CLI, Playwright (with browsers installed), /browse (gstack, for exploration), and @playwright/mcp (globally installed via `claude mcp add playwright npx @playwright/mcp@latest`, for test execution + Healer).
6
6
  metadata:
@@ -8,6 +8,8 @@
8
8
 
9
9
  本规范适用于 OpenSpec + openspec-playwright 项目(Claude Code 作为开发工具)。
10
10
 
11
+ **项目规范**:动手前读 `openspec/config.yaml`(技术栈、结构、约定、约束等),无内容则忽略。
12
+
11
13
  E2E 工作流前提(由用户确保,非 AI 操作):
12
14
  - gstack:`git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup`(提供 `/browse` 探索 + `/qa` 浏览器验证)
13
15
  - OpenSpec CLI:`npm install -g @fission-ai/openspec && openspec init`(提供变更管理能力)
@@ -28,7 +30,7 @@ E2E 工作流前提(由用户确保,非 AI 操作):
28
30
  ## 3. 上下文管理
29
31
  **文件读取完整**:超过 500 行的文件,不要假设单次读取覆盖完整内容——根据需要分次读取或编辑前重新读取完整文件。超过 10 条消息后,编辑任何文件前强制重新读取。
30
32
 
31
- **OpenSpec 阶段隔离**:`specs/playwright/`、`tests/playwright/`(seed 除外)和 `test-plan.md` 由 `/opsx:e2e` 显式触发,不由 explore/propose/continue/apply/verify 等阶段自动推断。E2E 工作流是独立的。
33
+ **OpenSpec 阶段隔离**:所有阶段均由用户手动触发,不自动进入下一阶段。`/opsx:explore`、`/opsx:propose`、`/opsx:apply`、`/opsx:verify`、`/opsx:e2e` 均需用户明确调用。禁止在同一阶段内触发其他阶段(如 explore 阶段不能调用 applyverify 阶段不能调用 e2e)。
32
34
 
33
35
  **重构前清死代码**:未使用的 import/export/prop/console.log 先删掉,单独提交,再做重构。
34
36
 
@@ -51,11 +53,11 @@ E2E 工作流前提(由用户确保,非 AI 操作):
51
53
  ```
52
54
  1. 探索与提案
53
55
  2. 产品与架构评审(按需触发)
54
- 3. 设计审查 → /plan-design-review + /frontend-design
56
+ 3. 设计审查 → /plan-design-review
55
57
  4. 实现 → /opsx:apply
56
58
  5. 自审 → /opsx:verify
57
59
  6. E2E 测试 → /opsx:e2e <change-name> → /browse 探索 + /qa 验证
58
- 7. 发布 → /ship 或 /land-and-deploy
60
+ 7. 发布 → 用户手动 /ship 或 /land-and-deploy
59
61
  8. 迭代回顾 → /retro
60
62
  ```
61
63
 
@@ -74,8 +76,8 @@ E2E 工作流前提(由用户确保,非 AI 操作):
74
76
 
75
77
  **5. 自审**:`/opsx:verify` 自审实现代码,确保质量。
76
78
 
77
- **6. E2E 测试**:`/opsx:e2e <change-name>` 生成 Playwright 测试 → `/browse` 探索真实 DOM → Healer 自动修复 → `/qa` 真实浏览器验证。E2E 通过后进入发布环节。
79
+ **6. E2E 测试**:`/opsx:e2e <change-name>` 生成 Playwright 测试 → `/browse` 探索真实 DOM → Healer 自动修复 → `/qa` 真实浏览器验证。E2E 通过后,由用户决定发布时机。
78
80
 
79
- **7. 发布**:`/ship`、`/land-and-deploy` 或 `/canary`。内部项目可能直接部署,无需走 PR 机制。
81
+ **7. 发布**:由用户手动触发 `/ship`、`/land-and-deploy` 或 `/canary`。内部项目可能直接部署,无需走 PR 机制。
80
82
 
81
83
  **8. 迭代回顾**:`/retro`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openspec-playwright",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "OpenSpec + Playwright E2E verification setup tool for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {
@@ -3,5 +3,20 @@
3
3
 
4
4
  <!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
5
5
 
6
- *No recent activity*
6
+ ### Mar 27, 2026
7
+
8
+ | ID | Time | T | Title | Read |
9
+ |----|------|---|-------|------|
10
+ | #5522 | 11:25 AM | 🔵 | Playwright auth setup template supports API and UI login | ~261 |
11
+ | #5514 | 11:22 AM | 🟣 | Created credentials.yaml template for E2E test authentication | ~227 |
12
+ | #5513 | " | 🟣 | Created auth.setup.ts template for Playwright Test Agents | ~276 |
13
+ | #5390 | 9:48 AM | 🔄 | Refactored openspec-playwright from CLI to setup tool + Claude Code skill | ~209 |
14
+ | #5375 | 9:44 AM | 🟣 | Created Playwright seed test template | ~224 |
15
+
16
+ ### Apr 16, 2026
17
+
18
+ | ID | Time | T | Title | Read |
19
+ |----|------|---|-------|------|
20
+ | #6002 | 10:06 AM | 🔵 | openspec-e2e provides seed test template with anti-patterns documented | ~299 |
21
+ | #5998 | 9:59 AM | 🔵 | OpenSpec Playwright auth.setup.ts uses session reuse pattern | ~202 |
7
22
  </claude-mem-context>