MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / make_install_ctx

Function make_install_ctx

tests/agent_suite/agent_test.rs:140–149  ·  view source on GitHub ↗

Install contexts in this suite disable the Hermes dashboard-wrapper deploy: none of these tests assert on the deployed `dashboard/` page (that coverage lives in `hermes_dashboard_test`), and skipping it avoids rewriting ~300KB of embedded UI bundles per install — a real cost on Windows CI. Agents other than Hermes ignore the flag entirely.

(home: &Path)

Source from the content-addressed store, hash-verified

138/// rewriting ~300KB of embedded UI bundles per install — a real cost on
139/// Windows CI. Agents other than Hermes ignore the flag entirely.
140fn make_install_ctx(home: &Path) -> InstallContext {
141 InstallContext {
142 home: home.to_path_buf(),
143 tracedecay_bin: "/usr/local/bin/tracedecay".to_string(),
144 tool_permissions: expected_tool_perms(),
145 profile: None,
146 project_root: None,
147 dashboard: false,
148 }
149}
150
151/// The Hermes plugin generated for [`make_install_ctx`] is identical for
152/// every empty test home (fixed fake binary path, no profile, no pin), so

Calls 1

expected_tool_permsFunction · 0.85

Tested by

no test coverage detected