{"version":3,"file":"builtin-skills.d.ts","sourceRoot":"","sources":["../../../../src/core/long-horizon/adaptive/builtin-skills.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,YAAa,SAAQ,aAAa;CAAG;AAEtD,eAAO,MAAM,cAAc,EAAE,SAAS,YAAY,EAiFhD,CAAC","sourcesContent":["/**\n * Built-in typed skills (1.5.0).\n *\n * A small, bounded set of useful example skills. They are deliberately mostly\n * read-only (\"observe\" mode), declare allowed tools and denied effects, carry a\n * budget, and declare success criteria. They are data/configuration, not code:\n * effective permissions are the intersection of user authorization, parent\n * policy, the skill allowlist, and the execution mode. A skill can never\n * authorize publication.\n */\n\nimport type { SkillManifest } from \"./types.js\";\n\nexport interface BuiltinSkill extends SkillManifest {}\n\nexport const BUILTIN_SKILLS: readonly BuiltinSkill[] = Object.freeze([\n\t{\n\t\tname: \"repository-audit\",\n\t\tversion: 1,\n\t\tdescription: \"Audit a repository against defined criteria.\",\n\t\tinputs: [{ name: \"workspace\", type: \"workspace\" }],\n\t\tallowedTools: [\"read_file\", \"grep\", \"find\"],\n\t\tdeniedEffects: [\"writesWorkspace\", \"mutatesGit\"],\n\t\texecutionMode: \"observe\",\n\t\tbudget: { maxModelTurns: 5, maxToolCalls: 30 },\n\t\ttimeoutMs: 120_000,\n\t\tsuccessCriteria: [\"Produce an evidence-backed audit report.\"],\n\t\toutputSchema: \"RepositoryAuditResult\",\n\t\tmodelRole: \"subagent\",\n\t\tprovenance: \"builtin\",\n\t\trequiredCapabilities: [],\n\t},\n\t{\n\t\tname: \"focused-test-analysis\",\n\t\tversion: 1,\n\t\tdescription: \"Analyze a focused failing test against known artifacts.\",\n\t\tinputs: [{ name: \"testFile\", type: \"path\" }],\n\t\tallowedTools: [\"read_file\", \"grep\", \"git_status\", \"git_log\"],\n\t\tdeniedEffects: [\"writesWorkspace\", \"mutatesGit\"],\n\t\texecutionMode: \"observe\",\n\t\tbudget: { maxModelTurns: 5, maxToolCalls: 40 },\n\t\ttimeoutMs: 120_000,\n\t\tsuccessCriteria: [\"Classify the failure with evidence-backed attribution.\"],\n\t\toutputSchema: \"TestFailureAnalysis\",\n\t\tmodelRole: \"subagent\",\n\t\tprovenance: \"builtin\",\n\t\trequiredCapabilities: [],\n\t},\n\t{\n\t\tname: \"release-readiness-review\",\n\t\tversion: 1,\n\t\tdescription: \"Independently review release readiness against criteria.\",\n\t\tinputs: [{ name: \"criteria\", type: \"criteria[]\" }],\n\t\tallowedTools: [\"read_file\", \"grep\", \"git_status\", \"git_diff\", \"git_log\"],\n\t\tdeniedEffects: [\"writesWorkspace\", \"mutatesGit\", \"publishes\"],\n\t\texecutionMode: \"observe\",\n\t\tbudget: { maxModelTurns: 8, maxToolCalls: 60 },\n\t\ttimeoutMs: 180_000,\n\t\tsuccessCriteria: [\"Return structured readiness findings against each criterion.\"],\n\t\toutputSchema: \"ReleaseReadinessReview\",\n\t\tmodelRole: \"reviewer\",\n\t\tprovenance: \"builtin\",\n\t\trequiredCapabilities: [\"supportsCodeReview\"],\n\t},\n\t{\n\t\tname: \"web-research-brief\",\n\t\tversion: 1,\n\t\tdescription: \"Produce a cited research brief bounded by a child budget.\",\n\t\tinputs: [{ name: \"topic\", type: \"string\" }],\n\t\tallowedTools: [\"web_search\", \"web_fetch\"],\n\t\tdeniedEffects: [\"writesWorkspace\", \"mutatesGit\"],\n\t\texecutionMode: \"observe\",\n\t\tbudget: { maxWebSearches: 8, maxWebFetches: 12, maxModelTurns: 6 },\n\t\ttimeoutMs: 180_000,\n\t\tsuccessCriteria: [\"Return addressable citations for each claim.\"],\n\t\toutputSchema: \"ResearchBrief\",\n\t\tmodelRole: \"subagent\",\n\t\tprovenance: \"builtin\",\n\t\trequiredCapabilities: [\"supportsResearchSynthesis\"],\n\t},\n\t{\n\t\tname: \"failure-log-summary\",\n\t\tversion: 1,\n\t\tdescription: \"Summarize a bounded failure log into structured findings.\",\n\t\tinputs: [{ name: \"log\", type: \"path\" }],\n\t\tallowedTools: [\"read_file\", \"grep\"],\n\t\tdeniedEffects: [\"writesWorkspace\", \"mutatesGit\"],\n\t\texecutionMode: \"observe\",\n\t\tbudget: { maxModelTurns: 4, maxToolCalls: 20 },\n\t\ttimeoutMs: 90_000,\n\t\tsuccessCriteria: [\"Produce a structured failure summary with signal counts.\"],\n\t\toutputSchema: \"FailureLogSummary\",\n\t\tmodelRole: \"subagent\",\n\t\tprovenance: \"builtin\",\n\t\trequiredCapabilities: [],\n\t},\n]);\n"]}