Skip to content

Commit f56c92b

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@aff0d61c1f51806555db6d4373e45554332d3a08
1 parent d33b52b commit f56c92b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎common/src/ads/agentic-bench-oracle.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ function staticallyDecidable(
128128
): boolean {
129129
if (!sponsoredFitCheckDecidable(check)) return false
130130
if (check.kind === 'file_contains') {
131+
// `^` matches any text, so an absent `^` check is decided by presence alone.
132+
if (check.absent && check.pattern === '^') return true
131133
const re = sponsoredSkillGlob(check.path)
132134
if (contentless(snapshot).some((path) => re.test(path))) return false
133135
}

0 commit comments

Comments
 (0)