From 5dff4c9d31f0f4265f097b2adb0487681188775a Mon Sep 17 00:00:00 2001 From: Harlan GitHub Agent Date: Mon, 26 Oct 2026 12:38:50 +1100 Subject: [PATCH] chore: clarify return docs and preserve admission keys --- checks/_helpers/policy.mjs | 4 ++-- layers/marketing/app/utils/page-admissions.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/checks/_helpers/policy.mjs b/checks/_helpers/policy.mjs index 4c30f273..7e9765af 100644 --- a/checks/_helpers/policy.mjs +++ b/checks/_helpers/policy.mjs @@ -1,6 +1,6 @@ import { fail, pass, warn } from '@harlan-zw/nuxt-checkin/external' -/** @returns {import('@harlan-zw/nuxt-checkin/external').CheckResult} */ +/** @returns {import('@harlan-zw/nuxt-checkin/external').CheckResult} Workflow health verdict with evidence coverage. */ export function evaluateCI(data) { const incomplete = !data.workflows.length || data.workflows.some(workflow => workflow.state._tag === 'missing' || (workflow.state._tag === 'pending' && workflow.state.previousConclusion === null)) @@ -14,7 +14,7 @@ export function evaluateCI(data) { return pass(data) } -/** @returns {import('@harlan-zw/nuxt-checkin/external').CheckResult} */ +/** @returns {import('@harlan-zw/nuxt-checkin/external').CheckResult} Database health verdict with evidence coverage. */ export function evaluateD1(data, now, since) { const missingReason = data.missingExpectedTables.length ? 'Expected database tables are missing.' diff --git a/layers/marketing/app/utils/page-admissions.ts b/layers/marketing/app/utils/page-admissions.ts index e1249bf8..8ce78845 100644 --- a/layers/marketing/app/utils/page-admissions.ts +++ b/layers/marketing/app/utils/page-admissions.ts @@ -59,7 +59,7 @@ export const FREEZE_AUDIT_PATHS: readonly string[] = [ '/skills/demos', ] -export const PAGE_ADMISSIONS: Readonly> = { +export const PAGE_ADMISSIONS = { '/learn/research/skill-md-size-study': { targetQuery: 'SKILL.md size and description length', admissionBar: 'Owner-approved original research, 2026-10-09. One frozen registry study with source hashes, downloadable measurements, methods, weighting comparisons, and an authoring-guide action. Specific size queries have no DataForSEO estimate; the broader skill md seed has 720 US searches a month, KD 28. Research authority and citations are explicit goals, independent of search volume. Review indexing, relevant impressions, citations, and authoring-guide clicks at the 2026-11-11 gate. Retain useful cited research; consolidate into the authoring guide if it has no distinct use.', @@ -96,7 +96,7 @@ export const PAGE_ADMISSIONS: Readonly> = { targetQuery: 'context7 vs skills', admissionBar: 'The human-written template that experiment C rolls out to concept pages. No measured volume; kept as the control.', }, -} +} satisfies Readonly> /** True when the audit covers the path. Agent and comparison pages always count. */ function isAudited(path: string): boolean {