Skip to content

feat(agent): review結果へ model と spec 識別子を記録する #231

Closed

Description

@rebuildup

背景

Issue #226 の品質評価で、レビュー結果 JSON が version(契約版)のみを持ち、実行に使ったモデル ID とレビュー基準(spec)の版を含まないことが判明した。視覚レビューを品質保証フローへ統合するにあたり、model ID・spec 版・入力画像・findings・quota 消費を再現可能な証跡として残す必要がある(design-skills#199 / project-init#192 の前提)。

受入条件

  • AgyReviewResult に実行時の model(未指定時は agy 既定として null/省略)を記録する
  • spec 入力の識別子として spec 本文の SHA-256(specSha256)を記録する。spec ファイルパスは実行環境依存のため記録しない
  • 既存の結果契約 version は変更しない(フィールド追加のみ)
  • --executor herdr 経路でも同一フィールドが返る
  • 単体テストを追加する

対象外: spec の既定値追加、モデル allowlist、プロンプト内容の変更。

Activity

  1. added a commit that references this issue on Nov 23, 2026
  2. rebuildup commented on Nov 23, 2026

    @rebuildup
    OwnerAuthor

    PR #232 merged → release/rex-remote。result JSON に model / specSha256 を全経路で記録。実機で agent review run --model gemini-3.8-flash-high の結果に両フィールドを確認済み。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions