Skip to content

spec: revalidate decisions that cite files (#123) - #126

Merged
gosha70 merged 2 commits into
mainfrom
spec/123-decision-revalidation
Nov 14, 2026
Merged

gosha70 merged 2 commits into
mainfrom
spec/123-decision-revalidation

Conversation

@gosha70

@gosha70 gosha70 commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Refs #123. The approved spec for decision revalidation; no code.

In this PR

  • specs/memkernel-0-10-decision-revalidation/: plan.md (approved), spec.md, tasks.md, the issue text under origin/, and the alignment records (gate: aligned, high).

Decisions (the owner's, 2026-11-14)

  • D1 Flagged decisions appear in the session-start "Needs review" list, each line naming its type, with a type-aware hint (today's hint speaks of code only).
  • D2 needs_review and review_reason on every recall result, for all types; additive, the preview unchanged.
  • D3 A source_hash only for a readable source under the project root, and only on a newly created record: a dedup hit keeps the existing record's source and source_hash (retain dedups by content globally by default). Legacy records stay hashless and are flagged only when the file is missing.
  • D4 Only decision memories; only source, not other paths in evidence.

recall keeps hiding flagged code memories; code revalidation is unchanged. Old stores load unchanged.

Review

DeepSeek, two rounds on the spec: round 1's points applied; round 2 one warning (D1 then still undecided), resolved by the owner's approval.

The build follows in its own PR after this merges.

…evalidation, #123)

Approved by the owner 2026-11-14 (D1-D4 with clarifications): a source_hash recorded for a newly created decision's readable source under the project root; revalidate flags decisions changed or missing; recall returns flagged decisions with additive needs_review and review_reason fields and keeps hiding flagged code; a type-aware startup list; a dedup hit keeps the existing record's source and hash. Refs #123.
@gosha70
gosha70 merged commit e116218 into main Nov 14, 2026
9 checks passed
@gosha70
gosha70 deleted the spec/123-decision-revalidation branch November 14, 2026 23:11
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.

1 participant