On this page

Development Policies

Revision 1 November 5, 2026

The woodger policies set out common principles for working with code, tests, documentation, and project maintenance. They help explain the reasons behind decisions and choose an approach suited to the current task. The documents are published here so that projects can refer to a shared source.

How to use

The change policy is a useful starting point; the other documents can be selected according to the task. Examples for a particular language, framework, or application type illustrate the principles in that context. Their use in a project follows its needs and existing decisions.

Change or Question Politics
Do I need to make an edit and how can I limit the diff? Making changes
Responsibilities and dependencies between parts of a project Architecture
Removing unused code Vitality of code
Production comments Comments
Comments in tests Comments in tests
Visual code structure Code style
Names in code and runtime Naming
Scripts, build and test pipeline Scripts and assembly
Reader tasks, document roles, and contract sources Documentation
Observability and Instrumentation Metrics
Reusable modules Isolation of abstractions
Selecting libraries Dependencies
Structure and sufficiency of tests Testing

Languages and platforms

Conventions for JavaScript, TypeScript, Node.js, Svelte, SvelteKit, and web interfaces are collected in Languages and platforms. This document complements the shared principles with technology-specific guidance and explains their scope for Python projects.

Standard limits

The policies set out working principles. A project's code, contracts, and documentation describe its particular architecture, APIs, data formats, URLs, configuration, infrastructure, and commands. Changes to those decisions are considered within a task for that project.

If there is a discrepancy, keep the current contract and report the conflict. The scope clarification is added to the overall standard rather than to a separate copy of the project policy. Explicit instructions from the owner regarding the current task take precedence.

Justified exceptions

Exceptions to the standard's rules are allowed when justified. The justification must appear in a code comment next to the affected code. The comment must identify the rule and explain why an exception is justified at that location.

Project connection

The project documentation uses the same link:

Политики разработки: [единый стандарт woodger](https://woodger.org/development).

In the instructions for the agent, indicate the same entry point and the need to read the rules before work. Nearby there are links to the architecture and instructions of a specific repository. Local sections with copies of general policies are deleted after all project contracts have been migrated and incoming references have been corrected.

Editions and sources

HTML pages and Markdown have the same source: the content/development files in the site repository. The Markdown of each page is available under the "Original Markdown" link. Full standard allows you to read all policies in one request.

The change in normative meaning is accompanied by a new entry in editorial histories. Migrating documentation itself does not require massive renaming, formatting, or rewriting of working code.