Repository navigation
Commit bc84ff2
committed
skills(i18n): author the generated-bundle example through defineTranslationBundle (I18N-F-01 follow-up, I18N-G-05)
check:doc-authoring (#2035, ADR-0059) refused the block: it exported a bare
`: TranslationBundle` literal, which is the one pattern that rule exists to
keep out of the published catalog. The file's own canonical example already
says to prefer the factory over a bare literal, so the block contradicted its
own package — the inconsistency audit finding I18N-G-05 recorded from the
other side (the flagship shipped example does the discouraged thing).
The factory takes the wrapped values unchanged, so the shape the block teaches
is the same one; only the authoring form is now the one the skill prescribes.
Re-driven against the real exports before and after (throwaway driver in
packages/services/service-storage typechecking the exact block against
@objectstack/spec + @objectstack/platform-objects, tsc --noEmit exit 0,
deleted in the same step with a clean tree).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt11 parent 2d550a2 commit bc84ff2
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
| 416 | + | |
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
419 | 420 | | |
420 | 421 | | |
421 | 422 | | |
422 | 423 | | |
423 | | - | |
| 424 | + | |
424 | 425 | | |
425 | 426 | | |
426 | 427 | | |
427 | 428 | | |
428 | 429 | | |
429 | 430 | | |
430 | | - | |
| 431 | + | |
431 | 432 | | |
432 | 433 | | |
433 | 434 | | |
| |||
0 commit comments