Define transitive trust for referenced sub-recipes
- Langage dominant
- Rust
- Étoiles
- 54.2k
- Forks
- 6.2k
- Merge moyen
- 3 j 4 h
- PR mergées (30 j)
- 240
Description
**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).
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- rust
- Domaine
- ai-infra-agents, security
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100