Skip to content

Commit ff1bf84

Browse files
james tooleclaude
authored andcommitted
fix: lower Tier 2 distinct resolver requirement to 3 for small-deployment compatibility
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 14941d5 commit ff1bf84

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/reputation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export interface TrustHistoryEntry {
1414

1515
export const MIN_TRUST_TIER_SUCCESS_EXPOSURE_CENTS = 100;
1616
export const TIER_2_QUALIFYING_SUCCESSES = 5;
17+
export const TIER_2_DISTINCT_RESOLVERS = 3;
1718
export const TIER_3_QUALIFYING_SUCCESSES = 20;
1819

1920
type TrustHistoryInput = ResolveOutcome | TrustHistoryEntry;
@@ -62,7 +63,7 @@ export function computeTrustTier(history: TrustHistoryInput[]): TrustTier {
6263
}
6364
if (
6465
qualifyingSuccesses.length >= TIER_2_QUALIFYING_SUCCESSES &&
65-
independentResolvers.size >= TIER_2_QUALIFYING_SUCCESSES
66+
independentResolvers.size >= TIER_2_DISTINCT_RESOLVERS
6667
) {
6768
return 2;
6869
}

0 commit comments

Comments
 (0)