feat: preserve evidence in workspace artifacts
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user