H.Session.Server.Recovery (H v0.3.0)

Copy Markdown View Source

Session store bootstrap, open-time checkpoint reconciliation, worker crash recovery, restart-budget enforcement, and clean-shutdown persistence for H.Session.Server.

Summary

Functions

advance_ready_tool_rounds(state, now)

build_docs_map(conversations, raw_docs, default_model)

build_storage_opts(opts, session_id)

checkpoint_idle(state)

clean_shutdown_reason?(arg1)

collect_resume_effects(state)

fail_task_restart_limit(task, state, now)

init_from_store(store, opts, session_id)

persist_clean_close(state)

reconcile_on_open(state, clean?, now)

recover_unclean_task(task, state, now)

resolve_default_model(model, provider_mod, provider_config)

stage_worker_crashed(tid, attempt_id, reason, state)