feat(github): 同步 GitHub Stars 与 Lists - #80
Open
xiaoland wants to merge 5 commits into
Open
Conversation
- replace the legacy PoC with canonical Account, Repository, and List graph facts - reconcile complete authenticated snapshots through batched Block and Relation persistence - ship GitHub extension 0.2.0 with real-account acceptance evidence
- bump shared product truth to InKCre/docs e1768c3 - keep the Hub projection separate from the extension implementation
- recover the active long-running packet removed during baseline cleanup - integrate GitHub as a paused unit under the existing program - isolate extension ownership correction as its own task
- publish source schemas only from registered Extension classes - remove Extension profiles from core seed and readiness authority - document durable owner, dependency, and active-task boundaries
- advance shared truth to Hub commit 3296867 - keep concrete Extension contracts in their owning Spokes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
结果
将旧 GitHub Stars PoC 重写为可用的
github-extensionMVP:一个配置的 GitHub access context 可以通过普通 Source collect Job,同步 authenticated account 的完整 Stars、Lists 与 List memberships。Depends on InKCre/docs#18。
Canonical graph
Source --collects--> GitHubAccountGitHubAccount --stars--> GitHubRepositoryGitHubAccount --owns--> GitHubListGitHubList --contains--> GitHubRepositoryGitHubAccount --owns--> GitHubRepository远端 membership 消失时只删除当前关系事实,保留已收集实体 Block。
实现
BlockManager.create_many/RelationManager.create_many0.2.0release intent验收证据
在一次性 Neon 分支上迁移到当前 head,并通过真实 GitHub authority 执行 ordinary Job:
Source -> Account -> List -> Repository图导航此外通过:
pdm run check真实 GitHub 远端 reversible delta 未执行,已在 task packet 中显式保留为 closure option,不伪装为自动化覆盖。