Skip to content

v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Mar 10:27
· 1 commit to main since this release

Implemented RAG optimizations, standardized on JUnit XML for test results, added Makefile for setup.

RAG Optimizations

  • Protocol metadata field — every chunk tagged with protocol (ospf, bgp, eigrp, general) during ingestion. Filterable at query time via search_knowledge_base(protocol="ospf"). Eliminates cross-protocol noise as the corpus grows.
  • Contextual chunk headers[Source: filename | Protocol: protocol] prepended to each chunk during ingestion, improving embedding quality and vector placement.
  • Collection renamedospf_kbnetwork_kb (generic, multi-protocol ready).
  • KBQuery model — added protocol field (Literal["ospf", "bgp", "eigrp"] | None).
  • See OPTIMIZATIONS.md for the full optimization roadmap.

JUnit XML for Test Results

  • results/ directory — test results live at project root as JUnit XML. Any test framework that outputs JUnit XML is supported (pytest, pyATS, Robot Framework, etc.).
  • Static fixtureresults/network_qa.xml provides a realistic sample with 3 test scenarios (2 failures, 1 pass) covering OSPF adjacency, route existence, and route redistribution.

/qa Skill Rewrite

  • Rewritten for JUnit XML parsing (was JSON). Loads .xml files from results/, parses <testcase> elements with <properties> and <failure> children.
  • Framework-agnostic — works with results from any JUnit XML producer.

Makefile

  • Four targets: make install (venv + deps), make ingest (rebuild ChromaDB), make clean (reset), make setup (both).

Documentation

  • README.md — complete rewrite as "Network QA Investigation Tool." Removed all Vault/NetBox references. Added Customization, QA Workflow, and Knowledge Base sections.
  • CLAUDE.md — reframed as investigation tool. Removed vault from status table, added protocol filter to KB search, updated tool descriptions.
  • WORKFLOW.md — complete rewrite. Removed Vault/NetBox references. Documents JSON-only data sources, env var credentials, protocol metadata, JUnit XML results.
  • OPTIMIZATIONS.md — updated current architecture table (collection name, chunk count, protocol metadata, contextual headers). Marked items 1 and 5 as implemented.
  • .env.example — new file with ROUTER_USERNAME, ROUTER_PASSWORD, SSH_STRICT_HOST_KEY.