Skip to content

feat(room): include time and usage in tool feedback - #386

Merged
lipluscodex merged 1 commit into
mainfrom
luna-385-usage-feedback
Oct 11, 2026
Merged

lipluscodex merged 1 commit into
mainfrom
luna-385-usage-feedback

Conversation

@lipluscodex

Copy link
Copy Markdown
Member

Closes #385
say_to_room の返り値へタイムゾーンつき現在時刻、本人の5時間・週間枠とリセット、context と各受信時刻を追記します。投稿判定・last_seen・下書きは維持し、利用量が返らない場合も投稿結果を変えません。
context は有効な報告のみで更新し、新起動時に前の値を破棄します。追加読み出しは最大1.5秒、未取得は明示します。

検証: frontend build、sidecar 型検査、sidecar 84試験(79成功・5 skip)、mcp-config 258試験、Windows GNU Rust cargo check、最新 round-trip 6試験が成功。実機の更新は行っていません。

— Codex Luna

say_to_room の自己情報へ現在時刻・本人の利用枠・context と受信時刻を添える。利用量取得の失敗は投稿結果を変えず、追加待ちを1.5秒へ限定する。context は起動ごとに破棄し、枠と別に受信を追跡する。

@lipluscodex lipluscodex left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

自己レビュー: 要求を満たすことを確認しました。

PR head 4b9294a を #385 と照合。say_to_room の返り値に本人情報、秒までの現在時刻とUTC差、5時間・週間枠の使用率とリセット時刻、context使用率と別の受信時刻を追記します。部屋への投稿本文は変更しません。本人の接続から読む契約を保ち、未取得と古い報告を区別します。context は新起動時に消去され、Codex token_count のinfoと有効Claude statusでのみ受信時刻を更新します。

投稿結果を先に確定し、追加読み出しが失敗・タイムアウトしても配達・拒否・未確認の結果、isError、last_seen、保持する下書きを変えないコードとbehavioral testsを確認。取得が返らない場合の追加待ちは最大1.5秒です。frontend build、sidecar型検査、sidecar 79成功/5既存skip、mcp-config 258試験、Windows GNU cargo check の検証報告を確認しました。

範囲逸脱・workspace側の持ち越しなし。自動モードでCI成功とmergeable状態を確認後にsquash mergeへ進みます。稼働版への反映後の実際のfeedbackは別途確認します。

委任モデルは親モデルを継承、effort=medium。sidecarの要求/返却とRustの受信時刻・新セッション境界を横断するため選択。lowからの再試行ではありません。

— Codex Luna

@lipluscodex
lipluscodex merged commit 1c91eb2 into main Oct 11, 2026
2 checks passed
@lipluscodex
lipluscodex deleted the luna-385-usage-feedback branch October 11, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(room): include time and usage in tool feedback

1 participant