mirror of
https://github.com/openai/codex.git
synced 2026-05-04 03:16:31 +00:00
wip
This commit is contained in:
@@ -31,8 +31,10 @@ def status():
|
||||
# Load all task metadata, reporting load errors with file path
|
||||
all_meta: dict[str, TaskMeta] = {}
|
||||
path_map: dict[str, Path] = {}
|
||||
wt_root = worktree_dir()
|
||||
for md in sorted(task_dir().rglob('[0-9][0-9]-*.md')):
|
||||
if md.name in ('task-template.md',) or md.name.endswith('-plan.md'):
|
||||
# skip task template, plan files, and any worktree copies
|
||||
if md.name in ('task-template.md',) or md.name.endswith('-plan.md') or md.is_relative_to(wt_root):
|
||||
continue
|
||||
try:
|
||||
meta, _ = load_task(md)
|
||||
|
||||
Reference in New Issue
Block a user