MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / profile_has_mutator

Function profile_has_mutator

tests/test_agent_profiles.c:43–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41};
42
43static int profile_has_mutator(const char *profile) {
44 static const char *const mutators[] = {
45 "index_repository",
46 "delete_project",
47 "manage_adr",
48 "ingest_traces",
49 };
50 for (size_t i = 0U; i < sizeof(mutators) / sizeof(mutators[0]); i++) {
51 if (strstr(profile, mutators[i])) {
52 return 1;
53 }
54 }
55 return 0;
56}
57
58TEST(agent_profiles_stable_tier_identity) {
59 ASSERT_STR_EQ(cbm_graph_tier_slug(CBM_GRAPH_TIER_SCOUT), "codebase-memory-scout");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected