This commit resolves path resolution issues and correctly initializes
the MCP environment for testing the headless discovery pipeline.
Changes:
- Corrected REPO_ROOT calculation to accurately locate script artifacts.
- Implemented automatic MCP initialization via Admin interface:
* Enabled MCP (mcp-enabled=true).
* Disabled SSL (mcp-use_ssl=false) to avoid handshake issues in CI.
* Registered a valid MCP target profile (mysql-127.0.0.1-13306).
* Registered an authentication profile (default_mysql).
* Properly loaded MCP variables and profiles into runtime.
- Updated static_harvest.sh invocation to use the unencrypted HTTP
endpoint.
- Added extensive diagnostic logging to show exact command execution
and intermediate results (Run IDs).
- Verified the end-to-end dry-run orchestration of the discovery
pipeline.