Repository navigation
docs(uninstall): explain cleanup of shared built-in hooks - #1832
Conversation
SaulMoro
left a comment
There was a problem hiding this comment.
This was generated by AI during triage.
Approving. Both quoted strings match the CLI's own output: Kept for other teamai installs and the teamai hooks remove advice in src/uninstall.ts. The order it gives (remove the hooks while the last workspace is still configured, then uninstall it) is the only way out until #1825 is fixed, and the English and Chinese FAQ say the same thing.
- [P3 nit] The new
skill-data/setup/references/uninstall.mdparagraph is hard-wrapped, while the paragraphs around it are one line each. - [P3 nit] The FAQ paragraph opens with "A project uninstall" and then says "workspace" three times. One term reads more easily.
|
No findings in the specified PR diff. The changes are documentation-only, and the English guide, Chinese guide, and setup skill consistently describe removing unused shared built-in hooks before uninstalling the last configured workspace. The PR description documents sufficient testing. Documentation-only changes require no real-CLI record; the supplied Windows verification record is additional evidence. No earlier findings were supplied. No PR code was run, built, or installed. |
|
No findings in the specified PR diff. The documentation-only changes consistently explain hook cleanup before uninstalling the last configured workspace, while preserving hooks needed by other installs. The PR description documents sufficient testing; documentation-only changes require no real-CLI record. The supplied Windows verification is additional evidence. The earlier review reported no findings, so none require resolution. No PR code was run, built, or installed. |
SaulMoro
left a comment
There was a problem hiding this comment.
This was generated by AI during triage.
Approving 25df6142. Both nits are fixed: the wording is consistent in both FAQs, and the skill paragraph is one line like the rest. I'll merge once CI is green.
Summary
A workspace uninstall can leave built-in hooks in the tool home, and a later uninstall outside the workspace can fall back to TeamAI home cleanup. Document when to run
teamai hooks removewhile the last workspace is still configured, and when to keep hooks for another checkout or install. The English and Chinese guides and the setup skill now give the same order.Type of Change
Test Plan
03099c9dand tested on native Windows with isolated profiles and a local bare Git remote.teamai hooks removebefore uninstall removed the built-ins and preserved the tracked member hook.git diff --checkpassed.Related Issues
Related to #1825.