Skip to content

Commit 68c6dba

Browse files
tjpinderclaude
andcommitted
v1.10.0: HIGH-SV-METHODOLOGY-VERSIONED — also match raw HTML heading forms
Widened the rule's regex patterns to match three heading shapes instead of two: Before: ## Version (markdown) | title="Version" (Section component) After: same | <h1>...<h6> Version (raw HTML/JSX) The prior patterns matched markdown methodology pages and pages using the Section component convention (e.g. /framework/v1 and /framework/why on theintegrityframework.org). They missed pages using raw <section> + <h2>Heading</h2> JSX — which is what theintegrityframework's own /methodology page uses. The page satisfies the rule's intent (Version + Changelog headings are both present and discoverable on the page) but the regex didn't cover this third valid shape. Same calibration-fragility lesson as v1.3.0 / v1.4.0 / v1.6.0: pattern-based checks miss legitimate alternative shapes. Surfaced by theintegrityframework's own-product audit on 2026-04-29. Backwards compatible across the portfolio: - ClarityLift methodology: unchanged behavior (uses raw HTML headings; was passing on the markdown alternative; will now also match the new pattern, no impact). - adacompliancedocs methodology: passes via raw HTML headings now matched explicitly (was passing via Section title before — also unchanged). - FieldLedger methodology: passes (markdown form). - Hireposture methodology: vacuous-pass (no methodology page yet). - IdeaLift methodology: vacuous-pass. - theintegrityframework /methodology: now PASSES (was failing — the trigger for this revision). After this revision, the framework's own product passes its own rules without exception. Closes the calibration question raised by theintegrityframework's 2026-04-29 audit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2d9855f commit 68c6dba

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

manifests/base-v1.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
{
22
"$schema": "../docs/manifest-schema.md",
33
"name": "Startvest Integrity Framework — base manifest",
4-
"version": "1.9.0",
4+
"version": "1.10.0",
55
"changelog": [
6+
{
7+
"version": "1.10.0",
8+
"date": "2026-04-29",
9+
"changes": [
10+
"Widened HIGH-SV-METHODOLOGY-VERSIONED regex patterns to also match raw HTML heading forms like <h2>Version</h2> and <h2>Changelog</h2>. The prior patterns matched only markdown (## Version) and the inline-Section-component convention (title=\"Version\") used by /framework/v1 and /framework/why on theintegrityframework.org — but the directory site's own /methodology page uses raw <section><h2>Version</h2></section> JSX, which satisfies the rule's intent (Version + Changelog headings discoverable on the page) but missed the regex. Same calibration-fragility lesson as v1.3.0 / v1.4.0 / v1.6.0: filename- or markup-shape-based checks miss legitimate alternative shapes. Surfaced by theintegrityframework own-product audit at 2026-04-29. Audit log: theintegrityframework #14 (companion to v1.9.0 ADA work). Now matches: ## Heading (markdown), title=\"Heading\" (Section component), <h1>...<h6> with Heading text (raw HTML/JSX). Backwards compatible across the portfolio."
11+
]
12+
},
613
{
714
"version": "1.9.0",
815
"date": "2026-04-29",
@@ -128,7 +135,7 @@
128135
"severity": "HIGH",
129136
"title": "Public methodology page must include version + changelog when present",
130137
"why": "Hidden methodologies hide shortcuts. When a methodology page is published, it must carry a version and changelog so customers and auditors can track changes.",
131-
"fix": "Surface a Version and a Changelog heading on the methodology page. Markdown (## Version / ## Changelog) and TSX (<Section title=\"Version\"> / <Section title=\"Changelog\">) both satisfy the rule. Rule passes vacuously until the page exists.",
138+
"fix": "Surface a Version and a Changelog heading on the methodology page. Markdown (## Version / ## Changelog), TSX Section component (<Section title=\"Version\"> / <Section title=\"Changelog\">), and raw HTML/JSX headings (<h1>...<h6> with the heading text) all satisfy the rule. Rule passes vacuously until the page exists.",
132139
"researchCitation": "Startvest Trust Principles — public methodology commitment",
133140
"check": {
134141
"kind": "required-regex",
@@ -140,8 +147,8 @@
140147
"apps/*/app/methodology/**/*.{tsx,mdx,md}"
141148
],
142149
"patterns": [
143-
"##\\s*Version|title=[\"']Version[\"']",
144-
"##\\s*Changelog|title=[\"']Changelog[\"']"
150+
"##\\s*Version|title=[\"']Version[\"']|<h[1-6][^>]*>\\s*Version\\b",
151+
"##\\s*Changelog|title=[\"']Changelog[\"']|<h[1-6][^>]*>\\s*Changelog\\b"
145152
],
146153
"matchAll": true
147154
}

0 commit comments

Comments
 (0)