Skip to content

Generate typed messages and detect dead keys by default - #45

Merged
gregjotau merged 2 commits into
mainfrom
codex/sane-strict-defaults
Aug 22, 2026
Merged

Generate typed messages and detect dead keys by default#45
gregjotau merged 2 commits into
mainfrom
codex/sane-strict-defaults

Conversation

@gregjotau

@gregjotau gregjotau commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • generate typed message factories and validation references by default
  • fail on unused messages and fragments by default
  • treat generation as API creation, never as message usage
  • link template usage with compiled factory calls and annotation reference tokens across all production modules in the Gradle build
  • group modules that compile the same shared catalog and check it once
  • keep explicit opt-outs for migration and external open-world catalogs
  • prepare the breaking-default release as 0.8.0

Validation

  • ./gradlew clean build
  • focused tests for generated factories, dead factory detection, and inlined annotation references
  • ReAI: detected 93 dead keys across 7,893 messages; passes after removing them from both locales
  • Eteo: 388 messages, zero dead keys
  • Ecomtools: 42 messages, zero dead keys
  • Utin: no catalog, clean check

@gregjotau gregjotau changed the title Make unused validation strict by default Generate typed messages and detect dead keys by default Aug 22, 2026
@gregjotau
gregjotau merged commit 5fa963a into main Aug 22, 2026
1 check passed
@gregjotau
gregjotau deleted the codex/sane-strict-defaults branch August 22, 2026 06:14
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