goes through karate regression reports from test boxes
reproduction , flaky test detection, root cause analysis
- Python 100%
| config | ||
| data | ||
| docs | ||
| memory | ||
| output | ||
| pi-code-skill/lq-memory-rca | ||
| scripts | ||
| wiki | ||
| README.md | ||
LQ Memory
Local prototype for an LQ agent memory system.
The v0 design keeps the canonical index inspectable:
output/index/manifest.jsonoutput/index/xmap.jsonoutput/index/files.jsonloutput/index/reports.jsonl
SQLite lives at data/lq_memory.sqlite as an accelerator and join sidecar.
Quick Start
cd /space/repo/notes/lq-memory
python3 -m memory.cli index --full-rebuild
python3 -m memory.cli ingest-repro --auto-discover /space/repo/notes/repro_runner /space/repo/notes
python3 -m memory.cli refresh-docs --roots /space/obsidian-all/lq-confluence /space/obsidian-all/agent-skills
python3 -m memory.cli context --test-id C14281183 --env cms_test3
Wrapper scripts in scripts/ call the same commands.
Pi Code Usage
Pi Code should use this tool through the CLI only.
Runtime contract:
cd /space/repo/notes/lq-memory
python3 -m memory.cli <command>
Recommended first command in a session:
python3 -m memory.cli health-check
Recommended query flow:
python3 scripts/detect_changes.py --mode working-tree --out output/changed_paths.json
python3 scripts/index_incremental.py --changed output/changed_paths.json
python3 -m memory.cli context --test-id C14281183 --env cms_test3 --out output/context-C14281183.md
python3 -m memory.cli rca --test-id C14281183 --env cms_test3 --out output/rca-C14281183.md
Pi Code should read the generated context pack and report these sections:
Application InfluenceLog LocationsDatabase Schema SignalsConfluence HitsOther Doc HitsRecommended Next Step
When asked for RCA or a fix proposal, Pi Code should also read the generated RCA pack and report:
Evidence SummaryDocumentation SignalsRCA HypothesesEvidence Collection PlanFix Proposal WorkflowConfidence PolicyWiki Update
The rca command updates the LLM wiki by default:
wiki/index.mdwiki/log.mdwiki/features/*.mdwiki/apps/*.mdwiki/db/*.md
Detailed Pi instructions live in:
docs/pi-code-agent-guide.mddocs/pi-code-playbooks.mddocs/pi-code-bootstrap-prompt.mddocs/pi-code-prompt-template.mddocs/llm-wiki-memory.mddocs/daily-summary-2026-04-29.mdpi-code-skill/lq-memory-rca/SKILL.md
Safety
Indexers are read-only. They redact likely secret values and store only pointers, aliases, and key names for sensitive config.