Commit deded14
docs(model-apps): answer 'what does this gain over verify' - and correct my own ranking
Challenged on why a probe adds anything when the SDK already verifies everything
is persisted to Dataverse. Checked, and the answer sharpened the design - partly
against it.
Every loop in verifySpec is or (const X of spec.Y): THE SPEC IS THE ORACLE.
So verify answers 'did we build what we were told', never 'were we told the right
thing'. If the spec is wrong, verify is green and the app is wrong. Roadmap #6 is
the proof case already in this repo: lifecycle authored as plain Choices, so a
Sold listing is still statecode=Active - the view exists, has the right columns
and a valid filter, verify passes, and it lists sold properties.
Two corrections to what I wrote yesterday, both against my own proposal:
1. Verify's role check is SHALLOW - it proves a role row exists with our marker,
and never compares the role's privileges to the spec. That comparison is a
plain metadata read: cheap, deterministic, no browser. It should land BEFORE
any probe work, and it was missing from the design entirely.
2. My value ranking was wrong. Driving as the AUTHOR (an admin) cannot test
privilege sufficiency, which is the one thing metadata can never reach. So
persona-as-test-user is the core of rungs 2-3, not a deferred nicety, and
admin-driven probing is the LOWEST-value rung rather than the payoff.
Also records the anti-case: anything verify already asserts is not worth a
browser. Precedent - the corrupt-app bug (ADO 6612527) was fixed by asserting
metadata harder, not by driving a browser.
Docs only. Plugin suite 1446 pass.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 42626da2-b66f-4162-acaa-b1127ef23d891 parent 059def6 commit deded14
1 file changed
Lines changed: 50 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
56 | 99 | | |
57 | 100 | | |
58 | 101 | | |
| |||
190 | 233 | | |
191 | 234 | | |
192 | 235 | | |
193 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
194 | 240 | | |
| 241 | + | |
195 | 242 | | |
196 | 243 | | |
197 | 244 | | |
198 | 245 | | |
199 | | - | |
| 246 | + | |
| 247 | + | |
200 | 248 | | |
201 | 249 | | |
202 | 250 | | |
| |||
0 commit comments