Russian normative keywords in specs written in Russian

Aperta
#2,210 1 commento 3 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start with issue #840 and its comment describing the Russian keyword forms; this issue leaves the mechanism unsettled and depends on that work. Review the registry proposal and the existing strict validation warning, then identify the tests and documentation paths from that implementation. Done means Russian normative forms work with strict validation when the project language is ru, with tests and a short docs update.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The problem, in one or two sentences

A spec written in Russian cannot use strict validation. The prose may be Russian, but the normative keyword has to be SHALL or MUST, so --strict fails on the RFC 2119 guidance warning.

Who this affects

Russian-speaking teams, and more generally anyone whose requirement text is reviewed by non-English stakeholders.

Alternatives you considered

Setting the language in config.yaml (docs/multi-language.md) gives Russian prose, but leaves the keyword requirement unchanged, so the choice is mixed-script sentences like "Система SHALL сохранять черновик при разрыве связи" or no strict mode at all. #1502 removed the hard failure in normal validation; strict still fails on the same warning.

Why it's worth the added complexity

If the keyword registry from #840 lands, Russian costs one entry: a literal list of forms plus tests and a short docs block, with no parser, schema, CLI-shape or dependency changes. For people who do not need it, the cost is nil - the entry only activates when the project language is ru.

What you have in mind

Nothing settled, and I am not proposing a mechanism of my own. The shape depends on what #840 decides; the details of the Russian forms are in a comment there.

If the approach fits, I would like to write the fix and will wait for an invitation here, as CONTRIBUTING describes.

Lingua principale
TypeScript
Stelle
76k
Fork
5.2k
Merge medio
1g 5h
PR unite (30g)
58

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Fission-AI/OpenSpec

Tutte le issue di Fission-AI/OpenSpec

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.