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

Function profile_has_mutator

tests/test_agent_profiles.c:45–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45static int profile_has_mutator(const char *profile) {
46 static const char *const mutators[] = {
47 "index_repository",
48 "delete_project",
49 "manage_adr",
50 "ingest_traces",
51 };
52 for (size_t i = 0U; i < sizeof(mutators) / sizeof(mutators[0]); i++) {
53 if (strstr(profile, mutators[i])) {
54 return 1;
55 }
56 }
57 return 0;
58}
59
60TEST(agent_profiles_stable_tier_identity) {
61 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