On this page
Revision 1 November 5, 2026 change-policy.md

Change Policy

Type: Policy. How to limit editing to the minimum required amount.

Connecting a change to its task

Work starts with the result the user needs. For each proposed edit, it helps to identify which requirement it serves, which parts of the project it affects, and whether a smaller change would solve the task. Existing code and observable behavior provide the starting point until project evidence shows a reason to change them.

This makes it easier to distinguish necessary work from an independent improvement. Work on a task preserves the project's behavior and compatibility where the task does not require changes. If the solution requires changing them, describe the expected result in the task and verify it through checks.

Material questions about data, security, behavior, or architecture that remain after examining code and documentation are discussed with the owner.

Minimal changes

Diff should be the minimum required to solve the problem.

Prohibited:

  • major refactoring without request
  • cleanup without justification
  • style change outside the affected area
  • changes to architecture, including module boundaries
  • pipeline change
  • change scripts
  • change in behavior beyond the desired result

These changes include redesigning subsystems and moving files in bulk.

Local improvements

Small improvements are allowed when they directly serve the task. A poor structure need not be preserved merely because it already exists.

Acceptable:

  • eliminate local duplication
  • improve naming
  • simplify readability
  • correct adjacent obvious defect
  • improve local tests
  • clarify a module’s responsibility
  • move a small amount of code to improve readability

Terms:

  • behavior does not change
  • change remains local
  • improvement helps solve the current problem

If an improvement is outside the scope of the task, it should be proposed separately.

Examples

Acceptable:

  • fix a specific defect in one module without rewriting adjacent code
  • add point test for new requirement without changing existing test pipeline
  • expand the already used branch if, if this is directly required by the task

Invalid:

  • make unrelated renames, including bulk renames solely for consistency
  • rewrite the entire module instead of fixing one branch
  • change the file structure just because it seems more convenient

Environmental problems

Do not change the project code due to environmental problems.

If the check fails to run due to missing tools, permissions, cache, shell utilities, or container restrictions, stop the blocked operation and describe the exact limitation. You need to request a decision when it is impossible to continue without the owner’s participation.

It is acceptable to use a local temporary cache/workdir only if it does not change the project or extend the task.

A safe equivalent command is valid if it preserves the meaning of the operation, for example python3 instead of the missing python. Such replacement is indicated in the report. Installing software, changing rights, global configuration or package manager settings require explicit permission.

Saved UI properties

If the task does not require the opposite, the change is saved:

  • SSR and hydration;
  • keyboard navigation, focus order and available names;
  • native semantics controls and ARIA;
  • responsive layout and hit targets;
  • props, callbacks, snippets and value formats;
  • order side effects and network requests;
  • URL/query semantics, storage keys, versions and fallback behavior;
  • handling loading, error and disabled states;
  • lifecycle Canvas, Worker, listeners, timers and other runtime resources;
  • existing build output and production entrypoints.

Visual edits affect behavior if they change control accessibility, navigation, data readability, or the size of the interactive area.

General working copy

Before editing, git status is checked. Existing changes belong to the owner or concurrent work until proven otherwise. They cannot be rolled back, overwritten, or included in your commit. When files intersect, both tasks are saved; if a secure association is not possible, clarification is needed.

Checking the result

A narrow relevant check is performed first. It should be expanded or repeated in case of new changes, errors or remaining risk. You cannot use the old build as proof of the work of the modified source.

The report distinguishes between successful, unsuccessful, not running, and checks blocked by the environment. You cannot assert the passage of a command that was not successfully executed.