Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
schema: spec-driven
created: 2026-04-24
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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).
Loading