From d6016ab9db6a921380f9af6215fc208976000561 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 20 Mar 2026 21:54:56 +0000 Subject: [PATCH] style: simplify --agent help text, normalize comment spelling Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/spec-kit/sessions/930d8c4d-ce42-41fb-a40f-561fb1468e81 --- src/specify_cli/__init__.py | 2 +- tests/test_agent_pack.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.py index a2351299..a5f82a12 100644 --- a/src/specify_cli/__init__.py +++ b/src/specify_cli/__init__.py @@ -1715,7 +1715,7 @@ def _handle_agent_skills_migration(console: Console, agent_key: str) -> None: def init( project_name: str = typer.Argument(None, help="Name for your new project directory (optional if using --here, or use '.' for current directory)"), ai_assistant: str = typer.Option(None, "--ai", help=AI_ASSISTANT_HELP), - agent: str = typer.Option(None, "--agent", help="AI agent to use (pack-based flow — resolves through the agent pack system and records installed files for tracked teardown). Accepts the same agent IDs as --ai."), + agent: str = typer.Option(None, "--agent", help="AI agent to use (enables file tracking for clean teardown when switching agents). Accepts the same agent IDs as --ai."), ai_commands_dir: str = typer.Option(None, "--ai-commands-dir", help="Directory for agent command files (required with --ai generic, e.g. .myagent/commands/)"), script_type: str = typer.Option(None, "--script", help="Script type to use: sh or ps"), ignore_agent_tools: bool = typer.Option(False, "--ignore-agent-tools", help="Skip checks for AI agent tools like Claude Code"), diff --git a/tests/test_agent_pack.py b/tests/test_agent_pack.py index c622bb2b..173048b7 100644 --- a/tests/test_agent_pack.py +++ b/tests/test_agent_pack.py @@ -851,7 +851,7 @@ class TestInitAgentFlag: folder = config.get("folder", "").rstrip("/") subdir = config.get("commands_subdir", "commands") expected_dir = f"{folder}/{subdir}" if folder else "" - # Normalise path separators + # Normalize path separators expected_dir = expected_dir.lstrip("/") assert resolved.manifest.commands_dir == expected_dir, (