MCPcopy Create free account
hub / github.com/SethGammon/Citadel / block

Function block

core/memory/blocks.js:90–101  ·  view source on GitHub ↗
(id, type, scope, sources, body, confidence = 'medium', options = {})

Source from the content-addressed store, hash-verified

88}
89
90function block(id, type, scope, sources, body, confidence = 'medium', options = {}) {
91 return {
92 id,
93 type,
94 scope,
95 owner: options.owner || 'citadel',
96 confidence,
97 last_verified: today(options),
98 sources,
99 body,
100 };
101}
102
103function buildBlocks(projectRoot, options = {}) {
104 const campaignPath = '.planning/campaigns/citadel-competitor-gap-assessment.md';

Callers 1

buildBlocksFunction · 0.85

Calls 1

todayFunction · 0.85

Tested by

no test coverage detected