Skip to content

fix(fullstack): sonarcloud quality gate + remove ITACA fetcher + dual-track roadmap - #369

Merged
GiZano merged 7 commits into
mainfrom
fix/sonar-gate-and-roadmap
Aug 17, 2026
Merged

fix(fullstack): sonarcloud quality gate + remove ITACA fetcher + dual-track roadmap#369
GiZano merged 7 commits into
mainfrom
fix/sonar-gate-and-roadmap

Conversation

@GiZano

@GiZano GiZano commented Aug 17, 2026

Copy link
Copy Markdown
Owner

What

Single PR closing the SonarCloud quality gate (red after 3036774) and aligning the site roadmap with ROADMAP.md.

1. chore(quality): exclude docs/ from sonarcloud analysis

docs/web/** and docs/whitepaper/** excluded from SonarCloud: they mirror the site artifacts (GiZano.github.io), not QuakeGuard code. Clears 4 issues + the CPD duplication of the EN/IT dict introduced by the previous commit (CSP unsafe-inline, accessibility, <a> onKeyDown).

2. refactor(research): drop ITACA fetcher, keep synthetic generator

  • research/fetch_itaca.py removed: dead ITACA code (ItacaFetcher, download_catalog, CLI, ITACA_TOKEN logic — all NotImplementedError). Removes the path-injection vulnerability (S8707) at line 228.
  • Synthetic generator (RealisticSynthetic, build_synthetic_dataset) moved to research/synthetic.py, now the canonical provider; CLI unchanged for the SIL smoke test in iot-ci.yml.
  • __init__.py + README.md updated: ESM remains documented as the remaining real-data path to close R1 (no obspy for now).

3. docs(web): dual-track roadmap aligned with ROADMAP.md

  • "See the detailed roadmap" button → ROADMAP.md on GitHub.
  • Development column: + v1.2.0 Released, v1.2.1 · Current (Geo-Zoning & Cooldown Fragmentation, GNSS-ready), v1.2.2 = Zero-Trust Serial Fallback (USB), v1.3 aligned.
  • Research column: R1 · Done / R2 · Next / R3 · Planned.
  • EN/IT mirror in the JS dict.

Verification

  • ruff check research/ — no new errors
  • SIL smoke test: synthetic.py + calibrate.py ✓
  • node --check + EN/IT key parity (185 = 185)
  • All data-i18n keys present in the dict

@GiZano
GiZano requested a review from riccardo0731 as a code owner August 17, 2026 13:29
@GiZano GiZano changed the title fix: sonarcloud quality gate + remove ITACA fetcher + dual-track roadmap fix(fullstack): sonarcloud quality gate + remove ITACA fetcher + dual-track roadmap Aug 17, 2026
@GiZano
GiZano force-pushed the fix/sonar-gate-and-roadmap branch from 49a3baf to af875b5 Compare August 17, 2026 13:45
GiZano added 7 commits August 17, 2026 16:00
… sync

- Move whitepaper Typst sources into docs/whitepaper/
- Add docs/web/ as single source of truth for the QuakeGuard page
- Bump page content to v1.2.1 (Geo-Zoning & GNSS-Ready) in EN/IT dicts
- Update release.svg badge to v1.2.1
- Add deploy-gh-pages.yml workflow syncing docs/web to GiZano.github.io
The site dictionary previously nested separate en/ it objects with the same
keys in the same order, which SonarCloud CPD flagged as duplication between
the two halves of the EN/IT dict. Keep the same I18N_DATA.en/.it interface
for the site's i18n engine, but author each key once as { en, it } and build
the en/it views at load time — the duplication disappears by construction.
@GiZano
GiZano force-pushed the fix/sonar-gate-and-roadmap branch from ecafe9c to bc6f9ad Compare August 17, 2026 14:00
@sonarqubecloud

Copy link
Copy Markdown

@GiZano
GiZano merged commit d5d434c into main Aug 17, 2026
7 checks passed
@GiZano
GiZano deleted the fix/sonar-gate-and-roadmap branch August 17, 2026 16:29
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