Issue 1585, S19: the strict parser, every manifest problem function and the judge's tables (192 declarations, about 5,200 lines) and their 244 tests leave; composition keeps its own refusals and the helpers it uses. The catalogue's tests decode the manifests they build. ParseManifest, ParseManifestWith, ParseManifestForInputs, CatalogueProblems and the rest are gone; mesh-delivery-indexer/judge holds them. Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
9 lines
324 B
Go
9 lines
324 B
Go
package catalogue
|
|
|
|
// bundleFor is a manifest whose one artifact is a bundle in the given language and system.
|
|
func bundleFor(language, system string) Manifest {
|
|
return Manifest{Module: "a-component", Build: &Build{Artifacts: []Artifact{
|
|
{Name: "binary", Kind: ArtifactBundle, Language: language, System: system},
|
|
}}}
|
|
}
|