@ia-qa/qa-discovery 0.7.0 → 0.10.0

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.
@@ -46,7 +46,7 @@ changed since `capturedAt`.
46
46
  | "what is even in this app?" | `scan <url> --save` |
47
47
  | "most of the inputs are behind a menu or a tab" | `scan --deep` — opens disclosures one level and captures what they reveal |
48
48
  | "the app is behind a login" | the human runs `ia-qa-heal login` (from `@ia-qa/self-healing`), then `scan --session .ia-qa/session.json`. **You cannot log in** (§4.1) |
49
- | **"what does my test suite not test?"** | `coverage` — needs `@ia-qa/self-healing` **and** one watched run (§3) |
49
+ | **"what does my test suite not test?"** | `coverage` — needs `@ia-qa/self-healing` **and** one watched run (§3). It joins **two moments**: a suite run and a scan. Read `suite.recordedAt` against `scannedAt` and relay the caveat — a run older than the scan makes "not tested" include "did not exist yet", a scan older than the run overstates the gap. Never quote the gap without the half that is stale |
50
50
  | "what changed since last time?" | `history` |
51
51
  | "what is each entry point FOR?" | `ia-qa-discover-ai classify` — optional, BYOK (§5) |
52
52
  | "what does somebody come to this page to DO?" | `ia-qa-discover-ai plan` — optional, BYOK (§5) |
@@ -75,12 +75,15 @@ sentence this tool can cause to be written.
75
75
  ## 4. Never do this
76
76
 
77
77
  1. **Never run `ia-qa-discover login` or `ia-qa-heal login`.** They open a visible browser and
78
- wait for a person, twice over: in your shell that is a hung command. Give the human the
79
- command instead. The same goes for `ia-qa-heal ui`.
78
+ wait for a person: in your shell that is a hung command. Give the human the command
79
+ instead. The same goes for `ia-qa-heal ui`. **Check first whether they need it at all** —
80
+ a session saved by `ia-qa-heal login` is picked up automatically when this project has
81
+ none of its own, and `scan` reports it (`sessionSource: "healing"`). Asking someone to log
82
+ in again over a session that already works is the failure this pickup exists to remove.
80
83
  2. **Never present a contract, or a configured page, as proof a page is tested.** A contract
81
84
  means somebody configured that page. Only capture-during-run proves a test went there.
82
85
  3. **Never report a page count as coverage.** Read `surface.json` → `coverage` first: a login
83
- wall (`loginWall`), an app that navigates without `<a href>` (`hrefBlind`) and the page cap
86
+ wall (`loginWall` — a password field the page SHOWS on arrival; one revealed by a --deep click is not a wall), an app that navigates without `<a href>` (`hrefBlind`) and the page cap
84
87
  (`droppedByCap`) each make the surface look smaller than it is. State those beside any total.
85
88
  4. **Never treat `writeCalls` as evidence a page writes.** A scan never submits anything, so a
86
89
  non-GET it observed fired at page load — measured on a real corpus, 10 of 10 were analytics