[{"data":1,"prerenderedAt":721,"buildId":722},["ShallowReactive",2],{"docs:\u002Freference\u002Fdoctor":3},{"page":4,"section":16,"document":17,"credits":10,"prev":717,"next":10},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":12,"layout":13,"sidebar":14,"toc":14,"kind":10,"group":10,"navigation":14,"order":15},"doctor","\u002Freference\u002Fdoctor","reference\u002Fdoctor.md","Doctor","Run fleetrc doctor to check Node.js, git access, the sync trigger, the manifest and the agent folders, and learn how to fix each failure.",null,[],"i-lucide-stethoscope","article",true,3,"reference",{"nodes":18,"toc":712},[19,35,57,104,112,191,200,206,556,562,578,703],[20,21,22,26,27,30,31,34],"p",{},[23,24,25],"code",{},"fleetrc doctor"," runs a fixed list of checks on this machine and prints one line for each. It exits ",[23,28,29],{},"0"," when no check fails and ",[23,32,33],{},"1"," when one does.",[36,37,41],"pre",{"language":38,"frame":39,"class":40,"wrap":14},"sh","terminal","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[23,42,44],{"class":43},"language-sh",[45,46,49,53],"span",{"class":47,"style":48},"line","display: inline",[45,50,52],{"style":51},"color:#953800;--shiki-dark:#FFA657","fleetrc",[45,54,56],{"style":55},"color:#0A3069;--shiki-dark:#A5D6FF"," doctor",[36,58,60],{"language":59,"class":40,"wrap":14},"txt",[23,61,63,68,69,68,74,68,79,68,84,68,89,68,94,68,99],{"class":62},"language-txt",[45,64,65],{"class":47,"style":48},[45,66,67],{},"ok   node: ~\u002F.local\u002Fstate\u002Ffleetrc\u002Fbin\u002Ffleetrc runs \u002Fusr\u002Fbin\u002Fnode","\n",[45,70,71],{"class":47,"style":48},[45,72,73],{},"ok   git: git version 2.43.0",[45,75,76],{"class":47,"style":48},[45,77,78],{},"ok   sync trigger: the session hooks of Claude Code and Codex (configured; requires approval in \u002Fhooks)",[45,80,81],{"class":47,"style":48},[45,82,83],{},"ok   manifest: ~\u002Fagent-config\u002F.fleetrc\u002Fmanifest.json, 2 sources",[45,85,86],{"class":47,"style":48},[45,87,88],{},"ok   git auth personal: https:\u002F\u002Fgithub.com\u002Fme\u002Fagent-config.git",[45,90,91],{"class":47,"style":48},[45,92,93],{},"ok   duplicate skills: no skill is in two folders one agent reads",[45,95,96],{"class":47,"style":48},[45,97,98],{},"ok   merge conflicts: no skill has unresolved merge conflicts",[45,100,101],{"class":47,"style":48},[45,102,103],{},"ok   agents agree: 2 agent folders show the same skills",[105,106,111],"h2",{"id":107,"anchor":108},"statuses",{"label":109,"icon":110},"Section titled \"Statuses\"","#","Statuses",[113,114,115,131],"table",{},[116,117,118],"thead",{},[119,120,121,125,128],"tr",{},[122,123,124],"th",{},"Status",[122,126,127],{},"Meaning",[122,129,130],{},"Exit code",[132,133,134,149,163,177],"tbody",{},[119,135,136,142,145],{},[137,138,139],"td",{},[23,140,141],{},"ok",[137,143,144],{},"The check passed.",[137,146,147],{},[23,148,29],{},[119,150,151,156,159],{},[137,152,153],{},[23,154,155],{},"warn",[137,157,158],{},"Worth fixing, but nothing is broken.",[137,160,161],{},[23,162,29],{},[119,164,165,170,173],{},[137,166,167],{},[23,168,169],{},"FAIL",[137,171,172],{},"Something stops syncs or hides skills.",[137,174,175],{},[23,176,33],{},[119,178,179,184,187],{},[137,180,181],{},[23,182,183],{},"skip",[137,185,186],{},"A check you chose not to run. No current check reports it.",[137,188,189],{},[23,190,29],{},[20,192,193,196,197,199],{},[23,194,195],{},"--manifest \u003Cmanifest>"," checks another manifest than the configured one. ",[23,198,5],{}," reads it offline, from the copy the last sync fetched.",[105,201,205],{"id":202,"anchor":203},"checks",{"label":204,"icon":110},"Section titled \"Checks\"","Checks",[113,207,208,221],{},[116,209,210],{},[119,211,212,215,218],{},[122,213,214],{},"Check",[122,216,217],{},"Reports",[122,219,220],{},"Fix",[132,222,223,240,262,290,308,326,344,367,385,407,426,444,466,483,504,522,540],{},[119,224,225,230,235],{},[137,226,227],{},[23,228,229],{},"node",[137,231,232,234],{},[23,233,169],{}," when the launcher's Node.js or the installed copy is gone.",[137,236,237],{},[23,238,239],{},"npx fleetrc@latest self-install",[119,241,242,247,259],{},[137,243,244],{},[23,245,246],{},"git",[137,248,249,251,252,254,255,258],{},[23,250,169],{}," when ",[23,253,246],{}," is not on ",[23,256,257],{},"PATH",".",[137,260,261],{},"Install git.",[119,263,264,269,277],{},[137,265,266],{},[23,267,268],{},"sync trigger",[137,270,271,273,274,276],{},[23,272,155],{}," when nothing starts a sync or an old prompt hook is left. ",[23,275,169],{}," when the hooks' launcher is missing.",[137,278,279,282,283,286,287,258],{},[23,280,281],{},"fleetrc hook install",", ",[23,284,285],{},"fleetrc timer install",", or ",[23,288,289],{},"self-install",[119,291,292,297,302],{},[137,293,294],{},[23,295,296],{},"session hooks",[137,298,299,301],{},[23,300,155],{}," when an agent's hook has not run in a day.",[137,303,304,305,258],{},"Start a session. In Codex, approve the hook in ",[23,306,307],{},"\u002Fhooks",[119,309,310,315,321],{},[137,311,312],{},[23,313,314],{},"timer",[137,316,317,318,320],{},"With the timer: ",[23,319,169],{}," when the OS has none, it syncs another state folder, or its last run failed.",[137,322,323,325],{},[23,324,285],{},", or read the log it names.",[119,327,328,333,339],{},[137,329,330],{},[23,331,332],{},"systemd linger",[137,334,335,336,338],{},"Linux, with the timer: ",[23,337,169],{}," when linger is off.",[137,340,341],{},[23,342,343],{},"loginctl enable-linger \u003Cuser>",[119,345,346,351,362],{},[137,347,348],{},[23,349,350],{},"launchd PATH",[137,352,353,354,356,357,359,360,258],{},"macOS, with the timer: ",[23,355,169],{}," when launchd's ",[23,358,257],{}," has no ",[23,361,246],{},[137,363,364,365,258],{},"Add git's folder to launchd's ",[23,366,257],{},[119,368,369,374,379],{},[137,370,371],{},[23,372,373],{},"manifest",[137,375,376,378],{},[23,377,169],{}," when no manifest is set or it does not load. Later checks do not run.",[137,380,381,384],{},[23,382,383],{},"fleetrc init \u003Cmanifest>",", or fix the error shown.",[119,386,387,392,400],{},[137,388,389],{},[23,390,391],{},"timer time zone",[137,393,394,251,396,399],{},[23,395,155],{},[23,397,398],{},"timer.timeZone"," differs from the machine's on macOS or Windows.",[137,401,402,404,405,258],{},[23,403,285],{},", or remove ",[23,406,398],{},[119,408,409,414,422],{},[137,410,411],{},[23,412,413],{},"timer schedule",[137,415,416,418,419,421],{},[23,417,155],{}," when the manifest's ",[23,420,314],{}," differs from the installed one.",[137,423,424],{},[23,425,285],{},[119,427,428,433,441],{},[137,429,430],{},[23,431,432],{},"git auth \u003Cid>",[137,434,435,251,437,440],{},[23,436,169],{},[23,438,439],{},"git ls-remote"," cannot reach a git source.",[137,442,443],{},"Fix the URL, credentials or ssh key.",[119,445,446,451,460],{},[137,447,448],{},[23,449,450],{},"duplicate skills",[137,452,453,455,456,459],{},[23,454,169],{}," when Codex reads a skill from both ",[23,457,458],{},"~\u002F.agents\u002Fskills"," and its older folder.",[137,461,462,465],{},[23,463,464],{},"fleetrc init"," empties the second.",[119,467,468,473,478],{},[137,469,470],{},[23,471,472],{},"file links",[137,474,475,477],{},[23,476,169],{}," when a linked instruction file, subagent or command is gone or changed.",[137,479,480],{},[23,481,482],{},"fleetrc sync",[119,484,485,490,501],{},[137,486,487],{},[23,488,489],{},"Claude Code hooks",[137,491,492,251,494,497,498,500],{},[23,493,169],{},[23,495,496],{},"claude plugin list"," does not show the ",[23,499,52],{}," plugin.",[137,502,503],{},"Check no setting disables it, then restart Claude Code.",[119,505,506,511,519],{},[137,507,508],{},[23,509,510],{},"Grok hooks",[137,512,513,251,515,518],{},[23,514,155],{},[23,516,517],{},"~\u002F.claude\u002Fsettings.json"," also runs a hook given to Grok.",[137,520,521],{},"Drop it from one of the two.",[119,523,524,529,534],{},[137,525,526],{},[23,527,528],{},"merge conflicts",[137,530,531,533],{},[23,532,169],{}," when a skill has unresolved conflicts.",[137,535,536,537,258],{},"Resolve them, then ",[23,538,539],{},"fleetrc merge \u003Cskill>",[119,541,542,547,552],{},[137,543,544],{},[23,545,546],{},"agents agree",[137,548,549,551],{},[23,550,169],{}," when agent folders point a skill to different copies, or one is a broken link.",[137,553,554],{},[23,555,464],{},[105,557,561],{"id":558,"anchor":559},"json",{"label":560,"icon":110},"Section titled \"JSON\"","JSON",[20,563,564,567,568,570,571,574,575,258],{},[23,565,566],{},"--json"," prints an array with one object per check. ",[23,569,155],{}," appears only when ",[23,572,573],{},"true",", with ",[23,576,577],{},"ok: true",[36,579,580],{"language":558,"class":40,"wrap":14},[23,581,583,68,589,68,627,68,666,68,698],{"class":582},"language-json",[45,584,585],{"class":47,"style":48},[45,586,588],{"style":587},"color:#1F2328;--shiki-dark:#E6EDF3","[",[45,590,591,594,598,601,604,606,609,611,614,616,619,621,624],{"class":47,"style":48},[45,592,593],{"style":587},"  { ",[45,595,597],{"style":596},"color:#116329;--shiki-dark:#7EE787","\"name\"",[45,599,600],{"style":587},": ",[45,602,603],{"style":55},"\"git\"",[45,605,282],{"style":587},[45,607,608],{"style":596},"\"ok\"",[45,610,600],{"style":587},[45,612,573],{"style":613},"color:#0550AE;--shiki-dark:#79C0FF",[45,615,282],{"style":587},[45,617,618],{"style":596},"\"detail\"",[45,620,600],{"style":587},[45,622,623],{"style":55},"\"git version 2.43.0\"",[45,625,626],{"style":587}," },",[45,628,629,631,633,635,638,640,642,644,646,648,651,653,655,657,659,661,664],{"class":47,"style":48},[45,630,593],{"style":587},[45,632,597],{"style":596},[45,634,600],{"style":587},[45,636,637],{"style":55},"\"session hooks\"",[45,639,282],{"style":587},[45,641,608],{"style":596},[45,643,600],{"style":587},[45,645,573],{"style":613},[45,647,282],{"style":587},[45,649,650],{"style":596},"\"warn\"",[45,652,600],{"style":587},[45,654,573],{"style":613},[45,656,282],{"style":587},[45,658,618],{"style":596},[45,660,600],{"style":587},[45,662,663],{"style":55},"\"Codex's has not run yet, ...\"",[45,665,626],{"style":587},[45,667,668,670,672,674,677,679,681,683,686,688,690,692,695],{"class":47,"style":48},[45,669,593],{"style":587},[45,671,597],{"style":596},[45,673,600],{"style":587},[45,675,676],{"style":55},"\"timer\"",[45,678,282],{"style":587},[45,680,608],{"style":596},[45,682,600],{"style":587},[45,684,685],{"style":613},"false",[45,687,282],{"style":587},[45,689,618],{"style":596},[45,691,600],{"style":587},[45,693,694],{"style":55},"\"not installed; run `fleetrc timer install`\"",[45,696,697],{"style":587}," }",[45,699,700],{"class":47,"style":48},[45,701,702],{"style":587},"]",[20,704,705,706,708,709,258],{},"The exit code is ",[23,707,33],{}," when any object has ",[23,710,711],{},"\"ok\": false",[713,715,716],{"id":107,"depth":714,"text":111},2,{"id":202,"depth":714,"text":205},{"id":558,"depth":714,"text":561},{"path":718,"title":719,"description":720},"\u002Freference\u002Fschema","Manifest schema","Every field of .fleetrc\u002Fmanifest.json, with its type and default, and the validation errors fleetrc prints when a manifest is wrong.",1796387378098,"d132e1fa-7946-4d59-bf8e-899a35cb66e2"]