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

Function every_embedded_file_has_content

src/agents/plugin_bundle.rs:314–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312
313 #[test]
314 fn every_embedded_file_has_content() {
315 // The macro embeds at compile time, so a missing source fails the build.
316 // Every file we ship (skills, manifests, mcp, hooks, README) is
317 // non-empty, so an empty embed signals a truncated or wrong source.
318 for host in [claude_files(), cursor_files(), codex_files()] {
319 for (relative, contents) in host {
320 assert!(!contents.is_empty(), "{relative} embedded empty");
321 }
322 }
323 }
324
325 #[test]
326 fn each_host_composes_the_expected_file_count() {

Callers

nothing calls this directly

Calls 3

claude_filesFunction · 0.85
cursor_filesFunction · 0.85
codex_filesFunction · 0.85

Tested by

no test coverage detected