v0.27.1: Harness Infrastructure Code Graph Indexing, Anti-Guessing Barrier & Permanent Windows PATH
Harness Infrastructure Code Graph Indexing, Anti-Guessing Barrier & Permanent Windows PATH
- Harness Infrastructure Code Graph Indexing (
_graph_core.py,project_graph.py):- Indexed all Harness scripts, workflows, and subagents into the universal Code Graph with entity types
[HARNESS_TOOL],[WORKFLOW_PLAYBOOK], and[SUBAGENT_ROSTER]. - Added
project_graph.py --harnessand--toolsCLI options to render an instant, comprehensive topology directory of all tools, workflows, and subagents. - Enhanced
--find <query>to seamlessly search across both Android application classes and Harness tools/workflows with metadata-aware description and flag matching.
- Indexed all Harness scripts, workflows, and subagents into the universal Code Graph with entity types
- Anti-Guessing Barrier & Explicit Language Tagging (
_graph_core.py,project_graph.py,AGENTS.md,harness-rules.md):- Symbol searches now explicitly output language tags (
[JAVA_CLASS],[KOTLIN_CLASS],[COMPOSE_SCREEN],[XML_LAYOUT],[HARNESS_TOOL]) alongside full relative paths and module metadata. - Mandated Graph-First symbol discovery before opening files, eliminating guessing cascades (
.ktvs.java) and speculative multi-file searches (find_by_name *Payment*,find_by_name *nav*.xml). - Strictly prohibited authoring custom ADB scratch Python scripts (
scratch/test_*.py) and hardcoded device serials, enforcing declarative Maestro YAML flows in.agents/e2e_cases/.
- Symbol searches now explicitly output language tags (
- Permanent Windows User PATH Persistence (
_maestro_core.py):- Added
_persist_maestro_to_path()in_maestro_core.pyto permanently register%USERPROFILE%\.maestro\binin the Windows User Environment Registry upon installation.
- Added
- Expanded Code Graph Self-Test Suite (
_graph_selftest.py):- Added Test 8 validating Harness tool, workflow, and subagent discovery, search matching, and inventory rendering (45/45 assertions passed, 0 failures).
Full Changelog: v0.27.0...v0.27.1