@codedrifters/configulator 0.0.275 → 0.0.277

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.ts CHANGED
@@ -513,6 +513,13 @@ declare const DEFAULT_STATUS_LABELS: ReadonlyArray<LabelDefinition>;
513
513
  declare const DEFAULT_PRIORITY_LABELS: ReadonlyArray<LabelDefinition>;
514
514
  /** Default type labels — one per conventional commit type. */
515
515
  declare const DEFAULT_TYPE_LABELS: ReadonlyArray<LabelDefinition>;
516
+ /**
517
+ * Hard limit GitHub's Labels API enforces on the `description` field.
518
+ * EndBug/label-sync rejects (and the API returns an opaque error for)
519
+ * any label whose description exceeds this length, which silently
520
+ * breaks the sync workflow downstream.
521
+ */
522
+ declare const MAX_LABEL_DESCRIPTION_LENGTH = 100;
516
523
  /**
517
524
  * Adds a labels config file and a GitHub Actions workflow that syncs
518
525
  * labels to the repository using EndBug/label-sync.
@@ -2275,117 +2282,6 @@ interface SkillEvalsConfig {
2275
2282
  */
2276
2283
  readonly emitRunner?: boolean;
2277
2284
  }
2278
- /*******************************************************************************
2279
- *
2280
- * Workflow Diagrams Config
2281
- *
2282
- ******************************************************************************/
2283
- /**
2284
- * Workflow-diagrams convention consumed by the `base` bundle and
2285
- * every phased-agent bundle. Documents the single hand-authored
2286
- * Mermaid-based diagrams page that visualises every agent's phase
2287
- * graph and every cross-agent handoff, and enforces the
2288
- * **diagram-touched-when-bundle-touched** rule: a change set that
2289
- * modifies a bundle's phase graph must also update the matching
2290
- * section in the diagrams page.
2291
- *
2292
- * The convention is deliberately content-free — configulator cannot
2293
- * ship meaningful diagrams because each consuming repo enables a
2294
- * different subset of bundles and customises agent labels, paths,
2295
- * and taxonomies via the Group A injection points. Instead the
2296
- * bundle renders the rule (what to author, when to update it) and
2297
- * optionally emits a starter page + a checker script.
2298
- *
2299
- * Every field is optional. When the whole config is absent the
2300
- * convention ships **enabled** with the documented default diagrams
2301
- * path (`docs/src/content/docs/agents/workflows.md`), the default
2302
- * bundle-path patterns, the hard-requirement phrasing, the starter
2303
- * page opt-in, and the checker script opt-in.
2304
- *
2305
- * Malformed configs — empty / whitespace-only or absolute
2306
- * `diagramsPath`, empty `bundlePathPatterns`, empty /
2307
- * whitespace-only pattern entry — fail the build at synth time via
2308
- * `validateWorkflowDiagramsConfig`.
2309
- *
2310
- * @see ./bundles/workflow-diagrams.ts#resolveWorkflowDiagrams
2311
- * @see ./bundles/workflow-diagrams.ts#validateWorkflowDiagramsConfig
2312
- * @see ./bundles/workflow-diagrams.ts#renderWorkflowDiagramsRuleContent
2313
- */
2314
- interface WorkflowDiagramsConfig {
2315
- /**
2316
- * Master switch for the workflow-diagrams convention. When `false`,
2317
- * the base bundle renders a short stub stating the project does not
2318
- * enforce the convention; phased-agent bundles skip the
2319
- * per-workflow "Workflow Diagram" injection and the optional helper
2320
- * script / starter page are not emitted even if their `emit*`
2321
- * flags are true.
2322
- *
2323
- * Defaults to `true` — the convention is on by default.
2324
- */
2325
- readonly enabled?: boolean;
2326
- /**
2327
- * Repo-relative path to the single workflow-diagrams page. The
2328
- * rendered rule cites this path as the on-disk home of every
2329
- * Mermaid diagram; the checker script uses it as the sentinel path
2330
- * that must appear in a change set when any bundle file is
2331
- * touched.
2332
- *
2333
- * Must be a non-empty relative path (no leading `/`).
2334
- *
2335
- * Defaults to `docs/src/content/docs/agents/workflows.md`, which
2336
- * matches the monorepo-wide singleton `/docs` Starlight site every
2337
- * configulator-managed repo ships.
2338
- */
2339
- readonly diagramsPath?: string;
2340
- /**
2341
- * Path patterns (bash-style globs) that identify "bundle files" —
2342
- * the source files whose edits require the workflow-diagrams page
2343
- * to be touched in the same change set. Rendered verbatim into
2344
- * the rule body as a bullet list and emitted into the checker
2345
- * script when `emitChecker: true`.
2346
- *
2347
- * Must be a non-empty array of non-empty strings.
2348
- *
2349
- * Defaults to the configulator-wide set covering in-tree bundle
2350
- * source files, `.claude/agents/**.md` agent prompts, and
2351
- * `.claude/skills/**.md` skill prompts.
2352
- */
2353
- readonly bundlePathPatterns?: ReadonlyArray<string>;
2354
- /**
2355
- * Whether the convention emits a minimal starter diagrams page to
2356
- * disk at `<diagramsPath>`. The starter carries the expected
2357
- * structure (master diagram placeholder, one example agent section,
2358
- * legend) so consumers adopting the convention on a green-field
2359
- * repo have a working template to extend.
2360
- *
2361
- * Disabled by default because the page is hand-authored — an
2362
- * emitted stub would conflict with existing content on repos
2363
- * adopting the convention late.
2364
- */
2365
- readonly emitStarterDiagram?: boolean;
2366
- /**
2367
- * Whether the convention emits the
2368
- * `.claude/procedures/check-workflow-diagrams.sh` helper to disk.
2369
- * The script walks a newline-separated list of changed files (from
2370
- * stdin or positional arguments) and fails non-zero when any file
2371
- * matches a bundle-path pattern but `<diagramsPath>` is not also
2372
- * in the list.
2373
- *
2374
- * Disabled by default — the helper is opt-in for repos that want a
2375
- * hard CI gate or pre-commit hook. Consumers that prefer to
2376
- * enforce the rule via review discipline alone can leave it off.
2377
- */
2378
- readonly emitChecker?: boolean;
2379
- /**
2380
- * Whether the rendered rule body phrases the diagram update as a
2381
- * **hard requirement** (`MUST`) or a **strong recommendation**
2382
- * (`SHOULD`). Defaults to `true` — the hard-requirement phrasing
2383
- * matches the "enforced via CI" posture the convention is
2384
- * designed for. Consumers that treat diagrams as aspirational can
2385
- * soften the phrasing by setting this to `false`.
2386
- */
2387
- readonly requireDiagramUpdate?: boolean;
2388
- }
2389
2285
  /*******************************************************************************
2390
2286
  *
2391
2287
  * Issue Templates Config
@@ -3077,40 +2973,6 @@ interface AgentConfigOptions {
3077
2973
  * @see ./bundles/skill-evals.ts#renderSkillEvalsRuleContent
3078
2974
  */
3079
2975
  readonly skillEvals?: SkillEvalsConfig;
3080
- /**
3081
- * Workflow-diagrams convention consumed by the `base` bundle and
3082
- * every phased-agent bundle. Documents the single hand-authored
3083
- * Mermaid-based diagrams page that visualises every agent's phase
3084
- * graph and every cross-agent handoff, and enforces the
3085
- * diagram-touched-when-bundle-touched rule: a change set that
3086
- * modifies a bundle's phase graph must also update the matching
3087
- * section in the diagrams page.
3088
- *
3089
- * When the whole config is omitted, the convention ships
3090
- * **enabled** with the default diagrams path
3091
- * (`docs/src/content/docs/agents/workflows.md`), the default
3092
- * bundle-path patterns, the hard-requirement phrasing, and both
3093
- * the starter page and the checker script opt-in.
3094
- *
3095
- * Supply `enabled: false` to disable the convention entirely,
3096
- * `diagramsPath` to move the page, `bundlePathPatterns` to
3097
- * replace the default pattern list, `emitStarterDiagram: true`
3098
- * to seed a minimal starter page on disk, `emitChecker: true` to
3099
- * ship the `.claude/procedures/check-workflow-diagrams.sh`
3100
- * helper, or `requireDiagramUpdate: false` to soften the rule
3101
- * phrasing from MUST to SHOULD.
3102
- *
3103
- * Malformed configs — empty / whitespace-only or absolute
3104
- * `diagramsPath`, empty `bundlePathPatterns`, empty /
3105
- * whitespace-only pattern entry — fail the build at synth time
3106
- * via `validateWorkflowDiagramsConfig`.
3107
- *
3108
- * @see WorkflowDiagramsConfig
3109
- * @see ./bundles/workflow-diagrams.ts#resolveWorkflowDiagrams
3110
- * @see ./bundles/workflow-diagrams.ts#validateWorkflowDiagramsConfig
3111
- * @see ./bundles/workflow-diagrams.ts#renderWorkflowDiagramsRuleContent
3112
- */
3113
- readonly workflowDiagrams?: WorkflowDiagramsConfig;
3114
2976
  /**
3115
2977
  * Issue-templates convention consumed by the `base` bundle and
3116
2978
  * every phased-agent bundle that files downstream issues.
@@ -5197,179 +5059,6 @@ declare function renderSkillEvalsBundleHook(se: ResolvedSkillEvals, skillLabel:
5197
5059
  */
5198
5060
  declare function renderSkillEvalsRunnerScript(se: ResolvedSkillEvals): string;
5199
5061
 
5200
- /**
5201
- * Default master switch for the workflow-diagrams convention. When no
5202
- * config is supplied the convention ships **enabled** so every
5203
- * configulator-consuming repo carries the "diagram-touched-when-bundle-
5204
- * touched" rule in its rendered `CLAUDE.md`.
5205
- *
5206
- * @see WorkflowDiagramsConfig
5207
- */
5208
- declare const DEFAULT_WORKFLOW_DIAGRAMS_ENABLED = true;
5209
- /**
5210
- * Default repo-relative path for the workflow-diagrams page. Matches
5211
- * the singleton `/docs` site layout the monorepo contract assumes: a
5212
- * single Starlight docs site at `/docs` with sub-project agent pages
5213
- * under `docs/src/content/docs/agents/`.
5214
- *
5215
- * The file is never generated by configulator (the convention is
5216
- * explicit: diagrams are hand-authored for readability). Consumers
5217
- * opt into the starter stub via `emitStarterDiagram: true`.
5218
- *
5219
- * @see WorkflowDiagramsConfig
5220
- */
5221
- declare const DEFAULT_WORKFLOW_DIAGRAMS_PATH = "docs/src/content/docs/agents/workflows.md";
5222
- /**
5223
- * Default list of glob patterns that identify "bundle files" — the
5224
- * source files whose edits require the workflow-diagrams page to be
5225
- * touched in the same change set.
5226
- *
5227
- * The defaults cover the two canonical locations bundle-like content
5228
- * lives in a configulator-consuming repo:
5229
- *
5230
- * - `packages/@codedrifters/configulator/src/agent/bundles/**.ts` —
5231
- * the bundle authoring sites inside configulator itself.
5232
- * - `.claude/agents/**.md` / `.claude/skills/**` — agent and skill
5233
- * prompts in consuming repos that don't re-export configulator
5234
- * bundles.
5235
- *
5236
- * Consumers can replace the list outright via `bundlePathPatterns`
5237
- * when their agent sources live elsewhere (e.g. a monorepo that keeps
5238
- * agents under `tools/agents/`).
5239
- *
5240
- * @see WorkflowDiagramsConfig
5241
- */
5242
- declare const DEFAULT_WORKFLOW_DIAGRAMS_BUNDLE_PATH_PATTERNS: ReadonlyArray<string>;
5243
- /**
5244
- * Default for whether the convention emits a starter workflow-diagrams
5245
- * page to disk at `<diagramsPath>`. Disabled by default because the
5246
- * page is hand-authored — an emitted stub would conflict with
5247
- * existing content on repos adopting the convention late.
5248
- *
5249
- * @see WorkflowDiagramsConfig
5250
- */
5251
- declare const DEFAULT_WORKFLOW_DIAGRAMS_EMIT_STARTER = false;
5252
- /**
5253
- * Default for whether the convention emits the
5254
- * `.claude/procedures/check-workflow-diagrams.sh` checker script. The
5255
- * script walks the staged / changed-file set and fails when a bundle
5256
- * file is touched without the diagrams page being touched too.
5257
- *
5258
- * Disabled by default because many consumers prefer to enforce the
5259
- * rule via review discipline and the rendered documentation alone;
5260
- * the script is opt-in for repos that want a hard CI gate or
5261
- * pre-commit hook.
5262
- *
5263
- * @see WorkflowDiagramsConfig
5264
- */
5265
- declare const DEFAULT_WORKFLOW_DIAGRAMS_EMIT_CHECKER = false;
5266
- /**
5267
- * Default for whether the rendered rule body asserts the diagram
5268
- * update as a **hard requirement** vs. a **strong recommendation**.
5269
- * Defaults to `true` — the whole point of the convention is that
5270
- * diagrams stay in sync, so the hard-requirement phrasing is the
5271
- * correct default. Consumers that treat diagrams as aspirational can
5272
- * soften the phrasing by setting this to `false`.
5273
- *
5274
- * @see WorkflowDiagramsConfig
5275
- */
5276
- declare const DEFAULT_WORKFLOW_DIAGRAMS_REQUIRE_UPDATE = true;
5277
- /**
5278
- * Fully-resolved workflow-diagrams settings. Every field is defaulted
5279
- * so downstream renderers can reason about a single canonical shape.
5280
- */
5281
- interface ResolvedWorkflowDiagrams {
5282
- readonly enabled: boolean;
5283
- readonly diagramsPath: string;
5284
- readonly bundlePathPatterns: ReadonlyArray<string>;
5285
- readonly emitStarterDiagram: boolean;
5286
- readonly emitChecker: boolean;
5287
- readonly requireDiagramUpdate: boolean;
5288
- }
5289
- /**
5290
- * Resolve a (possibly absent) `WorkflowDiagramsConfig` into a
5291
- * canonical `ResolvedWorkflowDiagrams` with every field filled in.
5292
- * Unset fields cascade from their documented defaults.
5293
- *
5294
- * Malformed configs — empty / whitespace-only or absolute
5295
- * `diagramsPath`, empty `bundlePathPatterns`, empty /
5296
- * whitespace-only path entry — throw a descriptive `Error`.
5297
- */
5298
- declare function resolveWorkflowDiagrams(config?: WorkflowDiagramsConfig): ResolvedWorkflowDiagrams;
5299
- /**
5300
- * Synth-time validation hook. Throws a descriptive `Error` when the
5301
- * supplied `WorkflowDiagramsConfig` is malformed. Called by
5302
- * `AgentConfig.preSynthesize` before any rendering so a misconfigured
5303
- * convention fails the build instead of silently shipping broken
5304
- * workflow-diagrams guidance. Returns the resolved config unchanged
5305
- * so callers can write
5306
- * `const wd = validateWorkflowDiagramsConfig(config)` in one line.
5307
- *
5308
- * Malformed cases rejected here:
5309
- *
5310
- * - `diagramsPath` empty, whitespace-only, or absolute.
5311
- * - `bundlePathPatterns` not an array, empty, or contains an empty /
5312
- * whitespace-only entry.
5313
- */
5314
- declare function validateWorkflowDiagramsConfig(config?: WorkflowDiagramsConfig): ResolvedWorkflowDiagrams;
5315
- /**
5316
- * Render the full body for the `workflow-diagrams-convention` rule
5317
- * shipped by the `base` bundle. The rule documents:
5318
- *
5319
- * - Why the convention exists (diagram / prose drift).
5320
- * - The on-disk contract — a single Mermaid-based page at
5321
- * `<diagramsPath>` with one diagram per agent + a master
5322
- * cross-agent diagram.
5323
- * - The **diagram-touched-when-bundle-touched** rule, phrased as a
5324
- * hard requirement or a strong recommendation per
5325
- * `requireDiagramUpdate`.
5326
- * - The set of paths the rule applies to.
5327
- * - The optional checker script (cross-referenced only when emitted).
5328
- *
5329
- * When the convention is disabled, the rule renders a short stub.
5330
- */
5331
- declare function renderWorkflowDiagramsRuleContent(wd: ResolvedWorkflowDiagrams): string;
5332
- /**
5333
- * Render the short workflow-diagrams hook section injected into a
5334
- * phased-agent bundle's workflow rule. The section cites the full
5335
- * contract documented in the base bundle's
5336
- * `workflow-diagrams-convention` rule so individual bundles stay DRY.
5337
- *
5338
- * When the convention is disabled, the function returns an empty
5339
- * string so callers can no-op their append path.
5340
- */
5341
- declare function renderWorkflowDiagramsBundleHook(wd: ResolvedWorkflowDiagrams, bundleLabel: string): string;
5342
- /**
5343
- * Render a minimal starter workflow-diagrams page — a top-level
5344
- * heading, the master-diagram placeholder, and a single example
5345
- * agent section. Exported so `AgentConfig` can emit it to disk when
5346
- * the consumer opts in via `emitStarterDiagram: true`.
5347
- *
5348
- * The starter is deliberately sparse: it documents the expected
5349
- * structure without committing the consumer to a particular agent
5350
- * list. Repos that already maintain a hand-authored diagrams page
5351
- * should leave `emitStarterDiagram` off — the emission would
5352
- * overwrite their content.
5353
- */
5354
- declare function renderWorkflowDiagramsStarterPage(_wd: ResolvedWorkflowDiagrams): string;
5355
- /**
5356
- * Render the `.claude/procedures/check-workflow-diagrams.sh` helper
5357
- * script. Exported so `AgentConfig` can register it as an
5358
- * `AgentProcedure` when the consumer opts in via `emitChecker: true`.
5359
- *
5360
- * The script accepts the list of changed files as either:
5361
- *
5362
- * 1. Positional arguments (one file per arg).
5363
- * 2. Newline-separated entries on stdin (when no args supplied) —
5364
- * pipe `git diff --name-only` directly into it.
5365
- *
5366
- * It fails non-zero when any changed file matches a bundle-path
5367
- * pattern and the configured diagrams path is not also in the list.
5368
- * It exits `0` when no bundle files were touched or when the
5369
- * diagrams page was touched alongside them.
5370
- */
5371
- declare function renderWorkflowDiagramsCheckerScript(wd: ResolvedWorkflowDiagrams): string;
5372
-
5373
5062
  /**
5374
5063
  * Build the requirements-analyst bundle with the supplied resolved
5375
5064
  * paths.
@@ -7300,6 +6989,196 @@ declare function emptyCategoryBuckets(): {
7300
6989
  }>;
7301
6990
  };
7302
6991
 
6992
+ /**
6993
+ * One public export parsed out of an `.api.md` rollup. The signature
6994
+ * is the verbatim declaration text from the rollup (TypeScript
6995
+ * declaration form), with internal whitespace normalized to single
6996
+ * spaces so cosmetic re-formatting between runs does not surface as
6997
+ * a `changed` finding.
6998
+ */
6999
+ interface ApiSurfaceEntry {
7000
+ /**
7001
+ * Public name of the export (function name, class name, etc.).
7002
+ */
7003
+ readonly name: string;
7004
+ /**
7005
+ * Verbatim declaration line from the rollup with whitespace
7006
+ * collapsed. Used as the equality comparison for `added` /
7007
+ * `removed` / `changed` classification.
7008
+ */
7009
+ readonly signature: string;
7010
+ }
7011
+ /**
7012
+ * Result of diffing a baseline rollup against a current rollup. Each
7013
+ * field carries the API entries that fall into that change bucket.
7014
+ * Used by {@link createApiDiffCheck} to emit one finding per entry,
7015
+ * but exported separately so callers that want to render or
7016
+ * post-process the diff outside the audit-report shape can.
7017
+ */
7018
+ interface ApiDiffResult {
7019
+ /** Exports present in the current rollup but not the baseline. */
7020
+ readonly added: ReadonlyArray<ApiSurfaceEntry>;
7021
+ /** Exports present in the baseline but not the current rollup. */
7022
+ readonly removed: ReadonlyArray<ApiSurfaceEntry>;
7023
+ /**
7024
+ * Exports present in both rollups but whose declaration text
7025
+ * differs (signature change, type-parameter change, etc.). The
7026
+ * carried entry is the **current** rollup's view of the symbol so
7027
+ * downstream consumers can show the new signature.
7028
+ */
7029
+ readonly changed: ReadonlyArray<ApiSurfaceEntry>;
7030
+ }
7031
+ /**
7032
+ * Options accepted by {@link createApiDiffCheck}. The runner
7033
+ * consumes already-fetched rollup contents — the orchestrator is
7034
+ * responsible for running the `extract-api.sh` helper against the
7035
+ * current ref and against the configured baseline ref before
7036
+ * dispatching to the runner. Passing the rollups in as strings keeps
7037
+ * tests cheap (inline fixtures) and lets the same runner shape
7038
+ * cover the audit-mode case where the baseline is an empty rollup
7039
+ * (every export shows up as `added`).
7040
+ */
7041
+ interface ApiDiffCheckOptions {
7042
+ /**
7043
+ * Verbatim contents of the `.api.md` rollup the orchestrator
7044
+ * extracted against the **baseline** ref (typically `origin/main`
7045
+ * for `pr` mode or empty for `audit` mode). May be the empty
7046
+ * string when no baseline is available — every current export
7047
+ * then surfaces as `added`.
7048
+ */
7049
+ readonly baselineRollup: string;
7050
+ /**
7051
+ * Verbatim contents of the `.api.md` rollup the orchestrator
7052
+ * extracted against the **current** ref (the working tree the
7053
+ * scan is running over).
7054
+ */
7055
+ readonly currentRollup: string;
7056
+ /**
7057
+ * Path attached to every finding's `location.file`. Conventionally
7058
+ * the path to the `.api.md` file relative to the repo root (e.g.
7059
+ * `packages/@codedrifters/configulator/.api-extractor/configulator.api.md`)
7060
+ * so consumers can jump from a finding back to the source rollup.
7061
+ * Defaults to the empty string, meaning the finding has no
7062
+ * concrete file anchor.
7063
+ *
7064
+ * @default ""
7065
+ */
7066
+ readonly rollupPath?: string;
7067
+ /**
7068
+ * Stable name surfaced via {@link AuditCheckRunner.name}. Defaults
7069
+ * to `"apiDiff"` so logs match the audit-report category key.
7070
+ *
7071
+ * @default "apiDiff"
7072
+ */
7073
+ readonly name?: string;
7074
+ }
7075
+ /**
7076
+ * Parse a `.api.md` rollup into the set of public-API entries it
7077
+ * declares. The parser is intentionally line-oriented and tolerant
7078
+ * of api-extractor's exact formatting:
7079
+ *
7080
+ * 1. Find the first fenced `ts` code block (api-extractor wraps the
7081
+ * rollup in one). Lines outside the block are ignored.
7082
+ * 2. Walk the block linewise. Every line that begins with `export`
7083
+ * is the start of a declaration; subsequent lines that do not
7084
+ * begin with `export`, `//`, `}`, or `import` are appended until
7085
+ * a terminator (`;`, top-level `}`) closes the declaration.
7086
+ * 3. Extract the public name from the start of the declaration —
7087
+ * the first identifier after `export {function|class|interface|...}`
7088
+ * (or the first name in an `export { A, B }` clause).
7089
+ * 4. Normalize whitespace inside the captured signature to a single
7090
+ * space so re-flowing the rollup does not produce spurious
7091
+ * `changed` findings.
7092
+ *
7093
+ * Lines containing only `// @public`, `// @beta`, etc. are stripped
7094
+ * — they are release-tag annotations the extractor emits, and they
7095
+ * change independently of the signature itself.
7096
+ */
7097
+ declare function parseApiRollup(rollup: string): ReadonlyArray<ApiSurfaceEntry>;
7098
+ /**
7099
+ * Diff a baseline rollup against a current rollup and bucket every
7100
+ * public export into `added`, `removed`, or `changed`. Exported so
7101
+ * callers can compute the diff without going through the runner
7102
+ * shape.
7103
+ */
7104
+ declare function diffApiRollups(baselineRollup: string, currentRollup: string): ApiDiffResult;
7105
+ /**
7106
+ * Build an {@link AuditCheckRunner} that emits API-diff findings by
7107
+ * comparing a baseline rollup to a current rollup. Severity mapping
7108
+ * (per the parent epic's drift-handling matrix):
7109
+ *
7110
+ * - **added** — `mechanical`. A new public export is purely
7111
+ * additive; Phase 2 can stub TSDoc and add reference-doc rows
7112
+ * without human input.
7113
+ * - **removed** — `advisory`. A removed public export likely needs
7114
+ * a deprecation note in prose; Phase 2 cannot mechanically rewrite
7115
+ * conceptual prose.
7116
+ * - **changed** — `advisory`. A signature change may invalidate
7117
+ * inline-code references in docs and warrants human review of any
7118
+ * surrounding prose.
7119
+ */
7120
+ declare function createApiDiffCheck(options: ApiDiffCheckOptions): AuditCheckRunner;
7121
+
7122
+ /**
7123
+ * Options accepted by {@link createReferenceMismatchCheck}.
7124
+ *
7125
+ * The runner consumes already-computed reference records produced by
7126
+ * `extractDocReferences()`. The factory deliberately does not invoke
7127
+ * the extractor — that keeps the runner cheap to test with inline
7128
+ * fixtures and lets the orchestrator extract references once and
7129
+ * feed multiple checks from the same input.
7130
+ */
7131
+ interface ReferenceMismatchCheckOptions {
7132
+ /**
7133
+ * The reference records to translate into findings. Each record
7134
+ * carries the `isKnown` flag the extractor computed against the
7135
+ * supplied known-symbols set; the runner produces a finding for
7136
+ * every record where `isKnown` is `false`.
7137
+ */
7138
+ readonly records: ReadonlyArray<DocReferenceRecord>;
7139
+ /**
7140
+ * Stable name surfaced via {@link AuditCheckRunner.name}. Defaults
7141
+ * to `"referenceMismatches"` so logs match the audit-report
7142
+ * category key.
7143
+ *
7144
+ * @default "referenceMismatches"
7145
+ */
7146
+ readonly name?: string;
7147
+ /**
7148
+ * Optional set of symbols whose signature changed between the
7149
+ * baseline and the current revision. References to one of these
7150
+ * symbols produce a `signature-changed` finding rather than the
7151
+ * default `unknown-symbol` finding (the symbol resolves but its
7152
+ * type signature differs from the cached snapshot, per the
7153
+ * audit-report schema). Empty / omitted means no signature-change
7154
+ * findings are produced.
7155
+ */
7156
+ readonly signatureChangedSymbols?: ReadonlyArray<string>;
7157
+ }
7158
+ /**
7159
+ * Map a single {@link DocReferenceRecord} to zero or one audit
7160
+ * findings. Exported so callers can reuse the record-to-finding
7161
+ * mapping without going through a runner.
7162
+ *
7163
+ * Severity mapping:
7164
+ *
7165
+ * - `unknown-symbol` (record carries `isKnown: false`) — `advisory`.
7166
+ * The doc mentions a symbol that does not appear in the supplied
7167
+ * known-symbols set; a human reviewer should rename the mention or
7168
+ * remove it. The matching `signature-changed` case only fires when
7169
+ * the caller passes the symbol via `signatureChangedSymbols`.
7170
+ * - Records with `isKnown: true` and no signature change produce no
7171
+ * findings.
7172
+ */
7173
+ declare function referenceRecordToFinding(record: DocReferenceRecord, signatureChangedSymbols: ReadonlySet<string>): ReferenceMismatchFinding | undefined;
7174
+ /**
7175
+ * Build an {@link AuditCheckRunner} that emits doc-reference
7176
+ * mismatch findings from a precomputed list of
7177
+ * {@link DocReferenceRecord}. The runner is synchronous and
7178
+ * idempotent — calling `run()` twice produces identical findings.
7179
+ */
7180
+ declare function createReferenceMismatchCheck(options: ReferenceMismatchCheckOptions): AuditCheckRunner;
7181
+
7303
7182
  /**
7304
7183
  * One row in the TSDoc-coverage report — describes a single public
7305
7184
  * symbol exported (transitively) from the package's entry point and
@@ -7419,6 +7298,59 @@ interface AnalyzeTsDocCoverageOptions {
7419
7298
  */
7420
7299
  declare function analyzeTsDocCoverage(options: AnalyzeTsDocCoverageOptions | string): Array<TsDocCoverageRecord>;
7421
7300
 
7301
+ /**
7302
+ * Options accepted by {@link createTsdocCoverageCheck}.
7303
+ *
7304
+ * The runner consumes already-computed coverage records produced by
7305
+ * `analyzeTsDocCoverage()`. The factory deliberately does not invoke
7306
+ * the analyzer itself — that keeps the runner cheap to test (pass an
7307
+ * inline records array) and keeps the orchestrator free to compute
7308
+ * coverage once and feed multiple checks from the same input.
7309
+ */
7310
+ interface TsdocCoverageCheckOptions {
7311
+ /**
7312
+ * The coverage records to translate into findings. Typically the
7313
+ * concatenated output of `analyzeTsDocCoverage()` for every public
7314
+ * package the orchestrator is scanning. The factory may be called
7315
+ * with an empty array when no public exports were inspected — the
7316
+ * resulting runner produces no findings.
7317
+ */
7318
+ readonly records: ReadonlyArray<TsDocCoverageRecord>;
7319
+ /**
7320
+ * Stable name surfaced via {@link AuditCheckRunner.name}. Defaults
7321
+ * to `"tsdocCoverage"` so logs match the audit-report category key.
7322
+ *
7323
+ * @default "tsdocCoverage"
7324
+ */
7325
+ readonly name?: string;
7326
+ }
7327
+ /**
7328
+ * Map a single {@link TsDocCoverageRecord} to zero, one, or more
7329
+ * audit findings. Exported so callers can reuse the
7330
+ * record-to-finding mapping without going through a runner (e.g. the
7331
+ * audit-mode walker in #526 may compose findings differently).
7332
+ *
7333
+ * Severity mapping (per the parent epic's drift-handling matrix):
7334
+ *
7335
+ * - `missing-summary` — `mechanical` (Phase 2 can auto-stub).
7336
+ * - `thin-summary` — `advisory` (a human should rewrite).
7337
+ * - `missing-params` / `missing-returns` — `advisory` (the symbol
7338
+ * does carry a summary; the missing block tag is signal but does
7339
+ * not block).
7340
+ *
7341
+ * A record with `hasSummary && !hasThinSummary` and no missing block
7342
+ * tags produces no findings — fully-documented exports are reported
7343
+ * by their absence in the result.
7344
+ */
7345
+ declare function tsdocRecordToFindings(record: TsDocCoverageRecord, context: AuditCheckRunnerContext): Array<TsdocCoverageFinding>;
7346
+ /**
7347
+ * Build an {@link AuditCheckRunner} that emits TSDoc-coverage
7348
+ * findings from a precomputed list of {@link TsDocCoverageRecord}.
7349
+ * The runner is synchronous and idempotent; calling `run()` twice
7350
+ * produces identical findings.
7351
+ */
7352
+ declare function createTsdocCoverageCheck(options: TsdocCoverageCheckOptions): AuditCheckRunner;
7353
+
7422
7354
  /**
7423
7355
  * Returns the latest full-release version of an npm package that has been
7424
7356
  * published for at least `minimumReleaseAgeMinutes` minutes. Prefers the
@@ -9318,5 +9250,5 @@ declare const COMPLETE_JOB_ID = "complete";
9318
9250
  */
9319
9251
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
9320
9252
 
9321
- 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_DECOMPOSITION_TEMPLATE, DEFAULT_DELEGATE_TO_PR_REVIEWER, 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_MERGE_METHOD, 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_LINKED_ISSUE, 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_WORKFLOW_DIAGRAMS_BUNDLE_PATH_PATTERNS, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_CHECKER, DEFAULT_WORKFLOW_DIAGRAMS_EMIT_STARTER, DEFAULT_WORKFLOW_DIAGRAMS_ENABLED, DEFAULT_WORKFLOW_DIAGRAMS_PATH, DEFAULT_WORKFLOW_DIAGRAMS_REQUIRE_UPDATE, DOCS_SYNC_AUDIT_SCHEMA_VERSION, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, MonorepoProject, PREFLIGHT_MERGE_METHOD_VALUES, 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, customerProfileBundle, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, peopleProfileBundle, persistAuditReport, pnpmBundle, prReviewBundle, projenBundle, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPreflightPrSection, renderPreflightPrShellHelpers, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderUnblockDependentsScript, renderUnblockDependentsSection, renderWorkflowDiagramsBundleHook, renderWorkflowDiagramsCheckerScript, renderWorkflowDiagramsRuleContent, renderWorkflowDiagramsStarterPage, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolvePreflightPr, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, resolveWorkflowDiagrams, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, turborepoBundle, typescriptBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePreflightPrConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, validateWorkflowDiagramsConfig, vitestBundle };
9322
- export type { AgentConfigOptions, AgentExpansionRules, AgentFeaturesConfig, AgentModel, AgentPathsConfig, AgentPlatform, AgentPlatformOverrides, AgentProcedure, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, AgentTier, AgentTierConfig, AgentTierEntry, AnalyzeTsDocCoverageOptions, ApiDiffFinding, ApiExtractorOptions, ApiExtractorReportOptions, 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, 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, PreflightMergeMethod, PreflightPrConfig, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, ReferenceMismatchFinding, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedIssueTemplates, ResolvedPreflightPr, ResolvedProgressFiles, ResolvedProjectMetadata, ResolvedRunRatio, ResolvedScheduledTask, ResolvedScheduledTasks, ResolvedScopeGate, ResolvedSharedEditing, ResolvedSkillEvals, ResolvedUnblockDependents, ResolvedWorkflowDiagrams, RunRatioConfig, RunScanOptions, RunScanResult, SampleCompilationFailure, SampleFailureFinding, ScheduledTaskEntry, ScheduledTaskModel, ScheduledTaskOverride, ScheduledTasksConfig, ScopeClass, ScopeGateConfig, ScopeGateThresholds, SharedEditingConfig, SkillEvalsConfig, SlackMetadata, SourceTierExamples, StarlightEditLink, StarlightLogo, StarlightProjectOptions, StarlightRole, StarlightSidebarItem, StarlightSingletonViolation, StarlightSocialLink, SyncLabelsOptions, TemplateResolveResult, TsDocCoverageRecord, TsdocCoverageFinding, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, UnblockDependentsConfig, VersionKey, VitestConfigOptions, VitestOptions, WorkflowDiagramsConfig };
9253
+ 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_DECOMPOSITION_TEMPLATE, DEFAULT_DELEGATE_TO_PR_REVIEWER, 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_MERGE_METHOD, 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_LINKED_ISSUE, 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, 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, PREFLIGHT_MERGE_METHOD_VALUES, 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, renderPreflightPrSection, renderPreflightPrShellHelpers, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolvePreflightPr, resolveProgressFiles, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePreflightPrConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, vitestBundle };
9254
+ 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, 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, PreflightMergeMethod, PreflightPrConfig, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, ReferenceMismatchCheckOptions, ReferenceMismatchFinding, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedIssueTemplates, ResolvedPreflightPr, ResolvedProgressFiles, ResolvedProjectMetadata, ResolvedRunRatio, ResolvedScheduledTask, ResolvedScheduledTasks, ResolvedScopeGate, ResolvedSharedEditing, ResolvedSkillEvals, ResolvedUnblockDependents, RunRatioConfig, RunScanOptions, RunScanResult, SampleCompilationFailure, SampleFailureFinding, ScheduledTaskEntry, ScheduledTaskModel, ScheduledTaskOverride, ScheduledTasksConfig, ScopeClass, ScopeGateConfig, ScopeGateThresholds, SharedEditingConfig, SkillEvalsConfig, SlackMetadata, SourceTierExamples, StarlightEditLink, StarlightLogo, StarlightProjectOptions, StarlightRole, StarlightSidebarItem, StarlightSingletonViolation, StarlightSocialLink, SyncLabelsOptions, TemplateResolveResult, TsDocCoverageRecord, TsdocCoverageCheckOptions, TsdocCoverageFinding, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, UnblockDependentsConfig, VersionKey, VitestConfigOptions, VitestOptions };