test: consolidate redundant assertions into boundary workflows

Remove getter, enum, cloned-projection, cache-identity, and obsolete profile assertions along with the shadow JSON Schema engine and dead test-only APIs. Retain producer, filesystem, SDK, lifecycle, integrity, and malformed-format coverage.

Document the priority of real end-to-end workflows, boundary integration, and producer goldens.
This commit is contained in:
morluto
2026-10-09 20:26:46 +08:00
parent 2f02eff988
commit b71a591a60
35 changed files with 199 additions and 2192 deletions
@@ -64,20 +64,6 @@ describe("workflow input contracts", () => {
).toBe(false);
});
it("accepts each complete managed application Evidence source", () => {
for (const input of [
{ managed_artifact: MANAGED_APPLICATION_GRAPH_EXAMPLE.managed_members },
{ managed_members: MANAGED_APPLICATION_GRAPH_EXAMPLE.managed_members },
{
managed_native_boundaries:
MANAGED_APPLICATION_GRAPH_EXAMPLE.managed_members,
},
])
expect(
managedApplicationGraphReferenceInputSchema.safeParse(input).success,
).toBe(true);
});
it("accepts an explicit artifact integrity continuation policy", () => {
const input = { integrity_policy: "record-and-continue" as const };
const inspect = ARTIFACT_TOOL_CONTRACTS.find(