Files
browser/openspec/changes/make-run-autonomous-lifecycle-owner/tasks.md
T

1.5 KiB

Prompt Boundaries

  • 0.1 正向提示词: Make generated Run packages self-bootstrap from plugin-declared lifecycle plans so the first-party server management area projects state from Run-owned facts.
  • 0.2 方向提示词: Update platform/ build input, registration handling, tests, and protocol docs while preserving existing domain/service/DTO separation; verify with Go tests, OpenSpec validation, and scripts/check-structure.sh.
  • 0.3 任务边界: Do not add a run/ source tree, hardcode SCUM behavior in Platform, expose component keys to machine endpoints, add cloud/billing/provider workflows, or touch unrelated frontend styling.

1. OpenSpec Contract

  • 1.1 Add design and delta specs for Run-owned autonomous lifecycle startup.
  • 1.2 Validate the OpenSpec change strictly before completion.

2. Platform Implementation

  • 2.1 Add autonomous lifecycle plan domain/build-input structures without exposing the plan through machine job-channel DTOs.
  • 2.2 Populate the plan from plugin lifecycle declarations, runtime profile data, dependency declarations, log sources, DLL extensions, and deployment definition.
  • 2.3 Stop generated Run registration from enqueueing bootstrap start or status reconciliation jobs.
  • 2.4 Update protocol and governance docs to make Run the lifecycle authority.

3. Verification

  • 3.1 Update service tests for autonomous build input and no registration-time lifecycle dispatch.
  • 3.2 Run targeted Go tests plus repository structure checks.