feat(decisions): make SQLite the canonical judgment graph - #117
Merged
lipluscodex merged 2 commits intoAug 22, 2026
Merged
Conversation
判断の stable identity、revision、lifecycle、typed relation を SQLite に保存し、原子的な domain write API と MCP surface を追加する。論理的忘却と制限付き物理削除を分離する。 決定論的 import/export、SQLite backup/restore、integrity 検証、および lifecycle・atomicity・round-trip・既存 contract 回帰テストを追加する。
Member
Author
|
追加修正として、以下を実装・検証します。
|
Finding 1 accepted: hard delete の active、inbound relation、supersede history 拒否は Issue #116 の物理削除境界を直接証明するため、各失敗前後の graph 一致をテストする。 Finding 2 accepted: lifecycle no-op の成功は同一 revision で updated_at を書き換えるため、再 archive / 再 restore を fail closed にし timestamp 不変を検証する。 Finding 3 accepted: non-dangling だけでは supersession の意味整合を保証できないため、superseded_by、archived lifecycle、明示 supersedes relation の双方向整合を integrity check と corruption tests に追加する。
lipluscodex
commented
Aug 22, 2026
lipluscodex
left a comment
Member
Author
There was a problem hiding this comment.
セルフレビュー: PASS
- 受入条件: SQLite の stable identity / revision / lifecycle / provenance / typed relation、atomic domain write API、論理的忘却と制限付き物理削除、deterministic import/export、backup/restore、integrity 検証を確認。
- 安全境界: active / inbound relation / supersession history を持つ hard-delete の拒否と atomic preservation、lifecycle no-op 拒否、supersession 双方向整合性を確認。
- 既存契約: retrieval / feedback / MCP の回帰テストを含む全 272 tests、CI、Optional MCP adapter が成功。
- スコープ逸脱: なし。既存 Wiki entry の本番移行は Issue の制約どおり未実施。
- 次: auto mode のため mergeable state 確認後に squash merge。
lipluscodex
deleted the
116-featdecisions-make-sqlite-the-canonical-judgment-graph
branch
August 22, 2026 15:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #116
SQLite を judgment graph の machine-readable 正本とし、原子的 domain API、MCP write surface、論理的忘却と制限付き物理削除を追加します。
決定論的 import/export、backup/restore、integrity 検証と lifecycle・round-trip・既存 contract 回帰テストを整備します。