Skip to content

Unsolved edge-case inventory ​

This page tracks known unsolved behavior and policy gaps. Keep entries short, concrete, and actionable.

Entry template ​

Use this shape for every new inventory item:

  • ID: stable slug, e.g. dynamic-template-partial-prefix
  • Surface: cli | json | docs | web | core
  • Status: open | monitoring | planned
  • Impact: short user-facing impact statement
  • Current behavior: what happens now
  • Target behavior: what we want
  • Workaround: if available
  • Owner / phase: where it is tracked

Current inventory ​

extractor-prose-first-arg-filter ​

  • ID: extractor-prose-first-arg-filter
  • Surface: core
  • Status: monitoring
  • Impact: Rare false positives or false negatives on the first translation-call argument when it is not a normal JS expression.
  • Current behavior: findTranslationCallSites skips calls whose trimmed first argument is two or more whitespace-separated tokens that are each ASCII [a-z]+ only (Session C.1.3). This removes common prose junk (e.g. t(or vice versa)) including inside comments for dynamic scan.
  • Target behavior: Optionally tighten or relax rules with fixtures (numbers, punctuation, Unicode prose, single-word false positives) without breaking real call shapes.
  • Workaround: Use string/template literal keys where possible; rename misleading identifiers near t( if a false positive appears.
  • Owner / phase: maintainer/phases/extractor/README.md (C.1.3); tests in packages/core/src/extractor/shared/__tests__/calls.test.ts.

extractor-reassignment-alias ​

  • ID: extractor-reassignment-alias
  • Surface: core
  • Status: shipped (HOC §A — one-hop only)
  • Impact: Translation calls made through a renamed local (const tt = t; tt('key')) were not tied to configured t without dataflow.
  • Current behavior: Same-file one-hop aliases expand into effective helpers (const tt = t, const translate = i18n.t). Helper multi-hop and ternaries are not followed. (Multi-hop key-value chains — const b = a where a is a key string — shipped via light-dataflow; that is a different pipeline.)
  • Target behavior: Optional helper multi-hop / ternaries — park until needed; may ride with ast.md. Key-value chains shipped (light-dataflow.md).
  • Workaround: (n/a for one-hop) Call under the imported name, or add a stable alias to functions.
  • Owner / phase: shipped/extractor/hoc-a.md; tests in packages/core/src/extractor/bindings/__tests__/localHelpers.test.ts.

extractor-hook-return-destructuring ​

  • ID: extractor-hook-return-destructuring
  • Surface: core
  • Status: shipped (HOC §A — preset hooks)
  • Impact: Framework patterns such as const { t } = useTranslation() (runtime return) were not resolved from imports alone when t was absent from functions.
  • Current behavior: Preset table (useTranslation / useTranslations → bind t) plus runtime named import evidence expands local t. Renamed binds (t: translate) not yet.
  • Target behavior: Optional renamed destructuring; namespace propagation remains hint-only.
  • Workaround: Include t in functions (most presets already do), or add the local alias name.
  • Owner / phase: shipped/extractor/hoc-a.md.

extractor-prop-helper-passing ​

  • ID: extractor-prop-helper-passing
  • Surface: core
  • Status: partial (HOC §B — opt-in destructuring; JSX trace parked)
  • Impact: Presentational components that only receive t as a prop (function Row({ t })) were invisible when functions listed hooks but not bare t.
  • Current behavior: extractor.hoc.enabled: true promotes matching first-param destructured props (propNames, default ['t']). Off by default.
  • Target behavior: Optional renames + JSX <Row t={t} /> tracing — later in ast.md.
  • Workaround: Include t in functions (init default), or enable extractor.hoc.
  • Owner / phase: shipped/extractor/hoc-b.md; docs config/extractor.md.

Add entries as soon as an unresolved behavior is accepted as known, even if implementation is not scheduled.