[FEAT] aimdb record list: show each record key

オープン 初心者向け
#455 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
85/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
cli

調査の方向性

テーブルは tools/aimdb-cli/src/output/table.rs の101行目付近で構築されています。そこから始めて、レコード一覧で RecordMetadata.record_key をどのように利用できるかを調べ、次に MCP が list_records をどのように返すかを確認してください。型名を残したまま、キーを最初の列として追加してください。作業完了の条件は、aimdb record list が各レコードについて両方の値を表示することです。

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

説明

enhancement

Is your feature request related to a problem? Please describe.
aimdb record list has a Name column that shows the Rust type name, such as contracts::Policy, and no column for the record key. Commands such as aimdb record get take the key (motion.policy), so the list doesn't tell you what to pass to them. The table is built in table.rs.

The data is already available: RecordMetadata has record_key, and MCP list_records returns it.

Describe the solution you'd like
Add a Key column as the first column of the table, and keep the type name beside it.

Describe alternatives you've considered
Replacing Name with the key would keep the table narrower, but it would drop the type name. The Type ID column is the better one to drop if width is a problem.

Additional context
Seen on main at d9c7be0 against an instance whose keys differ from their type names.

主要言語
Rust
スター
101
フォーク
20
平均マージ
2時間 33分
マージ済み PR(30日)
90

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

aimdb-dev/aimdb のほかの issue

aimdb-dev/aimdb の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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