feat: sessions files and sessions by-file subcommands
まだ誰も着手していません。
評価
調査の方向性
Start by reading the existing sessions search, list, and stats implementations that parse JSONL session files, then compare them with scripts/session-files.py in the cto-executive-system project. Trace how tool_input fields are extracted and how CLI output supports human-readable and JSON formats. Done means both proposed subcommands report the requested read/write file and session information with --json support.
索引モデルが issue の本文から書いたものです。
説明
Feature Request
Add file-level tracking to the sessions subcommand group:
sessions files <session-id>
List files touched by a specific session, extracted from tool invocations in the JSONL data.
Extraction targets:
Readtool ->tool_input.file_pathEdittool ->tool_input.file_pathWritetool ->tool_input.file_pathMultiEdittool ->tool_input.file_pathNotebookEdittool ->tool_input.notebook_pathGlobtool ->tool_input.pathGreptool ->tool_input.path
Output:
- Categorize as "read" vs "written" (Edit/Write/MultiEdit/NotebookEdit = written)
- Support
--jsonfor programmatic use - Default: human-readable table
sessions by-file <file-path>
List sessions that touched a given file path (substring match).
Output:
- Session ID, topic, read/write mode
- Support
--json
Context
terraphim-agent already parses JSONL session files for sessions search, sessions list, and sessions stats. This extends extraction to the tool_input fields for file path tracking.
A temporary bridge script exists at scripts/session-files.py in the cto-executive-system project. This upstream implementation would supersede it.
Proposed CLI
terraphim-agent sessions files <session-id> [--json]
terraphim-agent sessions by-file <file-path> [--json]
- 主要言語
- Rust
- スター
- 65
- フォーク
- 5
- 平均マージ
- 1時間 17分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
terraphim/terraphim-ai のほかの issue
-
terraphim_rlm: require a per-sub-result verification plan (recheck / control / independent route)オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
terraphim/terraphim-ai#969 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
terraphim/terraphim-ai#968 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
terraphim/terraphim-ai#967 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
terraphim/terraphim-ai#966 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
terraphim/terraphim-ai#965 · コメント 2 件 ·
terraphim/terraphim-ai の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
tauri-apps/tauri#16219 ·
メンテナーはふだん 2 日以内に返信
-
state:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
ktuner keeps a stale ledger path and can never restore that entry対応中かも @Frun1na が今日担当しました。 オープンcomponent:ktuner
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
agentic-os-org/ANOLISA#6483 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信