# ck-core-fs-lib Safe filesystem operations for native clients

A headless, cross-platform engine for native file identity, byte-native names, journaled mutation, recovery evidence and stable C integration.

- [Explore the architecture](<architecture.html.md>)
- [Read the C API](<c-api.html.md>)
- [Build the library](<building.html.md>)

## [## Safety-first operations](<safety.html.md>)

Held handles, explicit identity, journaled mutation and recovery evidence keep filesystem changes inspectable.

## [## Stable native interfaces](<integration.html.md>)

C++ and exception-free opaque-handle C APIs expose the same headless engine without UI dependencies.

## [## CK Core CDE](<https://cklukas.github.io/ck-core-cde/>)

Explore the maintained desktop environment that can consume the filesystem library through its stable C boundary.

## [## CK Core Apps](<https://cklukas.github.io/ck-core-apps/>)

Explore native desktop applications built for the maintained CDE and Motif stack.

## [## CK Core Motif](<https://cklukas.github.io/ck-core-motif/>)

Explore the maintained native Xt toolkit used by CK Core desktop clients.

# ck-core-fs-lib

`ck-core-fs-lib` is the headless filesystem engine shared by the ckUtilities ckVision frontend, CDE, and future clients. It owns native file identity, byte-native names, safe directory access, journaled mutation, recovery evidence, and cross-platform path handling. It does not own a UI, terminal, event loop, or frontend policy.

The project exposes two layers over the same implementation:
- a C++ target for native clients that already use the backend types; and
- an exception-free opaque-handle C ABI for CDE, other languages, and stable frontend adapters.

The C ABI includes held-handle inspection, journaled regular-file jobs, native reviewed-tree workers, action jobs, and durable session contracts. Read [native contracts](<native-contracts.html.md>) for implemented scopes, lifetime rules and explicit provider limits. See the revision-specific validation record before enabling a capability in a frontend.

See [architecture](<architecture.html.md>) for the ownership boundary, [safety](<safety.html.md>) for the non-negotiable filesystem rules, and [the C API](<c-api.html.md>) for the public integration surface.
