Russian normative keywords in specs written in Russian

未关闭
#2,210 1 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
typescript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
76k
派生
5.2k
平均合并
1 天 5 小时
30 天内合并 PR
58

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Fission-AI/OpenSpec 的其他 Issue

查看 Fission-AI/OpenSpec 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。