Skip to content

v1.7 — i18n + Rename Cognik + Purity Audit

Choose a tag to compare

@int2t05 int2t05 released this 05 Sep 13:53
· 449 commits to main since this release

Highlights

🌐 Internationalization (i18n)

  • Frontend zh/en switch via next-intl (cookie-based, no [locale] URL prefix) — locale: cookie → Accept-Language → fallback Chinese; SSR renders correct locale with no hydration flash
  • GitHub display surface English-first: bilingual README & CONTRIBUTING with cross-links, bilingual Issue templates
  • Full string extraction across all portal/admin pages and shared components → messages/{zh,en}.json
  • CONTRIBUTING accepts Chinese or English commit messages; code comments stay Chinese

🏷️ Rename: Cognos → Cognik

  • Eliminated naming conflict with IBM Cognos Analytics (search visibility was severely diluted)
  • Cognik = Cognition + -ik (tech suffix) — GitHub has no same-name project, low trademark risk
  • Full rename: Go module path, env prefix (COGNOS_ → COGNIK_), brand name across 277 files
  • GitHub repo renamed (old URL auto-redirects), SEO-optimized description & README

📚 Purity Audit (16-point checklist)

  • Dead link fix: docs/design/DESIGN.md (directory removed, link not synced)
  • Embedding dimension unified across README/PRD/TECH (Qwen3@1024 / DashScope@1536, configurable)
  • admin-ops-flow.md: 5 doc/impl gaps fixed (field names, trend structure, config keys, message types)
  • knowledge-publish-flow.md: removed Review audit-log hallucination, added Disable audit+BM25 steps, fixed stale line numbers
  • 4 cross-directory dead links fixed (knowledge/ ↔ chat/)
  • Dead config field removed (COGNOS_AI_CONFIDENCE_THRESHOLD → _LOW/_HIGH)

🧹 Cleanup

  • Removed orphan shared/handler/common.go (functions inlined per-domain; domain-first layering)
  • .gitignore covers rerank model artifacts
  • Test signature fix for AutoMigrate vector-dimension parameter

Full Changelog

v1.6-release...v1.7