Skip to content

Commit c7e587c

Browse files
Pigbibicodex
andauthored
chore: add qsl compat metadata and compatibility tests (#25)
Co-authored-by: Codex <noreply@openai.com>
1 parent fde5343 commit c7e587c

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

‎qsl.toml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[qsl]
2+
repo = "ResearchSignalContextPipelines"
3+
tier = "research"
4+
ring = 2
5+
allow_legacy = false
6+
snapshot_contract = "docs/architecture.md"
7+
8+
[qsl.compat]
9+
bundle = "2026.07.0"

‎tests/test_qsl_metadata.py‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
"""Minimal QSL compat metadata smoke tests."""
2+
3+
from __future__ import annotations
4+
5+
from pathlib import Path
6+
import tomllib
7+
8+
9+
def test_qsl_metadata_has_compat_bundle() -> None:
10+
path = Path(__file__).resolve().parents[1] / "qsl.toml"
11+
with path.open("rb") as f:
12+
data = tomllib.load(f)
13+
14+
qsl = data["qsl"]
15+
assert qsl["tier"] == "research"
16+
assert qsl["ring"] == 2
17+
assert qsl.get("repo") == "ResearchSignalContextPipelines"
18+
compat = qsl["compat"]
19+
assert compat["bundle"] == "2026.07.0"
20+
assert qsl.get("snapshot_contract") == "docs/architecture.md"

0 commit comments

Comments
 (0)