mirror of
https://github.com/github/spec-kit.git
synced 2026-03-25 23:03:08 +00:00
fix: stale manifest cleanup, resolve with project_path, AGENTS.md add docs
- remove_tracked_files: count only still-existing files as remaining; user-deleted files no longer prevent manifest cleanup - init --agent: pass project_path to resolve_agent_pack so project-level overrides (.specify/agents/) are honored during --here init - AGENTS.md: update agent add to show --from <path> requirement and note catalog fetch is not yet implemented
This commit is contained in:
@@ -1877,7 +1877,7 @@ def init(
|
||||
if use_agent_pack:
|
||||
from .agent_pack import resolve_agent_pack, load_bootstrap, PackResolutionError, AgentPackError
|
||||
try:
|
||||
resolved = resolve_agent_pack(selected_ai)
|
||||
resolved = resolve_agent_pack(selected_ai, project_path=project_path)
|
||||
agent_bootstrap = load_bootstrap(resolved.path, resolved.manifest)
|
||||
console.print(f"[dim]Pack-based flow: {resolved.manifest.name} ({resolved.source})[/dim]")
|
||||
except (PackResolutionError, AgentPackError) as exc:
|
||||
|
||||
Reference in New Issue
Block a user