Skip to content

feat(knowledge): record directory refresh observations - #126

Merged
akoita merged 1 commit into
mainfrom
codex/ckb-directory-refresh-observations
Aug 23, 2026
Merged

feat(knowledge): record directory refresh observations#126
akoita merged 1 commit into
mainfrom
codex/ckb-directory-refresh-observations

Conversation

@akoita

@akoita akoita commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • add an explicit bounded directory scan that atomically records path-free current, changed, and same-member missing observations
  • classify rebound, unmatched, outside-root, and unbound origins as origin conflicts while keeping retired and new files report-only
  • guard the observation batch against membership, latest-version, origin-revision, retirement, chronology, and partial-write races
  • preserve prior successful-refresh evidence and make no source, version, blob, membership, origin, retirement, or journal changes
  • synchronize ADR, architecture, privacy, threat-model, and roadmap documentation

This is the tenth bounded implementation slice for #110 and remains within milestone #2. It records scan evidence only; changed-byte application, new-member persistence, rename/removal decisions, directory-root rebind, automatic retirement/deletion, adapters, indexing, and background refresh remain deferred. No schema migration is required.

Validation

  • pnpm format
  • pnpm lint
  • pnpm typecheck
  • pnpm test (692 Vitest tests; 52 release/security tests)
  • pnpm validate
  • git diff --check

Conflicts

No merge conflicts were encountered.

@akoita
akoita merged commit 335364f into main Aug 23, 2026
7 checks passed
@akoita
akoita deleted the codex/ckb-directory-refresh-observations branch August 23, 2026 03:31
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