一键导入
opaque-agent-id-mapping
Do not treat opaque runtime handles as stable roster identities
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Do not treat opaque runtime handles as stable roster identities
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
{what this skill teaches agents}
Validate Squad avatar regressions with alias-resolution probes and source assertions around reset paths.
Use stable agent identity fields for metadata joins and reserve instance ids for runtime bookkeeping.
Render live sub-agent badges from resolved identity, current model, and active work state.
Protect persisted voice selections when async voice lists reload or the active TTS engine changes.
Replay extension state only after the webview page declares its own ready flag.
基于 SOC 职业分类
| name | opaque-agent-id-mapping |
| description | Do not treat opaque runtime handles as stable roster identities |
| domain | integration-testing |
| confidence | high |
| source | earned |
This applies when UI code tries to decorate runtime agent events with roster metadata. If the runtime emits opaque handles like agent-call_H but the roster is keyed by durable slugs like howard-the-duck, a direct lookup on agentId will still miss.
displayName or persistent roster names before falling back to raw internal IDs.agentId already equals the roster slug.howard-the-duck; runtime event ID: agent-call_H → direct agentId lookup fails without translation.event displayName → roster display name from translated identity → agentName → raw agentId.agentId is automatically the same as a roster slug.