teams: manager conversation initialization, handle fallback, and approval posture inheritance
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 68/100
Piste de recherche
Read the manager initialization and registration paths under internal/session, then inspect internal/session/team_start.go and internal/session/consent.go. Trace how handles, approval posture, and consentRule formatting are passed during team_start. Done means fallback handles are registered, child meta.json inherits approval posture, and the consent card shows the full cost and lifecycle wording.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
Team manager initialization fails to generate handles on untitled new conversations, omits approval posture inheritance during team_start, and renders incorrect consent card wording.
Items & Observed Behavior
- Empty handle on new top-level manager conversation: Creating a new top-level manager conversation via
Mleaves the conversation without a title until the first turn runs. Handle derivation falls back to empty, preventing global managers from routing messages to it viateam_send. - Approval posture not inherited in
team_start: When a manager creates a sub-team withteam_start, the new team manager'smeta.jsondoes not inherit the parent manager's"approval"posture, reverting instead to the profile default (e.g.ask). - Consent card wording mismatch: The
team_startconsent card renders the literal rule word"default"instead of the cost warning clause ("a new conversation; it spends until it stops").
Expected Behavior
- Untitled manager conversations should receive a deterministic fallback handle derived from role and creation timestamp.
- Sub-teams spawned via
team_startmust inherit the initiating manager's approval posture unless explicitly overridden. - The consent card must display the full cost and lifecycle description rather than internal configuration keywords.
Root Cause / Location
internal/session: Manager handle derivation andteams.jsonregistration.internal/session/team_start.go: Missing posture propagation from caller session to childmeta.json.internal/session/consent.go:consentRulefallback formatting.
—
Drafted with CodeAF · reviewed and owned by the author
- Langage dominant
- Go
- Étoiles
- 115
- Forks
- 14
- Merge moyen
- 9 h 44 min
- PR mergées (30 j)
- 766
Préparer son environnement
Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Agent-Field/CodeAF
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Agent-Field/CodeAF#1592 ·
Les mainteneurs répondent en général sous 1 jour
-
area:headless bug sev:critical
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Agent-Field/CodeAF#1566 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat feature
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Agent-Field/CodeAF#1510 ·
Les mainteneurs répondent en général sous 1 jour
-
area:tests bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Agent-Field/CodeAF#1489 ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat bug good first issue sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Agent-Field/CodeAF#1470 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Agent-Field/CodeAF
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
gruntwork-io/boilerplate#329 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
prime-radiant-inc/evener#3291 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Netcracker/qubership-apihub-backend#582 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Les mainteneurs répondent en général sous 1 jour