{"record":{"id":"d480811f0afbc291","repo":"santifer/career-ops","slug":"label-skipping-reason","errorCode":null,"errorMessage":"⚠️  ${label}: skipping — ${reason}","messagePattern":"⚠️  (.+?): skipping — (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"info","filePath":"plugins/_engine.mjs","lineNumber":62,"sourceCode":"export const RESERVED_ENV = new Set([\n  'GEMINI_API_KEY', 'GEMINI_MODEL',\n  'OPENROUTER_API_KEY', 'CAREER_OPS_MODEL',\n  'OPENAI_API_KEY', 'OPENAI_BASE_URL', 'OPENAI_MODEL',\n  'ANTHROPIC_API_KEY',\n  'CAREER_OPS_PORTALS', 'CAREER_OPS_PROFILE',\n  'PATH', 'HOME', 'NODE_OPTIONS', 'LD_PRELOAD', 'NODE_EXTRA_CA_CERTS',\n]);\n\nconst ID_RE = /^[a-z0-9][a-z0-9-]*$/;\nconst DEFAULT_HOOK_TIMEOUT_MS = 15_000;\nconst MAX_REDIRECTS = 5;\n\nfunction isReservedEnv(name) {\n  return RESERVED_ENV.has(name) || /^AWS_/.test(name);\n}\n\nfunction warnSkip(label, reason) {\n  console.warn(`⚠️  ${label}: skipping — ${reason}`);\n}\n\nfunction isWithinDirectory(rootAbs, candidateAbs) {\n  const rel = path.relative(rootAbs, candidateAbs);\n  return rel === '' || (!rel.startsWith(`..${path.sep}`) && rel !== '..' && !path.isAbsolute(rel));\n}\n\nfunction nearestExistingPath(absPath) {\n  let current = path.resolve(absPath);\n  while (!existsSync(current)) {\n    const parent = path.dirname(current);\n    if (parent === current) return null;\n    current = parent;\n  }\n  return current;\n}\n\nfunction isSafePluginPath(rootAbs, candidateAbs) {","sourceCodeStart":44,"sourceCodeEnd":80,"githubUrl":"https://github.com/santifer/career-ops/blob/aac998c7ed7248ea853b720ceeb1fdbeb322fc5d/plugins/_engine.mjs#L44-L80","documentation":"warnSkip in the plugin engine prints a standardized notice that a plugin (or an environment/credential set identified by `label`) is being skipped, with a human-readable `reason`. It is purely informational output used by the engine's gating logic — it does not throw and does not stop other plugins from running.","triggerScenarios":"The engine evaluates a plugin/entry and its preconditions fail: required credentials absent (including reserved AWS_* env vars via isReservedEnv), a dependency unavailable, or configuration marking the plugin disabled — each produces a warnSkip call.","commonSituations":"Running the gmail plugin without Google credentials; AWS_* variables present in the environment triggering the reserved-env guard; a plugin requiring an optional integration that isn't configured.","solutions":["Read the `reason` part of the message — it states the exact unmet precondition.","Provide the missing credentials/config for that plugin if you want it to run.","If the skip is intentional (e.g. AWS_* vars are used by something else), it is safe to ignore; the engine continues with the remaining plugins."],"exampleFix":"// before\n// ⚠️  gmail: skipping — missing credentials\n// after: configure the plugin's env, then re-run\nGMAIL_CREDENTIALS_PATH=./creds.json node plugin-runner.mjs","handlingStrategy":"validation","validationCode":"for (const name of plugin.requiredEnv || []) {\n  if (!process.env[name]) console.warn(`⚠️  ${plugin.label}: skipping — missing env ${name}`);\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Read the `reason` in the skip line — it names the exact unmet precondition.","Configure required credentials before running plugin batch jobs.","Treat reserved env names (RESERVED_ENV, AWS_*) as unavailable for plugin config."],"tags":["plugin","skip","configuration","credentials"],"backgroundTag":"missing-config-value","analyzedSha":"aac998c7ed7248ea853b720ceeb1fdbeb322fc5d","analyzedAt":"2026-09-16T06:35:29.214Z","contentChangedAt":"2026-09-16T06:35:29.214Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}