Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Sub-team manager naming its own team in team_post gets a misleading refusal

オープン
#1,591 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go
領域
tooling

調査の方向性

Start in internal/session/tools_team.go:185-201 and trace how teamTarget matches the requested team and builds its refusal. Reproduce the beta manager's team_post call from the issue using the documented dev build and isolated profile. Done means the e2e call identifies beta as the caller's own team and product as the correct target.

索引モデルが issue の本文から書いたものです。

説明

area:session bug sev:papercut

Seen on: dev 837b2b0.

Behaviour

A sub-team manager (@betalead, manager of beta, member of product) called team_post {"to":"manager","team":"beta"} and was told There is no one team called "beta" here. Yours are: "product"., although beta exists and it runs it. The retry with team: "product" worked. The refusal should explain the rule, for example you manage "beta"; team_post is for the team above you, "product".

Replication

  1. Build dev 837b2b0 (git checkout 837b2b0 && make build, binary bin/codeaf), or install the dev build with curl -fsSL https://agentfield.ai/get/devaf | bash.
  2. Use an isolated profile: export HOME=$(mktemp -d), export OPENROUTER_API_KEY, and keep the default model (~deepseek/deepseek-v4-flash-latest, crew on auto).
  3. On a busy machine set task.max_load to 0 (/settings, Tasks) so the busy-machine gate does not hold tasks.
  4. cd $(mktemp -d) && git init -q && codeaf; make a team product with a manager, and ask it to start a sub-team beta with a manager.
  5. Ask the beta manager: Post to your manager with team_post, naming team beta.

Evidence

  • Tool result: There is no one team called "beta" here. Yours are: "product".
  • internal/session/tools_team.go:185-201: the name is matched only against fits (the member roles), and the refusal lists only those.

Guessed cause

A guess from reading the code, not a confirmed diagnosis. teamTarget filters to member roles before matching the name, so a team the caller manages reads as unknown.

Acceptance

  • e2e: the call above returns a refusal that names beta as the caller's own team and product as the right target.

Found while writing the public docs; manual text differences are in #1545.

🤖 Generated with Claude Code

主要言語
Go
スター
115
フォーク
14
平均マージ
9時間 44分
マージ済み PR(30日)
766

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Agent-Field/CodeAF のほかの issue

Agent-Field/CodeAF の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。