@oss-autopilot/core 3.15.1 → 3.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,7 +113,7 @@ export function buildScoutState(diagnostics) {
113
113
  minRepoScoreThreshold: config.minRepoScoreThreshold,
114
114
  interPhaseDelayMs: 30_000,
115
115
  broadPhaseDelayMs: 90_000,
116
- skipBroadWhenSufficientResults: 15,
116
+ skipBroadWhenSufficientResults: config.skipBroadWhenSufficientResults,
117
117
  persistence: config.persistence,
118
118
  slmTriageModel: config.slmTriageModel,
119
119
  slmTriageHost: config.slmTriageHost,
@@ -80,6 +80,12 @@ export const CONFIG_KEY_REGISTRY = [
80
80
  settableVia: 'setup',
81
81
  valueHint: 'positive integer',
82
82
  },
83
+ {
84
+ key: 'skipBroadWhenSufficientResults',
85
+ description: 'Skip the broad discovery phase once this many candidates from new repos are found (0 = always run the broad phase). Affinity/starred-repo candidates do not count toward it.',
86
+ settableVia: 'setup',
87
+ valueHint: 'non-negative integer (0 disables)',
88
+ },
83
89
  {
84
90
  key: 'minRepoScoreThreshold',
85
91
  description: 'Minimum repo maintainer-health score required for discovery (0–10).',
@@ -247,6 +247,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
247
247
  dormantThresholdDays: z.ZodDefault<z.ZodNumber>;
248
248
  approachingDormantDays: z.ZodDefault<z.ZodNumber>;
249
249
  maxIssueAgeDays: z.ZodDefault<z.ZodNumber>;
250
+ skipBroadWhenSufficientResults: z.ZodDefault<z.ZodNumber>;
250
251
  languages: z.ZodDefault<z.ZodArray<z.ZodString>>;
251
252
  labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
252
253
  scope: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -447,6 +448,7 @@ export declare const AgentStateSchema: z.ZodObject<{
447
448
  dormantThresholdDays: z.ZodDefault<z.ZodNumber>;
448
449
  approachingDormantDays: z.ZodDefault<z.ZodNumber>;
449
450
  maxIssueAgeDays: z.ZodDefault<z.ZodNumber>;
451
+ skipBroadWhenSufficientResults: z.ZodDefault<z.ZodNumber>;
450
452
  languages: z.ZodDefault<z.ZodArray<z.ZodString>>;
451
453
  labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
452
454
  scope: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -192,6 +192,10 @@ export const AgentConfigSchema = z.object({
192
192
  dormantThresholdDays: z.number().default(30),
193
193
  approachingDormantDays: z.number().default(25),
194
194
  maxIssueAgeDays: z.number().default(90),
195
+ // Skip the broad discovery phase once this many candidates from NEW repos are
196
+ // found (0 disables — broad always runs). Affinity/starred-repo candidates do
197
+ // not count, so the broad phase still surfaces repos you haven't touched.
198
+ skipBroadWhenSufficientResults: z.number().min(0).default(8),
195
199
  languages: z.array(z.string()).default(['typescript', 'javascript']),
196
200
  labels: z.array(z.string()).default(['good first issue', 'help wanted']),
197
201
  scope: z.array(IssueScopeSchema).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oss-autopilot/core",
3
- "version": "3.15.1",
3
+ "version": "3.16.0",
4
4
  "description": "CLI and core library for managing open source contributions",
5
5
  "type": "module",
6
6
  "bin": {
@@ -54,7 +54,7 @@
54
54
  "dependencies": {
55
55
  "@octokit/plugin-throttling": "^11.0.3",
56
56
  "@octokit/rest": "^22.0.1",
57
- "@oss-scout/core": "^1.2.2",
57
+ "@oss-scout/core": "^1.2.4",
58
58
  "commander": "^15.0.0",
59
59
  "zod": "^4.4.3"
60
60
  },