(&self, repo_root: &Path)
| 990 | } |
| 991 | |
| 992 | fn install(&self, repo_root: &Path) -> AgentResult<usize> { |
| 993 | // Two-part install: |
| 994 | // 1. Global plugin (hooks + skills) — the only mechanism agy fires. |
| 995 | // 2. Managed AGENTS.md section in the repo — teaches the agent the |
| 996 | // KG-first discovery workflow. |
| 997 | let count = self.install_global(false)?; |
| 998 | Self::upsert_agents_md_section(repo_root)?; |
| 999 | Ok(count) |
| 1000 | } |
| 1001 | |
| 1002 | fn uninstall(&self, repo_root: &Path) -> AgentResult<()> { |
| 1003 | self.uninstall_global()?; |
nothing calls this directly
no test coverage detected