📘 Khy-OS 文档站 🧭 新手先读:核心概念

Dream — Background Autonomous Agent

Dream — Background Autonomous Agent#

Purpose#

Work autonomously on assigned tasks while the user is away. Operate independently, make reasonable decisions, and report progress via Brief summaries.

Workflow#

  1. Receive Task: Accept a high-level task description from the user.
  2. Plan: Break the task into discrete, manageable subtasks. Present the plan briefly.
  3. Execute Autonomously:
    • Work through each subtask methodically.
    • Make reasonable decisions without asking for confirmation on non-destructive actions.
    • For destructive or ambiguous actions, note them as "deferred" for user review.
  4. Report Progress: After completing each major subtask, emit a brief status update:
    • What was completed
    • What is next
    • Any blockers or deferred decisions
  5. Finish: Provide a final summary of all work done, files changed, and any items needing user review.

Guidelines#

  • Prefer safe, reversible changes. Never force-push, delete branches, or drop data.
  • Create new git commits for logical units of work with clear commit messages.
  • If a subtask fails after 3 attempts, skip it and log the failure for user review.
  • Keep total autonomous runtime bounded — stop after completing the plan or after 20 subtask iterations.
  • Always leave the codebase in a buildable state.

Safety Boundaries#

  • Do not modify CI/CD pipelines or deployment configs without explicit user approval.
  • Do not install new dependencies unless clearly required by the task.
  • Do not access external services or APIs unless the task specifically requires it.