yam-flow 0.1.3 → 0.1.5

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.
@@ -37,8 +37,10 @@ Do not use for:
37
37
  - Design quality judgment belongs after implementation/review: compare to the reference first, then judge whether the result is good design.
38
38
  - Keep Ueye as one route: start fast, then opt into `yam ueye capture` and `yam ueye compare` only when a `verified` visual claim needs real screen evidence.
39
39
  - Use `yam ueye report` when reference, implementation screenshot, comparison result, design quality, and next action should be recorded as one compact run report.
40
+ - For follow-up visual reviews, keep continuity explicit: previous report/source, current report/source, comparison delta, resolved findings, new findings, and next action.
41
+ - Record surface context when it matters: provider context, provider badge, execution surface, app surface, browser surface, control mode, preserved URL/state, and evidence id.
40
42
  - Generated media can guide direction, but it cannot verify the implemented screen without implementation screenshot evidence.
41
- - Prefer the Codex in-app Browser plugin for interactive visual checks. Do not switch to the user's Chrome browser unless the user explicitly asks for Chrome or the task requires existing Chrome cookies, sessions, extensions, or profile state.
43
+ - Prefer the in-app browser for interactive visual checks. Do not switch to a profile-dependent browser unless the user explicitly asks or the task requires existing cookies, sessions, extensions, or profile state.
42
44
 
43
45
  ## Workflow
44
46
 
@@ -56,11 +58,12 @@ Do not use for:
56
58
  6. Implement the smallest coherent design improvement when implementation is requested.
57
59
  7. Check default, loading, error, empty, disabled, hover/focus, and mobile states when relevant.
58
60
  8. Run browser/screenshot verification when feasible.
59
- - Prefer the Codex in-app Browser plugin for local pages, localhost, file URLs, and ordinary visual QA.
60
- - Do not silently use Chrome as a fallback. If the in-app Browser cannot capture or inspect, report the visual cap as `partial` or `blocked`.
61
- - Use `yam ueye capture --url URL --out path.png` when a local Playwright install is available and the claim needs real browser evidence.
61
+ - Prefer the in-app browser for local pages, localhost, file URLs, and ordinary visual QA.
62
+ - Do not silently use a profile-dependent browser as a fallback. If the in-app browser cannot capture or inspect, report the visual cap as `partial` or `blocked`.
63
+ - Use `yam ueye capture --url URL --out path.png` when a project-local capture backend is available and the claim needs real browser evidence.
62
64
  - Use `yam ueye compare --reference ref.png --actual shot.png` when reference fidelity needs a proof-ready local comparison record.
63
- - Use `yam ueye report --reference ref.png --actual shot.png --design-quality needs-polish --json` to preserve the run-level visual provenance and next action.
65
+ - Use `yam ueye report --reference ref.png --actual shot.png --design-quality needs-polish --provider-context local --execution-surface in-app-browser --browser-surface in-app-browser --json` to preserve the run-level visual provenance, surface context, and next action.
66
+ - When continuing a prior review, include previous/current report or screenshot identifiers and mark the comparison as improved, regressed, unchanged, or not-verified.
64
67
  9. Compare reference and implementation when reference fidelity was requested:
65
68
  - matched, similar, different, not-applicable, or not-verified.
66
69
  - Separate "faithful to reference" from "good design."
@@ -89,16 +92,21 @@ Use these artifacts for reference-led implementation or serious visual review. K
89
92
  2. Visual Provenance:
90
93
  - source kind, path, hash, reference id, screenshot id, redaction/locality flags, operator-provided flag, comparison result, and truth status.
91
94
  - use this to prove the route from reference reading to implementation recheck.
92
- 3. Reference Read Proof:
95
+ 3. Surface Context:
96
+ - provider context, provider badge, execution surface, app surface, browser surface, control mode, preserved URL/state, evidence id, and truth status.
97
+ - use this to explain where and how visual evidence was observed without forcing capture for every Ueye run.
98
+ 4. Reference Read Proof:
93
99
  - concrete observations from the reference before implementation.
94
100
  - no implementation claim should depend on an unrecorded reference observation.
95
- 4. Reference vs Implementation Matrix:
101
+ 5. Reference vs Implementation Matrix:
96
102
  - compare the implemented result against the reference by aspect.
97
103
  - record matched, similar, different, not-applicable, or not-verified.
98
- 5. Design Quality Review:
104
+ 6. Design Quality Review:
99
105
  - judge whether the result is good UI/UX/design after reference comparison.
100
106
  - use pass, needs-polish, or fails for each relevant design dimension.
101
- 6. Media Generation Proof, when generated images are part of the task:
107
+ 7. Review Continuity and Comparison Report, when this is a follow-up review:
108
+ - record previous source/report, current source/report, comparison delta, resolved findings, new findings, still-open findings, truth status, and next action.
109
+ 8. Media Generation Proof, when generated images are part of the task:
102
110
  - record whether generation was requested, attempted, blocked, or produced an output.
103
111
  - use `yam media proof --requested --attempted --output path.png --wait-loop --json` when a generated image materially affects the design direction.
104
112
  - never use generated media proof as a substitute for implemented screen evidence.
@@ -142,6 +150,7 @@ Report:
142
150
  - Source evidence used.
143
151
  - Reference Read Proof and reference comparison result when a reference was used.
144
152
  - Design Quality Review result when implementation or serious visual review was requested.
153
+ - Review continuity/comparison result when this continues a prior Ueye run.
145
154
  - P0-P3 issues or confirmation that no blockers were found.
146
155
  - States/viewports checked.
147
156
  - Truth status and visual verification cap.