Skip to content

feat(decisions): add read-only judgment retrieval - #121

Merged
lipluscodex merged 1 commit into
mainfrom
120-featdecisions-add-read-only-judgment-retrieval
Aug 23, 2026
Merged

feat(decisions): add read-only judgment retrieval#121
lipluscodex merged 1 commit into
mainfrom
120-featdecisions-add-read-only-judgment-retrieval

Conversation

@lipluscodex

Copy link
Copy Markdown
Member

Closes #120
judgment 専用の read-only core API と optional MCP tools を追加し、active / archived、repository namespace、exact get、有限 hop traversal を実装しました。
通常 search / feedback / write_judgment の既存契約を保ち、成功・失敗時の全永続表不変、strict schema、stdio routing をテストしています。

judgment 専用の検索・完全一致取得・型付き関係探索を core API と optional MCP adapter に追加する。

active/archived と repository namespace の絞り込み、cycle-safe な決定順、read-only schema と全永続表の不変性を検証する。

Tests: 280 unittest tests; MCP schema validation; eval smoke
@lipluscodex lipluscodex linked an issue Aug 23, 2026 that may be closed by this pull request
@lipluscodex lipluscodex self-assigned this Aug 23, 2026

@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.

自己レビュー: PASS

Issue #120 の受入条件に照らして、PR diff、CI、実データ probe を確認しました。

  • core / MCP に search_judgmentsget_judgmenttraverse_judgments が追加されている
  • active 既定、archived 明示、repository namespace、exact ID、方向・relation type・有限 hop の契約がある
  • traversal は cycle-safe かつ hop / stable ID 基準で決定的である
  • MCP 三 tool は read-only / non-destructive / idempotent annotation と strict schema、既存 error envelope を持つ
  • 既存 search、feedback、write_judgment の契約を維持している
  • 全 persistent table の成功時・失敗時不変性を core / MCP test で検証している
  • 実際の86 judgment入りDBの一時コピーでも三操作を実行し、実行前後のSQLite SHA-256一致を確認した
  • 実装済み local stdio 範囲と、未実装のWiki生成・共有・remote/on-premを文書上で分離している

commit 5955518 で CI / Optional MCP adapter は成功し、全280 tests と schema検証、eval smokeが成功しています。ブロッキング指摘はありません。

@lipluscodex
lipluscodex merged commit 545ad0d into main Aug 23, 2026
2 checks passed
@lipluscodex
lipluscodex deleted the 120-featdecisions-add-read-only-judgment-retrieval branch August 23, 2026 01:16
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(decisions): add read-only judgment retrieval

1 participant