Skill: Environment Persistence
When to Use
Use this skill for persistence format changes and env reload/view layout behavior.
Core Workflow
- Map data writes/reads for
jsonsandreloadstructures. - Apply changes in server utility/handler paths that serialize or restore env state.
- Keep backward compatibility with existing env JSON files.
- Preserve view/layout behavior and environment tree organization.
- Validate save/fork/delete and restart/reload workflows end-to-end.
Guardrails
- Do not introduce breaking env format changes without migration handling.
- Keep env path handling sanitized and scoped.
- Preserve compare and standard env behaviors.
Documentation
- Skill reference
py/visdom/data_model/README.md— the storage abstraction layer (DataStore/JSONStore); persistence now funnels through itpy/visdom/data_model/base.py,py/visdom/data_model/json_store.pypy/visdom/utils/server_utils.pypy/visdom/server/handlers/web_handlers.pypy/visdom/server/server_state.py— theServerStatefacade that owns the dirty-env tracking and the off-loop writespy/visdom/server/app.pyAGENTS.mdCONTRIBUTING.md
Assets
- See
assets/README.mdand store templates/resources inassets/.
Tests
- Follow the default flow in
references/TESTS.md.