Skip to content

feat(knowledge): add directory refresh members - #128

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

feat(knowledge): add directory refresh members#128
akoita merged 1 commit into
mainfrom
codex/ckb-directory-add-members

Conversation

@akoita

@akoita akoita commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • add an explicit operation that persists unmatched accepted directory files as append-only CKB members
  • atomically commit each source, initial version, origin binding, managed marker, journal event, and hashed membership row
  • return deterministic path-free complete or partial results with safe retry behavior
  • update the CKB ADR, architecture, privacy guidance, threat model, and roadmap

This is the twelfth bounded slice of #110 in milestone #2.

Safety and scope

  • one complete bounded scan occurs before any mutation
  • IDs are allocated only for unmatched accepted files
  • each candidate is independently atomic and a later failure stops processing without rolling back earlier commits
  • source paths, relative paths, checksums, media metadata, labels, and content are excluded from the result
  • membership remains immutable after creation and survives append, rebind, retirement, and reopen
  • schema remains at v13; no migration
  • removal decisions, rename inference, directory-root rebind, automatic retirement/deletion, adapters, indexing, background refresh, and writer locks remain deferred

Validation

  • pnpm format
  • focused application/storage/index tests: 162 passed
  • pnpm validate
  • full Vitest suite: 698 passed
  • release/security suite: 52 passed
  • git diff --check

No conflicts were resolved because the branch was created from the current main.

@akoita
akoita merged commit 9168b31 into main Aug 23, 2026
7 checks passed
@akoita
akoita deleted the codex/ckb-directory-add-members branch August 23, 2026 12:15
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