• Stefy Lanza (nextime / spora )'s avatar
    township: loading a template persists, not just applies · 310ffc79
    Stefy Lanza (nextime / spora ) authored
    Loading applied the template to the live session but never wrote the active config file,
    which made "switch live" only half true:
    
    - the launcher starts the tool with --config <out_dir>/township_config.json, so the
      template silently reverted on the next restart;
    - _ref_gen_res_steps deliberately RE-READS that file from disk for keyframe_size and
      keyframe_steps (so Run-page edits apply without a restart), which meant those two
      options came from the stale file even in the same session — the loaded template
      disagreeing with itself.
    
    The load now writes the active config too, reports the path back as `persisted`, and says
    so in the log if the write fails rather than leaving a switch that looks applied and
    reverts later.
    
    Verified live: save a template with keyframe_size 1024x576, load it, and the active
    config file on disk carries it.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_0182DhR1eFNPQyGmDrpHbedY
    310ffc79
Name
Last commit
Last update
..
test_admin_auth.py Loading commit data...
test_admin_remote_ui.py Loading commit data...
test_audio_ml_backends.py Loading commit data...
test_audio_ml_endpoints.py Loading commit data...
test_broker_config.py Loading commit data...
test_broker_dispatch.py Loading commit data...
test_broker_protocol.py Loading commit data...
test_broker_streaming.py Loading commit data...
test_burst_placement.py Loading commit data...
test_compose.py Loading commit data...
test_front_ocr_swap_gate.py Loading commit data...
test_longcat_config_ui.py Loading commit data...
test_longcat_lora.py Loading commit data...
test_longcat_orchestration.py Loading commit data...
test_longcat_packaging.py Loading commit data...
test_longcat_scale.py Loading commit data...
test_longcat_tasks.py Loading commit data...
test_longcat_variants.py Loading commit data...
test_longcat_worker.py Loading commit data...
test_manual_multimodal_test_client.py Loading commit data...
test_ocr_olmocr.py Loading commit data...
test_ocr_vram_share_and_fallback.py Loading commit data...
test_remote_execution.py Loading commit data...
test_runpod_ocr_remotization.py Loading commit data...
test_studio_composed_surfaces.py Loading commit data...
test_township_longcat.py Loading commit data...
test_township_templates.py Loading commit data...
test_upgrade_launcher.py Loading commit data...
test_vllm_share_self_tuning.py Loading commit data...
test_whisper_server_local_models.py Loading commit data...