mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
wip
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
+++
|
||||
id = "36"
|
||||
title = "Add Tests for Interactive Prompting While Executing"
|
||||
status = "Done"
|
||||
status = "Not started"
|
||||
dependencies = "06,13" # Rationale: depends on Tasks 06 and 13 for external editor and interactive prompt support
|
||||
last_updated = "2025-06-25T11:05:55Z"
|
||||
+++
|
||||
|
||||
@@ -259,6 +259,11 @@ def set_status(task_id, status):
|
||||
meta.status = status
|
||||
meta.last_updated = datetime.utcnow()
|
||||
save_task(path, meta, body)
|
||||
# If the task was previously in .done/ and is being re-opened, move it back to tasks/
|
||||
if path.parent.name == '.done' and meta.status not in (TaskStatus.DONE, TaskStatus.MERGED):
|
||||
dest = task_dir() / path.name
|
||||
click.echo(f"Reopening task: moving {path.name} -> {dest.parent.relative_to(repo_root())}")
|
||||
subprocess.run(['git', 'mv', str(path), str(dest)], cwd=repo_root())
|
||||
|
||||
@cli.command()
|
||||
@click.argument('task_id')
|
||||
|
||||
Reference in New Issue
Block a user