openspec-playwright 0.1.53 → 0.1.54

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.
@@ -98,7 +98,7 @@ browser_navigate → browser_console_messages → browser_snapshot → browser_t
98
98
 
99
99
  | Signal | Meaning | Action |
100
100
  |--------|---------|--------|
101
- | HTTP 5xx or unreachable | Server error | **STOP** — tell user: "App has a bug (HTTP <code>). Fix it, then re-run /opsx:e2e." |
101
+ | HTTP 5xx or unreachable | Backend/server error | **STOP** — tell user: "App has a backend error (HTTP <code>). Fix it, then re-run /opsx:e2e." |
102
102
  | JS error in console | App runtime error | **STOP** — tell user: "Page has JS errors. Fix them, then re-run /opsx:e2e." |
103
103
  | HTTP 404 | Route not in app (metadata issue) | Continue — mark `⚠️ route not found` in app-exploration.md |
104
104
  | Auth required, no credentials | Missing auth setup | Continue — skip protected routes, explore login page |
@@ -170,6 +170,7 @@ After writing `app-exploration.md`, extract **project-level shared knowledge** a
170
170
 
171
171
  | Section | What to extract |
172
172
  |---------|----------------|
173
+ | Architecture | Monolith or separated? Backend port? Restart command? |
173
174
  | Credential Format | Login endpoint, username format (email vs username) |
174
175
  | Common Selector Patterns | New patterns discovered that apply across routes |
175
176
  | SPA Routing | SPA framework, routing behavior |
@@ -428,7 +429,7 @@ Reference: `openspec/schemas/playwright-e2e/templates/report.md`
428
429
  |----------|----------|
429
430
  | No specs | Stop — E2E requires specs |
430
431
  | Seed test fails | Stop — fix environment |
431
- | App has JS errors or HTTP 5xx during exploration | **STOP** — tell user to fix the app first |
432
+ | App has JS errors or HTTP 5xx during exploration | **STOP** — see app-knowledge.md Architecture section for restart instructions |
432
433
  | No auth required | Skip auth setup |
433
434
  | app-exploration.md exists | Read and use (never regenerate) |
434
435
  | app-knowledge.md exists | Read and use (append new patterns only) |
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openspec-playwright",
3
- "version": "0.1.53",
3
+ "version": "0.1.54",
4
4
  "description": "OpenSpec + Playwright E2E verification setup tool for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {
package/release-notes.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ## What's Changed
2
2
 
3
- - fix(SKILL): stop exploration on app-level errors, continue on metadata issues
3
+ - feat: add Architecture section to app-knowledge.md and SKILL.md
4
4
 
5
- **Full Changelog**: https://github.com/wxhou/openspec-playwright/releases/tag/v0.1.53
5
+ **Full Changelog**: https://github.com/wxhou/openspec-playwright/releases/tag/v0.1.54
@@ -40,6 +40,14 @@ Priority: `[data-testid]` > `getByRole` > `getByLabel` > `getByText` > CSS
40
40
  | success msg | `[data-testid="success-msg"]` | |
41
41
  | loading spinner | `[data-testid="loading"]` | |
42
42
 
43
+ ## Architecture
44
+
45
+ | Aspect | Value | Notes |
46
+ |--------|-------|-------|
47
+ | Architecture | monolith / separated | Frontend + backend in one repo or separate? |
48
+ | Backend server | `<port>` or `embedded` | e.g. `3001` or `embedded in frontend` |
49
+ | How to restart backend | `<command>` | e.g. `cd backend && npm run dev` |
50
+
43
51
  ## SPA Routing
44
52
 
45
53
  - Framework: <e.g. React Router / Vue Router / Next.js>
Binary file