MCPcopy Create free account
hub / github.com/contextgo/contextgo / makeSource

Function makeSource

tests/unit/context-engine/contextEngineService.test.ts:18–29  ·  view source on GitHub ↗
(id: string, title: string)

Source from the content-addressed store, hash-verified

16const SPACE_ID = 'space-1';
17
18function makeSource(id: string, title: string): SourceRecord {
19 return {
20 id,
21 spaceId: SPACE_ID,
22 kind: 'manual-note',
23 title,
24 tags: ['engineering'],
25 status: 'active',
26 createdAt: '2026-03-30T00:00:00.000Z',
27 updatedAt: '2026-03-30T00:00:00.000Z',
28 };
29}
30
31function makeProjectTaggedSource(id: string, title: string, projectSlug: string): SourceRecord {
32 return {

Callers 2

makeProjectTaggedSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected