Commit 3b1c9c4
docs(model-apps): surface probe-persona as an optional post-verify step
`probe-persona.js` shipped in the previous commit with no entry point: no skill
referenced it, so nothing would ever have run it. A script an agent cannot
discover is dead code.
Placed in app-builder Phase 3 (Verify & iterate) rather than folded into verify
itself, because the two answer different questions at different costs and that
separation is the point:
verify / role-privileges metadata reconcile. Proves the deployed role HOLDS
the declared privileges. Free -- a couple of reads
during a verify that is already running -- needs no
test user, and is binary, so it belongs in the build
gate that already exits non-zero on a partial build.
probe-persona runtime authorization. Proves the persona can
actually perform the operation, which also depends
on ownership, business unit, teams, sharing and
plug-ins. Costs N x M round trips, REQUIRES a test
principal and prvActOnBehalfOfAnotherUser, and can
legitimately return "inconclusive" -- which does not
fit a gate that must answer yes or no.
So role-privileges stays where it is: moving it out would restore exactly the
hole this PR closed, where a role row exists, verify reports clean, and nothing
checks what the role grants. The probe is opt-in beside it instead.
The entry documents the prerequisites, that inconclusive results are not passes,
and the scope limit -- authorized data operations, not a working app -- so the
output is not over-read at the point of use rather than only in AGENTS.md.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 42626da2-b66f-4162-acaa-b1127ef23d891 parent 51e4e3f commit 3b1c9c4
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
311 | 330 | | |
312 | 331 | | |
313 | 332 | | |
| |||
0 commit comments