Commit History

Session-recovery propagated from socratic: hidden gr.Textbox (#recovery-payload) + Gradio .then(js=...) chains write/clear localStorage; on_submit_initial / on_end_session yield JSON events on their CONFIRM yields. RECOVERY_HEAD adds modal styling + window.__SOC_RECOVERY helpers; storage key explanatory_session_v1. TUTORIAL_HEAD walkthrough guard early-returns when localStorage carries an unfinished session so welcome doesn't overlap the recovery modal. on_recover_session rebuilds chatbot/cache/logger via SessionLogger.from_dict (now restores dominant_framework). HF file lookup loose-matches /{sid}_*.json within this Space's mode_prefix.
bac6693
verified

linxinhua commited on

Deploy: perfect_answer prompt simplified to consequence-only (always generates plan; duty-rights / responsibility-character branches removed)
2654263
verified

linxinhua commited on

Deploy: chapters-as-corpus restructure + analyze-input/direct-teaching skills + unified scratch (6 fields) + explicit BASE_DIR shell hint
b02609f
verified

linxinhua commited on