strix/tests
0xallam f4b32ba222 refactor: nuke gratuitous XML serialization + delete argument_parser
Argument parser:
- Delete ``strix/tools/argument_parser.py`` and its tests. The SDK
  validates and types tool arguments via Pydantic before they hit our
  wrappers, and the in-container tool server receives JSON-typed
  kwargs over the wire. The string-coercion belt-and-suspenders is no
  longer pulling its weight.

XML → JSON / typed structures:
- ``create_vulnerability_report``: ``cvss_breakdown`` is now a
  ``dict[str, str]`` of the 8 metrics; ``code_locations`` is a
  ``list[dict]``. No more XML parsing in the tool or the renderer.
- ``check_duplicate``: the dedup judge now emits a single JSON object
  instead of an ``<dedupe_result>`` block. Strict JSON parser handles
  optional code-fence wrappers.
- ``agent_finish``: completion report posted to the parent inbox is a
  JSON object (``kind``, ``from``, ``agent_id``, ``success``,
  ``summary``, ``findings``, ``recommendations``) rather than a
  hand-rolled ``<agent_completion_report>`` XML envelope.
- ``create_agent``: identity preamble + inherited-context markers are
  plain bracketed labels rather than ``<agent_delegation>`` /
  ``<inherited_context_from_parent>`` envelopes.
- ``inject_messages_filter``: peer messages get a
  ``[Message from agent <id> | type=... | priority=...]`` header line
  instead of an ``<inter_agent_message>`` envelope.
- Crash + system-warning messages: bracketed labels, no XML.
- System prompt: the inter-agent block now describes the new header
  format and drops the "never echo XML envelope" rule.
- ``strix/llm/utils.py``: deleted. ``clean_content`` collapsed into a
  one-line blank-line normalizer in the agent-message renderer (the
  XML envelope scrub had nothing left to scrub).

Tests updated to match the new shapes.
2026-04-25 12:31:07 -07:00
..
agents fix: address audit findings — SDK plumbing, TUI bus, dead code 2026-04-25 10:08:35 -07:00
config fix: --config flag now fully overrides ~/.strix/cli-config.json (#457) 2026-04-22 16:37:22 -04:00
interface refactor: nuke legacy harness, drop sdk_ prefixes 2026-04-25 09:30:23 -07:00
llm refactor: delete orphaned dirs, dead streaming infra, unused session/compressor 2026-04-25 12:21:59 -07:00
orchestration refactor: nuke gratuitous XML serialization + delete argument_parser 2026-04-25 12:31:07 -07:00
runtime feat(migration): phase 0 — foundation files + smoke tests for SDK migration 2026-04-24 23:43:56 -07:00
sandbox feat(migration): phase 4 — sandbox capability + healthcheck + session manager 2026-04-25 00:49:26 -07:00
skills feat: add skills for specific tools (#366) 2026-03-19 16:47:29 -07:00
static feat(migration): phase 0 — foundation files + smoke tests for SDK migration 2026-04-24 23:43:56 -07:00
telemetry refactor: delete orphaned dirs, dead streaming infra, unused session/compressor 2026-04-25 12:21:59 -07:00
tools refactor: nuke gratuitous XML serialization + delete argument_parser 2026-04-25 12:31:07 -07:00
__init__.py test: add initial unit tests for argument_parser module 2025-12-04 00:02:14 +04:00
conftest.py refactor(tests): reorganize unit tests module structure 2025-12-04 00:02:14 +04:00
test_entry.py refactor: nuke legacy harness, drop sdk_ prefixes 2026-04-25 09:30:23 -07:00
test_run_config_factory.py refactor: remove all strix/ model alias machinery 2026-04-25 09:37:14 -07:00