Codex Stello Session Storage and Tree Identifier Design
Design Stello adapters with separate responsibilities for conversation data, tree relationships and context slots.
中文Install in Codex
Open the Stello workspace in Codex and check the current storage and topology interfaces. Both adapters may share a persistence backend.
- Review `.agents/skills/storage-design/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/storage-design/` in your project and save the reviewed file as `.agents/skills/storage-design/SKILL.md`.
- Start Codex from that project's root, then type `$storage-design` and select the matching skill.
Example task
Design two read views for this session on one backend.
{"sessionId":"s7","parentId":"s2","turnCount":3,"recordCount":3}What to check
Put `turnCount=3` and conversation records in the `SessionStorage` view for s7. Put `parentId=s2` in its `SessionTree` node. Keep the IDs aligned.
Original SKILL.md on GitHub · Updated
Frequently asked question
Do root sessions need exclusive storage methods?
Use the same SessionStorage interface. A root node has an empty parentId in SessionTree.