refactor(artifacts): remove selectors and traversal quotas

This commit is contained in:
morluto
2026-09-29 12:15:49 +08:00
parent fe342faa83
commit 8c24272ee7
31 changed files with 268 additions and 666 deletions
@@ -14,14 +14,6 @@ import {
import { createEvidence } from "../../../src/domain/evidence.js";
import { jsonValueSchema } from "../../../src/domain/jsonValue.js";
const LIMITS = {
maxEntries: 1_000,
maxTotalBytes: 1024 * 1024,
maxEntryBytes: 1024 * 1024,
maxCompressionRatio: 100,
maxDepth: 20,
maxPathBytes: 1024,
} as const;
const PROVIDER = {
id: "rea-artifact-graph",
name: "REA artifact graph",
@@ -29,7 +21,7 @@ const PROVIDER = {
} as const;
const observe = async (path: string) => {
const inventory = await inventoryArtifact(path, LIMITS);
const inventory = await inventoryArtifact(path);
return createEvidence(
{
path,