Skip to content

Add an automated test suite for the JSONL replay and parsing logic #9

Description

@aasis21

Enhancement

There are currently no automated tests in the repo. The JSONL edit-log replay engine (set_path, append_path, replay_jsonl) and parse_chat_model are intricate and easy to regress when handling new VS Code chat formats.

Suggested improvement

Add a unit test suite (stdlib unittest or pytest) with small fixture files covering:

This locks in behavior and protects against format drift.

Affected

  • New tests/ directory; engram.py parsing functions

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions