@codedrifters/configulator 0.0.293 → 0.0.294
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 +65 -2
- package/lib/index.d.ts +65 -2
- package/lib/index.js +21 -0
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +21 -0
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -1684,7 +1684,11 @@ interface ScopeGateConfig {
|
|
|
1684
1684
|
* phase-completion checklist that can be decomposed — clear the
|
|
1685
1685
|
* gate even when their AC count is well above the global cap.
|
|
1686
1686
|
*
|
|
1687
|
-
* Configulator ships
|
|
1687
|
+
* Configulator ships eight opt-in defaults out of the box —
|
|
1688
|
+
* each calibrated against an observed cohort of phase-template
|
|
1689
|
+
* issues whose AC list is the per-section content checklist for
|
|
1690
|
+
* one cohesive deliverable rather than a phase-completion
|
|
1691
|
+
* checklist that can be decomposed:
|
|
1688
1692
|
*
|
|
1689
1693
|
* - `req:write` — formal requirement documents (ADR / TR / OPS /
|
|
1690
1694
|
* SEC / NFR / UX / MT) routinely carry 12–20 ACs covering
|
|
@@ -1694,6 +1698,30 @@ interface ScopeGateConfig {
|
|
|
1694
1698
|
* addendum requirements into coarse ACs but still land above
|
|
1695
1699
|
* the global cap. Default override:
|
|
1696
1700
|
* `{ acceptanceCriteria: { mediumMax: 12 } }` (sources unchanged).
|
|
1701
|
+
* - `research:verify` — fixed-shape verify template emitted by
|
|
1702
|
+
* the `research-analyst` slice phase (uniformly `ac=9 / src=2`
|
|
1703
|
+
* in the wild). Default override:
|
|
1704
|
+
* `{ acceptanceCriteria: { mediumMax: 12 } }` (sources unchanged).
|
|
1705
|
+
* - `software:profile` — single software-product profile pages
|
|
1706
|
+
* with per-section content invariants. Default override:
|
|
1707
|
+
* `{ acceptanceCriteria: { mediumMax: 14 } }` (sources unchanged).
|
|
1708
|
+
* - `regulatory:research` — single regulation pages covering
|
|
1709
|
+
* jurisdiction, scope, obligations, penalties, and effective
|
|
1710
|
+
* dates. Default override:
|
|
1711
|
+
* `{ acceptanceCriteria: { mediumMax: 10 } }` (sources unchanged).
|
|
1712
|
+
* - `software:map` — single capability-mapping matrix file whose
|
|
1713
|
+
* Sources block typically cross-references the entire BCM tree
|
|
1714
|
+
* slice. Default override:
|
|
1715
|
+
* `{ acceptanceCriteria: { mediumMax: 12 }, sources: { mediumMax: 15 } }`.
|
|
1716
|
+
* - `bcm:connect` — connect-phase outputs that cross-link a
|
|
1717
|
+
* capability to upstream value streams, downstream profiles,
|
|
1718
|
+
* and adjacent capabilities. Default override:
|
|
1719
|
+
* `{ acceptanceCriteria: { mediumMax: 12 }, sources: { mediumMax: 8 } }`.
|
|
1720
|
+
* - `software:matrix` — physician-RCM-style feature matrices
|
|
1721
|
+
* (per-row/per-column requirements for one cohesive matrix
|
|
1722
|
+
* file). Mirrors `software:map` (closest peer). Default
|
|
1723
|
+
* override:
|
|
1724
|
+
* `{ acceptanceCriteria: { mediumMax: 12 }, sources: { mediumMax: 15 } }`.
|
|
1697
1725
|
*
|
|
1698
1726
|
* Consumer overrides **deep-merge** with the shipped defaults
|
|
1699
1727
|
* with **consumer-wins-per-key**:
|
|
@@ -4016,7 +4044,7 @@ declare const DEFAULT_SOURCES_THRESHOLDS: ScopeGateThresholds;
|
|
|
4016
4044
|
* calibrated for phased-bundle issues and systematically over-flags
|
|
4017
4045
|
* single-document writes.
|
|
4018
4046
|
*
|
|
4019
|
-
* The
|
|
4047
|
+
* The shipped overrides:
|
|
4020
4048
|
*
|
|
4021
4049
|
* - `req:write` — formal requirement documents (ADR / TR / OPS /
|
|
4022
4050
|
* SEC / NFR / UX / MT) routinely carry 12–20 ACs covering
|
|
@@ -4027,6 +4055,41 @@ declare const DEFAULT_SOURCES_THRESHOLDS: ScopeGateThresholds;
|
|
|
4027
4055
|
* addendum requirements into coarse ACs but still land above
|
|
4028
4056
|
* the global cap. Cap: `mediumMax: 12` on the AC axis; sources
|
|
4029
4057
|
* unchanged.
|
|
4058
|
+
* - `research:verify` — the `research-analyst` slice phase emits
|
|
4059
|
+
* a fixed-shape verify template. A 32-issue cohort observed in
|
|
4060
|
+
* `codedrifters/openhi-planning` (2026-05-04) all landed at
|
|
4061
|
+
* identical `ac=9 / src=2` dimensions, so the template's shape
|
|
4062
|
+
* itself is what trips the global cap. Cap: `mediumMax: 12` on
|
|
4063
|
+
* the AC axis (max observed 9 + ~3 headroom); sources unchanged.
|
|
4064
|
+
* - `software:profile` — software-product profile pages enumerate
|
|
4065
|
+
* per-section content invariants (overview, vendor, integrations,
|
|
4066
|
+
* pricing, security posture, …). Max observed 11 ACs in the same
|
|
4067
|
+
* openhi-planning sample; cap: `mediumMax: 14` on the AC axis
|
|
4068
|
+
* (max observed + 3 headroom); sources unchanged.
|
|
4069
|
+
* - `regulatory:research` — single regulation pages carry per-
|
|
4070
|
+
* section ACs covering jurisdiction, scope, obligations,
|
|
4071
|
+
* penalties, and effective dates. Max observed 7 ACs; cap:
|
|
4072
|
+
* `mediumMax: 10` on the AC axis (max observed + 3 headroom);
|
|
4073
|
+
* sources unchanged.
|
|
4074
|
+
* - `software:map` — capability-mapping output is a single cohesive
|
|
4075
|
+
* matrix file whose ACs enumerate per-row/per-column requirements
|
|
4076
|
+
* and whose Sources block typically cross-references the entire
|
|
4077
|
+
* BCM tree slice. Max observed `ac=9 / src=13`; cap:
|
|
4078
|
+
* `acceptanceCriteria.mediumMax: 12` (max + 3) and
|
|
4079
|
+
* `sources.mediumMax: 15` (max + 2 — sources headroom is tighter
|
|
4080
|
+
* because BCM cross-refs naturally cap out near the slice size).
|
|
4081
|
+
* - `bcm:connect` — connect-phase outputs cross-link a capability
|
|
4082
|
+
* to upstream value streams, downstream profiles, and adjacent
|
|
4083
|
+
* capabilities. Max observed `ac=9 / src=6`; cap:
|
|
4084
|
+
* `acceptanceCriteria.mediumMax: 12` (max + 3) and
|
|
4085
|
+
* `sources.mediumMax: 8` (max + 2).
|
|
4086
|
+
* - `software:matrix` — physician-RCM-style feature matrices
|
|
4087
|
+
* (per-row/per-column requirements for one cohesive matrix
|
|
4088
|
+
* file). The shape mirrors `software:map`: single-cohesive-
|
|
4089
|
+
* file matrix output whose ACs enumerate per-row/per-column
|
|
4090
|
+
* requirements rather than phase milestones. Mirrors the
|
|
4091
|
+
* `software:map` thresholds verbatim (closest-peer rationale,
|
|
4092
|
+
* surfaced by openhi-planning#3223).
|
|
4030
4093
|
*
|
|
4031
4094
|
* Consumer overrides deep-merge with these defaults with
|
|
4032
4095
|
* consumer-wins-per-key (see `resolveScopeGate` for the merge
|
package/lib/index.d.ts
CHANGED
|
@@ -1733,7 +1733,11 @@ interface ScopeGateConfig {
|
|
|
1733
1733
|
* phase-completion checklist that can be decomposed — clear the
|
|
1734
1734
|
* gate even when their AC count is well above the global cap.
|
|
1735
1735
|
*
|
|
1736
|
-
* Configulator ships
|
|
1736
|
+
* Configulator ships eight opt-in defaults out of the box —
|
|
1737
|
+
* each calibrated against an observed cohort of phase-template
|
|
1738
|
+
* issues whose AC list is the per-section content checklist for
|
|
1739
|
+
* one cohesive deliverable rather than a phase-completion
|
|
1740
|
+
* checklist that can be decomposed:
|
|
1737
1741
|
*
|
|
1738
1742
|
* - `req:write` — formal requirement documents (ADR / TR / OPS /
|
|
1739
1743
|
* SEC / NFR / UX / MT) routinely carry 12–20 ACs covering
|
|
@@ -1743,6 +1747,30 @@ interface ScopeGateConfig {
|
|
|
1743
1747
|
* addendum requirements into coarse ACs but still land above
|
|
1744
1748
|
* the global cap. Default override:
|
|
1745
1749
|
* `{ acceptanceCriteria: { mediumMax: 12 } }` (sources unchanged).
|
|
1750
|
+
* - `research:verify` — fixed-shape verify template emitted by
|
|
1751
|
+
* the `research-analyst` slice phase (uniformly `ac=9 / src=2`
|
|
1752
|
+
* in the wild). Default override:
|
|
1753
|
+
* `{ acceptanceCriteria: { mediumMax: 12 } }` (sources unchanged).
|
|
1754
|
+
* - `software:profile` — single software-product profile pages
|
|
1755
|
+
* with per-section content invariants. Default override:
|
|
1756
|
+
* `{ acceptanceCriteria: { mediumMax: 14 } }` (sources unchanged).
|
|
1757
|
+
* - `regulatory:research` — single regulation pages covering
|
|
1758
|
+
* jurisdiction, scope, obligations, penalties, and effective
|
|
1759
|
+
* dates. Default override:
|
|
1760
|
+
* `{ acceptanceCriteria: { mediumMax: 10 } }` (sources unchanged).
|
|
1761
|
+
* - `software:map` — single capability-mapping matrix file whose
|
|
1762
|
+
* Sources block typically cross-references the entire BCM tree
|
|
1763
|
+
* slice. Default override:
|
|
1764
|
+
* `{ acceptanceCriteria: { mediumMax: 12 }, sources: { mediumMax: 15 } }`.
|
|
1765
|
+
* - `bcm:connect` — connect-phase outputs that cross-link a
|
|
1766
|
+
* capability to upstream value streams, downstream profiles,
|
|
1767
|
+
* and adjacent capabilities. Default override:
|
|
1768
|
+
* `{ acceptanceCriteria: { mediumMax: 12 }, sources: { mediumMax: 8 } }`.
|
|
1769
|
+
* - `software:matrix` — physician-RCM-style feature matrices
|
|
1770
|
+
* (per-row/per-column requirements for one cohesive matrix
|
|
1771
|
+
* file). Mirrors `software:map` (closest peer). Default
|
|
1772
|
+
* override:
|
|
1773
|
+
* `{ acceptanceCriteria: { mediumMax: 12 }, sources: { mediumMax: 15 } }`.
|
|
1746
1774
|
*
|
|
1747
1775
|
* Consumer overrides **deep-merge** with the shipped defaults
|
|
1748
1776
|
* with **consumer-wins-per-key**:
|
|
@@ -4065,7 +4093,7 @@ declare const DEFAULT_SOURCES_THRESHOLDS: ScopeGateThresholds;
|
|
|
4065
4093
|
* calibrated for phased-bundle issues and systematically over-flags
|
|
4066
4094
|
* single-document writes.
|
|
4067
4095
|
*
|
|
4068
|
-
* The
|
|
4096
|
+
* The shipped overrides:
|
|
4069
4097
|
*
|
|
4070
4098
|
* - `req:write` — formal requirement documents (ADR / TR / OPS /
|
|
4071
4099
|
* SEC / NFR / UX / MT) routinely carry 12–20 ACs covering
|
|
@@ -4076,6 +4104,41 @@ declare const DEFAULT_SOURCES_THRESHOLDS: ScopeGateThresholds;
|
|
|
4076
4104
|
* addendum requirements into coarse ACs but still land above
|
|
4077
4105
|
* the global cap. Cap: `mediumMax: 12` on the AC axis; sources
|
|
4078
4106
|
* unchanged.
|
|
4107
|
+
* - `research:verify` — the `research-analyst` slice phase emits
|
|
4108
|
+
* a fixed-shape verify template. A 32-issue cohort observed in
|
|
4109
|
+
* `codedrifters/openhi-planning` (2026-05-04) all landed at
|
|
4110
|
+
* identical `ac=9 / src=2` dimensions, so the template's shape
|
|
4111
|
+
* itself is what trips the global cap. Cap: `mediumMax: 12` on
|
|
4112
|
+
* the AC axis (max observed 9 + ~3 headroom); sources unchanged.
|
|
4113
|
+
* - `software:profile` — software-product profile pages enumerate
|
|
4114
|
+
* per-section content invariants (overview, vendor, integrations,
|
|
4115
|
+
* pricing, security posture, …). Max observed 11 ACs in the same
|
|
4116
|
+
* openhi-planning sample; cap: `mediumMax: 14` on the AC axis
|
|
4117
|
+
* (max observed + 3 headroom); sources unchanged.
|
|
4118
|
+
* - `regulatory:research` — single regulation pages carry per-
|
|
4119
|
+
* section ACs covering jurisdiction, scope, obligations,
|
|
4120
|
+
* penalties, and effective dates. Max observed 7 ACs; cap:
|
|
4121
|
+
* `mediumMax: 10` on the AC axis (max observed + 3 headroom);
|
|
4122
|
+
* sources unchanged.
|
|
4123
|
+
* - `software:map` — capability-mapping output is a single cohesive
|
|
4124
|
+
* matrix file whose ACs enumerate per-row/per-column requirements
|
|
4125
|
+
* and whose Sources block typically cross-references the entire
|
|
4126
|
+
* BCM tree slice. Max observed `ac=9 / src=13`; cap:
|
|
4127
|
+
* `acceptanceCriteria.mediumMax: 12` (max + 3) and
|
|
4128
|
+
* `sources.mediumMax: 15` (max + 2 — sources headroom is tighter
|
|
4129
|
+
* because BCM cross-refs naturally cap out near the slice size).
|
|
4130
|
+
* - `bcm:connect` — connect-phase outputs cross-link a capability
|
|
4131
|
+
* to upstream value streams, downstream profiles, and adjacent
|
|
4132
|
+
* capabilities. Max observed `ac=9 / src=6`; cap:
|
|
4133
|
+
* `acceptanceCriteria.mediumMax: 12` (max + 3) and
|
|
4134
|
+
* `sources.mediumMax: 8` (max + 2).
|
|
4135
|
+
* - `software:matrix` — physician-RCM-style feature matrices
|
|
4136
|
+
* (per-row/per-column requirements for one cohesive matrix
|
|
4137
|
+
* file). The shape mirrors `software:map`: single-cohesive-
|
|
4138
|
+
* file matrix output whose ACs enumerate per-row/per-column
|
|
4139
|
+
* requirements rather than phase milestones. Mirrors the
|
|
4140
|
+
* `software:map` thresholds verbatim (closest-peer rationale,
|
|
4141
|
+
* surfaced by openhi-planning#3223).
|
|
4079
4142
|
*
|
|
4080
4143
|
* Consumer overrides deep-merge with these defaults with
|
|
4081
4144
|
* consumer-wins-per-key (see `resolveScopeGate` for the merge
|
package/lib/index.js
CHANGED
|
@@ -12229,6 +12229,27 @@ var DEFAULT_BUNDLE_OVERRIDES = {
|
|
|
12229
12229
|
},
|
|
12230
12230
|
"bcm:scaffold": {
|
|
12231
12231
|
acceptanceCriteria: { smallMax: 3, mediumMax: 12 }
|
|
12232
|
+
},
|
|
12233
|
+
"research:verify": {
|
|
12234
|
+
acceptanceCriteria: { smallMax: 3, mediumMax: 12 }
|
|
12235
|
+
},
|
|
12236
|
+
"software:profile": {
|
|
12237
|
+
acceptanceCriteria: { smallMax: 3, mediumMax: 14 }
|
|
12238
|
+
},
|
|
12239
|
+
"regulatory:research": {
|
|
12240
|
+
acceptanceCriteria: { smallMax: 3, mediumMax: 10 }
|
|
12241
|
+
},
|
|
12242
|
+
"software:map": {
|
|
12243
|
+
acceptanceCriteria: { smallMax: 3, mediumMax: 12 },
|
|
12244
|
+
sources: { smallMax: 2, mediumMax: 15 }
|
|
12245
|
+
},
|
|
12246
|
+
"bcm:connect": {
|
|
12247
|
+
acceptanceCriteria: { smallMax: 3, mediumMax: 12 },
|
|
12248
|
+
sources: { smallMax: 2, mediumMax: 8 }
|
|
12249
|
+
},
|
|
12250
|
+
"software:matrix": {
|
|
12251
|
+
acceptanceCriteria: { smallMax: 3, mediumMax: 12 },
|
|
12252
|
+
sources: { smallMax: 2, mediumMax: 15 }
|
|
12232
12253
|
}
|
|
12233
12254
|
};
|
|
12234
12255
|
var DEFAULT_DECOMPOSITION_TEMPLATE = [
|