[{"data":1,"prerenderedAt":377,"buildId":378},["ShallowReactive",2],{"docs:\u002Fguide\u002Fverdicts":3},{"page":4,"section":16,"document":17,"credits":10,"prev":370,"next":374},{"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},"verdicts","\u002Fguide\u002Fverdicts","guide\u002Fverdicts.md","Verdicts","What each whatfrees verdict means, which facts decide it, and which ones an agent may act on.",null,[],"i-lucide-shield-check","article",true,4,"guide",{"nodes":18,"toc":361},[19,39,135,153,159,164,189,196,200,206,226,230,237,249,266,270,273,302,306,319,323,338,344],[20,21,22,23,27,28,31,32,35,36,38],"p",{},"Every entry has one verdict and a list of ",[24,25,26],"code",{},"evidence",", one short sentence per fact. The CLI counts ",[24,29,30],{},"safe"," and ",[24,33,34],{},"orphan"," separately; only ",[24,37,30],{}," qualifies for automatic cleanup after a successful worktree recheck.",[40,41,42,58],"table",{},[43,44,45],"thead",{},[46,47,48,52,55],"tr",{},[49,50,51],"th",{},"Verdict",[49,53,54],{},"Meaning",[49,56,57],{},"An agent may delete",[59,60,61,74,86,99,111,123],"tbody",{},[46,62,63,68,71],{},[64,65,66],"td",{},[24,67,30],{},[64,69,70],{},"Clean, pushed and unused. Deleting it loses nothing",[64,72,73],{},"Yes",[46,75,76,80,83],{},[64,77,78],{},[24,79,34],{},[64,81,82],{},"Worktree metadata is missing, or an agent's leftover file is old",[64,84,85],{},"Only after a person inspects it and approves",[46,87,88,93,96],{},[64,89,90],{},[24,91,92],{},"ask",[64,94,95],{},"A person should decide",[64,97,98],{},"No",[46,100,101,106,109],{},[64,102,103],{},[24,104,105],{},"unsaved",[64,107,108],{},"It holds work that exists nowhere else",[64,110,98],{},[46,112,113,118,121],{},[64,114,115],{},[24,116,117],{},"live",[64,119,120],{},"Something uses it now",[64,122,98],{},[46,124,125,130,133],{},[64,126,127],{},[24,128,129],{},"unchecked",[64,131,132],{},"whatfrees couldn't tell",[64,134,98],{},[20,136,137,138,140,141,31,143,145,146,140,148,31,150,152],{},"The totals line counts ",[24,139,30],{},", ",[24,142,34],{},[24,144,92],{}," bytes. ",[24,147,105],{},[24,149,117],{},[24,151,129],{}," entries are never added to it.",[154,155,117],"h2",{"id":117,"anchor":156},{"label":157,"icon":158},"Section titled \"live\"","#",[20,160,161,163],{},[24,162,117],{}," wins over every other verdict. An entry is live when:",[165,166,167,179],"ul",{},[168,169,170,171,174,175,178],"li",{},"A running process has its working directory inside it. On Linux whatfrees reads ",[24,172,173],{},"\u002Fproc\u002F\u003Cpid>\u002Fcwd",". On macOS it runs ",[24,176,177],{},"lsof"," for your user.",[168,180,181,182,185,186,188],{},"It changed in the last 24 hours. For a checkout that means its folder, its index, its ",[24,183,184],{},"HEAD"," or its ",[24,187,184],{}," log. For anything else it means the folder or anything directly in it.",[20,190,191,192,195],{},"Live entries are hidden unless you pass ",[24,193,194],{},"--all",".",[154,197,105],{"id":105,"anchor":198},{"label":199,"icon":158},"Section titled \"unsaved\"",[20,201,202,203,205],{},"The checkout holds work that no remote has. Any one of these makes it ",[24,204,105],{},":",[165,207,208,211,217,223],{},[168,209,210],{},"A stash entry was made on its branch. For a standalone clone, any stash entry in its repository counts.",[168,212,213,214,216],{},"Its ",[24,215,184],{}," is on no remote branch. If the work was squash-merged, its pull request says so, and whatfrees can't see that.",[168,218,219,222],{},[24,220,221],{},"git status"," lists changed or untracked files.",[168,224,225],{},"For a standalone clone, local branches have commits that no remote branch has.",[154,227,34],{"id":34,"anchor":228},{"label":229,"icon":158},"Section titled \"orphan\"",[20,231,232,233,236],{},"This verdict does not mean the files are backed up. In particular, Git cannot inspect the contents of a worktree whose metadata is gone, so it may still contain unique work. A successful ",[24,234,235],{},"whatfrees check"," does not change that.",[165,238,239,246],{},[168,240,241,242,245],{},"A worktree whose ",[24,243,244],{},".git"," file points to a folder that is gone. Its repository no longer knows it, so git can't tell what it holds.",[168,247,248],{},"A regular file in an agent's worktree folder that hasn't changed for 30 days.",[20,250,251,252,254,255,257,258,260,261,195],{},"A checkout in T3 Code's folder that would be ",[24,253,30],{}," or ",[24,256,34],{}," becomes ",[24,259,92],{}," when its T3 Code thread is open or can't be read. See ",[262,263,265],"a",{"href":264},"\u002Fguide\u002Fsources#agent-worktrees","Sources",[154,267,92],{"id":92,"anchor":268},{"label":269,"icon":158},"Section titled \"ask\"",[20,271,272],{},"whatfrees found a reason for a person to decide:",[165,274,275,280,286,289,292,295],{},[168,276,277,279],{},[24,278,221],{}," lists only ignored files, which git doesn't track and nothing else keeps.",[168,281,282,283,285],{},"A standalone clone has worktrees elsewhere that would break, or submodules that ",[24,284,221],{}," didn't inspect.",[168,287,288],{},"git has it locked, so someone asked to keep it.",[168,290,291],{},"A folder in an agent's worktree folder that isn't a git checkout. There isn't enough evidence to remove it.",[168,293,294],{},"A T3 Code thread for it is still open, or its state couldn't be verified.",[168,296,297,298,301],{},"A pnpm store, where link counts don't tell what ",[24,299,300],{},"pnpm store prune"," would keep.",[154,303,129],{"id":129,"anchor":304},{"label":305,"icon":158},"Section titled \"unchecked\"",[20,307,308,309,140,311,313,314,316,317,195],{},"whatfrees couldn't decide. The evidence says why: git couldn't resolve ",[24,310,184],{},[24,312,221],{}," failed, or the budget ran out before it answered. In ",[24,315,235],{},", a path that doesn't exist is also ",[24,318,129],{},[154,320,30],{"id":30,"anchor":321},{"label":322,"icon":158},"Section titled \"safe\"",[20,324,325,326,329,330,333,334,337],{},"Nothing above applied. For a worktree the evidence reads ",[24,327,328],{},"Clean, pushed and untouched for 9 days."," The command is ",[24,331,332],{},"git worktree remove"," without ",[24,335,336],{},"--force",". Git itself refuses to remove a checkout that gained changes, so the command is a second check.",[154,339,343],{"id":340,"anchor":341},"the-command",{"label":342,"icon":158},"Section titled \"The command\"","The command",[20,345,346,347,350,351,353,354,356,357,360],{},"Each entry has one ",[24,348,349],{},"command",". For ",[24,352,30],{}," it removes the checkout. For ",[24,355,34],{}," it removes the path, but do not run it without manual inspection and approval. For a worktree with any other verdict, the command is ",[24,358,359],{},"whatfrees check \u003Cpath>",", which re-runs the checks and deletes nothing.",[362,364,365,366,367,368,369],{"id":117,"depth":363,"text":117},2,{"id":105,"depth":363,"text":105},{"id":34,"depth":363,"text":34},{"id":92,"depth":363,"text":92},{"id":129,"depth":363,"text":129},{"id":30,"depth":363,"text":30},{"id":340,"depth":363,"text":343},{"path":371,"title":372,"description":373},"\u002Fguide\u002Fspeed","How it stays fast","whatfrees asks the owner of each thing first, walks only what no one sized, stops at a deadline, and counts a hard-linked file once.",{"path":375,"title":265,"description":376},"\u002Fguide\u002Fsources","Every place whatfrees looks for space, what it finds there, who it asks, and the verdict it gives.",1796464608382,"84b4d453-0d43-4339-8103-d1d78e551efe"]