Russian normative keywords in specs written in Russian

Abierto
#2,210 1 comentario 3 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
76k
Forks
5.2k
Merge medio
1 d 5 h
PR fusionados (30 d)
58

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Fission-AI/OpenSpec

Todos los issues de Fission-AI/OpenSpec

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.