Adds basic task management tools.

This commit is contained in:
2026-10-08 19:15:08 -07:00
parent 5725de2dac
commit 0c7c20b6e6
34 changed files with 676 additions and 868 deletions

View File

@@ -2,13 +2,13 @@
"""
research
Researches a task from Documentation/Tasks.md using an AI CLI agent (Antigravity or Hermes).
Validates that the task is in 'research' status, prepares task and codebase context,
Researches a task from docs/tasks.md using an AI CLI agent (Antigravity or Hermes).
Validates that the task is in 'research' status, prepares task and project context,
and launches the agent interactively.
Usage:
./scripts/research 037
./scripts/research OT-037 --hermes
./scripts/research EX-037 --hermes
./scripts/research 037 --agy
./scripts/research --help
"""
@@ -28,17 +28,17 @@ from task_context import (
resolve_selected_agent,
)
RESEARCH_OBJECTIVES = """- Deeply investigate the technical requirements, architecture, and code models needed for this task.
- Inspect existing codebase, grammar definitions, or schemas to identify gaps or technical hurdles.
- Perform web searches or documentation lookups if external formats, libraries, or protocols are involved.
- Collaborate interactively with the user to explore technical trade-offs and possible approaches.
- Document research findings, technical recommendations, and proposed solutions.
- When research is complete, update the task description/notes via `./scripts/update-task {task_id}` and determine if it's ready to transition to 'planning' or 'pending'."""
RESEARCH_OBJECTIVES = """- Investigate the requirements, background, and evidence needed for this task.
- Inspect existing project materials to identify gaps or challenges.
- Consult relevant sources when needed and record citations.
- Collaborate interactively with the user to explore trade-offs and possible approaches.
- Document research findings, recommendations, and proposed next steps.
- When research is complete, update the task description/notes via `./scripts/update-task {task_id}` and determine if it's ready to transition to 'planning' or 'ready'."""
def main():
parser = argparse.ArgumentParser(
description="Research a task in Documentation/Tasks.md using an AI CLI agent. Requires status to be 'research'."
description="Research a task in docs/tasks.md using an AI CLI agent. Requires status to be 'research'."
)
parser.add_argument("task_id", help="Task number or prefixed ID (e.g. 37, PREFIX-037)")
add_common_agent_arguments(parser)