{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "chigwell-penelopa-ai--repair-broken-penelopa-hooks",
 "repo": "chigwell/Penelopa.ai",
 "repo_url": "https://github.com/chigwell/Penelopa.ai",
 "repo_slug": "chigwell-penelopa-ai",
 "title": "Repair broken Penelopa hooks without reinstalling",
 "page_title": "How to repair broken Penelopa hooks without reinstalling with Penelopa AI",
 "summary": "Run the built-in diagnose and repair commands when capture stops working.",
 "who": "A developer whose Connection page stopped updating or whose agent hooks seem out of date.",
 "problem": "Hooks can fall out of date or stop capturing, and reinstalling from scratch is slow and risky to the setup.",
 "outcome": "Diagnostics show the current state, repair restores Penelopa hooks, and the account token is kept.",
 "steps": [
  "Run `\"$(cat \"$HOME/.auto-improve/node-path\")\" \"$HOME/.auto-improve/bin/penelopa.cjs\" --diagnose` to print diagnostics without credentials or transcripts.",
  "Run `\"$(cat \"$HOME/.auto-improve/node-path\")\" \"$HOME/.auto-improve/bin/penelopa.cjs\" --repair` to repair or update the hooks and repeat the local self-test.",
  "Open Connection in the desktop app and continue a coding session.",
  "Confirm the status returns to Connected after a real event is observed."
 ],
 "agent_prompt": "In the chigwell/Penelopa.ai repo, run the diagnose command, then the repair command, using the local private runtime path at $HOME/.auto-improve. Report the diagnostic summary and confirm the repair kept the existing account token.",
 "agents": [
  "codex",
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Repair keeps the account token unless a new token is supplied, and the README warns that the self-test does not prove an agent has approved its hooks.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "A Penelopa account, created during installation",
  "Codex or Claude Code installed on the machine",
  "macOS 13.5+, Windows 10 22H2+ or Windows 11 x64 for the desktop app, or Linux x64/arm64 with kernel 4.18+ and glibc 2.28+ for hooks only",
  "Internet access to penelopa.ai, nodejs.org, the npm registry and Electron release downloads",
  "About 3 GB of free disk space for desktop builds"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/chigwell-penelopa-ai/repair-broken-penelopa-hooks/",
 "md": "https://dedupedai.com/use-cases/chigwell-penelopa-ai/repair-broken-penelopa-hooks/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/chigwell-penelopa-ai--repair-broken-penelopa-hooks.json",
 "api_version": "v1"
}
