一键导入
collector-owner-oid-resolution
Resolve collector ownership from persisted source records and fail closed on missing owner OIDs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Resolve collector ownership from persisted source records and fail closed on missing owner OIDs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Authorization Code Flow for web applications using MSAL.NET confidential client to sign in users and access APIs on their behalf
Handle MSAL distributed token cache collisions and stale entries in ASP.NET Core applications
On-Behalf-Of (OBO) Flow for web APIs to call downstream APIs while preserving user identity in MSAL.NET
{what this skill teaches agents}
Review API DTO implementations for contract/domain separation, mapping patterns, and REST compliance
This skill should be used when the user asks to "build a feature", "fix a bug", "implement something", "start a dev cycle", types "/dev", or describes a software task that requires design, implementation, testing, and shipping. Orchestrates the full software development lifecycle from interrogation through shipping, with self-learning that improves over time.
| name | collector-owner-oid-resolution |
| description | Resolve collector ownership from persisted source records and fail closed on missing owner OIDs. |
| domain | azure-functions |
| confidence | high |
| source | earned |
| tools | [{"name":"rg","description":"Find collector call sites, reader overloads, and owner field usage.","when":"When tracing ownership flow across Functions, readers, managers, data stores, and tests."}] |
Use this when a background collector has no authenticated user context but still needs to persist owned records. In JJGNet Broadcasting, the Round 1 fix is to resolve the owner OID from existing persisted source records and pass that OID all the way into the reader that materializes new content.
GetCollectorOwnerOidAsync helper on the relevant manager/data-store pair.ownerOid and throw on blank values.GetCollectorOwnerOidAsync(...) with a distinct owner value and verify the collector passes that exact value into reader.GetAsync(...).SaveAsync(...) receives records whose CreatedByEntraOid is non-empty and matches the resolved owner.src\JosephGuadagno.Broadcasting.Functions/Collectors/CollectorOwnerOidResolver.cssrc\JosephGuadagno.Broadcasting.Functions/Collectors/SyndicationFeed/LoadNewPosts.cssrc\JosephGuadagno.Broadcasting.Functions/Collectors/YouTube/LoadNewVideos.cssrc\JosephGuadagno.Broadcasting.Functions.Tests/Collectors/LoadNewPostsTests.cssrc\JosephGuadagno.Broadcasting.Functions.Tests/Collectors/LoadAllVideosTests.cssrc\JosephGuadagno.Broadcasting.SyndicationFeedReader.Tests/SyndicationFeedReaderOfflineTests.cssrc\JosephGuadagno.Broadcasting.YouTubeReader.Tests/YouTubeReaderFetchTests.csCreatedByEntraOid = string.Empty.