Skip to content

Commit 50f8d5f

Browse files
committed
chore: mark sqlite cache scaffold intentional
1 parent b4a23cd commit 50f8d5f

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎scripts/deadcode-unused-files.allowlist.mjs‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
// Intentional Knip unused-file findings. These are dynamic entrypoints,
22
// generated/build inputs, manifest-discovered plugin surfaces, live-test
33
// helpers, or package bridge files that static production scanning cannot see.
4-
export const KNIP_UNUSED_FILE_ALLOWLIST = [];
4+
export const KNIP_UNUSED_FILE_ALLOWLIST = [
5+
// Per-agent SQLite scaffold is intentionally landed before runtime migration
6+
// callers so the schema and scoped cache API can be reviewed together.
7+
"src/agents/cache/agent-cache-store.sqlite.ts",
8+
"src/agents/cache/agent-cache-store.ts",
9+
"src/state/openclaw-agent-db.paths.ts",
10+
"src/state/openclaw-agent-db.ts",
11+
"src/state/openclaw-agent-schema.generated.ts",
12+
];
513

614
// Knip can disagree across supported local/CI platforms for files that are
715
// only reachable through test-only import graphs, sparse-checkout proof

0 commit comments

Comments
 (0)