schema: spec-driven context: | Language: Russian All artifacts must be written in Russian. Keep OpenSpec structural headings and SHALL/MUST keywords in English. ChessPenguin is an existing local chess application. Before planning or applying a change, read AGENTS.md, docs/dev/tasks.md, docs/decisions.md and docs/architecture.md. Confirmed owner decisions outrank research and proposals. OpenSpec proposals are not owner decisions until the owner explicitly approves them. Existing research, design and QA documents are history and evidence, not a bulk import source for canonical specs. Build openspec/specs incrementally, only for capabilities touched by new changes. rules: proposal: - State the verified current behavior, the proposed change and explicit out-of-scope boundaries. - For product choices, present options with a recommendation and cost; never record the recommendation as an owner decision. - Link relevant existing tasks, decisions, research, design and QA instead of duplicating their history. specs: - Write observable, independently testable requirements and scenarios, including errors and compatibility boundaries when relevant. - Preserve AGENTS.md product invariants and existing confirmed decisions. - Do not turn unverified behavior, rejected alternatives or historical QA results into current requirements. tasks: - Assign concrete verification commands and behavioral scenarios; never mark an unrun check as passed. - For UI changes, require an independent design reviewer who did not implement the UI and real application screenshots. - Require independent functional QA and updates to docs/dev/tasks.md and, for substantial decisions, docs/decisions.md. - Keep platform-specific checks pending when the required platform or SDK is unavailable; do not archive them as completed. operations: apply: guidance: - Follow the existing orchestrator and role profiles; parallel agents must own non-overlapping files. - Check off a task only after its implementation and stated verification are complete; preserve original user files and PGN. - Keep docs/qa as dated evidence and distinguish implemented, verified, recommended and awaiting owner input. archive: guidance: - Run validate --strict after artifact edits and before archiving; investigate findings instead of bypassing them. - Archive only after independent functional QA and, for UI, independent visual acceptance with real screenshots. - Do not archive when mandatory platform checks remain unrun or requirements are merely implemented but unverified. - Sync only accepted and verified behavior into canonical specs; leave rejected proposals and historical evidence outside specs.