feat: preserve evidence in workspace artifacts

This commit is contained in:
2026-08-09 20:03:28 +02:00
parent 64b778ade9
commit 212c973e3b
6 changed files with 656 additions and 7 deletions
+3
View File
@@ -56,6 +56,8 @@ const bundleManifest = z.object({
}).strict(),
}).strict();
// Public P1 bundles contain only the descriptor and derived docs. Evidence file bytes remain
// revision-owned Git content for the later P6 materialization boundary.
const BUNDLE_FILES = ["manifest.json", "workspace.yaml", "contract.env.example", "README.md"] as const;
type BundleFile = (typeof BUNDLE_FILES)[number];
@@ -298,6 +300,7 @@ export function workspaceRoutes(app: FastifyInstance, deps: WorkspaceRoutesDeps)
displayName: workspace.workspace.name,
description: workspace.workspace.description,
language: workspace.workspace.language,
workspace,
revision,
};
}));