feat: add conversational replies and stable output
Some checks failed
tamq-ci / test (push) Failing after 6s
Some checks failed
tamq-ci / test (push) Failing after 6s
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
This commit is contained in:
parent
704eeea5c1
commit
a4ba6e32e5
17 changed files with 363 additions and 59 deletions
|
|
@ -59,3 +59,15 @@ def test_mark_displayed_releases_lease_without_acknowledging(tmp_path):
|
|||
assert row["displayed_at"] is not None
|
||||
assert store.db.execute("SELECT COUNT(*) FROM leases").fetchone()[0] == 0
|
||||
store.close()
|
||||
|
||||
|
||||
def test_latest_counterparty_uses_latest_inbound_message_regardless_of_state(tmp_path):
|
||||
store = Store(tmp_path / "queue.sqlite3")
|
||||
store.add("audit-core", "audit-core", "self note")
|
||||
older = store.add("flex-auth", "audit-core", "first")
|
||||
store.acknowledge(older)
|
||||
store.add("railiance-platform", "audit-core", "latest")
|
||||
|
||||
assert store.latest_counterparty("audit-core") == "railiance-platform"
|
||||
assert store.latest_counterparty("unknown") is None
|
||||
store.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue