Closes issue #127 (reported by RSTAR: oxy doctor said "Everything looks right" in a checkout whose every fetch warned "no trust policy; nothing fetched from it was verified").
oxy doctor gains a trust line:
- no policy → Warn: "no trust policy: changes and bookmark moves fetched here are not verified", hint: the repository's owner runs
oxy policy init,oxy policy grant FILEper contributor,oxy policy grant-subject --issuer HUB_KEY agent:NAME@ACCOUNTper keyless agent, thenoxy push; - policy → Ok: "policy #… serial N: R roots, M rules, expires in D days"; Warn within 30 days of expiry; Fail once expired; Fail if it doesn't load.
- In
--jsonlike every check.
Spec §21.2 and the guide updated. Test: doctor_names_problems_and_what_to_do covers no policy (Warn with the hint) and a fresh policy_init (Ok, serial 1, 1 root). Gate green: fmt, clippy, 390 tests.