Skip to content

Stop presenting static demo as full translation - #53

Merged
simongonzalezdc merged 1 commit into
mainfrom
fix-website-demo-reality
Apr 22, 2026
Merged

simongonzalezdc merged 1 commit into
mainfrom
fix-website-demo-reality

Conversation

@simongonzalezdc

Copy link
Copy Markdown
Member

Summary

  • relabel the GitHub Pages sample as a static dialect rule explorer, not a full translator
  • remove the false "already compatible" no-change claim and replace it with a certification warning
  • add a docs contract test and wire it into pnpm test
  • refresh stale landing-page stats and supported dialect count

Root cause

The browser page was the static generated docs/dialectos-engine.js rule table, but the UI called it a translator and treated zero substitutions as proof the input was compatible with the target dialect. Short inputs outside the rule table therefore looked like broken product behavior.

Verification

  • node --test docs/__tests__/*.test.mjs
  • pnpm build
  • pnpm test
  • pnpm audit --audit-level low
  • npm pack dry-run guard for all publishable packages

The GitHub Pages demo is a deterministic browser-side rule explorer, not the LLM-backed certification engine. Its previous wording promised translation and claimed no-change text was compatible, which made short inputs look like product failures instead of rule-table misses.

Constraint: GitHub Pages demo must remain static/offline.

Rejected: Wire cloud LLM calls directly from browser | would expose provider keys and bypass certification controls

Confidence: high

Scope-risk: narrow

Directive: Do not call this page a translator unless it is backed by certified LLM/provider execution.

Tested: node --test docs/__tests__/*.test.mjs; pnpm build; pnpm test; pnpm audit --audit-level low; npm pack dry-run guard
@kilo-code-bot

kilo-code-bot Bot commented Apr 22, 2026 •

Copy link
Copy Markdown

Code Review Roast 🔥

Verdict: No Issues Found | Recommendation: Merge

Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything.

This is a rare "actually fixes the problem" PR:

  • The misleading "translator" language is gone — replaced with honest "rule explorer" messaging
  • The lying "already compatible" claim is now a proper certification warning
  • Test count went from 700 → 701, dialect count from 20 → 25, and the new 3-test contract catches regressions

The disconnect between what the static demo does (deterministic word substitution) and what users expected (actual translation) is now properly documented. The MQM-aligned certification workflow is linked. Even the landing page stats are accurate now.

📊 Overall: Like finding a unicorn in production — I didn't think honest marketing existed anymore, but here we are.

Files Reviewed (5 files)
  • README.md - test count updates
  • docs/index.html - relabeled as rule explorer
  • docs/__tests__/demo-contract.test.mjs - new contract tests
  • index.html - landing page updates
  • package.json - wired in new test file

Reviewed by minimax-m2.5 · 211,025 tokens

@simongonzalezdc
simongonzalezdc merged commit c03718b into main Apr 22, 2026
6 checks passed
@simongonzalezdc
simongonzalezdc deleted the fix-website-demo-reality branch April 22, 2026 15:42
simongonzalezdc added a commit that referenced this pull request Nov 11, 2026
Brings GitHub main level with Forgejo main (ef214e5), the canonical
repo, so GitHub carries what v0.3.2 is cut from.

- **Roast fixes:** dictionary accents and meaning-safe swaps (#50),
accented words in the register, voseo, gender and grammar checks (#51),
the file sandbox and patched dependencies (#52), honest claims and a
pinned toolchain (#53), and adjective agreement, MCP vosotros parity,
the real engine in the demo, and no more "first" claim (#55).
- **Branding:** the Hermes plugin icon (#54).
- **Release:** every version and install path moves to 0.3.2 (#56).
- **Security:** the voseo quote regex CodeQL flagged on this PR now runs
in linear time (#57).
- **Pages:** `docs/CNAME` is removed. The site already serves from
kyanitelabs.github.io/DialectOS/ without a redirect.

After this merges, both mains have the same files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01RXhEX6WJsRZUyGhsp5WgGe

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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