build_tools.syllable_walk_web.api.walker_cache_lock

Cache rebuild and lock endpoint helpers for walker API.

This module isolates operational handlers that manage: - profile reach cache rebuild requests - session lock heartbeat/release requests

The extraction is mechanical and behavior-preserving. api/walker.py keeps public wrapper names and delegates into these functions.

Attributes

EnforceActiveLockFn

ResolvePatchStateFn

CoerceLockHolderFn

IsSha256HexFn

Functions

handle_rebuild_reach_cache(body, state, *, ...)

Handle POST /api/walker/rebuild-reach-cache.

handle_session_lock_heartbeat(body, state, *, ...)

Handle POST /api/walker/session-lock/heartbeat.

handle_session_lock_release(body, state, *, ...)

Handle POST /api/walker/session-lock/release.

Module Contents

build_tools.syllable_walk_web.api.walker_cache_lock.EnforceActiveLockFn
build_tools.syllable_walk_web.api.walker_cache_lock.ResolvePatchStateFn
build_tools.syllable_walk_web.api.walker_cache_lock.CoerceLockHolderFn
build_tools.syllable_walk_web.api.walker_cache_lock.IsSha256HexFn
build_tools.syllable_walk_web.api.walker_cache_lock.handle_rebuild_reach_cache(body, state, *, enforce_active_session_lock_fn, resolve_patch_state_fn, is_sha256_hex_fn)[source]

Handle POST /api/walker/rebuild-reach-cache.

Recomputes profile reaches for one loaded patch and rewrites run-local cache IPC artifact.

build_tools.syllable_walk_web.api.walker_cache_lock.handle_session_lock_heartbeat(body, state, *, coerce_lock_holder_id_fn)[source]

Handle POST /api/walker/session-lock/heartbeat.

build_tools.syllable_walk_web.api.walker_cache_lock.handle_session_lock_release(body, state, *, coerce_lock_holder_id_fn)[source]

Handle POST /api/walker/session-lock/release.