@codedrifters/configulator 0.0.291 → 0.0.292

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.
package/lib/index.d.mts CHANGED
@@ -2531,6 +2531,48 @@ interface ScheduledTasksConfig {
2531
2531
  */
2532
2532
  readonly tasks?: ReadonlyArray<ScheduledTaskEntry>;
2533
2533
  }
2534
+ /*******************************************************************************
2535
+ *
2536
+ * Issue Defaults
2537
+ *
2538
+ ******************************************************************************/
2539
+ /**
2540
+ * Per-phase-label override for the default `status:*` and
2541
+ * `priority:*` labels every bundle-shipped `gh issue create` recipe
2542
+ * uses when filing a downstream issue. Both fields are optional —
2543
+ * a consumer may override `status` only, `priority` only, or both.
2544
+ *
2545
+ * - `status` rejects unknown values at synth time. Allowed values
2546
+ * are the canonical `status:*` taxonomy (`ready`, `blocked`,
2547
+ * `in-progress`, `ready-for-review`, `needs-attention`, `done`,
2548
+ * `deferred`).
2549
+ * - `priority` rejects unknown values at synth time. Allowed values
2550
+ * are the canonical five-level priority taxonomy (`critical`,
2551
+ * `high`, `medium`, `low`, `trivial`).
2552
+ */
2553
+ interface IssueDefaultsOverride {
2554
+ readonly status?: "ready" | "blocked" | "in-progress" | "ready-for-review" | "needs-attention" | "done" | "deferred";
2555
+ readonly priority?: "critical" | "high" | "medium" | "low" | "trivial";
2556
+ }
2557
+ /**
2558
+ * Map of phase label (e.g. `people:research`, `company:draft`,
2559
+ * `req:write`) to the default `status` / `priority` labels every
2560
+ * bundle-shipped `gh issue create` recipe should carry when filing
2561
+ * an issue with that phase label.
2562
+ *
2563
+ * Keyed by phase label rather than by `type:*` so consumers can
2564
+ * discriminate per phase — a `type:company-profile` consumer might
2565
+ * want `company:research` deferred but `company:analyze` ready.
2566
+ *
2567
+ * Unknown phase labels (no bundle currently files them) are
2568
+ * accepted silently so the config does not break when a bundle is
2569
+ * later removed from `includeBundles`.
2570
+ *
2571
+ * @see ./bundles/issue-defaults.ts#resolveIssueDefaults
2572
+ * @see ./bundles/issue-defaults.ts#validateIssueDefaultsConfig
2573
+ * @see ./bundles/issue-defaults.ts#labelsForPhase
2574
+ */
2575
+ type IssueDefaultsConfig = Readonly<Record<string, IssueDefaultsOverride>>;
2534
2576
  /*******************************************************************************
2535
2577
  *
2536
2578
  * AgentConfig Options
@@ -2999,6 +3041,43 @@ interface AgentConfigOptions {
2999
3041
  * @see ./bundles/issue-templates.ts#renderIssueTemplatesRuleContent
3000
3042
  */
3001
3043
  readonly issueTemplates?: IssueTemplatesConfig;
3044
+ /**
3045
+ * Per-phase-label override for the default `status:*` and
3046
+ * `priority:*` labels every bundle-shipped `gh issue create`
3047
+ * recipe uses when filing a downstream issue. Keyed by phase
3048
+ * label (e.g. `people:research`, `company:draft`, `req:write`).
3049
+ *
3050
+ * When the whole config is omitted, every bundle-shipped recipe
3051
+ * renders with `status:ready` + `priority:medium` — the historical
3052
+ * hardcoded defaults.
3053
+ *
3054
+ * Each entry may set `status` only, `priority` only, or both.
3055
+ * Missing fields cascade from the bundle defaults. Empty entries
3056
+ * (neither field set) are rejected at synth time as a probable
3057
+ * typo on the field name.
3058
+ *
3059
+ * Example:
3060
+ *
3061
+ * ```typescript
3062
+ * agentConfig: {
3063
+ * issueDefaults: {
3064
+ * 'people:research': { status: 'deferred', priority: 'low' },
3065
+ * 'people:refresh': { status: 'deferred', priority: 'low' },
3066
+ * },
3067
+ * }
3068
+ * ```
3069
+ *
3070
+ * Malformed configs — empty / whitespace-only phase-label key,
3071
+ * unrecognised `status:<value>` / `priority:<value>` strings, or
3072
+ * an empty entry that sets neither field — fail the build at
3073
+ * synth time via `validateIssueDefaultsConfig`.
3074
+ *
3075
+ * @see IssueDefaultsConfig
3076
+ * @see ./bundles/issue-defaults.ts#resolveIssueDefaults
3077
+ * @see ./bundles/issue-defaults.ts#validateIssueDefaultsConfig
3078
+ * @see ./bundles/issue-defaults.ts#labelsForPhase
3079
+ */
3080
+ readonly issueDefaults?: IssueDefaultsConfig;
3002
3081
  /**
3003
3082
  * Upstream-configulator-docs convention consumed by the
3004
3083
  * `upstream-configulator-docs` bundle. Ships pointers to the
@@ -3137,6 +3216,100 @@ declare class AgentConfig extends Component {
3137
3216
  private resolveBundlePermissions;
3138
3217
  }
3139
3218
 
3219
+ /**
3220
+ * Valid `status:*` values that may appear in an
3221
+ * `IssueDefaultsOverride.status`. The list mirrors the canonical
3222
+ * status taxonomy documented in the `issue-label-conventions` rule
3223
+ * — every value here renders as a `status:<value>` label on the
3224
+ * downstream `gh issue create` invocation.
3225
+ *
3226
+ * `deferred` is included so consumers can route low-priority
3227
+ * downstream byproducts (e.g. `people:research` follow-ups in a
3228
+ * research-heavy planning repo) into a manually-promoted backlog
3229
+ * instead of the auto-dispatch queue.
3230
+ */
3231
+ declare const VALID_STATUS_VALUES: readonly ["ready", "blocked", "in-progress", "ready-for-review", "needs-attention", "done", "deferred"];
3232
+ type IssueDefaultsStatus = (typeof VALID_STATUS_VALUES)[number];
3233
+ /**
3234
+ * Valid `priority:*` values that may appear in an
3235
+ * `IssueDefaultsOverride.priority`. Mirrors the five-level priority
3236
+ * taxonomy documented in the `issue-label-conventions` rule.
3237
+ */
3238
+ declare const VALID_PRIORITY_VALUES: readonly ["critical", "high", "medium", "low", "trivial"];
3239
+ type IssueDefaultsPriority = (typeof VALID_PRIORITY_VALUES)[number];
3240
+ /**
3241
+ * Bundle-shipped defaults used when no `issueDefaults[<phase>]`
3242
+ * override is configured. `ready` / `medium` matches the historical
3243
+ * hardcoded values every bundle carried before this knob existed.
3244
+ */
3245
+ declare const DEFAULT_ISSUE_STATUS: IssueDefaultsStatus;
3246
+ declare const DEFAULT_ISSUE_PRIORITY: IssueDefaultsPriority;
3247
+ /**
3248
+ * Fully-resolved per-phase-label entry. Every field is filled in so
3249
+ * downstream callers can render `status:<value>` / `priority:<value>`
3250
+ * label lines without re-checking for `undefined`.
3251
+ */
3252
+ interface ResolvedIssueDefaultsEntry {
3253
+ readonly status: IssueDefaultsStatus;
3254
+ readonly priority: IssueDefaultsPriority;
3255
+ }
3256
+ /**
3257
+ * Fully-resolved issue-defaults configuration. The `overrides` map
3258
+ * is keyed by phase label (e.g. `people:research`, `company:draft`,
3259
+ * `req:write`) — not by `type:*` — so consumers can discriminate per
3260
+ * phase. The `defaults` field carries the bundle-shipped fallback
3261
+ * values (`ready` / `medium`) callers fall back to when no override
3262
+ * is configured for a given phase.
3263
+ */
3264
+ interface ResolvedIssueDefaults {
3265
+ readonly defaults: ResolvedIssueDefaultsEntry;
3266
+ readonly overrides: Readonly<Record<string, ResolvedIssueDefaultsEntry>>;
3267
+ }
3268
+ /**
3269
+ * Default-everything resolved instance. Used by bundle factories
3270
+ * when the consumer supplies no override at all (the common case).
3271
+ */
3272
+ declare const DEFAULT_RESOLVED_ISSUE_DEFAULTS: ResolvedIssueDefaults;
3273
+ /**
3274
+ * Resolve a (possibly absent) `IssueDefaultsConfig` into a canonical
3275
+ * `ResolvedIssueDefaults` with every override entry filled in.
3276
+ *
3277
+ * Each entry inside the consumer-supplied map may set `status`,
3278
+ * `priority`, or both. Missing fields cascade from the bundle
3279
+ * defaults (`ready` / `medium`) so a partially-specified entry
3280
+ * still resolves to a complete pair.
3281
+ *
3282
+ * Malformed configs throw a descriptive `Error`:
3283
+ *
3284
+ * - Empty / whitespace-only phase-label key.
3285
+ * - `status` set to a value outside `VALID_STATUS_VALUES`.
3286
+ * - `priority` set to a value outside `VALID_PRIORITY_VALUES`.
3287
+ * - Empty entry (neither `status` nor `priority` supplied) — the
3288
+ * override would be a no-op and probably indicates a typo on the
3289
+ * field name.
3290
+ */
3291
+ declare function resolveIssueDefaults(config?: IssueDefaultsConfig): ResolvedIssueDefaults;
3292
+ /**
3293
+ * Synth-time validation hook. Throws a descriptive `Error` when
3294
+ * the supplied `IssueDefaultsConfig` is malformed. Called by
3295
+ * `AgentConfig.preSynthesize` before any rendering so a misconfigured
3296
+ * override fails the build instead of silently shipping unrecognised
3297
+ * label values into bundle prompts. Returns the resolved config so
3298
+ * callers can write `const id = validateIssueDefaultsConfig(config)`
3299
+ * in one line.
3300
+ */
3301
+ declare function validateIssueDefaultsConfig(config?: IssueDefaultsConfig): ResolvedIssueDefaults;
3302
+ /**
3303
+ * Look up the effective `status` / `priority` pair for a phase label.
3304
+ * Returns the override entry when one is configured for the given
3305
+ * phase, otherwise the bundle defaults (`ready` / `medium`).
3306
+ *
3307
+ * The single canonical helper bundle prompt templates call when they
3308
+ * need to render the labels for a downstream filing — keeps every
3309
+ * filing site in sync with the same resolution rule.
3310
+ */
3311
+ declare function labelsForPhase(resolved: ResolvedIssueDefaults, phaseLabel: string): ResolvedIssueDefaultsEntry;
3312
+
3140
3313
  /**
3141
3314
  * Fully-resolved agent output-path roots. Every property is required.
3142
3315
  *
@@ -3295,7 +3468,7 @@ declare const businessModelsBundle: AgentRuleBundle;
3295
3468
  * `/analyze-segment`), and `type:company-profile` plus `company:*`
3296
3469
  * phase labels for the six phases.
3297
3470
  */
3298
- declare function buildCompanyProfileBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
3471
+ declare function buildCompanyProfileBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
3299
3472
  /**
3300
3473
  * Default-paths instance of the company-profile bundle, preserved for
3301
3474
  * backward compatibility with consumers that import the const
@@ -3332,7 +3505,7 @@ declare const companyProfileBundle: AgentRuleBundle;
3332
3505
  * unmet need to `req:scan` seed via the shared software-profile
3333
3506
  * feature matrix.
3334
3507
  */
3335
- declare function buildCustomerProfileBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
3508
+ declare function buildCustomerProfileBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
3336
3509
  /**
3337
3510
  * Default-paths instance of the customer-profile bundle, preserved
3338
3511
  * for backward compatibility with consumers that import the const
@@ -3469,7 +3642,7 @@ declare const githubWorkflowBundle: AgentRuleBundle;
3469
3642
  * the supplied `paths` struct, so a consumer override of
3470
3643
  * `AgentConfigOptions.paths` propagates to the rendered output.
3471
3644
  */
3472
- declare function buildIndustryDiscoveryBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
3645
+ declare function buildIndustryDiscoveryBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
3473
3646
  /**
3474
3647
  * Default-paths instance of the industry-discovery bundle, preserved
3475
3648
  * for backward compatibility with consumers that import the const
@@ -4303,7 +4476,7 @@ declare const orchestratorBundle: AgentRuleBundle;
4303
4476
  * skills (`/profile-person`, `/refresh-person`), and `type:people-profile`
4304
4477
  * plus `people:*` phase labels for the four phases.
4305
4478
  */
4306
- declare function buildPeopleProfileBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
4479
+ declare function buildPeopleProfileBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
4307
4480
  /**
4308
4481
  * Default-paths instance of the people-profile bundle, preserved for
4309
4482
  * backward compatibility with consumers that import the const
@@ -4682,7 +4855,7 @@ declare const projenBundle: AgentRuleBundle;
4682
4855
  * pipeline, and canonical profiles to `company-profile` and
4683
4856
  * `people-profile` for enforcement bodies and regulatory leaders.
4684
4857
  */
4685
- declare function buildRegulatoryResearchBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
4858
+ declare function buildRegulatoryResearchBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
4686
4859
  /**
4687
4860
  * Default-paths instance of the regulatory-research bundle, preserved
4688
4861
  * for backward compatibility with consumers that import the const
@@ -5248,7 +5421,7 @@ declare const slackBundle: AgentRuleBundle;
5248
5421
  * skills (`/profile-software` and `/map-software`), and
5249
5422
  * `type:software-profile` plus `software:*` phase labels.
5250
5423
  */
5251
- declare function buildSoftwareProfileBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
5424
+ declare function buildSoftwareProfileBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
5252
5425
  /**
5253
5426
  * Default-paths instance of the software-profile bundle, preserved
5254
5427
  * for backward compatibility with consumers that import the const
@@ -5282,7 +5455,7 @@ declare const softwareProfileBundle: AgentRuleBundle;
5282
5455
  * `people-profile`, extension ADRs to `requirements-writer`, and
5283
5456
  * domain-entity mappings to `bcm-writer`.
5284
5457
  */
5285
- declare function buildStandardsResearchBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
5458
+ declare function buildStandardsResearchBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
5286
5459
  /**
5287
5460
  * Default-paths instance of the standards-research bundle, preserved
5288
5461
  * for backward compatibility with consumers that import the const
@@ -5345,6 +5518,13 @@ declare const vitestBundle: AgentRuleBundle;
5345
5518
  * sub-agent content, so a consumer override of
5346
5519
  * `AgentConfigOptions.paths` propagates into the rendered output.
5347
5520
  *
5521
+ * Bundles that file downstream issues also accept a
5522
+ * `ResolvedIssueDefaults` second argument so per-phase-label
5523
+ * overrides supplied via `AgentConfigOptions.issueDefaults`
5524
+ * propagate into every filing site's `gh issue create` prose.
5525
+ * When the consumer supplies no override, the bundle defaults
5526
+ * (`status:ready` + `priority:medium`) ship unchanged.
5527
+ *
5348
5528
  * Order matters: base is first so its rules can be overridden by
5349
5529
  * more specific bundles. The base bundle's `appliesWhen` always
5350
5530
  * returns true; it is filtered by the `includeBaseRules` option
@@ -5353,7 +5533,7 @@ declare const vitestBundle: AgentRuleBundle;
5353
5533
  * Bundles that do not read any agent path (typescript, jest,
5354
5534
  * pnpm, etc.) stay as const exports and are referenced unchanged.
5355
5535
  */
5356
- declare function buildBuiltInBundles(paths?: ResolvedAgentPaths): ReadonlyArray<AgentRuleBundle>;
5536
+ declare function buildBuiltInBundles(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): ReadonlyArray<AgentRuleBundle>;
5357
5537
  /**
5358
5538
  * Built-in rule bundles assembled with the default agent paths.
5359
5539
  * Preserved for backward compatibility with tests and consumers
@@ -9319,4 +9499,4 @@ declare const COMPLETE_JOB_ID = "complete";
9319
9499
  */
9320
9500
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
9321
9501
 
9322
- export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, AgentConfig, type AgentConfigOptions, type AgentExpansionRules, type AgentFeaturesConfig, type AgentModel, type AgentPathsConfig, type AgentPlatform, type AgentPlatformOverrides, type AgentProcedure, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type AgentTier, type AgentTierConfig, type AgentTierEntry, type AnalyzeTsDocCoverageOptions, type ApiDiffCheckOptions, type ApiDiffFinding, type ApiDiffResult, ApiExtractor, type ApiExtractorOptions, type ApiExtractorReportOptions, type ApiSurfaceEntry, type ApproveMergeUpgradeOptions, AstroConfig, type AstroConfigOptions, type AstroIntegrationSpec, AstroOutput, AstroProject, type AstroProjectOptions, AuditCategory, type AuditCheckRunner, type AuditCheckRunnerContext, type AuditFinding, type AuditFindingBase, type AuditLocation, AuditMode, type AuditReport, AuditSeverity, type AwsAccount, AwsCdkProject, type AwsCdkProjectOptions, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, AwsTeardownWorkflow, type AwsTeardownWorkflowOptions, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CompileFencedSamplesOptions, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type CustomDocSection, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, type DeployWorkflowOptions, type DeploymentMetadata, type DocReferenceRecord, type EffectiveScopeThresholds, type ExtractDocReferencesOptions, type ExtractFencedSamplesOptions, type FencedSampleRecord, type FocusArea, type FocusAreaMatch, type FocusConfig, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, type IssueTemplatesConfig, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, type LabelDefinition, type LayoutEnforcement, type LayoutViolation, type LinkFailureFinding, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, type McpServerConfig, type McpTransport, type MeetingArea, type MeetingScope, type MeetingType, type MeetingTypeKind, type MeetingsConfig, type MergeMethod, type MonorepoLayoutRoot, MonorepoProject, type MonorepoProjectOptions, type OrganizationMetadata, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, type PnpmWorkspaceOptions, type PriorityRule, type ProgressFilesConfig, ProjectMetadata, type ProjectMetadataOptions, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, type ReferenceMismatchCheckOptions, type ReferenceMismatchFinding, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedIssueTemplates, type ResolvedProgressFiles, type ResolvedProjectMetadata, type ResolvedRunRatio, type ResolvedScheduledTask, type ResolvedScheduledTasks, type ResolvedScopeGate, type ResolvedScopeGateBundleOverride, type ResolvedSharedEditing, type ResolvedSkillEvals, type ResolvedUnblockDependents, type RunRatioConfig, type RunScanOptions, type RunScanResult, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, type SampleCompilationFailure, type SampleFailureFinding, SampleLang, type ScheduledTaskEntry, type ScheduledTaskModel, type ScheduledTaskOverride, type ScheduledTasksConfig, type ScopeClass, type ScopeGateBundleOverride, type ScopeGateConfig, type ScopeGateThresholds, type SharedEditingConfig, type SkillEvalsConfig, type SlackMetadata, type SourceTierExamples, type StarlightEditLink, type StarlightLogo, StarlightProject, type StarlightProjectOptions, type StarlightRole, type StarlightSidebarItem, type StarlightSingletonViolation, type StarlightSocialLink, type SyncLabelsOptions, type TemplateResolveResult, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, type TsdocCoverageCheckOptions, type TsdocCoverageFinding, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, UNKNOWN_TYPE_FALLBACK_TIER, type UnblockDependentsConfig, type UpstreamConfigulatorConfig, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, vitestBundle };
9502
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, AgentConfig, type AgentConfigOptions, type AgentExpansionRules, type AgentFeaturesConfig, type AgentModel, type AgentPathsConfig, type AgentPlatform, type AgentPlatformOverrides, type AgentProcedure, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type AgentTier, type AgentTierConfig, type AgentTierEntry, type AnalyzeTsDocCoverageOptions, type ApiDiffCheckOptions, type ApiDiffFinding, type ApiDiffResult, ApiExtractor, type ApiExtractorOptions, type ApiExtractorReportOptions, type ApiSurfaceEntry, type ApproveMergeUpgradeOptions, AstroConfig, type AstroConfigOptions, type AstroIntegrationSpec, AstroOutput, AstroProject, type AstroProjectOptions, AuditCategory, type AuditCheckRunner, type AuditCheckRunnerContext, type AuditFinding, type AuditFindingBase, type AuditLocation, AuditMode, type AuditReport, AuditSeverity, type AwsAccount, AwsCdkProject, type AwsCdkProjectOptions, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, AwsTeardownWorkflow, type AwsTeardownWorkflowOptions, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CompileFencedSamplesOptions, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type CustomDocSection, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_PRIORITY, DEFAULT_ISSUE_STATUS, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, type DeployWorkflowOptions, type DeploymentMetadata, type DocReferenceRecord, type EffectiveScopeThresholds, type ExtractDocReferencesOptions, type ExtractFencedSamplesOptions, type FencedSampleRecord, type FocusArea, type FocusAreaMatch, type FocusConfig, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, type IssueDefaultsConfig, type IssueDefaultsOverride, type IssueDefaultsPriority, type IssueDefaultsStatus, type IssueTemplatesConfig, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, type LabelDefinition, type LayoutEnforcement, type LayoutViolation, type LinkFailureFinding, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, type McpServerConfig, type McpTransport, type MeetingArea, type MeetingScope, type MeetingType, type MeetingTypeKind, type MeetingsConfig, type MergeMethod, type MonorepoLayoutRoot, MonorepoProject, type MonorepoProjectOptions, type OrganizationMetadata, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, type PnpmWorkspaceOptions, type PriorityRule, type ProgressFilesConfig, ProjectMetadata, type ProjectMetadataOptions, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, type ReferenceMismatchCheckOptions, type ReferenceMismatchFinding, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedIssueDefaults, type ResolvedIssueDefaultsEntry, type ResolvedIssueTemplates, type ResolvedProgressFiles, type ResolvedProjectMetadata, type ResolvedRunRatio, type ResolvedScheduledTask, type ResolvedScheduledTasks, type ResolvedScopeGate, type ResolvedScopeGateBundleOverride, type ResolvedSharedEditing, type ResolvedSkillEvals, type ResolvedUnblockDependents, type RunRatioConfig, type RunScanOptions, type RunScanResult, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, type SampleCompilationFailure, type SampleFailureFinding, SampleLang, type ScheduledTaskEntry, type ScheduledTaskModel, type ScheduledTaskOverride, type ScheduledTasksConfig, type ScopeClass, type ScopeGateBundleOverride, type ScopeGateConfig, type ScopeGateThresholds, type SharedEditingConfig, type SkillEvalsConfig, type SlackMetadata, type SourceTierExamples, type StarlightEditLink, type StarlightLogo, StarlightProject, type StarlightProjectOptions, type StarlightRole, type StarlightSidebarItem, type StarlightSingletonViolation, type StarlightSocialLink, type SyncLabelsOptions, type TemplateResolveResult, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, type TsdocCoverageCheckOptions, type TsdocCoverageFinding, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, UNKNOWN_TYPE_FALLBACK_TIER, type UnblockDependentsConfig, type UpstreamConfigulatorConfig, VALID_PRIORITY_VALUES, VALID_STATUS_VALUES, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, vitestBundle };
package/lib/index.d.ts CHANGED
@@ -2580,6 +2580,48 @@ interface ScheduledTasksConfig {
2580
2580
  */
2581
2581
  readonly tasks?: ReadonlyArray<ScheduledTaskEntry>;
2582
2582
  }
2583
+ /*******************************************************************************
2584
+ *
2585
+ * Issue Defaults
2586
+ *
2587
+ ******************************************************************************/
2588
+ /**
2589
+ * Per-phase-label override for the default `status:*` and
2590
+ * `priority:*` labels every bundle-shipped `gh issue create` recipe
2591
+ * uses when filing a downstream issue. Both fields are optional —
2592
+ * a consumer may override `status` only, `priority` only, or both.
2593
+ *
2594
+ * - `status` rejects unknown values at synth time. Allowed values
2595
+ * are the canonical `status:*` taxonomy (`ready`, `blocked`,
2596
+ * `in-progress`, `ready-for-review`, `needs-attention`, `done`,
2597
+ * `deferred`).
2598
+ * - `priority` rejects unknown values at synth time. Allowed values
2599
+ * are the canonical five-level priority taxonomy (`critical`,
2600
+ * `high`, `medium`, `low`, `trivial`).
2601
+ */
2602
+ interface IssueDefaultsOverride {
2603
+ readonly status?: "ready" | "blocked" | "in-progress" | "ready-for-review" | "needs-attention" | "done" | "deferred";
2604
+ readonly priority?: "critical" | "high" | "medium" | "low" | "trivial";
2605
+ }
2606
+ /**
2607
+ * Map of phase label (e.g. `people:research`, `company:draft`,
2608
+ * `req:write`) to the default `status` / `priority` labels every
2609
+ * bundle-shipped `gh issue create` recipe should carry when filing
2610
+ * an issue with that phase label.
2611
+ *
2612
+ * Keyed by phase label rather than by `type:*` so consumers can
2613
+ * discriminate per phase — a `type:company-profile` consumer might
2614
+ * want `company:research` deferred but `company:analyze` ready.
2615
+ *
2616
+ * Unknown phase labels (no bundle currently files them) are
2617
+ * accepted silently so the config does not break when a bundle is
2618
+ * later removed from `includeBundles`.
2619
+ *
2620
+ * @see ./bundles/issue-defaults.ts#resolveIssueDefaults
2621
+ * @see ./bundles/issue-defaults.ts#validateIssueDefaultsConfig
2622
+ * @see ./bundles/issue-defaults.ts#labelsForPhase
2623
+ */
2624
+ type IssueDefaultsConfig = Readonly<Record<string, IssueDefaultsOverride>>;
2583
2625
  /*******************************************************************************
2584
2626
  *
2585
2627
  * AgentConfig Options
@@ -3048,6 +3090,43 @@ interface AgentConfigOptions {
3048
3090
  * @see ./bundles/issue-templates.ts#renderIssueTemplatesRuleContent
3049
3091
  */
3050
3092
  readonly issueTemplates?: IssueTemplatesConfig;
3093
+ /**
3094
+ * Per-phase-label override for the default `status:*` and
3095
+ * `priority:*` labels every bundle-shipped `gh issue create`
3096
+ * recipe uses when filing a downstream issue. Keyed by phase
3097
+ * label (e.g. `people:research`, `company:draft`, `req:write`).
3098
+ *
3099
+ * When the whole config is omitted, every bundle-shipped recipe
3100
+ * renders with `status:ready` + `priority:medium` — the historical
3101
+ * hardcoded defaults.
3102
+ *
3103
+ * Each entry may set `status` only, `priority` only, or both.
3104
+ * Missing fields cascade from the bundle defaults. Empty entries
3105
+ * (neither field set) are rejected at synth time as a probable
3106
+ * typo on the field name.
3107
+ *
3108
+ * Example:
3109
+ *
3110
+ * ```typescript
3111
+ * agentConfig: {
3112
+ * issueDefaults: {
3113
+ * 'people:research': { status: 'deferred', priority: 'low' },
3114
+ * 'people:refresh': { status: 'deferred', priority: 'low' },
3115
+ * },
3116
+ * }
3117
+ * ```
3118
+ *
3119
+ * Malformed configs — empty / whitespace-only phase-label key,
3120
+ * unrecognised `status:<value>` / `priority:<value>` strings, or
3121
+ * an empty entry that sets neither field — fail the build at
3122
+ * synth time via `validateIssueDefaultsConfig`.
3123
+ *
3124
+ * @see IssueDefaultsConfig
3125
+ * @see ./bundles/issue-defaults.ts#resolveIssueDefaults
3126
+ * @see ./bundles/issue-defaults.ts#validateIssueDefaultsConfig
3127
+ * @see ./bundles/issue-defaults.ts#labelsForPhase
3128
+ */
3129
+ readonly issueDefaults?: IssueDefaultsConfig;
3051
3130
  /**
3052
3131
  * Upstream-configulator-docs convention consumed by the
3053
3132
  * `upstream-configulator-docs` bundle. Ships pointers to the
@@ -3186,6 +3265,100 @@ declare class AgentConfig extends Component {
3186
3265
  private resolveBundlePermissions;
3187
3266
  }
3188
3267
 
3268
+ /**
3269
+ * Valid `status:*` values that may appear in an
3270
+ * `IssueDefaultsOverride.status`. The list mirrors the canonical
3271
+ * status taxonomy documented in the `issue-label-conventions` rule
3272
+ * — every value here renders as a `status:<value>` label on the
3273
+ * downstream `gh issue create` invocation.
3274
+ *
3275
+ * `deferred` is included so consumers can route low-priority
3276
+ * downstream byproducts (e.g. `people:research` follow-ups in a
3277
+ * research-heavy planning repo) into a manually-promoted backlog
3278
+ * instead of the auto-dispatch queue.
3279
+ */
3280
+ declare const VALID_STATUS_VALUES: readonly ["ready", "blocked", "in-progress", "ready-for-review", "needs-attention", "done", "deferred"];
3281
+ type IssueDefaultsStatus = (typeof VALID_STATUS_VALUES)[number];
3282
+ /**
3283
+ * Valid `priority:*` values that may appear in an
3284
+ * `IssueDefaultsOverride.priority`. Mirrors the five-level priority
3285
+ * taxonomy documented in the `issue-label-conventions` rule.
3286
+ */
3287
+ declare const VALID_PRIORITY_VALUES: readonly ["critical", "high", "medium", "low", "trivial"];
3288
+ type IssueDefaultsPriority = (typeof VALID_PRIORITY_VALUES)[number];
3289
+ /**
3290
+ * Bundle-shipped defaults used when no `issueDefaults[<phase>]`
3291
+ * override is configured. `ready` / `medium` matches the historical
3292
+ * hardcoded values every bundle carried before this knob existed.
3293
+ */
3294
+ declare const DEFAULT_ISSUE_STATUS: IssueDefaultsStatus;
3295
+ declare const DEFAULT_ISSUE_PRIORITY: IssueDefaultsPriority;
3296
+ /**
3297
+ * Fully-resolved per-phase-label entry. Every field is filled in so
3298
+ * downstream callers can render `status:<value>` / `priority:<value>`
3299
+ * label lines without re-checking for `undefined`.
3300
+ */
3301
+ interface ResolvedIssueDefaultsEntry {
3302
+ readonly status: IssueDefaultsStatus;
3303
+ readonly priority: IssueDefaultsPriority;
3304
+ }
3305
+ /**
3306
+ * Fully-resolved issue-defaults configuration. The `overrides` map
3307
+ * is keyed by phase label (e.g. `people:research`, `company:draft`,
3308
+ * `req:write`) — not by `type:*` — so consumers can discriminate per
3309
+ * phase. The `defaults` field carries the bundle-shipped fallback
3310
+ * values (`ready` / `medium`) callers fall back to when no override
3311
+ * is configured for a given phase.
3312
+ */
3313
+ interface ResolvedIssueDefaults {
3314
+ readonly defaults: ResolvedIssueDefaultsEntry;
3315
+ readonly overrides: Readonly<Record<string, ResolvedIssueDefaultsEntry>>;
3316
+ }
3317
+ /**
3318
+ * Default-everything resolved instance. Used by bundle factories
3319
+ * when the consumer supplies no override at all (the common case).
3320
+ */
3321
+ declare const DEFAULT_RESOLVED_ISSUE_DEFAULTS: ResolvedIssueDefaults;
3322
+ /**
3323
+ * Resolve a (possibly absent) `IssueDefaultsConfig` into a canonical
3324
+ * `ResolvedIssueDefaults` with every override entry filled in.
3325
+ *
3326
+ * Each entry inside the consumer-supplied map may set `status`,
3327
+ * `priority`, or both. Missing fields cascade from the bundle
3328
+ * defaults (`ready` / `medium`) so a partially-specified entry
3329
+ * still resolves to a complete pair.
3330
+ *
3331
+ * Malformed configs throw a descriptive `Error`:
3332
+ *
3333
+ * - Empty / whitespace-only phase-label key.
3334
+ * - `status` set to a value outside `VALID_STATUS_VALUES`.
3335
+ * - `priority` set to a value outside `VALID_PRIORITY_VALUES`.
3336
+ * - Empty entry (neither `status` nor `priority` supplied) — the
3337
+ * override would be a no-op and probably indicates a typo on the
3338
+ * field name.
3339
+ */
3340
+ declare function resolveIssueDefaults(config?: IssueDefaultsConfig): ResolvedIssueDefaults;
3341
+ /**
3342
+ * Synth-time validation hook. Throws a descriptive `Error` when
3343
+ * the supplied `IssueDefaultsConfig` is malformed. Called by
3344
+ * `AgentConfig.preSynthesize` before any rendering so a misconfigured
3345
+ * override fails the build instead of silently shipping unrecognised
3346
+ * label values into bundle prompts. Returns the resolved config so
3347
+ * callers can write `const id = validateIssueDefaultsConfig(config)`
3348
+ * in one line.
3349
+ */
3350
+ declare function validateIssueDefaultsConfig(config?: IssueDefaultsConfig): ResolvedIssueDefaults;
3351
+ /**
3352
+ * Look up the effective `status` / `priority` pair for a phase label.
3353
+ * Returns the override entry when one is configured for the given
3354
+ * phase, otherwise the bundle defaults (`ready` / `medium`).
3355
+ *
3356
+ * The single canonical helper bundle prompt templates call when they
3357
+ * need to render the labels for a downstream filing — keeps every
3358
+ * filing site in sync with the same resolution rule.
3359
+ */
3360
+ declare function labelsForPhase(resolved: ResolvedIssueDefaults, phaseLabel: string): ResolvedIssueDefaultsEntry;
3361
+
3189
3362
  /**
3190
3363
  * Fully-resolved agent output-path roots. Every property is required.
3191
3364
  *
@@ -3344,7 +3517,7 @@ declare const businessModelsBundle: AgentRuleBundle;
3344
3517
  * `/analyze-segment`), and `type:company-profile` plus `company:*`
3345
3518
  * phase labels for the six phases.
3346
3519
  */
3347
- declare function buildCompanyProfileBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
3520
+ declare function buildCompanyProfileBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
3348
3521
  /**
3349
3522
  * Default-paths instance of the company-profile bundle, preserved for
3350
3523
  * backward compatibility with consumers that import the const
@@ -3381,7 +3554,7 @@ declare const companyProfileBundle: AgentRuleBundle;
3381
3554
  * unmet need to `req:scan` seed via the shared software-profile
3382
3555
  * feature matrix.
3383
3556
  */
3384
- declare function buildCustomerProfileBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
3557
+ declare function buildCustomerProfileBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
3385
3558
  /**
3386
3559
  * Default-paths instance of the customer-profile bundle, preserved
3387
3560
  * for backward compatibility with consumers that import the const
@@ -3518,7 +3691,7 @@ declare const githubWorkflowBundle: AgentRuleBundle;
3518
3691
  * the supplied `paths` struct, so a consumer override of
3519
3692
  * `AgentConfigOptions.paths` propagates to the rendered output.
3520
3693
  */
3521
- declare function buildIndustryDiscoveryBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
3694
+ declare function buildIndustryDiscoveryBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
3522
3695
  /**
3523
3696
  * Default-paths instance of the industry-discovery bundle, preserved
3524
3697
  * for backward compatibility with consumers that import the const
@@ -4352,7 +4525,7 @@ declare const orchestratorBundle: AgentRuleBundle;
4352
4525
  * skills (`/profile-person`, `/refresh-person`), and `type:people-profile`
4353
4526
  * plus `people:*` phase labels for the four phases.
4354
4527
  */
4355
- declare function buildPeopleProfileBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
4528
+ declare function buildPeopleProfileBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
4356
4529
  /**
4357
4530
  * Default-paths instance of the people-profile bundle, preserved for
4358
4531
  * backward compatibility with consumers that import the const
@@ -4731,7 +4904,7 @@ declare const projenBundle: AgentRuleBundle;
4731
4904
  * pipeline, and canonical profiles to `company-profile` and
4732
4905
  * `people-profile` for enforcement bodies and regulatory leaders.
4733
4906
  */
4734
- declare function buildRegulatoryResearchBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
4907
+ declare function buildRegulatoryResearchBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
4735
4908
  /**
4736
4909
  * Default-paths instance of the regulatory-research bundle, preserved
4737
4910
  * for backward compatibility with consumers that import the const
@@ -5297,7 +5470,7 @@ declare const slackBundle: AgentRuleBundle;
5297
5470
  * skills (`/profile-software` and `/map-software`), and
5298
5471
  * `type:software-profile` plus `software:*` phase labels.
5299
5472
  */
5300
- declare function buildSoftwareProfileBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
5473
+ declare function buildSoftwareProfileBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
5301
5474
  /**
5302
5475
  * Default-paths instance of the software-profile bundle, preserved
5303
5476
  * for backward compatibility with consumers that import the const
@@ -5331,7 +5504,7 @@ declare const softwareProfileBundle: AgentRuleBundle;
5331
5504
  * `people-profile`, extension ADRs to `requirements-writer`, and
5332
5505
  * domain-entity mappings to `bcm-writer`.
5333
5506
  */
5334
- declare function buildStandardsResearchBundle(paths?: ResolvedAgentPaths): AgentRuleBundle;
5507
+ declare function buildStandardsResearchBundle(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): AgentRuleBundle;
5335
5508
  /**
5336
5509
  * Default-paths instance of the standards-research bundle, preserved
5337
5510
  * for backward compatibility with consumers that import the const
@@ -5394,6 +5567,13 @@ declare const vitestBundle: AgentRuleBundle;
5394
5567
  * sub-agent content, so a consumer override of
5395
5568
  * `AgentConfigOptions.paths` propagates into the rendered output.
5396
5569
  *
5570
+ * Bundles that file downstream issues also accept a
5571
+ * `ResolvedIssueDefaults` second argument so per-phase-label
5572
+ * overrides supplied via `AgentConfigOptions.issueDefaults`
5573
+ * propagate into every filing site's `gh issue create` prose.
5574
+ * When the consumer supplies no override, the bundle defaults
5575
+ * (`status:ready` + `priority:medium`) ship unchanged.
5576
+ *
5397
5577
  * Order matters: base is first so its rules can be overridden by
5398
5578
  * more specific bundles. The base bundle's `appliesWhen` always
5399
5579
  * returns true; it is filtered by the `includeBaseRules` option
@@ -5402,7 +5582,7 @@ declare const vitestBundle: AgentRuleBundle;
5402
5582
  * Bundles that do not read any agent path (typescript, jest,
5403
5583
  * pnpm, etc.) stay as const exports and are referenced unchanged.
5404
5584
  */
5405
- declare function buildBuiltInBundles(paths?: ResolvedAgentPaths): ReadonlyArray<AgentRuleBundle>;
5585
+ declare function buildBuiltInBundles(paths?: ResolvedAgentPaths, issueDefaults?: ResolvedIssueDefaults): ReadonlyArray<AgentRuleBundle>;
5406
5586
  /**
5407
5587
  * Built-in rule bundles assembled with the default agent paths.
5408
5588
  * Preserved for backward compatibility with tests and consumers
@@ -9368,5 +9548,5 @@ declare const COMPLETE_JOB_ID = "complete";
9368
9548
  */
9369
9549
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
9370
9550
 
9371
- export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, AgentConfig, ApiExtractor, AstroConfig, AstroOutput, AstroProject, AuditCategory, AuditMode, AuditSeverity, AwsCdkProject, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, AwsTeardownWorkflow, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, MonorepoProject, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, ProjectMetadata, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ResetTask, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SampleLang, StarlightProject, TestRunner, TsDocCoverageKind, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, UNKNOWN_TYPE_FALLBACK_TIER, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, vitestBundle };
9372
- export type { AgentConfigOptions, AgentExpansionRules, AgentFeaturesConfig, AgentModel, AgentPathsConfig, AgentPlatform, AgentPlatformOverrides, AgentProcedure, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, AgentTier, AgentTierConfig, AgentTierEntry, AnalyzeTsDocCoverageOptions, ApiDiffCheckOptions, ApiDiffFinding, ApiDiffResult, ApiExtractorOptions, ApiExtractorReportOptions, ApiSurfaceEntry, ApproveMergeUpgradeOptions, AstroConfigOptions, AstroIntegrationSpec, AstroProjectOptions, AuditCheckRunner, AuditCheckRunnerContext, AuditFinding, AuditFindingBase, AuditLocation, AuditReport, AwsAccount, AwsCdkProjectOptions, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, AwsTeardownWorkflowOptions, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CompileFencedSamplesOptions, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, CustomDocSection, DeployWorkflowOptions, DeploymentMetadata, DocReferenceRecord, EffectiveScopeThresholds, ExtractDocReferencesOptions, ExtractFencedSamplesOptions, FencedSampleRecord, FocusArea, FocusAreaMatch, FocusConfig, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, IDependencyResolver, IssueTemplatesConfig, LabelDefinition, LayoutEnforcement, LayoutViolation, LinkFailureFinding, McpServerConfig, McpTransport, MeetingArea, MeetingScope, MeetingType, MeetingTypeKind, MeetingsConfig, MergeMethod, MonorepoLayoutRoot, MonorepoProjectOptions, OrganizationMetadata, PnpmWorkspaceOptions, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, ReferenceMismatchCheckOptions, ReferenceMismatchFinding, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedIssueTemplates, ResolvedProgressFiles, ResolvedProjectMetadata, ResolvedRunRatio, ResolvedScheduledTask, ResolvedScheduledTasks, ResolvedScopeGate, ResolvedScopeGateBundleOverride, ResolvedSharedEditing, ResolvedSkillEvals, ResolvedUnblockDependents, RunRatioConfig, RunScanOptions, RunScanResult, SampleCompilationFailure, SampleFailureFinding, ScheduledTaskEntry, ScheduledTaskModel, ScheduledTaskOverride, ScheduledTasksConfig, ScopeClass, ScopeGateBundleOverride, ScopeGateConfig, ScopeGateThresholds, SharedEditingConfig, SkillEvalsConfig, SlackMetadata, SourceTierExamples, StarlightEditLink, StarlightLogo, StarlightProjectOptions, StarlightRole, StarlightSidebarItem, StarlightSingletonViolation, StarlightSocialLink, SyncLabelsOptions, TemplateResolveResult, TsDocCoverageRecord, TsdocCoverageCheckOptions, TsdocCoverageFinding, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, UnblockDependentsConfig, UpstreamConfigulatorConfig, VersionKey, VitestConfigOptions, VitestOptions };
9551
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, AgentConfig, ApiExtractor, AstroConfig, AstroOutput, AstroProject, AuditCategory, AuditMode, AuditSeverity, AwsCdkProject, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, AwsTeardownWorkflow, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_PRIORITY, DEFAULT_ISSUE_STATUS, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, MonorepoProject, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, ProjectMetadata, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ResetTask, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SampleLang, StarlightProject, TestRunner, TsDocCoverageKind, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, UNKNOWN_TYPE_FALLBACK_TIER, VALID_PRIORITY_VALUES, VALID_STATUS_VALUES, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, vitestBundle };
9552
+ export type { AgentConfigOptions, AgentExpansionRules, AgentFeaturesConfig, AgentModel, AgentPathsConfig, AgentPlatform, AgentPlatformOverrides, AgentProcedure, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, AgentTier, AgentTierConfig, AgentTierEntry, AnalyzeTsDocCoverageOptions, ApiDiffCheckOptions, ApiDiffFinding, ApiDiffResult, ApiExtractorOptions, ApiExtractorReportOptions, ApiSurfaceEntry, ApproveMergeUpgradeOptions, AstroConfigOptions, AstroIntegrationSpec, AstroProjectOptions, AuditCheckRunner, AuditCheckRunnerContext, AuditFinding, AuditFindingBase, AuditLocation, AuditReport, AwsAccount, AwsCdkProjectOptions, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, AwsTeardownWorkflowOptions, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CompileFencedSamplesOptions, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, CustomDocSection, DeployWorkflowOptions, DeploymentMetadata, DocReferenceRecord, EffectiveScopeThresholds, ExtractDocReferencesOptions, ExtractFencedSamplesOptions, FencedSampleRecord, FocusArea, FocusAreaMatch, FocusConfig, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, IDependencyResolver, IssueDefaultsConfig, IssueDefaultsOverride, IssueDefaultsPriority, IssueDefaultsStatus, IssueTemplatesConfig, LabelDefinition, LayoutEnforcement, LayoutViolation, LinkFailureFinding, McpServerConfig, McpTransport, MeetingArea, MeetingScope, MeetingType, MeetingTypeKind, MeetingsConfig, MergeMethod, MonorepoLayoutRoot, MonorepoProjectOptions, OrganizationMetadata, PnpmWorkspaceOptions, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, ReferenceMismatchCheckOptions, ReferenceMismatchFinding, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedIssueDefaults, ResolvedIssueDefaultsEntry, ResolvedIssueTemplates, ResolvedProgressFiles, ResolvedProjectMetadata, ResolvedRunRatio, ResolvedScheduledTask, ResolvedScheduledTasks, ResolvedScopeGate, ResolvedScopeGateBundleOverride, ResolvedSharedEditing, ResolvedSkillEvals, ResolvedUnblockDependents, RunRatioConfig, RunScanOptions, RunScanResult, SampleCompilationFailure, SampleFailureFinding, ScheduledTaskEntry, ScheduledTaskModel, ScheduledTaskOverride, ScheduledTasksConfig, ScopeClass, ScopeGateBundleOverride, ScopeGateConfig, ScopeGateThresholds, SharedEditingConfig, SkillEvalsConfig, SlackMetadata, SourceTierExamples, StarlightEditLink, StarlightLogo, StarlightProjectOptions, StarlightRole, StarlightSidebarItem, StarlightSingletonViolation, StarlightSocialLink, SyncLabelsOptions, TemplateResolveResult, TsDocCoverageRecord, TsdocCoverageCheckOptions, TsdocCoverageFinding, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, UnblockDependentsConfig, UpstreamConfigulatorConfig, VersionKey, VitestConfigOptions, VitestOptions };