Scope 与授权确认
身份与会话 · /identity/consent
REGISTRY POLICY
设计契约检查全部通过,不等于产品证据通过
stable-idf4-targetnine-stateinteractioncontractsguardsevidence-planNINE-STATE FIXTURE MAP
九个状态都有产品语义,但 fixture 文件尚待实现
状态名称来自该 Screen Contract;K16 canonical key 用于跨仓聚合。产品仓必须提交确定性数据,而不是让 CI 依赖线上随机状态。
READY授权请求就绪
FIXTURE MISSINGLOADING应用与能力加载
FIXTURE MISSINGEMPTY没有请求的能力
FIXTURE MISSINGPARTIAL_ERROR部分能力或用途不可用
FIXTURE MISSINGERROR授权服务失败
FIXTURE MISSINGOFFLINE_STALE离线且请求已 stale
FIXTURE MISSINGFORBIDDEN应用未验证或策略拒绝
FIXTURE MISSINGDESTRUCTIVE_CONFIRM允许或拒绝授权确认
FIXTURE MISSINGSUCCESS_RECEIPT授权回执完成
FIXTURE MISSINGG1–G8 EVIDENCE
缺一项就保持阻断
路径是跨仓约定,不表示文件已经存在。上传凭证、token、PII、signed URL 与原始敏感 payload 永远不能成为证据内容。
Task packet
scope、owner paths、依赖、non-goals 与 rollback
ui-ci/platform-auth-consent/task-packet.yamlScreen contract
稳定 Screen ID、route、regions、actions、states、contracts 与 risks
/api/ui-ci/platform-auth-consentStatic report
format、lint、typecheck、schema 与 secret scan
ui-ci/platform-auth-consent/static/report.jsonState fixture pack
九态确定性 fixture、long/large/locale 与错误注入
ui-ci/platform-auth-consent/fixtures/manifest.jsonConsumer contract
producer schema、consumer fixtures、compatibility 与 migration window
ui-ci/platform-auth-consent/contracts/results.jsonExperience bundle
visual、a11y、interaction、responsive 与 native device matrix
ui-ci/platform-auth-consent/experience/manifest.jsonSecurity negative
authz、resource binding、abuse、privacy、redaction 与 artifact integrity
ui-ci/platform-auth-consent/security/results.jsonRelease manifest
exact commit、artifact digest、SBOM、config、migration 与 rollback drill
ui-ci/platform-auth-consent/release/manifest.jsonProduction proof
external synthetic、telemetry、error budget、owner ack 与 incident link
ui-ci/platform-auth-consent/production/evidence.jsonCONTRACTS & ACTIONS
实现输入
- ConsentRequest
- CapabilityGrant
- AppIdentity
- GrantReceipt
- 允许并继续
- 拒绝授权
- 查看能力说明
- 返回宿主