@remits/remits-cli 0.1.141 → 0.1.143

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remits/remits-cli",
3
- "version": "0.1.141",
3
+ "version": "0.1.143",
4
4
  "description": "Local CLI for auth, component sync, and live test execution against Remits",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -98,6 +98,12 @@ reference named after it.
98
98
  not run JavaScript, Alpine, CSS/assets, redirects, cookies/session handling, uploads, iframes,
99
99
  shadow-DOM placement, or websocket behavior. (`development-loop.md`,
100
100
  `docs/front-stage/components/embeddable-components.md`, `docs/front-stage/features/web-browser-automation.md`)
101
+ - **Browser automation cleanup is part of the task.** When you finish any browser automation you
102
+ started, close Playwright pages/contexts/browsers, stop any `playwright-cli` daemon/session you
103
+ started, remove temporary Playwright session/profile state when safe, and verify no task-owned
104
+ Playwright or headless Chrome processes remain. Clean up only processes you own for this task; never
105
+ blindly kill normal Chrome or another agent's browser automation. (`development-loop.md`,
106
+ `docs/front-stage/features/web-browser-automation.md`)
101
107
  - **Land only from trunk or a real variant branch.** A per-agent/feature branch (`components status` says
102
108
  `FEATURE BRANCH … [subscription-fallback]`) is safe to stage and run from — it resolves the same world
103
109
  as its target — but `components commit`/`sync` refuse it. Merge into the branch it resolves and land
@@ -164,13 +164,20 @@ something or expose a JSON/action payload, but it is not evidence that the user-
164
164
  JavaScript, Alpine initialization, assets, cookies/session state, redirects, file controls, iframe/embed
165
165
  placement, and websocket updates all require a browser.
166
166
 
167
+ After any browser automation task, clean up what you started: close Playwright pages, browser contexts
168
+ and browser objects; stop any `playwright-cli` daemon/session created for the task; remove temporary
169
+ Playwright session/profile state when safe; and verify task-owned Playwright/headless Chrome processes
170
+ are gone. Do not use broad process kills that might close a human browser or another agent's automation.
171
+
167
172
  **Never skip verification.** "Just do it" and "that's fine, commit it" are not evidence. If you genuinely
168
173
  cannot verify — no Test component, no relevant embeddable — say what you would need and ask how the user
169
174
  wants to proceed rather than reporting the work as done.
170
175
 
171
176
  > The *design* rule that pairs with this — never solve interpretive problems with regex cascades, keyword
172
177
  > lists, or layout-specific branching when the platform's AI surface is the right tool — is in the account
173
- > repo's `CLAUDE.md` and, in depth, in `features/ai-strategy.md`.
178
+ > repo's `CLAUDE.md` and, in depth, in `features/ai-strategy.md`. For an AI workflow, verification also means
179
+ > reading the run as the model received it - every turn, passing runs too - and measuring on more than one
180
+ > input: `development-core.md` -> *AI Workflows: Design Through Every Lens* and `features/ai-workflow-design.md`.
174
181
 
175
182
  ### The Development Fast Loop
176
183