Skip to content

Commit a071c22

Browse files
strzhaoclaude
andcommitted
docs(evidence): record the inventory-answered uninstall cycle on hardware
Co-Authored-By: Claude Code <[email protected]>
1 parent e36de17 commit a071c22

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

‎docs/evidence/harmonyos-uninstall-verified-2026-11-12.md‎

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ this build (see `harmonyos-uninstall-2026-11-08.md` for the recorded shapes).
1010

1111
- HUAWEI 畅享 90 Plus, model `JDY-AL50`, HarmonyOS 7.0.0.111 (SP10C00E111R4P3), API 26
1212
- Physical device over USB, `hdc shell` as uid 2000 (shell)
13-
- agent-device head `31dfcd012`, built in the contribution worktree, daemon restarted clean
13+
- agent-device head `e36de175b`, built in the contribution worktree, daemon restarted clean
1414
- Target bundle: `com.stringzhao.adtrajdriver`, the debug-signed harness HAP
1515
from this contribution's own tooling (`examples/harmony-trajectory-driver`);
1616
no user data involved.
@@ -40,9 +40,9 @@ Abridged install answer (the full payload also carries the resolved
4040
}
4141
```
4242

43-
Uninstall reports removal, and a host-side `bm dump -n` right after answers
44-
`error: failed to get information and the parameters may be wrong.` — the
45-
record is gone, so the second dump the fix adds agreed with the hardware:
43+
Uninstall reports removal, and a host-side `bm dump -a | grep adtrajdriver`
44+
right after matches nothing — the inventory the route itself reads no longer
45+
lists the bundle, so the route's post-check agreed with the hardware:
4646

4747
```json
4848
{
@@ -57,6 +57,15 @@ record is gone, so the second dump the fix adds agreed with the hardware:
5757
}
5858
```
5959

60+
Inventory membership around the uninstall, read verbatim on the host:
61+
62+
```
63+
$ hdc -t 77TYD26826028730 shell "bm dump -a" | grep adtrajdriver # after install
64+
com.stringzhao.adtrajdriver
65+
$ hdc -t 77TYD26826028730 shell "bm dump -a" | grep -c adtrajdriver # after uninstall
66+
0
67+
```
68+
6069
A second uninstall answers honestly that nothing was removed:
6170

6271
```json
@@ -78,10 +87,11 @@ A second uninstall answers honestly that nothing was removed:
7887
hardware at a named commit.
7988
- The `wasInstalled: false` branch ran against a genuinely absent record with
8089
the live-transport probe answering.
81-
- The "record survives bm uninstall" refusal (a `bm` that answers success but
82-
leaves the bundle) has no hardware reproduction on this build; the unit test
83-
`uninstall refuses to claim removal when the bundle record survives bm
84-
uninstall` pins the behavior with the recorded output shapes.
90+
- The "inventory still lists the bundle" refusal (a `bm` that answers success
91+
but leaves the bundle) has no hardware reproduction on this build; the unit
92+
test `uninstall refuses to claim removal when the inventory still lists the
93+
bundle` pins the behavior with the recorded output shapes, alongside the
94+
unknown-read and failed-exit refusals the inventory read now carries.
8595
- Local `check:affected --run --head 31dfcd012 --base old-origin/main` passes
8696
every stage except `unit`; `unit` fails only
8797
`scripts/__tests__/eager-closure-budgets.test.ts` because this clone's

0 commit comments

Comments
 (0)