Define transitive trust for referenced sub-recipes
- 主要言語
- Rust
- スター
- 54.2k
- フォーク
- 6.2k
- 平均マージ
- 3日 4時間
- マージ済み PR(30日)
- 240
説明
**What problem would this solve?**
Desktop recipe trust currently identifies the top-level recipe, while referenced sub-recipes are loaded later from their paths. If referenced content changes after the top-level recipe was accepted, the prior decision does not clearly define whether the changed child is still trusted.
**What would a good outcome look like?**
Goose has an explicit transitive trust model for referenced recipes. A user’s acceptance applies to identifiable content, and any relevant child change is detected before delegation without leaving a time-of-check/time-of-use gap.
**Possible approaches**
- Snapshot and hash the complete resolved recipe graph when trust is granted, then revalidate the relevant child at delegation.
- Store recursive content digests and invalidate acceptance when any referenced recipe changes.
- Require an independent trust decision for each referenced recipe when it is first delegated to.
The design should define cycles, missing or remote references, nested recipes, and compatibility with existing accepted-recipe records.
**Additional context**
- [x] I have verified this does not duplicate an existing feature request
Do not begin implementation until the issue reaches **Ready** on the [Goose Issues board](https://github.com/orgs/aaif-goose/projects/1).
コントリビューションガイド
調査の方向性
The issue concerns the trust model for referenced sub-recipes in the Goose AI agent. Start by examining the code that loads and validates recipes, likely in a module like `recipe_loader` or `trust_manager`. Look for existing trust decisions and how referenced recipes are resolved. Understanding the current graph resolution and delegation logic is key. A successful outcome would be a design document specifying the transitive trust model, handling cycles, missing references, and compatibility with existing records.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- ai-infra-agents, security
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100