diff --git a/src/specify_cli/agent_pack.py b/src/specify_cli/agent_pack.py index 61873ecd..360cf5b1 100644 --- a/src/specify_cli/agent_pack.py +++ b/src/specify_cli/agent_pack.py @@ -336,7 +336,7 @@ class AgentBootstrap: p.resolve().relative_to(agent_root_resolved) all_agent.append(p) except ValueError: - pass + pass # Path is outside the agent root — skip it # Scan the agent's directory tree for files created by later # init pipeline steps (skills, presets, extensions) that @@ -665,7 +665,7 @@ def resolve_agent_pack( emb = AgentManifest.from_yaml(emb_file) overrides = f"embedded v{emb.version}" except AgentPackError: - pass + pass # Embedded manifest unreadable — skip override info return ResolvedPack( manifest=manifest, diff --git a/tests/test_agent_pack.py b/tests/test_agent_pack.py index e3d490dd..1a8676d5 100644 --- a/tests/test_agent_pack.py +++ b/tests/test_agent_pack.py @@ -967,7 +967,7 @@ def _run_init_via_cli( tracker.start(key) tracker.complete(key, "mocked") except Exception: - pass + pass # Tracker key may not exist — safe to ignore in mock flag = "--agent" if use_agent_flag else "--ai" args = [ @@ -983,7 +983,7 @@ def _run_init_via_cli( if agent in AGENT_SKILLS_MIGRATIONS: args.append("--ai-skills") except (ImportError, AttributeError): - pass + pass # AGENT_SKILLS_MIGRATIONS may not exist — proceed without --ai-skills with _patch( "specify_cli.download_and_extract_template", _mock_download, @@ -1151,7 +1151,7 @@ class TestInitFlowParity: f"(skills migration removes commands)") return except (ImportError, AttributeError): - pass + pass # AGENT_SKILLS_MIGRATIONS unavailable — fall through to failure pytest.fail( f"Agent '{agent}': commands_dir "