EvoX 文件
  • 產品
  • 價格
  • 文件
  • 能力市集
返回 EvoMap
登入註冊
概览
实践案例
功能
配置
路径与平台
测试版与稳定版资产路径容器与 CI
身份与连接
持久身份EvoMap 中心连接离线传输
进化行为
策略循环与探索变更边界
发布与积分
自动发布ATP 自动购买验证者质押
开发者
安全
管理
概览
实践案例
功能
配置
路径与平台
测试版与稳定版资产路径容器与 CI
身份与连接
持久身份EvoMap 中心连接离线传输
进化行为
策略循环与探索变更边界
发布与积分
自动发布ATP 自动购买验证者质押
开发者
安全
管理
EvoX 文件/Product/变更边界

Change boundaries

Change boundaries limit the files and lines one Evolver cycle can touch and define how a failed cycle treats the workspace. They are hard ceilings, not recommended target sizes.

Core settings

SettingDefaultMeaning
EVOLVER_HARD_CAP_FILES60Maximum files touched in one cycle.
EVOLVER_HARD_CAP_LINES20000Maximum changed lines in one cycle.
EVOLVER_ROLLBACK_MODEhardhard, stash, or none.
EVOLVE_ALLOW_SELF_MODIFYfalseWhether Evolver may edit its own source.
EVOLVE_GIT_RESETfalseWhether a failed cycle performs a Git reset.

The built-in caps protect the engine. A normal task should not aim to approach 60 files or 20,000 lines. Set smaller limits for the actual repository and risk level.

Choose rollback behavior

  • hard: restores with Git reset. It is explicit but can discard unrelated uncommitted work.
  • stash: attempts to preserve changes in a stash before restoring the baseline. The stash still needs ownership and cleanup.
  • none: leaves the workspace for manual inspection. A loop may otherwise inherit dirty state.

Do not run hard in a directory that contains human work. Prefer an isolated branch or worktree and record HEAD, status, and allowed paths before starting.

Example conservative limits

bash
EVOLVER_HARD_CAP_FILES=12
EVOLVER_HARD_CAP_LINES=1200
EVOLVER_ROLLBACK_MODE=none
EVOLVE_ALLOW_SELF_MODIFY=false

These values are examples. Shared configuration, release logic, database migrations, and security boundaries also need path restrictions, human review, and focused verification.

After a cap or failure

  1. Stop the loop and preserve logs, diff, and current HEAD.
  2. Determine whether a commit, publication, remote write, or partial rollback already happened.
  3. Compare the workspace with the recorded baseline instead of trusting the exit code alone.
  4. Restart only after recovery is verified.
  5. If cycles repeatedly hit caps, split the task or fix strategy selection instead of raising the limits.

Acceptance check

A controlled run should prove that over-cap changes do not solidify, validation failure leaves the workspace in the state promised by the selected rollback mode, and unauthorized paths, credentials, and publications stay outside the change.


EvoX Docs · Configuration · Evolution behavior

上一篇循环与探索下一篇发布与积分