aaif-goose / aaif-goose/goose

Bind agent mentions to visible source identities

Aperta
#11,882 0 commenti 0 reazioni 1 assegnatario Rivendicata da @alexhancock Vedi su GitHub
Lingua principale
Rust
Stelle
54.2k
Fork
6.2k
Merge medio
3g 4h
PR unite (30g)
240

Descrizione

**What problem would this solve?**

Agent autocomplete currently presents a name and description but not the source type or path. When project-local and global sources use the same name, discovery resolves the collision by order while the selected mention remains name-only. Users cannot reliably tell which source will run, and the client cannot preserve the identity of the item they selected.

**What would a good outcome look like?**

- Autocomplete visibly distinguishes project-local, global, recipe, and agent sources when names collide.
- Selecting an entry binds invocation to that exact source identity instead of repeating a name-only lookup.
- Existing unambiguous `@name` use remains compatible.
- Ambiguous or stale identities fail visibly rather than silently selecting another source.

**Possible approaches**

- Extend the ACP mention payload and invocation syntax with an opaque source identifier while retaining `@name` as display text.
- Define explicit collision behavior and provenance labels across server discovery, Desktop autocomplete, and CLI invocation.
- Alternatively, reject ambiguous duplicate names and require the user to rename one source.

The design should specify precedence, backward compatibility, how moved/deleted sources fail, and tests covering local/global collisions from discovery through invocation.

**Additional context**

This requires a cross-component identity contract, so implementation should wait for agreement on the intended UX and compatibility behavior.

- [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).

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue describes a cross-component identity contract for agent mentions. Start by examining the autocomplete and invocation code paths in the server discovery, Desktop client, and CLI. Look for the current mention payload structure and source resolution logic. 'Done' means the design is agreed upon and specifies precedence, backward compatibility, and failure modes for moved/deleted sources.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
ai-infra-agents, backend-api-design, cli
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.