@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.ts CHANGED
@@ -1723,6 +1723,74 @@ interface ScopeGateConfig {
1723
1723
  * runtime — configulator emits the template verbatim.
1724
1724
  */
1725
1725
  readonly decompositionTemplate?: string;
1726
+ /**
1727
+ * Per-phase-label threshold overrides. Issues whose `type:*` /
1728
+ * phase label matches one of the keys in this map are classified
1729
+ * against the override's thresholds instead of the global
1730
+ * `acceptanceCriteria` / `sources` defaults. This lets
1731
+ * **content-spec workflows** — issues whose AC list is the
1732
+ * per-section content checklist for one cohesive document, not a
1733
+ * phase-completion checklist that can be decomposed — clear the
1734
+ * gate even when their AC count is well above the global cap.
1735
+ *
1736
+ * Configulator ships two opt-in defaults out of the box:
1737
+ *
1738
+ * - `req:write` — formal requirement documents (ADR / TR / OPS /
1739
+ * SEC / NFR / UX / MT) routinely carry 12–20 ACs covering
1740
+ * per-section content invariants. Default override:
1741
+ * `{ acceptanceCriteria: { mediumMax: 20 } }` (sources unchanged).
1742
+ * - `bcm:scaffold` — multi-section BCM documents compress sub-
1743
+ * addendum requirements into coarse ACs but still land above
1744
+ * the global cap. Default override:
1745
+ * `{ acceptanceCriteria: { mediumMax: 12 } }` (sources unchanged).
1746
+ *
1747
+ * Consumer overrides **deep-merge** with the shipped defaults
1748
+ * with **consumer-wins-per-key**:
1749
+ *
1750
+ * - Setting an entry in the map (e.g. `'req:write': {...}`)
1751
+ * replaces the shipped default for that key.
1752
+ * - Setting an entry to `undefined` (e.g. `'req:write': undefined`)
1753
+ * opts out of the shipped default — that label receives no
1754
+ * override and the issue is classified against the global
1755
+ * thresholds.
1756
+ * - Adding a new entry (e.g. `'standards:scope': {...}`) extends
1757
+ * the override map without touching the shipped defaults.
1758
+ *
1759
+ * Within a single override entry, `acceptanceCriteria` and
1760
+ * `sources` are independent — a consumer can override one axis
1761
+ * and leave the other on the global default. The unspecified
1762
+ * axis falls through to the resolved global thresholds at
1763
+ * classification time.
1764
+ *
1765
+ * **Tie-breaking.** When an issue carries multiple labels that
1766
+ * match keys in the override map, the orchestrator selects the
1767
+ * **first match** in alphabetical order on the label name. This
1768
+ * is deterministic and easy to reason about; consumers that need
1769
+ * a specific label to win should rename or remove the colliding
1770
+ * label.
1771
+ *
1772
+ * Malformed override thresholds (negative, non-integer, or
1773
+ * inverted) fail the build at synth time exactly like the
1774
+ * top-level `acceptanceCriteria` / `sources` thresholds.
1775
+ */
1776
+ readonly bundleOverrides?: {
1777
+ readonly [phaseLabel: string]: ScopeGateBundleOverride | undefined;
1778
+ };
1779
+ }
1780
+ /**
1781
+ * Per-phase-label threshold override for the scope gate. Each axis
1782
+ * is independent — a consumer can override one and leave the other
1783
+ * on the global default. Both fields are optional; an empty object
1784
+ * is a no-op override (use it sparingly — `undefined` in the
1785
+ * `bundleOverrides` map opts out more clearly).
1786
+ *
1787
+ * @see ScopeGateConfig
1788
+ * @see ScopeGateThresholds
1789
+ * @see ./bundles/scope-gate.ts#resolveOverrideForLabels
1790
+ */
1791
+ interface ScopeGateBundleOverride {
1792
+ readonly acceptanceCriteria?: ScopeGateThresholds;
1793
+ readonly sources?: ScopeGateThresholds;
1726
1794
  }
1727
1795
  /*******************************************************************************
1728
1796
  *
@@ -1809,108 +1877,6 @@ interface RunRatioConfig {
1809
1877
  */
1810
1878
  readonly housekeepingModel?: string;
1811
1879
  }
1812
- /*******************************************************************************
1813
- *
1814
- * Pre-flight PR merge Config
1815
- *
1816
- ******************************************************************************/
1817
- /**
1818
- * Pre-flight PR merge configuration consumed by the `orchestrator`
1819
- * bundle.
1820
- *
1821
- * The pre-flight step (vortex `CLAUDE.md` step 0b) runs **before** the
1822
- * orchestrator's triage walk so eligible PRs land before the unblock
1823
- * and queue-scan phases read dependency state. Without it, an issue
1824
- * whose only remaining blocker is an approved-but-not-yet-merged PR
1825
- * shows up as blocked on every dispatch cycle — the pipeline thrashes
1826
- * on stale dependency state.
1827
- *
1828
- * The sweep is idempotent: `gh pr merge` on an already-merged PR is a
1829
- * no-op, so re-running pre-flight on every orchestrator invocation
1830
- * (dispatch **and** housekeeping) is safe and cheap. Eligibility is
1831
- * read by the `check-blocked.sh preflight` subcommand and returned as
1832
- * one line per candidate PR for the orchestrator to act on.
1833
- *
1834
- * Every field is optional. When the whole config is absent the
1835
- * orchestrator ships with vortex's published defaults baked in
1836
- * (pre-flight enabled, delegated to the `pr-reviewer` sub-agent so the
1837
- * merge workflow runs on a cheaper model, squash merges, linked-issue
1838
- * keyword required).
1839
- *
1840
- * Malformed configs — unknown `mergeMethod`, empty / whitespace-only
1841
- * `eligibleLabels` entries — fail the build at synth time via
1842
- * `validatePreflightPrConfig`.
1843
- *
1844
- * @see ./bundles/preflight-pr.ts#resolvePreflightPr
1845
- * @see ./bundles/preflight-pr.ts#validatePreflightPrConfig
1846
- * @see ./bundles/preflight-pr.ts#renderPreflightPrSection
1847
- */
1848
- interface PreflightPrConfig {
1849
- /**
1850
- * Master switch for the pre-flight sweep. When `false`, the
1851
- * orchestrator skips pre-flight entirely; PR merges land via the
1852
- * existing batch PR review step on housekeeping runs or via a
1853
- * human operator.
1854
- *
1855
- * Defaults to `true` — pre-flight is on by default. Repos that
1856
- * want to keep merges manual should set this to `false` explicitly.
1857
- */
1858
- readonly enabled?: boolean;
1859
- /**
1860
- * Whether the orchestrator delegates the pre-flight sweep to the
1861
- * `pr-reviewer` sub-agent. Mirrors vortex's step 0b contract:
1862
- * invoking the reviewer as a sub-agent lets the merge workflow run
1863
- * on its own (cheaper) model rather than on the orchestrator's
1864
- * more expensive model budget.
1865
- *
1866
- * Set to `false` to have the orchestrator merge eligible PRs inline
1867
- * without delegation (useful in pipelines that have not wired a
1868
- * `pr-reviewer` sub-agent).
1869
- *
1870
- * Defaults to `true`.
1871
- */
1872
- readonly delegateToPrReviewer?: boolean;
1873
- /**
1874
- * Merge method used when the orchestrator merges a PR inline
1875
- * (`delegateToPrReviewer = false`). Maps to the `gh pr merge`
1876
- * flags: `squash` → `--squash`, `merge` → `--merge`, `rebase`
1877
- * → `--rebase`.
1878
- *
1879
- * Defaults to `"squash"` — squash-and-merge matches every existing
1880
- * configulator consumer and keeps `main` free of
1881
- * branch-construction noise.
1882
- */
1883
- readonly mergeMethod?: "squash" | "merge" | "rebase";
1884
- /**
1885
- * Whether pre-flight skips PRs that lack a
1886
- * `Closes/Fixes/Resolves #<n>` keyword in the body. Most pipelines
1887
- * require a linked issue so the dependency graph stays intact, so
1888
- * the safe default is `true` — pre-flight only merges PRs that
1889
- * cleanly complete a known issue.
1890
- *
1891
- * Set to `false` in repos that accept human-authored PRs with no
1892
- * linked issue (docs-only changes, dependency bumps, etc.) and
1893
- * still want pre-flight to land them.
1894
- *
1895
- * Defaults to `true`.
1896
- */
1897
- readonly requireLinkedIssue?: boolean;
1898
- /**
1899
- * Optional allowlist of labels that, when present on a PR, gate
1900
- * eligibility. When the list is empty (the default) every open PR
1901
- * that otherwise satisfies the eligibility checks qualifies;
1902
- * supplying a non-empty list restricts pre-flight to PRs carrying
1903
- * at least one of the listed labels.
1904
- *
1905
- * Use this to opt specific pipelines in — for example,
1906
- * `['origin:issue-worker']` restricts pre-flight to bot-authored
1907
- * PRs, leaving human-authored PRs for the normal review path.
1908
- *
1909
- * Every entry must be a non-empty string; empty / whitespace-only
1910
- * entries fail the build via `validatePreflightPrConfig`.
1911
- */
1912
- readonly eligibleLabels?: ReadonlyArray<string>;
1913
- }
1914
1880
  /*******************************************************************************
1915
1881
  *
1916
1882
  * Unblock Dependents Config
@@ -2534,8 +2500,8 @@ interface ScheduledTaskEntry {
2534
2500
  * find-an-issue step. The registered-tasks table renders the
2535
2501
  * `type:*` filter normally.
2536
2502
  * - `"pipeline"` — the task runs an end-to-end pipeline (e.g. the
2537
- * orchestrator's full cycle: pre-flight PR merge, unblock,
2538
- * maintenance, queue scan, delegate, cleanup). The rendered
2503
+ * orchestrator's full cycle: triage / unblock, maintenance, queue
2504
+ * scan, delegate, cleanup). The rendered
2539
2505
  * SKILL.md skips the issue-worker contract and points the operator
2540
2506
  * at the target sub-agent for the full workflow. The
2541
2507
  * registered-tasks table renders `_(none — pipeline manager)_`
@@ -2899,33 +2865,6 @@ interface AgentConfigOptions {
2899
2865
  * @see ./bundles/run-ratio.ts#validateRunRatioConfig
2900
2866
  */
2901
2867
  readonly runRatio?: RunRatioConfig;
2902
- /**
2903
- * Pre-flight PR merge configuration consumed by the `orchestrator`
2904
- * bundle. Drives the pre-flight sweep (vortex step 0b) that merges
2905
- * eligible PRs before the triage walk reads dependency state,
2906
- * preventing stale-dependency thrashing on always-on pipelines.
2907
- *
2908
- * When the whole config is omitted, the orchestrator ships with
2909
- * vortex's published defaults (pre-flight enabled, delegated to
2910
- * the `pr-reviewer` sub-agent, squash merges, linked-issue
2911
- * keyword required).
2912
- *
2913
- * Supply `enabled: false` to disable pre-flight entirely,
2914
- * `delegateToPrReviewer: false` to merge inline without delegation,
2915
- * `mergeMethod` to switch to merge-commit or rebase strategies,
2916
- * `requireLinkedIssue: false` to include PRs without a
2917
- * `Closes/Fixes/Resolves` keyword, or `eligibleLabels` to gate
2918
- * pre-flight on consumer-declared opt-in labels.
2919
- *
2920
- * Malformed configs — unknown `mergeMethod`, empty /
2921
- * whitespace-only `eligibleLabels` entries — fail the build at
2922
- * synth time via `validatePreflightPrConfig`.
2923
- *
2924
- * @see PreflightPrConfig
2925
- * @see ./bundles/preflight-pr.ts#resolvePreflightPr
2926
- * @see ./bundles/preflight-pr.ts#validatePreflightPrConfig
2927
- */
2928
- readonly preflightPr?: PreflightPrConfig;
2929
2868
  /**
2930
2869
  * Scheduled-tasks configuration consumed by the `orchestrator`
2931
2870
  * bundle. Drives the per-agent worker layout at
@@ -3624,98 +3563,6 @@ declare const maintenanceAuditBundle: AgentRuleBundle;
3624
3563
  */
3625
3564
  declare const meetingAnalysisBundle: AgentRuleBundle;
3626
3565
 
3627
- /**
3628
- * Default for whether the orchestrator delegates the pre-flight merge
3629
- * sweep to the `pr-reviewer` sub-agent. Mirrors vortex's step 0b
3630
- * contract: invoking the reviewer as a sub-agent lets the merge
3631
- * workflow run on its own (cheaper) model rather than on the
3632
- * orchestrator's model. Set to `false` to have the orchestrator merge
3633
- * eligible PRs inline.
3634
- *
3635
- * @see PreflightPrConfig
3636
- */
3637
- declare const DEFAULT_DELEGATE_TO_PR_REVIEWER = true;
3638
- /**
3639
- * Default merge method used when the orchestrator merges a PR inline
3640
- * (`delegateToPrReviewer = false`). Squash-and-merge matches every
3641
- * existing configulator consumer and keeps `main` free of
3642
- * branch-construction noise.
3643
- *
3644
- * @see PreflightPrConfig
3645
- */
3646
- declare const DEFAULT_MERGE_METHOD: PreflightMergeMethod;
3647
- /**
3648
- * Default for whether pre-flight skips PRs lacking a
3649
- * `Closes/Fixes/Resolves #<n>` keyword in the body. Most pipelines
3650
- * require a linked issue, so the safe default is `true` — pre-flight
3651
- * only merges PRs that cleanly complete a known issue.
3652
- *
3653
- * @see PreflightPrConfig
3654
- */
3655
- declare const DEFAULT_REQUIRE_LINKED_ISSUE = true;
3656
- /**
3657
- * Merge-method values accepted on `PreflightPrConfig.mergeMethod`.
3658
- * Matches the `gh pr merge` flags: `--squash`, `--merge`, `--rebase`.
3659
- */
3660
- declare const PREFLIGHT_MERGE_METHOD_VALUES: readonly ["squash", "merge", "rebase"];
3661
- type PreflightMergeMethod = (typeof PREFLIGHT_MERGE_METHOD_VALUES)[number];
3662
- /**
3663
- * Fully-resolved pre-flight PR merge settings. Every field is defaulted
3664
- * so downstream renderers can reason about a single canonical shape.
3665
- */
3666
- interface ResolvedPreflightPr {
3667
- readonly enabled: boolean;
3668
- readonly delegateToPrReviewer: boolean;
3669
- readonly mergeMethod: PreflightMergeMethod;
3670
- readonly requireLinkedIssue: boolean;
3671
- readonly eligibleLabels: ReadonlyArray<string>;
3672
- }
3673
- /**
3674
- * Resolve a (possibly absent) `PreflightPrConfig` into a canonical
3675
- * `ResolvedPreflightPr` with every field filled in. Unset fields
3676
- * cascade from their documented defaults.
3677
- *
3678
- * Malformed configs (unknown `mergeMethod`, empty or whitespace-only
3679
- * `eligibleLabels` entry) throw a descriptive `Error` — callers should
3680
- * not need to guard against it at runtime.
3681
- */
3682
- declare function resolvePreflightPr(config?: PreflightPrConfig): ResolvedPreflightPr;
3683
- /**
3684
- * Synth-time validation hook. Throws a descriptive `Error` when the
3685
- * supplied `PreflightPrConfig` is malformed. Called by
3686
- * `AgentConfig.preSynthesize` before any rendering so a misconfigured
3687
- * pre-flight sweep fails the build instead of silently shipping a
3688
- * broken check-blocked.sh subcommand. Returns the resolved config
3689
- * unchanged so callers can write
3690
- * `const pf = validatePreflightPrConfig(config)` in one line.
3691
- *
3692
- * Malformed cases rejected here:
3693
- *
3694
- * - `mergeMethod` not one of `squash` / `merge` / `rebase`.
3695
- * - Any `eligibleLabels` entry that is empty or whitespace-only.
3696
- */
3697
- declare function validatePreflightPrConfig(config?: PreflightPrConfig): ResolvedPreflightPr;
3698
- /**
3699
- * Render the markdown subsection appended to the
3700
- * `orchestrator-conventions` rule. Always returns a non-empty string so
3701
- * the orchestrator rule documents the pre-flight contract even when the
3702
- * consumer relies on the defaults.
3703
- */
3704
- declare function renderPreflightPrSection(pf: ResolvedPreflightPr): string;
3705
- /**
3706
- * Render a shell-script snippet embedded in `check-blocked.sh`. The
3707
- * snippet declares a `cmd_preflight()` function that scans open PRs
3708
- * and echoes one eligibility line per PR in the canonical
3709
- * `PREFLIGHT_MERGE PR #<n> issue:#<m> branch:<b> — "<title>"` format
3710
- * (or `PREFLIGHT_SKIP PR #<n> — <reason> — "<title>"` on skip, or
3711
- * `NO_PREFLIGHT_PRS` when nothing is eligible).
3712
- *
3713
- * Returns the body of a shell function block (including the
3714
- * `cmd_preflight()` wrapper) so the surrounding script can splice it
3715
- * inline at the exact indent level it wants.
3716
- */
3717
- declare function renderPreflightPrShellHelpers(pf: ResolvedPreflightPr): string;
3718
-
3719
3566
  /**
3720
3567
  * Default dispatch-to-housekeeping ratio — openhi's `DISPATCHER.md`
3721
3568
  * ships a 4:1 ratio: four consecutive dispatch runs, then one
@@ -4037,6 +3884,47 @@ declare const DEFAULT_AC_THRESHOLDS: ScopeGateThresholds;
4037
3884
  * `medium`; more than 5 is `large`.
4038
3885
  */
4039
3886
  declare const DEFAULT_SOURCES_THRESHOLDS: ScopeGateThresholds;
3887
+ /**
3888
+ * Bundle overrides shipped out of the box for content-spec workflows
3889
+ * — issues whose AC list is the per-section content checklist for
3890
+ * one cohesive deliverable (not a phase-completion checklist that
3891
+ * can be decomposed). The global default cap (`mediumMax: 6`) is
3892
+ * calibrated for phased-bundle issues and systematically over-flags
3893
+ * single-document writes.
3894
+ *
3895
+ * The two shipped overrides:
3896
+ *
3897
+ * - `req:write` — formal requirement documents (ADR / TR / OPS /
3898
+ * SEC / NFR / UX / MT) routinely carry 12–20 ACs covering
3899
+ * per-section content invariants (definition, alternatives,
3900
+ * risks, traceability, revision history, open items). Cap:
3901
+ * `mediumMax: 20` on the AC axis; sources unchanged.
3902
+ * - `bcm:scaffold` — multi-section BCM documents compress sub-
3903
+ * addendum requirements into coarse ACs but still land above
3904
+ * the global cap. Cap: `mediumMax: 12` on the AC axis; sources
3905
+ * unchanged.
3906
+ *
3907
+ * Consumer overrides deep-merge with these defaults with
3908
+ * consumer-wins-per-key (see `resolveScopeGate` for the merge
3909
+ * semantics).
3910
+ */
3911
+ declare const DEFAULT_BUNDLE_OVERRIDES: {
3912
+ readonly [phaseLabel: string]: ResolvedScopeGateBundleOverride;
3913
+ };
3914
+ /**
3915
+ * Resolved per-phase-label override. At least one of the two axis
3916
+ * fields is populated — empty resolved overrides are dropped
3917
+ * rather than retained, so callers can assume any entry in the
3918
+ * resolved override map carries actionable thresholds.
3919
+ *
3920
+ * Each axis here is **fully resolved** (`smallMax` + `mediumMax`).
3921
+ * The override resolver fills in the missing axis from the global
3922
+ * resolved thresholds at the time `resolveScopeGate` runs.
3923
+ */
3924
+ interface ResolvedScopeGateBundleOverride {
3925
+ readonly acceptanceCriteria?: ScopeGateThresholds;
3926
+ readonly sources?: ScopeGateThresholds;
3927
+ }
4040
3928
  /**
4041
3929
  * Default decomposition-proposal comment body. The orchestrator
4042
3930
  * substitutes the following angle-bracketed uppercase-snake
@@ -4060,6 +3948,14 @@ declare const DEFAULT_DECOMPOSITION_TEMPLATE: string;
4060
3948
  /**
4061
3949
  * Fully-resolved scope-gate settings. Every field is defaulted so
4062
3950
  * downstream renderers can reason about a single canonical shape.
3951
+ *
3952
+ * `bundleOverrides` is the deep-merged result of the shipped
3953
+ * `DEFAULT_BUNDLE_OVERRIDES` and any consumer-supplied
3954
+ * `ScopeGateConfig.bundleOverrides`. Consumer entries replace
3955
+ * shipped defaults per-key; entries set to `undefined` opt out of
3956
+ * the shipped default for that key. The resolved map only contains
3957
+ * entries whose merged value carries at least one axis — empty
3958
+ * overrides are dropped.
4063
3959
  */
4064
3960
  interface ResolvedScopeGate {
4065
3961
  readonly enabled: boolean;
@@ -4067,6 +3963,9 @@ interface ResolvedScopeGate {
4067
3963
  readonly sources: ScopeGateThresholds;
4068
3964
  readonly autoFile: boolean;
4069
3965
  readonly decompositionTemplate: string;
3966
+ readonly bundleOverrides: {
3967
+ readonly [phaseLabel: string]: ResolvedScopeGateBundleOverride;
3968
+ };
4070
3969
  }
4071
3970
  /**
4072
3971
  * Resolve a (possibly absent) `ScopeGateConfig` into a canonical
@@ -4078,6 +3977,29 @@ interface ResolvedScopeGate {
4078
3977
  * guard against it at runtime.
4079
3978
  */
4080
3979
  declare function resolveScopeGate(config?: ScopeGateConfig): ResolvedScopeGate;
3980
+ /**
3981
+ * Effective thresholds applied to a single issue. Produced by
3982
+ * `resolveOverrideForLabels` so the classifier (and the shell helper)
3983
+ * can use a single shape regardless of whether an override matched.
3984
+ */
3985
+ interface EffectiveScopeThresholds {
3986
+ readonly acceptanceCriteria: ScopeGateThresholds;
3987
+ readonly sources: ScopeGateThresholds;
3988
+ readonly matchedLabel?: string;
3989
+ }
3990
+ /**
3991
+ * Pick the effective thresholds for an issue carrying `labels`.
3992
+ * Walks the resolved bundle-override map, finds every label whose
3993
+ * exact name appears as a key, and selects the **first match in
3994
+ * alphabetical order on the label name**. The override's
3995
+ * `acceptanceCriteria` and `sources` axes are independent — the
3996
+ * unspecified axis falls through to the global resolved
3997
+ * thresholds.
3998
+ *
3999
+ * When no label matches, returns the global thresholds with no
4000
+ * `matchedLabel`.
4001
+ */
4002
+ declare function resolveOverrideForLabels(gate: ResolvedScopeGate, labels: ReadonlyArray<string>): EffectiveScopeThresholds;
4081
4003
  /**
4082
4004
  * Synth-time validation hook. Throws a descriptive `Error` when the
4083
4005
  * supplied `ScopeGateConfig` is malformed. Called by
@@ -4115,10 +4037,11 @@ declare function validateScopeGateConfig(config?: ScopeGateConfig): ResolvedScop
4115
4037
  * body that's pure prose with no recognizable sections classifies
4116
4038
  * `small` — the gate never rejects an issue it can't read.
4117
4039
  */
4118
- declare function classifyIssueScope(body: string, gate: ResolvedScopeGate): {
4040
+ declare function classifyIssueScope(body: string, gate: ResolvedScopeGate, labels?: ReadonlyArray<string>): {
4119
4041
  readonly scope: ScopeClass;
4120
4042
  readonly acCount: number;
4121
4043
  readonly sourcesCount: number;
4044
+ readonly matchedLabel?: string;
4122
4045
  };
4123
4046
  /**
4124
4047
  * Render the markdown subsection appended to the
@@ -4347,23 +4270,19 @@ declare function renderUnblockDependentsScript(ud: ResolvedUnblockDependents): s
4347
4270
 
4348
4271
  /**
4349
4272
  * Build the check-blocked.sh procedure definition for a given resolved
4350
- * tier table, scope gate, run-ratio, and pre-flight config.
4351
- * `AgentConfig.preSynthesize` calls this with the consumer's resolved
4352
- * configs so the emitted script's `tier_of()` lookup, `scope_of()`
4353
- * thresholds, `run_counter_tick()` cycle length, and `cmd_preflight()`
4354
- * eligibility filter match whatever the rendered
4273
+ * tier table, scope gate, and run-ratio config. `AgentConfig.preSynthesize`
4274
+ * calls this with the consumer's resolved configs so the emitted
4275
+ * script's `tier_of()` lookup, `scope_of()` thresholds, and
4276
+ * `run_counter_tick()` cycle length match whatever the rendered
4355
4277
  * orchestrator-conventions rule documents.
4356
4278
  *
4357
4279
  * Scope-gate settings default to the bundle's built-in defaults
4358
4280
  * (small: ≤3 AC + ≤2 sources; medium: ≤6 AC + ≤5 sources;
4359
4281
  * auto-file off) when the caller omits them. Run-ratio settings
4360
4282
  * default to the openhi 4:1 cadence with the counter persisted at
4361
- * `.state/orchestrator-runs.json`. Pre-flight settings default
4362
- * to vortex's step 0b contract (enabled, delegated to the
4363
- * `pr-reviewer` sub-agent, squash merges, linked-issue keyword
4364
- * required).
4283
+ * `.state/orchestrator-runs.json`.
4365
4284
  */
4366
- declare function buildCheckBlockedProcedure(tiers: ReadonlyArray<ResolvedAgentTier>, scopeGate?: ResolvedScopeGate, runRatio?: ResolvedRunRatio, preflight?: ResolvedPreflightPr): AgentProcedure;
4285
+ declare function buildCheckBlockedProcedure(tiers: ReadonlyArray<ResolvedAgentTier>, scopeGate?: ResolvedScopeGate, runRatio?: ResolvedRunRatio): AgentProcedure;
4367
4286
  /*******************************************************************************
4368
4287
  *
4369
4288
  * unblock-dependents.sh — Targeted post-close dependency sweep.
@@ -4382,7 +4301,7 @@ declare function buildCheckBlockedProcedure(tiers: ReadonlyArray<ResolvedAgentTi
4382
4301
  declare function buildUnblockDependentsProcedure(unblockDependents?: ResolvedUnblockDependents): AgentProcedure;
4383
4302
  /**
4384
4303
  * Build the orchestrator-conventions rule content for a given resolved
4385
- * tier table, scope gate, run-ratio, pre-flight, scheduled-tasks, and
4304
+ * tier table, scope gate, run-ratio, scheduled-tasks, and
4386
4305
  * unblock-dependents config. The preamble is constant; each section
4387
4306
  * below it is rendered from the supplied values so consumer overrides
4388
4307
  * propagate into the generated rule.
@@ -4390,24 +4309,22 @@ declare function buildUnblockDependentsProcedure(unblockDependents?: ResolvedUnb
4390
4309
  * Every optional parameter defaults to the bundle's built-in default
4391
4310
  * when the caller omits it.
4392
4311
  */
4393
- declare function buildOrchestratorConventionsContent(tiers: ReadonlyArray<ResolvedAgentTier>, scopeGate?: ResolvedScopeGate, runRatio?: ResolvedRunRatio, preflight?: ResolvedPreflightPr, scheduledTasks?: ResolvedScheduledTasks, unblockDependents?: ResolvedUnblockDependents): string;
4312
+ declare function buildOrchestratorConventionsContent(tiers: ReadonlyArray<ResolvedAgentTier>, scopeGate?: ResolvedScopeGate, runRatio?: ResolvedRunRatio, scheduledTasks?: ResolvedScheduledTasks, unblockDependents?: ResolvedUnblockDependents): string;
4394
4313
  /**
4395
4314
  * Resolve the orchestrator-conventions rule content and the
4396
4315
  * check-blocked.sh procedure content for a given (possibly absent)
4397
4316
  * consumer-supplied tier config, scope-gate config, run-ratio config,
4398
- * pre-flight config, and scheduled-tasks config. Called by
4399
- * `AgentConfig.preSynthesize`.
4317
+ * and scheduled-tasks config. Called by `AgentConfig.preSynthesize`.
4400
4318
  *
4401
- * Returns the resolved tier table, scope gate, run ratio, pre-flight,
4402
- * and scheduled-tasks config alongside both rendered artifacts so
4403
- * callers can splice them into their rule map and procedure map in a
4404
- * single pass.
4319
+ * Returns the resolved tier table, scope gate, run ratio, and
4320
+ * scheduled-tasks config alongside both rendered artifacts so callers
4321
+ * can splice them into their rule map and procedure map in a single
4322
+ * pass.
4405
4323
  */
4406
- declare function resolveOrchestratorAssets(tierConfig?: AgentTierConfig, scopeGateConfig?: ScopeGateConfig, runRatioConfig?: RunRatioConfig, preflightPrConfig?: PreflightPrConfig, scheduledTasksConfig?: ScheduledTasksConfig, unblockDependentsConfig?: UnblockDependentsConfig): {
4324
+ declare function resolveOrchestratorAssets(tierConfig?: AgentTierConfig, scopeGateConfig?: ScopeGateConfig, runRatioConfig?: RunRatioConfig, scheduledTasksConfig?: ScheduledTasksConfig, unblockDependentsConfig?: UnblockDependentsConfig): {
4407
4325
  readonly tiers: ReadonlyArray<ResolvedAgentTier>;
4408
4326
  readonly scopeGate: ResolvedScopeGate;
4409
4327
  readonly runRatio: ResolvedRunRatio;
4410
- readonly preflight: ResolvedPreflightPr;
4411
4328
  readonly scheduledTasks: ResolvedScheduledTasks;
4412
4329
  readonly unblockDependents: ResolvedUnblockDependents;
4413
4330
  readonly conventionsContent: string;
@@ -9431,5 +9348,5 @@ declare const COMPLETE_JOB_ID = "complete";
9431
9348
  */
9432
9349
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
9433
9350
 
9434
- 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_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, MonorepoProject, 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, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePreflightPrConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateUnblockDependentsConfig, vitestBundle };
9435
- 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, UpstreamConfigulatorConfig, VersionKey, VitestConfigOptions, VitestOptions };
9351
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, AgentConfig, ApiExtractor, AstroConfig, AstroOutput, AstroProject, AuditCategory, AuditMode, AuditSeverity, AwsCdkProject, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, AwsTeardownWorkflow, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, MonorepoProject, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, ProjectMetadata, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ResetTask, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SampleLang, StarlightProject, TestRunner, TsDocCoverageKind, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, UNKNOWN_TYPE_FALLBACK_TIER, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, industryDiscoveryBundle, jestBundle, maintenanceAuditBundle, meetingAnalysisBundle, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, 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 };
9352
+ export type { AgentConfigOptions, AgentExpansionRules, AgentFeaturesConfig, AgentModel, AgentPathsConfig, AgentPlatform, AgentPlatformOverrides, AgentProcedure, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, AgentTier, AgentTierConfig, AgentTierEntry, AnalyzeTsDocCoverageOptions, ApiDiffCheckOptions, ApiDiffFinding, ApiDiffResult, ApiExtractorOptions, ApiExtractorReportOptions, ApiSurfaceEntry, ApproveMergeUpgradeOptions, AstroConfigOptions, AstroIntegrationSpec, AstroProjectOptions, AuditCheckRunner, AuditCheckRunnerContext, AuditFinding, AuditFindingBase, AuditLocation, AuditReport, AwsAccount, AwsCdkProjectOptions, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, AwsTeardownWorkflowOptions, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CompileFencedSamplesOptions, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, CustomDocSection, DeployWorkflowOptions, DeploymentMetadata, DocReferenceRecord, EffectiveScopeThresholds, ExtractDocReferencesOptions, ExtractFencedSamplesOptions, FencedSampleRecord, FocusArea, FocusAreaMatch, FocusConfig, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, IDependencyResolver, IssueTemplatesConfig, LabelDefinition, LayoutEnforcement, LayoutViolation, LinkFailureFinding, McpServerConfig, McpTransport, MeetingArea, MeetingScope, MeetingType, MeetingTypeKind, MeetingsConfig, MergeMethod, MonorepoLayoutRoot, MonorepoProjectOptions, OrganizationMetadata, PnpmWorkspaceOptions, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, ReferenceMismatchCheckOptions, ReferenceMismatchFinding, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedIssueTemplates, ResolvedProgressFiles, ResolvedProjectMetadata, ResolvedRunRatio, ResolvedScheduledTask, ResolvedScheduledTasks, ResolvedScopeGate, ResolvedScopeGateBundleOverride, ResolvedSharedEditing, ResolvedSkillEvals, ResolvedUnblockDependents, RunRatioConfig, RunScanOptions, RunScanResult, SampleCompilationFailure, SampleFailureFinding, ScheduledTaskEntry, ScheduledTaskModel, ScheduledTaskOverride, ScheduledTasksConfig, ScopeClass, ScopeGateBundleOverride, ScopeGateConfig, ScopeGateThresholds, SharedEditingConfig, SkillEvalsConfig, SlackMetadata, SourceTierExamples, StarlightEditLink, StarlightLogo, StarlightProjectOptions, StarlightRole, StarlightSidebarItem, StarlightSingletonViolation, StarlightSocialLink, SyncLabelsOptions, TemplateResolveResult, TsDocCoverageRecord, TsdocCoverageCheckOptions, TsdocCoverageFinding, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, UnblockDependentsConfig, UpstreamConfigulatorConfig, VersionKey, VitestConfigOptions, VitestOptions };