Bot Token 与运行凭证
开放平台 · 自动化 · /robot/token/:id
REGISTRY POLICY
设计契约检查全部通过,不等于产品证据通过
stable-idf4-targetnine-stateinteractioncontractsguardsevidence-planNINE-STATE FIXTURE MAP
九个状态都有产品语义,但 fixture 文件尚待实现
状态名称来自该 Screen Contract;K16 canonical key 用于跨仓聚合。产品仓必须提交确定性数据,而不是让 CI 依赖线上随机状态。
READY凭证目录就绪
FIXTURE MISSINGLOADING凭证与使用活动加载
FIXTURE MISSINGEMPTY尚无运行凭证
FIXTURE MISSINGPARTIAL_ERRORlast-used 部分失败
FIXTURE MISSINGERROR凭证操作失败
FIXTURE MISSINGOFFLINE_STALE离线只读目录
FIXTURE MISSINGFORBIDDEN缺少 bot.credential:manage
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/target-open-bot-tokens/task-packet.yamlScreen contract
稳定 Screen ID、route、regions、actions、states、contracts 与 risks
/api/ui-ci/target-open-bot-tokensStatic report
format、lint、typecheck、schema 与 secret scan
ui-ci/target-open-bot-tokens/static/report.jsonState fixture pack
九态确定性 fixture、long/large/locale 与错误注入
ui-ci/target-open-bot-tokens/fixtures/manifest.jsonConsumer contract
producer schema、consumer fixtures、compatibility 与 migration window
ui-ci/target-open-bot-tokens/contracts/results.jsonExperience bundle
visual、a11y、interaction、responsive 与 native device matrix
ui-ci/target-open-bot-tokens/experience/manifest.jsonSecurity negative
authz、resource binding、abuse、privacy、redaction 与 artifact integrity
ui-ci/target-open-bot-tokens/security/results.jsonRelease manifest
exact commit、artifact digest、SBOM、config、migration 与 rollback drill
ui-ci/target-open-bot-tokens/release/manifest.jsonProduction proof
external synthetic、telemetry、error budget、owner ack 与 incident link
ui-ci/target-open-bot-tokens/production/evidence.jsonCONTRACTS & ACTIONS
实现输入
- BotCredentialIndex
- BotCredential
- CredentialScope
- CredentialHash
- ServicePrincipalTokenExchange
- CredentialRotation
- CredentialRevocation
- AuditReceipt
- 创建 scoped token
- 配置 token exchange
- 查看使用审计
- 轮换凭证
- 立即撤销
- 导出脱敏清单
- 调查异常使用