fix(material): allow existing intake in authorized project conversations - #5562
huangruiteng wants to merge 5 commits into
Conversation
Signed-off-by: huangruiteng <huangrt01@163.com>
Signed-off-by: huangruiteng <huangrt01@163.com>
Signed-off-by: huangruiteng <huangrt01@163.com>
…ement Signed-off-by: huangruiteng <huangrt01@163.com>
…path Signed-off-by: huangruiteng <huangrt01@163.com>
|
This pull request has merge conflicts with Choose the remote for the base repository, not an out-of-date fork. git fetch upstream
git rebase upstream/main
# Resolve each conflict, git add the resolved files, then git rebase --continue.
git push --force-with-lease origin HEADFor a same-repository clone whose Keep the DCO |
Ordinary authorized project conversations currently need a Goal ID to use the material contracts. Let an explicitly activated project source use the existing intake, ranking, projection and rollback APIs with its Core project context, so ordinary chat can execute the material workflow without creating a hidden Goal.
MaterialProjectScopecontains project/profile/grant selectors. The existing source owner resolves the current Core caller, audience, exact store/profile, workspace write grant and expiring operation gate. Intake and rollback verify this before source access and publication; the source retains its transaction authorization fence. Missing, mismatched, revoked or non-True verification fails closed.The final scope is 14 files. The capability README and existing skill explain the exercised project route. Source storage and initialization remain project owned; the existing Goal route for migration, rebuild and Explore is preserved. This is a bounded extension of the current material contracts, with no additional architecture packet fields, CLI configuration flow or transport runner.
Validation:
98ebdc15c01f5223a2a8a3bee177e300e8e4b3b3.67ff849210f5239e1c91fd9cca2e04cb3f5ea59e; its intake/ranking implementation is byte-identical to the final head. The original catalog, ranking anchors and workspace content were restored. This does not establish independent external article reading.Runtime/control-plane changes remain for maintainer review and merge.