Function
block
(id, type, scope, sources, body, confidence = 'medium', options = {})
Source from the content-addressed store, hash-verified
| 88 | } |
| 89 | |
| 90 | function 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 | |
| 103 | function buildBlocks(projectRoot, options = {}) { |
| 104 | const campaignPath = '.planning/campaigns/citadel-competitor-gap-assessment.md'; |
Tested by
no test coverage detected