MCPcopy
hub / github.com/Fission-AI/OpenSpec / assemble

Function assemble

test/core/references.test.ts:92–98  ·  view source on GitHub ↗
(references: string[], resolvedRoot = appRoot())

Source from the content-addressed store, hash-verified

90 }
91
92 async function assemble(references: string[], resolvedRoot = appRoot()) {
93 return assembleReferenceIndex({
94 references: references.map((id) => ({ id })),
95 resolvedRoot,
96 globalDataDir,
97 });
98 }
99
100 it('indexes a resolved store with first-Purpose-line summaries and the fetch recipe', async () => {
101 const storeRoot = await registerStore('team-context');

Callers 1

references.test.tsFile · 0.85

Calls 2

appRootFunction · 0.85
assembleReferenceIndexFunction · 0.85

Tested by

no test coverage detected