@aarwitz/tapp 0.35.4 → 0.35.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tapp",
3
3
  "description": "Give Claude hands and eyes on iOS, Android, and web apps, with exploration, replayable flows, evidence, and deterministic CI gates.",
4
- "version": "0.35.4",
4
+ "version": "0.35.5",
5
5
  "author": {
6
6
  "name": "Aaron Horowitz",
7
7
  "url": "https://github.com/aarwitz"
@@ -24,7 +24,7 @@
24
24
  "command": "npx",
25
25
  "args": [
26
26
  "-y",
27
- "@aarwitz/tapp@0.35.4",
27
+ "@aarwitz/tapp@0.35.5",
28
28
  "mcp"
29
29
  ],
30
30
  "cwd": "${CLAUDE_PROJECT_DIR}"
@@ -581,10 +581,17 @@ export function computeReachabilityLoss(current, baseline) {
581
581
  if (!current?.screens || !baseline?.screens || !baseline.screens.length) return [];
582
582
  const baseActions = baseline.actionsPerformed || 0;
583
583
  if (baseActions > 0 && (current.actionsPerformed || 0) < baseActions * 0.6) return [];
584
- const reached = new Set(current.screens);
585
- const reachedBaseline = baseline.screens.filter((s) => reached.has(s)).length;
586
- if (reachedBaseline >= baseline.screens.length * 0.6) return [];
587
- return baseline.screens
584
+ // A screen is recorded as "Name::signature" so two in-page states of one screen count
585
+ // separately for coverage. That signature is derived from the page's content and so differs
586
+ // between runs, which made this comparison match nothing: every baseline screen looked
587
+ // unreached and the gate raised a high finding for each. The public CI went red on 24 October,
588
+ // the first release after signatures were added, and stayed red. Compare names (TM-527).
589
+ const bareName = (screen) => String(screen).split("::")[0];
590
+ const reached = new Set((current.screens || []).map(bareName));
591
+ const baselineNames = [...new Set(baseline.screens.map(bareName))];
592
+ const reachedBaseline = baselineNames.filter((s) => reached.has(s)).length;
593
+ if (reachedBaseline >= baselineNames.length * 0.6) return [];
594
+ return baselineNames
588
595
  .filter((s) => !reached.has(s))
589
596
  .map((screen) => ({
590
597
  type: "screen_unreachable",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarwitz/tapp",
3
- "version": "0.35.4",
3
+ "version": "0.35.5",
4
4
  "mcpName": "io.github.aarwitz/tapp",
5
5
  "description": "Let coding agents verify UI changes on real iOS, Android, and web surfaces, then enforce reviewed proof in deterministic CI.",
6
6
  "license": "MIT",