ck-core-fs-lib
ck-core-fs-lib

Roadmap

The extraction is intentionally incremental. The order is a contract with CDE and dtfile:

  1. Foundation: publish the headless C++ implementation and exception-free C ABI with held inspection, journaled regular copy/move, packaging, and independent CI.
  2. Preservation gate: add the versioned metadata policy and provider capability inventory. Qualify ordinary permissions/timestamps first, then ownership semantics, ACL/security xattrs/labels, and provider metadata with held-identity apply and post-publication verification. Strict copy must refuse unsupported classes with typed review-needed diagnostics.
  3. Planning: add bounded recursive inventory and a non-mutating declarative planner for Copy, Safe Move, Update, Copy-missing-only, One-way Sync, Compare-only, and Dry-run. Add explicit comparison modes, filters, link and filesystem-boundary policies, stable decision tokens, and typed reasons.
  4. Reviewed mutation: add conflict receipts, batch rename preview, mkdir, journaled recursive execution, verification, retry/backoff, cancellation, and partial/recovery terminal summaries.
  5. Destructive and recovery adapters: add Mirror with separately reviewed destination deletion, Trash/restore, permanent delete, durable recovery inspection, bounded events, and provider capability adapters. Two-way sync requires a persistent baseline and conflict model.
  6. Qualification: add ABI compatibility policy, versioned packages, sanitizer/race jobs, and Windows long-path/UNC/UTF-16/reparse conformance suites for every new boundary.

The project name and install namespace are fixed as ck-core-fs-lib so the GitHub repository and downstream references remain stable. See native contracts and the revision-specific validation record for implemented slices and remaining gates.

Native chooser browser follow-up

The C boundary currently opens held directories and entries but has no general folder-browser enumeration API. Tree plan pages belong to reviewed operations and are not a chooser API. A future additive browser worker should expose bounded pages, exact POSIX-byte/Windows-UTF-16 names, opaque retained entry identity, cancellation and nonblocking drained lifetime, using the existing native listing backend. A frontend must retain native selection separately from escaped display text; a locale-filtered text widget cannot reconstruct discarded name bytes. This capability is recorded independently of the current execution/security qualification gate and does not authorize a frontend dependency pin.

Current development gates

The unreleased 0.5 work on master is being qualified independently of released frontend pins. Detailed frozen-cohort evidence is in the development validation record.

Requested areaImplemented and exercisedRemaining integration
Reviewed native treesReceipt/row/policy seals; independent target observations; Windows and Linux created/merged postorder execution; Linux opt-in CKFET_NAMESPACE_HELD_PARENT_RENAME Mirror deletion and Replace executionFinal combined cross-platform qualification; Darwin directory creator remains unavailable
Retention and preservationNative Windows retained versions; Linux opt-in held-parent RENAME_NOREPLACE retained versions; Windows Full Original metadata; narrow Linux Full issuer; bounded ACL/xattr replayCombined Caller/clone/Full SDK; other provider scopes remain explicit refusals
Durable two-way sessionsFlat coordinator, overlapping-root locks, durable generation recovery; additive ckfss_two_way_open_tree_v1 recursive tree inventory, mixed-direction execution, and hierarchy_magic ledger closureFinal cross-platform and Darwin provider qualification
Stable C operation APIsBatch rename, native Trash receipts/restore, verified retry/prefix resume, cached name-side feedbackFinal combined installed-consumer and platform checks
CDE compatibility migrationQualified 0.3 pin remains frozen; legacy worker ownership and best-effort Replace are explicitly separateAdditive backend-held parent/leaf/object relation capability and durable replacement/retention receipt; proposal and admission gates; FS Apply remains disabled
C atomic file replacementCDE icon-position persistence requirements captured; no atomic replacement C export existsWorker-owned bounded C sink, explicit security/durability policy, held-entry publication and provider/fault qualification; proposed contract
Native archive image writingHeld creator ownership, bounded extents/zero gaps, full-image SHA-256, ARW2 journal evidence, no-replace publication and Root-aware drainage; contractFinal matching archive-provider cohorts and sanitizer gates; Windows qualification in progress; Darwin staging Unsupported; snapshot acquisition, stable C archive API and replacement retention remain separate
Platform qualificationScoped Linux/Windows normal and sanitizer receipts; corrected Darwin TSan tooling; strict ckdocsMatching final SDK matrices, macOS native publication limits, and native-host CI admission/provenance

Typed Unsupported outcomes describe provider limits. They do not count as a positive execution qualification or enable a frontend command.