diff --git a/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/.openspec.yaml b/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/.openspec.yaml new file mode 100644 index 0000000..9323e24 --- /dev/null +++ b/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/.openspec.yaml @@ -0,0 +1,2 @@ +schema: spec-driven +created: 2026-04-24 diff --git a/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/proposal.md b/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/proposal.md new file mode 100644 index 0000000..313eca3 --- /dev/null +++ b/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/proposal.md @@ -0,0 +1,11 @@ +## Why + +- TODO: describe the user/problem outcome this change addresses. + +## What Changes + +- TODO: summarize the intended behavior and scope. + +## Impact + +- TODO: call out risks, rollout notes, and affected surfaces. diff --git a/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/specs/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/spec.md b/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/specs/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/spec.md new file mode 100644 index 0000000..3e4ebb4 --- /dev/null +++ b/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/specs/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/spec.md @@ -0,0 +1,9 @@ +## ADDED Requirements + +### Requirement: agent-codex-takeover-task-7d894129d262-2026-04-24-17-47 behavior +The system SHALL enforce agent-codex-takeover-task-7d894129d262-2026-04-24-17-47 behavior as defined by this change. + +#### Scenario: Baseline acceptance +- **WHEN** agent-codex-takeover-task-7d894129d262-2026-04-24-17-47 behavior is exercised +- **THEN** the expected outcome is produced +- **AND** regressions are covered by tests. diff --git a/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/tasks.md b/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/tasks.md new file mode 100644 index 0000000..3e51cee --- /dev/null +++ b/openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/tasks.md @@ -0,0 +1,34 @@ +## Definition of Done + +This change is complete only when **all** of the following are true: + +- Every checkbox below is checked. +- The agent branch reaches `MERGED` state on `origin` and the PR URL + state are recorded in the completion handoff. +- If any step blocks (test failure, conflict, ambiguous result), append a `BLOCKED:` line under section 4 explaining the blocker and **STOP**. Do not tick remaining cleanup boxes; do not silently skip the cleanup pipeline. + +## Handoff + +- Handoff: change=`agent-codex-takeover-task-7d894129d262-2026-04-24-17-47`; branch=`agent/codex/takeover-task-7d894129d262-2026-04-24-17-47`; scope=`TODO`; action=`continue this sandbox or finish cleanup after a usage-limit/manual takeover`. +- Copy prompt: Continue `agent-codex-takeover-task-7d894129d262-2026-04-24-17-47` on branch `agent/codex/takeover-task-7d894129d262-2026-04-24-17-47`. Work inside the existing sandbox, review `openspec/changes/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/tasks.md`, continue from the current state instead of creating a new sandbox, and when the work is done run `gx branch finish --branch agent/codex/takeover-task-7d894129d262-2026-04-24-17-47 --base main --via-pr --wait-for-merge --cleanup`. + +## 1. Specification + +- [ ] 1.1 Finalize proposal scope and acceptance criteria for `agent-codex-takeover-task-7d894129d262-2026-04-24-17-47`. +- [ ] 1.2 Define normative requirements in `specs/agent-codex-takeover-task-7d894129d262-2026-04-24-17-47/spec.md`. + +## 2. Implementation + +- [ ] 2.1 Implement scoped behavior changes. +- [ ] 2.2 Add/update focused regression coverage. + +## 3. Verification + +- [ ] 3.1 Run targeted project verification commands. +- [ ] 3.2 Run `openspec validate agent-codex-takeover-task-7d894129d262-2026-04-24-17-47 --type change --strict`. +- [ ] 3.3 Run `openspec validate --specs`. + +## 4. Cleanup (mandatory; run before claiming completion) + +- [ ] 4.1 Run the cleanup pipeline: `gx branch finish --branch agent/codex/takeover-task-7d894129d262-2026-04-24-17-47 --base main --via-pr --wait-for-merge --cleanup`. This handles commit -> push -> PR create -> merge wait -> worktree prune in one invocation. +- [ ] 4.2 Record the PR URL and final merge state (`MERGED`) in the completion handoff. +- [ ] 4.3 Confirm the sandbox worktree is gone (`git worktree list` no longer shows the agent path; `git branch -a` shows no surviving local/remote refs for the branch).