Coverage for src \ truenex_memory \ adapters \ agents_md.py: 67%

3 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-05-19 10:21 +0200

1"""AGENTS.md adapter text generation.""" 

2 

3from __future__ import annotations 

4 

5 

6def generate_agents_md() -> str: 

7 """Return concise instructions for agents using Truenex Memory.""" 

8 

9 return "\n".join( 

10 [ 

11 "# Agent Memory", 

12 "", 

13 "Before making project claims, query Truenex Memory for relevant constraints.", 

14 "Use `memory_search` for decisions, architecture notes, and project conventions.", 

15 "Cite local source paths returned by memory results when they affect the answer.", 

16 ] 

17 )