@codedrifters/configulator 0.0.288 → 0.0.290

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
@@ -1674,6 +1674,74 @@ interface ScopeGateConfig {
1674
1674
  * runtime — configulator emits the template verbatim.
1675
1675
  */
1676
1676
  readonly decompositionTemplate?: string;
1677
+ /**
1678
+ * Per-phase-label threshold overrides. Issues whose `type:*` /
1679
+ * phase label matches one of the keys in this map are classified
1680
+ * against the override's thresholds instead of the global
1681
+ * `acceptanceCriteria` / `sources` defaults. This lets
1682
+ * **content-spec workflows** — issues whose AC list is the
1683
+ * per-section content checklist for one cohesive document, not a
1684
+ * phase-completion checklist that can be decomposed — clear the
1685
+ * gate even when their AC count is well above the global cap.
1686
+ *
1687
+ * Configulator ships two opt-in defaults out of the box:
1688
+ *
1689
+ * - `req:write` — formal requirement documents (ADR / TR / OPS /
1690
+ * SEC / NFR / UX / MT) routinely carry 12–20 ACs covering
1691
+ * per-section content invariants. Default override:
1692
+ * `{ acceptanceCriteria: { mediumMax: 20 } }` (sources unchanged).
1693
+ * - `bcm:scaffold` — multi-section BCM documents compress sub-
1694
+ * addendum requirements into coarse ACs but still land above
1695
+ * the global cap. Default override:
1696
+ * `{ acceptanceCriteria: { mediumMax: 12 } }` (sources unchanged).
1697
+ *
1698
+ * Consumer overrides **deep-merge** with the shipped defaults
1699
+ * with **consumer-wins-per-key**:
1700
+ *
1701
+ * - Setting an entry in the map (e.g. `'req:write': {...}`)
1702
+ * replaces the shipped default for that key.
1703
+ * - Setting an entry to `undefined` (e.g. `'req:write': undefined`)
1704
+ * opts out of the shipped default — that label receives no
1705
+ * override and the issue is classified against the global
1706
+ * thresholds.
1707
+ * - Adding a new entry (e.g. `'standards:scope': {...}`) extends
1708
+ * the override map without touching the shipped defaults.
1709
+ *
1710
+ * Within a single override entry, `acceptanceCriteria` and
1711
+ * `sources` are independent — a consumer can override one axis
1712
+ * and leave the other on the global default. The unspecified
1713
+ * axis falls through to the resolved global thresholds at
1714
+ * classification time.
1715
+ *
1716
+ * **Tie-breaking.** When an issue carries multiple labels that
1717
+ * match keys in the override map, the orchestrator selects the
1718
+ * **first match** in alphabetical order on the label name. This
1719
+ * is deterministic and easy to reason about; consumers that need
1720
+ * a specific label to win should rename or remove the colliding
1721
+ * label.
1722
+ *
1723
+ * Malformed override thresholds (negative, non-integer, or
1724
+ * inverted) fail the build at synth time exactly like the
1725
+ * top-level `acceptanceCriteria` / `sources` thresholds.
1726
+ */
1727
+ readonly bundleOverrides?: {
1728
+ readonly [phaseLabel: string]: ScopeGateBundleOverride | undefined;
1729
+ };
1730
+ }
1731
+ /**
1732
+ * Per-phase-label threshold override for the scope gate. Each axis
1733
+ * is independent — a consumer can override one and leave the other
1734
+ * on the global default. Both fields are optional; an empty object
1735
+ * is a no-op override (use it sparingly — `undefined` in the
1736
+ * `bundleOverrides` map opts out more clearly).
1737
+ *
1738
+ * @see ScopeGateConfig
1739
+ * @see ScopeGateThresholds
1740
+ * @see ./bundles/scope-gate.ts#resolveOverrideForLabels
1741
+ */
1742
+ interface ScopeGateBundleOverride {
1743
+ readonly acceptanceCriteria?: ScopeGateThresholds;
1744
+ readonly sources?: ScopeGateThresholds;
1677
1745
  }
1678
1746
  /*******************************************************************************
1679
1747
  *
@@ -1760,108 +1828,6 @@ interface RunRatioConfig {
1760
1828
  */
1761
1829
  readonly housekeepingModel?: string;
1762
1830
  }
1763
- /*******************************************************************************
1764
- *
1765
- * Pre-flight PR merge Config
1766
- *
1767
- ******************************************************************************/
1768
- /**
1769
- * Pre-flight PR merge configuration consumed by the `orchestrator`
1770
- * bundle.
1771
- *
1772
- * The pre-flight step (vortex `CLAUDE.md` step 0b) runs **before** the
1773
- * orchestrator's triage walk so eligible PRs land before the unblock
1774
- * and queue-scan phases read dependency state. Without it, an issue
1775
- * whose only remaining blocker is an approved-but-not-yet-merged PR
1776
- * shows up as blocked on every dispatch cycle — the pipeline thrashes
1777
- * on stale dependency state.
1778
- *
1779
- * The sweep is idempotent: `gh pr merge` on an already-merged PR is a
1780
- * no-op, so re-running pre-flight on every orchestrator invocation
1781
- * (dispatch **and** housekeeping) is safe and cheap. Eligibility is
1782
- * read by the `check-blocked.sh preflight` subcommand and returned as
1783
- * one line per candidate PR for the orchestrator to act on.
1784
- *
1785
- * Every field is optional. When the whole config is absent the
1786
- * orchestrator ships with vortex's published defaults baked in
1787
- * (pre-flight enabled, delegated to the `pr-reviewer` sub-agent so the
1788
- * merge workflow runs on a cheaper model, squash merges, linked-issue
1789
- * keyword required).
1790
- *
1791
- * Malformed configs — unknown `mergeMethod`, empty / whitespace-only
1792
- * `eligibleLabels` entries — fail the build at synth time via
1793
- * `validatePreflightPrConfig`.
1794
- *
1795
- * @see ./bundles/preflight-pr.ts#resolvePreflightPr
1796
- * @see ./bundles/preflight-pr.ts#validatePreflightPrConfig
1797
- * @see ./bundles/preflight-pr.ts#renderPreflightPrSection
1798
- */
1799
- interface PreflightPrConfig {
1800
- /**
1801
- * Master switch for the pre-flight sweep. When `false`, the
1802
- * orchestrator skips pre-flight entirely; PR merges land via the
1803
- * existing batch PR review step on housekeeping runs or via a
1804
- * human operator.
1805
- *
1806
- * Defaults to `true` — pre-flight is on by default. Repos that
1807
- * want to keep merges manual should set this to `false` explicitly.
1808
- */
1809
- readonly enabled?: boolean;
1810
- /**
1811
- * Whether the orchestrator delegates the pre-flight sweep to the
1812
- * `pr-reviewer` sub-agent. Mirrors vortex's step 0b contract:
1813
- * invoking the reviewer as a sub-agent lets the merge workflow run
1814
- * on its own (cheaper) model rather than on the orchestrator's
1815
- * more expensive model budget.
1816
- *
1817
- * Set to `false` to have the orchestrator merge eligible PRs inline
1818
- * without delegation (useful in pipelines that have not wired a
1819
- * `pr-reviewer` sub-agent).
1820
- *
1821
- * Defaults to `true`.
1822
- */
1823
- readonly delegateToPrReviewer?: boolean;
1824
- /**
1825
- * Merge method used when the orchestrator merges a PR inline
1826
- * (`delegateToPrReviewer = false`). Maps to the `gh pr merge`
1827
- * flags: `squash` → `--squash`, `merge` → `--merge`, `rebase`
1828
- * → `--rebase`.
1829
- *
1830
- * Defaults to `"squash"` — squash-and-merge matches every existing
1831
- * configulator consumer and keeps `main` free of
1832
- * branch-construction noise.
1833
- */
1834
- readonly mergeMethod?: "squash" | "merge" | "rebase";
1835
- /**
1836
- * Whether pre-flight skips PRs that lack a
1837
- * `Closes/Fixes/Resolves #<n>` keyword in the body. Most pipelines
1838
- * require a linked issue so the dependency graph stays intact, so
1839
- * the safe default is `true` — pre-flight only merges PRs that
1840
- * cleanly complete a known issue.
1841
- *
1842
- * Set to `false` in repos that accept human-authored PRs with no
1843
- * linked issue (docs-only changes, dependency bumps, etc.) and
1844
- * still want pre-flight to land them.
1845
- *
1846
- * Defaults to `true`.
1847
- */
1848
- readonly requireLinkedIssue?: boolean;
1849
- /**
1850
- * Optional allowlist of labels that, when present on a PR, gate
1851
- * eligibility. When the list is empty (the default) every open PR
1852
- * that otherwise satisfies the eligibility checks qualifies;
1853
- * supplying a non-empty list restricts pre-flight to PRs carrying
1854
- * at least one of the listed labels.
1855
- *
1856
- * Use this to opt specific pipelines in — for example,
1857
- * `['origin:issue-worker']` restricts pre-flight to bot-authored
1858
- * PRs, leaving human-authored PRs for the normal review path.
1859
- *
1860
- * Every entry must be a non-empty string; empty / whitespace-only
1861
- * entries fail the build via `validatePreflightPrConfig`.
1862
- */
1863
- readonly eligibleLabels?: ReadonlyArray<string>;
1864
- }
1865
1831
  /*******************************************************************************
1866
1832
  *
1867
1833
  * Unblock Dependents Config
@@ -2485,8 +2451,8 @@ interface ScheduledTaskEntry {
2485
2451
  * find-an-issue step. The registered-tasks table renders the
2486
2452
  * `type:*` filter normally.
2487
2453
  * - `"pipeline"` — the task runs an end-to-end pipeline (e.g. the
2488
- * orchestrator's full cycle: pre-flight PR merge, unblock,
2489
- * maintenance, queue scan, delegate, cleanup). The rendered
2454
+ * orchestrator's full cycle: triage / unblock, maintenance, queue
2455
+ * scan, delegate, cleanup). The rendered
2490
2456
  * SKILL.md skips the issue-worker contract and points the operator
2491
2457
  * at the target sub-agent for the full workflow. The
2492
2458
  * registered-tasks table renders `_(none — pipeline manager)_`
@@ -2850,33 +2816,6 @@ interface AgentConfigOptions {
2850
2816
  * @see ./bundles/run-ratio.ts#validateRunRatioConfig
2851
2817
  */
2852
2818
  readonly runRatio?: RunRatioConfig;
2853
- /**
2854
- * Pre-flight PR merge configuration consumed by the `orchestrator`
2855
- * bundle. Drives the pre-flight sweep (vortex step 0b) that merges
2856
- * eligible PRs before the triage walk reads dependency state,
2857
- * preventing stale-dependency thrashing on always-on pipelines.
2858
- *
2859
- * When the whole config is omitted, the orchestrator ships with
2860
- * vortex's published defaults (pre-flight enabled, delegated to
2861
- * the `pr-reviewer` sub-agent, squash merges, linked-issue
2862
- * keyword required).
2863
- *
2864
- * Supply `enabled: false` to disable pre-flight entirely,
2865
- * `delegateToPrReviewer: false` to merge inline without delegation,
2866
- * `mergeMethod` to switch to merge-commit or rebase strategies,
2867
- * `requireLinkedIssue: false` to include PRs without a
2868
- * `Closes/Fixes/Resolves` keyword, or `eligibleLabels` to gate
2869
- * pre-flight on consumer-declared opt-in labels.
2870
- *
2871
- * Malformed configs — unknown `mergeMethod`, empty /
2872
- * whitespace-only `eligibleLabels` entries — fail the build at
2873
- * synth time via `validatePreflightPrConfig`.
2874
- *
2875
- * @see PreflightPrConfig
2876
- * @see ./bundles/preflight-pr.ts#resolvePreflightPr
2877
- * @see ./bundles/preflight-pr.ts#validatePreflightPrConfig
2878
- */
2879
- readonly preflightPr?: PreflightPrConfig;
2880
2819
  /**
2881
2820
  * Scheduled-tasks configuration consumed by the `orchestrator`
2882
2821
  * bundle. Drives the per-agent worker layout at
@@ -3575,98 +3514,6 @@ declare const maintenanceAuditBundle: AgentRuleBundle;
3575
3514
  */
3576
3515
  declare const meetingAnalysisBundle: AgentRuleBundle;
3577
3516
 
3578
- /**
3579
- * Default for whether the orchestrator delegates the pre-flight merge
3580
- * sweep to the `pr-reviewer` sub-agent. Mirrors vortex's step 0b
3581
- * contract: invoking the reviewer as a sub-agent lets the merge
3582
- * workflow run on its own (cheaper) model rather than on the
3583
- * orchestrator's model. Set to `false` to have the orchestrator merge
3584
- * eligible PRs inline.
3585
- *
3586
- * @see PreflightPrConfig
3587
- */
3588
- declare const DEFAULT_DELEGATE_TO_PR_REVIEWER = true;
3589
- /**
3590
- * Default merge method used when the orchestrator merges a PR inline
3591
- * (`delegateToPrReviewer = false`). Squash-and-merge matches every
3592
- * existing configulator consumer and keeps `main` free of
3593
- * branch-construction noise.
3594
- *
3595
- * @see PreflightPrConfig
3596
- */
3597
- declare const DEFAULT_MERGE_METHOD: PreflightMergeMethod;
3598
- /**
3599
- * Default for whether pre-flight skips PRs lacking a
3600
- * `Closes/Fixes/Resolves #<n>` keyword in the body. Most pipelines
3601
- * require a linked issue, so the safe default is `true` — pre-flight
3602
- * only merges PRs that cleanly complete a known issue.
3603
- *
3604
- * @see PreflightPrConfig
3605
- */
3606
- declare const DEFAULT_REQUIRE_LINKED_ISSUE = true;
3607
- /**
3608
- * Merge-method values accepted on `PreflightPrConfig.mergeMethod`.
3609
- * Matches the `gh pr merge` flags: `--squash`, `--merge`, `--rebase`.
3610
- */
3611
- declare const PREFLIGHT_MERGE_METHOD_VALUES: readonly ["squash", "merge", "rebase"];
3612
- type PreflightMergeMethod = (typeof PREFLIGHT_MERGE_METHOD_VALUES)[number];
3613
- /**
3614
- * Fully-resolved pre-flight PR merge settings. Every field is defaulted
3615
- * so downstream renderers can reason about a single canonical shape.
3616
- */
3617
- interface ResolvedPreflightPr {
3618
- readonly enabled: boolean;
3619
- readonly delegateToPrReviewer: boolean;
3620
- readonly mergeMethod: PreflightMergeMethod;
3621
- readonly requireLinkedIssue: boolean;
3622
- readonly eligibleLabels: ReadonlyArray<string>;
3623
- }
3624
- /**
3625
- * Resolve a (possibly absent) `PreflightPrConfig` into a canonical
3626
- * `ResolvedPreflightPr` with every field filled in. Unset fields
3627
- * cascade from their documented defaults.
3628
- *
3629
- * Malformed configs (unknown `mergeMethod`, empty or whitespace-only
3630
- * `eligibleLabels` entry) throw a descriptive `Error` — callers should
3631
- * not need to guard against it at runtime.
3632
- */
3633
- declare function resolvePreflightPr(config?: PreflightPrConfig): ResolvedPreflightPr;
3634
- /**
3635
- * Synth-time validation hook. Throws a descriptive `Error` when the
3636
- * supplied `PreflightPrConfig` is malformed. Called by
3637
- * `AgentConfig.preSynthesize` before any rendering so a misconfigured
3638
- * pre-flight sweep fails the build instead of silently shipping a
3639
- * broken check-blocked.sh subcommand. Returns the resolved config
3640
- * unchanged so callers can write
3641
- * `const pf = validatePreflightPrConfig(config)` in one line.
3642
- *
3643
- * Malformed cases rejected here:
3644
- *
3645
- * - `mergeMethod` not one of `squash` / `merge` / `rebase`.
3646
- * - Any `eligibleLabels` entry that is empty or whitespace-only.
3647
- */
3648
- declare function validatePreflightPrConfig(config?: PreflightPrConfig): ResolvedPreflightPr;
3649
- /**
3650
- * Render the markdown subsection appended to the
3651
- * `orchestrator-conventions` rule. Always returns a non-empty string so
3652
- * the orchestrator rule documents the pre-flight contract even when the
3653
- * consumer relies on the defaults.
3654
- */
3655
- declare function renderPreflightPrSection(pf: ResolvedPreflightPr): string;
3656
- /**
3657
- * Render a shell-script snippet embedded in `check-blocked.sh`. The
3658
- * snippet declares a `cmd_preflight()` function that scans open PRs
3659
- * and echoes one eligibility line per PR in the canonical
3660
- * `PREFLIGHT_MERGE PR #<n> issue:#<m> branch:<b> — "<title>"` format
3661
- * (or `PREFLIGHT_SKIP PR #<n> — <reason> — "<title>"` on skip, or
3662
- * `NO_PREFLIGHT_PRS` when nothing is eligible).
3663
- *
3664
- * Returns the body of a shell function block (including the
3665
- * `cmd_preflight()` wrapper) so the surrounding script can splice it
3666
- * inline at the exact indent level it wants.
3667
- */
3668
- declare function renderPreflightPrShellHelpers(pf: ResolvedPreflightPr): string;
3669
-
3670
3517
  /**
3671
3518
  * Default dispatch-to-housekeeping ratio — openhi's `DISPATCHER.md`
3672
3519
  * ships a 4:1 ratio: four consecutive dispatch runs, then one
@@ -3988,6 +3835,47 @@ declare const DEFAULT_AC_THRESHOLDS: ScopeGateThresholds;
3988
3835
  * `medium`; more than 5 is `large`.
3989
3836
  */
3990
3837
  declare const DEFAULT_SOURCES_THRESHOLDS: ScopeGateThresholds;
3838
+ /**
3839
+ * Bundle overrides shipped out of the box for content-spec workflows
3840
+ * — issues whose AC list is the per-section content checklist for
3841
+ * one cohesive deliverable (not a phase-completion checklist that
3842
+ * can be decomposed). The global default cap (`mediumMax: 6`) is
3843
+ * calibrated for phased-bundle issues and systematically over-flags
3844
+ * single-document writes.
3845
+ *
3846
+ * The two shipped overrides:
3847
+ *
3848
+ * - `req:write` — formal requirement documents (ADR / TR / OPS /
3849
+ * SEC / NFR / UX / MT) routinely carry 12–20 ACs covering
3850
+ * per-section content invariants (definition, alternatives,
3851
+ * risks, traceability, revision history, open items). Cap:
3852
+ * `mediumMax: 20` on the AC axis; sources unchanged.
3853
+ * - `bcm:scaffold` — multi-section BCM documents compress sub-
3854
+ * addendum requirements into coarse ACs but still land above
3855
+ * the global cap. Cap: `mediumMax: 12` on the AC axis; sources
3856
+ * unchanged.
3857
+ *
3858
+ * Consumer overrides deep-merge with these defaults with
3859
+ * consumer-wins-per-key (see `resolveScopeGate` for the merge
3860
+ * semantics).
3861
+ */
3862
+ declare const DEFAULT_BUNDLE_OVERRIDES: {
3863
+ readonly [phaseLabel: string]: ResolvedScopeGateBundleOverride;
3864
+ };
3865
+ /**
3866
+ * Resolved per-phase-label override. At least one of the two axis
3867
+ * fields is populated — empty resolved overrides are dropped
3868
+ * rather than retained, so callers can assume any entry in the
3869
+ * resolved override map carries actionable thresholds.
3870
+ *
3871
+ * Each axis here is **fully resolved** (`smallMax` + `mediumMax`).
3872
+ * The override resolver fills in the missing axis from the global
3873
+ * resolved thresholds at the time `resolveScopeGate` runs.
3874
+ */
3875
+ interface ResolvedScopeGateBundleOverride {
3876
+ readonly acceptanceCriteria?: ScopeGateThresholds;
3877
+ readonly sources?: ScopeGateThresholds;
3878
+ }
3991
3879
  /**
3992
3880
  * Default decomposition-proposal comment body. The orchestrator
3993
3881
  * substitutes the following angle-bracketed uppercase-snake
@@ -4011,6 +3899,14 @@ declare const DEFAULT_DECOMPOSITION_TEMPLATE: string;
4011
3899
  /**
4012
3900
  * Fully-resolved scope-gate settings. Every field is defaulted so
4013
3901
  * downstream renderers can reason about a single canonical shape.
3902
+ *
3903
+ * `bundleOverrides` is the deep-merged result of the shipped
3904
+ * `DEFAULT_BUNDLE_OVERRIDES` and any consumer-supplied
3905
+ * `ScopeGateConfig.bundleOverrides`. Consumer entries replace
3906
+ * shipped defaults per-key; entries set to `undefined` opt out of
3907
+ * the shipped default for that key. The resolved map only contains
3908
+ * entries whose merged value carries at least one axis — empty
3909
+ * overrides are dropped.
4014
3910
  */
4015
3911
  interface ResolvedScopeGate {
4016
3912
  readonly enabled: boolean;
@@ -4018,6 +3914,9 @@ interface ResolvedScopeGate {
4018
3914
  readonly sources: ScopeGateThresholds;
4019
3915
  readonly autoFile: boolean;
4020
3916
  readonly decompositionTemplate: string;
3917
+ readonly bundleOverrides: {
3918
+ readonly [phaseLabel: string]: ResolvedScopeGateBundleOverride;
3919
+ };
4021
3920
  }
4022
3921
  /**
4023
3922
  * Resolve a (possibly absent) `ScopeGateConfig` into a canonical
@@ -4029,6 +3928,29 @@ interface ResolvedScopeGate {
4029
3928
  * guard against it at runtime.
4030
3929
  */
4031
3930
  declare function resolveScopeGate(config?: ScopeGateConfig): ResolvedScopeGate;
3931
+ /**
3932
+ * Effective thresholds applied to a single issue. Produced by
3933
+ * `resolveOverrideForLabels` so the classifier (and the shell helper)
3934
+ * can use a single shape regardless of whether an override matched.
3935
+ */
3936
+ interface EffectiveScopeThresholds {
3937
+ readonly acceptanceCriteria: ScopeGateThresholds;
3938
+ readonly sources: ScopeGateThresholds;
3939
+ readonly matchedLabel?: string;
3940
+ }
3941
+ /**
3942
+ * Pick the effective thresholds for an issue carrying `labels`.
3943
+ * Walks the resolved bundle-override map, finds every label whose
3944
+ * exact name appears as a key, and selects the **first match in
3945
+ * alphabetical order on the label name**. The override's
3946
+ * `acceptanceCriteria` and `sources` axes are independent — the
3947
+ * unspecified axis falls through to the global resolved
3948
+ * thresholds.
3949
+ *
3950
+ * When no label matches, returns the global thresholds with no
3951
+ * `matchedLabel`.
3952
+ */
3953
+ declare function resolveOverrideForLabels(gate: ResolvedScopeGate, labels: ReadonlyArray<string>): EffectiveScopeThresholds;
4032
3954
  /**
4033
3955
  * Synth-time validation hook. Throws a descriptive `Error` when the
4034
3956
  * supplied `ScopeGateConfig` is malformed. Called by
@@ -4066,10 +3988,11 @@ declare function validateScopeGateConfig(config?: ScopeGateConfig): ResolvedScop
4066
3988
  * body that's pure prose with no recognizable sections classifies
4067
3989
  * `small` — the gate never rejects an issue it can't read.
4068
3990
  */
4069
- declare function classifyIssueScope(body: string, gate: ResolvedScopeGate): {
3991
+ declare function classifyIssueScope(body: string, gate: ResolvedScopeGate, labels?: ReadonlyArray<string>): {
4070
3992
  readonly scope: ScopeClass;
4071
3993
  readonly acCount: number;
4072
3994
  readonly sourcesCount: number;
3995
+ readonly matchedLabel?: string;
4073
3996
  };
4074
3997
  /**
4075
3998
  * Render the markdown subsection appended to the
@@ -4298,23 +4221,19 @@ declare function renderUnblockDependentsScript(ud: ResolvedUnblockDependents): s
4298
4221
 
4299
4222
  /**
4300
4223
  * Build the check-blocked.sh procedure definition for a given resolved
4301
- * tier table, scope gate, run-ratio, and pre-flight config.
4302
- * `AgentConfig.preSynthesize` calls this with the consumer's resolved
4303
- * configs so the emitted script's `tier_of()` lookup, `scope_of()`
4304
- * thresholds, `run_counter_tick()` cycle length, and `cmd_preflight()`
4305
- * eligibility filter match whatever the rendered
4224
+ * tier table, scope gate, and run-ratio config. `AgentConfig.preSynthesize`
4225
+ * calls this with the consumer's resolved configs so the emitted
4226
+ * script's `tier_of()` lookup, `scope_of()` thresholds, and
4227
+ * `run_counter_tick()` cycle length match whatever the rendered
4306
4228
  * orchestrator-conventions rule documents.
4307
4229
  *
4308
4230
  * Scope-gate settings default to the bundle's built-in defaults
4309
4231
  * (small: ≤3 AC + ≤2 sources; medium: ≤6 AC + ≤5 sources;
4310
4232
  * auto-file off) when the caller omits them. Run-ratio settings
4311
4233
  * default to the openhi 4:1 cadence with the counter persisted at
4312
- * `.state/orchestrator-runs.json`. Pre-flight settings default
4313
- * to vortex's step 0b contract (enabled, delegated to the
4314
- * `pr-reviewer` sub-agent, squash merges, linked-issue keyword
4315
- * required).
4234
+ * `.state/orchestrator-runs.json`.
4316
4235
  */
4317
- declare function buildCheckBlockedProcedure(tiers: ReadonlyArray<ResolvedAgentTier>, scopeGate?: ResolvedScopeGate, runRatio?: ResolvedRunRatio, preflight?: ResolvedPreflightPr): AgentProcedure;
4236
+ declare function buildCheckBlockedProcedure(tiers: ReadonlyArray<ResolvedAgentTier>, scopeGate?: ResolvedScopeGate, runRatio?: ResolvedRunRatio): AgentProcedure;
4318
4237
  /*******************************************************************************
4319
4238
  *
4320
4239
  * unblock-dependents.sh — Targeted post-close dependency sweep.
@@ -4333,7 +4252,7 @@ declare function buildCheckBlockedProcedure(tiers: ReadonlyArray<ResolvedAgentTi
4333
4252
  declare function buildUnblockDependentsProcedure(unblockDependents?: ResolvedUnblockDependents): AgentProcedure;
4334
4253
  /**
4335
4254
  * Build the orchestrator-conventions rule content for a given resolved
4336
- * tier table, scope gate, run-ratio, pre-flight, scheduled-tasks, and
4255
+ * tier table, scope gate, run-ratio, scheduled-tasks, and
4337
4256
  * unblock-dependents config. The preamble is constant; each section
4338
4257
  * below it is rendered from the supplied values so consumer overrides
4339
4258
  * propagate into the generated rule.
@@ -4341,24 +4260,22 @@ declare function buildUnblockDependentsProcedure(unblockDependents?: ResolvedUnb
4341
4260
  * Every optional parameter defaults to the bundle's built-in default
4342
4261
  * when the caller omits it.
4343
4262
  */
4344
- declare function buildOrchestratorConventionsContent(tiers: ReadonlyArray<ResolvedAgentTier>, scopeGate?: ResolvedScopeGate, runRatio?: ResolvedRunRatio, preflight?: ResolvedPreflightPr, scheduledTasks?: ResolvedScheduledTasks, unblockDependents?: ResolvedUnblockDependents): string;
4263
+ declare function buildOrchestratorConventionsContent(tiers: ReadonlyArray<ResolvedAgentTier>, scopeGate?: ResolvedScopeGate, runRatio?: ResolvedRunRatio, scheduledTasks?: ResolvedScheduledTasks, unblockDependents?: ResolvedUnblockDependents): string;
4345
4264
  /**
4346
4265
  * Resolve the orchestrator-conventions rule content and the
4347
4266
  * check-blocked.sh procedure content for a given (possibly absent)
4348
4267
  * consumer-supplied tier config, scope-gate config, run-ratio config,
4349
- * pre-flight config, and scheduled-tasks config. Called by
4350
- * `AgentConfig.preSynthesize`.
4268
+ * and scheduled-tasks config. Called by `AgentConfig.preSynthesize`.
4351
4269
  *
4352
- * Returns the resolved tier table, scope gate, run ratio, pre-flight,
4353
- * and scheduled-tasks config alongside both rendered artifacts so
4354
- * callers can splice them into their rule map and procedure map in a
4355
- * single pass.
4270
+ * Returns the resolved tier table, scope gate, run ratio, and
4271
+ * scheduled-tasks config alongside both rendered artifacts so callers
4272
+ * can splice them into their rule map and procedure map in a single
4273
+ * pass.
4356
4274
  */
4357
- declare function resolveOrchestratorAssets(tierConfig?: AgentTierConfig, scopeGateConfig?: ScopeGateConfig, runRatioConfig?: RunRatioConfig, preflightPrConfig?: PreflightPrConfig, scheduledTasksConfig?: ScheduledTasksConfig, unblockDependentsConfig?: UnblockDependentsConfig): {
4275
+ declare function resolveOrchestratorAssets(tierConfig?: AgentTierConfig, scopeGateConfig?: ScopeGateConfig, runRatioConfig?: RunRatioConfig, scheduledTasksConfig?: ScheduledTasksConfig, unblockDependentsConfig?: UnblockDependentsConfig): {
4358
4276
  readonly tiers: ReadonlyArray<ResolvedAgentTier>;
4359
4277
  readonly scopeGate: ResolvedScopeGate;
4360
4278
  readonly runRatio: ResolvedRunRatio;
4361
- readonly preflight: ResolvedPreflightPr;
4362
4279
  readonly scheduledTasks: ResolvedScheduledTasks;
4363
4280
  readonly unblockDependents: ResolvedUnblockDependents;
4364
4281
  readonly conventionsContent: string;
@@ -9382,4 +9299,4 @@ declare const COMPLETE_JOB_ID = "complete";
9382
9299
  */
9383
9300
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
9384
9301
 
9385
- 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_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_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, type DeployWorkflowOptions, type DeploymentMetadata, type DocReferenceRecord, 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, PREFLIGHT_MERGE_METHOD_VALUES, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, type PnpmWorkspaceOptions, type PreflightMergeMethod, type PreflightPrConfig, 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 ResolvedPreflightPr, type ResolvedProgressFiles, type ResolvedProjectMetadata, type ResolvedRunRatio, type ResolvedScheduledTask, type ResolvedScheduledTasks, type ResolvedScopeGate, 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 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, 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, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePreflightPrConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, vitestBundle };
9302
+ 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, 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 };