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

Function projectOf

graph-ui/tools/handtest-fixes-chat.mjs:958–958  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

956 });
957 const pageOf = (marker) => posts.find((post) => post.messages.some((message) => message.includes(marker)))?.page;
958 const projectOf = (value) => new URLSearchParams(String(value ?? '').replace(/^[^?]*/, '')).get('project');
959 const mixed = posts.filter((post) => post.projects.some((project) => project && project !== projectOf(post.page)));
960 check('K24', 'A log line is posted under the page it was written on: before the switch the old one, after it the new one',
961 projectOf(pageOf('k24 log line before the switch')) === here && projectOf(pageOf('k24 log line after the switch')) === other && mixed.length === 0,

Callers 1

k24SituationsFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected