Skip to content

feat(site): widen /dtc coverage from 13 curated codes to every grounded code - #397

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/dtc-coverage-expansion
Nov 27, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/dtc-coverage-expansion

Conversation

@ohgeeceee

Copy link
Copy Markdown
Owner

What changed

Tier A — frontend/, scripts/, one docs file, new backend tests. No app code, no Rust, no protocol surface.

The September release plan listed 28 broken /dtc/* and /engines/* links as the site's biggest remaining piece. Verification first: that backlog is already closed — PR #355 shipped the generator and the pages, and test-github-pages-build.cjs reports zero missing content links on main. What is actually thin is coverage: the app documents 288 codes but the site had pages for a curated 13.

This PR widens /dtc/ from 13 curated codes to every code with grounded data — 220 pages:

  • scripts/gen-content-pages.py: the featured set is now dim01 research seed ∪ community opinions ∪ legacy curated 13. The legacy set is kept so the SAE-code pages the site has always linked (P0171, U0100, …) stay up where dim01 doesn't carry them. A code without a grounded row gets no page — nothing is invented.
  • The DTC index regroups by system (Airbag → VANOS) with a "Community repair opinions" strip for the 6 codes that carry DIY/indie/dealer repair paths; counts are now dynamic instead of hardcoded (211 community hex codes, Updated October 2026 → derived from the catalogue and TODAY/STAMP_MONTH constants).
  • The generator now owns only the /dtc/ block of sitemap.xml (deterministic rewrite, lastmod = TODAY); the rest of the sitemap stays hand-maintained.
  • TODAY bumped 2026-10-11 → 2026-11-27, so every generated page's date stamp advances (the only change to engine/hub/guide pages — verified by diff).
  • New backend/tests/test_gen_content_pages.py (5 tests) pins the coverage contract: every grounded code gets a page, no ungrounded code sneaks in, every featured code has title/severity/section, and the index links each code exactly once (twice for codes with opinions).
  • test-github-pages-build.cjs comment refreshed — the "~28 planned pages" backlog it described no longer exists.
  • docs/product_calendar.md: January beat re-baselined to the honest remainder — repair-path depth (6 of 220 codes have opinions files; 10 have schematic cross-links).

Verification

  • node scripts/test-github-pages-build.cjs: publishable, zero missing content links, zero missing assets across the now ~250-page artifact.
  • Generator is deterministic: re-running produces byte-identical output (git status unchanged).
  • python -m pytest backend/tests/test_gen_content_pages.py: 5/5 pass.
  • Full JS suite: 1150 tests, 1148 pass, 1 deliberate skip; the 1 failure (version_surface Cargo.lock CRLF read) reproduces on a clean origin/main — pre-existing, Windows-only.
  • Headless-Chromium spot check over a local HTTP server (/dtc/index.html, /dtc/29CD.html, /dtc/P0171.html): renders, no console errors. (The repo has no committed site-sweep script; the static link/asset check in test-github-pages-build.cjs covers every shipped page.)

Notes

  • The by-engine sets (N54/B58) stay as authored — which codes belong to which engine is a content claim needing its own sourcing, out of scope here.
  • No SAE-only pages beyond the legacy set: generic P/B/C/U codes remain served by the known-codes browser and DTC decoder tools; the page format adds value where BMW-specific grounding exists.

…ed code

- gen-content-pages.py: featured set is now dim01 research seed ∪ community
  opinions ∪ the legacy curated 13 (kept so long-linked SAE pages stay up).
  220 one-page-per-code write-ups, index grouped by system with a repair-
  opinions strip, dynamic counts, TODAY bumped to 2026-11-27.
- The generator now owns the /dtc/ block of sitemap.xml (deterministic;
  the rest of the sitemap stays hand-maintained).
- New backend/tests/test_gen_content_pages.py pins the coverage contract:
  every grounded code gets a page, no ungrounded code sneaks in, every
  featured code has title/severity/section, the index links each code
  exactly once (twice with opinions).
- test-github-pages-build.cjs comment refreshed: the ~28-link backlog it
  described closed in PR #355.
- docs/product_calendar.md: January beat re-baselined — the generator and
  link backlog are done; what remains thin is repair-path depth (6 of 220
  codes have opinions files).
@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: e87c20e0933e047b632e9e95b8ccbefab52d5ba5

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 247 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: e87c20e0933e047b632e9e95b8ccbefab52d5ba5

PR taxonomy review recommended (neutral)

Detected 1 PR taxonomy bucket(s): CI/CD Recommendation.

Scanned 247 changed file(s).

Roadmap taxonomy buckets:

CI/CD Recommendation

CI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work.

Signals:

  • Regression coverage may lag behind the diff
  • User-facing UI changes may ship without browser coverage
  • CI workflow changes may ship without failure-mode evidence
  • 0 CI or workflow path(s) changed

Paths:

  • backend/tests/test_gen_content_pages.py
  • scripts/gen-content-pages.py
  • scripts/test-github-pages-build.cjs

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: e87c20e0933e047b632e9e95b8ccbefab52d5ba5

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 247 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: e87c20e0933e047b632e9e95b8ccbefab52d5ba5

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 247 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

…-expansion

Conflicts: changelog.html / roadmap.html regenerated by the generator on the
merged tree (v5.1.0 content + November date stamps); gen-content-pages.py
meta conflict resolved to STAMP_MONTH + v5.1.0.
@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: b1cd6b74bfbcfd0094f11e28e93d1d639e7182f8

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 247 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: b1cd6b74bfbcfd0094f11e28e93d1d639e7182f8

PR taxonomy review recommended (neutral)

Detected 1 PR taxonomy bucket(s): CI/CD Recommendation.

Scanned 247 changed file(s).

Roadmap taxonomy buckets:

CI/CD Recommendation

CI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work.

Signals:

  • Regression coverage may lag behind the diff
  • User-facing UI changes may ship without browser coverage
  • CI workflow changes may ship without failure-mode evidence
  • 0 CI or workflow path(s) changed

Paths:

  • backend/tests/test_gen_content_pages.py
  • scripts/gen-content-pages.py
  • scripts/test-github-pages-build.cjs

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: b1cd6b74bfbcfd0094f11e28e93d1d639e7182f8

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 247 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: b1cd6b74bfbcfd0094f11e28e93d1d639e7182f8

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 247 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@github-actions
github-actions Bot merged commit 1005cea into main Nov 27, 2026
17 checks passed
@github-actions
github-actions Bot deleted the feat/dtc-coverage-expansion branch November 27, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant