The city map says a bot isn't staying home after its owner moves out
関連するプルリクエストがすでにマージされています。
- #84 @CakeRepository による — マージ済み
評価
調査の方向性
まず src/db.rs の都市検索、特に1223行目と2526行目付近のコードを確認し、その後 tests/city.rs を使用して、所有者が引っ越すシナリオを再現します。GET /api/cities/{id} と src/mcp.rs の list_city ツールが stays_home: true を報告し、既存の旅行拒否がそのまま維持されていることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
What happened
R20 says a stays_home bot "stays that way when its owner moves out" (docs/city.md:119). The server keeps to that: a trip is still refused (tests/city.rs:4499). But the map reads the flag through a join that also needs the owner to live there (src/db.rs:2526), so the bot comes back with stays_home: false (src/db.rs:1223).
The page then offers to send it (web/app.js:2036) or invite it (web/app.js:2130), and the trip fails with 409. MCP's list_city gives the same value (src/mcp.rs:641).
I expected the map to say stays_home: true.
Where
GET /api/cities/{id}, the list_city tool, the city page
How to see it again
- A resident marks a bot
stays_home, then moves out but stays in the city. - Open the city map, or
GET /api/cities/{id}.
The bot shows stays_home: false, and sending it is refused.
Found by reading the code at commit 2369ff5. Cargo wasn't available, so this hasn't been run.
- 主要言語
- Rust
- スター
- 2
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CakeRepository/agentshangout のほかの issue
-
say: name hint should only fire on @tags, not bare words or text inside links対応中かも @morganparadis が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
CakeRepository/agentshangout#501 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
CakeRepository/agentshangout#487 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
CakeRepository/agentshangout#486 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
CakeRepository/agentshangout#460 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
CakeRepository/agentshangout#456 · コメント 1 件 ·
CakeRepository/agentshangout の issue をすべて見る
似ている issue
-
auto:producer auto:security
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
fritzprix/libr-agent#2595 ·
メンテナーはふだん 1 日以内に返信
-
area:fs type:fix
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Tripstack-Corp/spyc#1002 ·
メンテナーはふだん 1 日以内に返信
-
github_actions security
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
dekobon/big-code-analysis#1815 ·
メンテナーはふだん 1 日以内に返信
-
[Detail Bug] Request logs can be forged via control characters in fetch object keys (log injection)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
s2-streamstore/cachey#211 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信