Skip to main content

Module workspace

Module workspace 

Source
Expand description

Engine workspace: open/config/freshness — the preamble every operation repeats (moved verbatim from scc-cli lib.rs so all transports share one implementation).

Re-exports§

pub use crate::plugins::cache_key_fragment;

Structs§

Engine
Operations
Session
Pinned model session (§5): repository id, source revision, model epoch, config hash, plugin lock, and rank salt captured at open.

Constants§

CHECKPOINT_FILE
CONFIG_FILE
DB_FILE
SCC_DIR

Functions§

checkpoint_path
config_path
db_path
ensure_scc_ignored
Keep .scc/ cache out of git while preserving committable project files (intent.yaml, plugins.toml, plugins.lock). A bare .scc/ line would make git (and our gitignore-respecting walker) prune the whole directory including project files. Idempotent.
find_root
is_store_corruption
load_config
open_engine
open_session
open_store
open_store_recovering
report_quarantine
resilient_index
scc_dir
session_is_current
stale_paths
state_dir