[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116087":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":22,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":13,"lastSyncTime":28,"discoverSource":29},116087,"obituary","woodfishhhh\u002Fobituary","woodfishhhh","讣告 · AI 的回收站 | Obituary — the trash bin for AI agents. AI 写下的垃圾到期自己走，AI 删掉的东西七天内都能找回。Files AI agents leave behind expire on their own; anything they delete stays restorable for 7 days.",null,"Go",106,11,2,0,4,40,25,75.24,"MIT License",false,"main",true,[],"2026-11-23 11:18:54","2026-11-23 12:48:14","\u003Cp align=\"center\">\u003Ca href=\"README.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Fus.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;English\u003C\u002Fa> | \u003Ca href=\"README.zh-CN.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Fcn.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;简体中文\u003C\u002Fa> | \u003Ca href=\"README.zh-TW.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Fcn.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;繁體中文\u003C\u002Fa> | \u003Ca href=\"README.ja.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Fjp.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;日本語\u003C\u002Fa> | \u003Ca href=\"README.ko.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Fkr.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;한국어\u003C\u002Fa> | \u003Ca href=\"README.es.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Fes.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;Español\u003C\u002Fa> | \u003Ca href=\"README.fr.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Ffr.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;Français\u003C\u002Fa> | \u003Ca href=\"README.de.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Fde.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;Deutsch\u003C\u002Fa> | \u003Ca href=\"README.pt-BR.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Fbr.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;Português (Brasil)\u003C\u002Fa> | \u003Ca href=\"README.ru.md\">\u003Cimg src=\"docs\u002Fassets\u002Fflags\u002Fru.svg\" height=\"14\" align=\"absmiddle\" alt=\"\">&nbsp;Русский\u003C\u002Fa>\u003C\u002Fp>\n\u003Cdiv align=\"center\">\n  \u003Ch1>\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Fbrand\u002Fobituary-horizontal-dark.png\">\n      \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"docs\u002Fassets\u002Fbrand\u002Fobituary-horizontal-light.png\">\n      \u003Cimg alt=\"Obituary 讣告\" src=\"docs\u002Fassets\u002Fbrand\u002Fobituary-horizontal-light.png\" width=\"520\">\n    \u003C\u002Fpicture>\n  \u003C\u002Fh1>\n  \u003Cp>\n    \u003Cstrong>Obituary — the trash bin for AI agents\u003C\u002Fstrong>\u003Cbr>\n    What your AI leaves behind leaves on its own when it expires; what your AI deletes comes back for seven days.\n  \u003C\u002Fp>\n    \u003Cp>\n    \u003Ca href=\"#why-obituary\">Why Obituary\u003C\u002Fa> ·\n    \u003Ca href=\"#install\">Install\u003C\u002Fa> ·\n    \u003Ca href=\"#quick-start\">Quick start\u003C\u002Fa> ·\n    \u003Ca href=\"docs\u002Fusage.en.md\">User guide\u003C\u002Fa> ·\n    \u003Ca href=\"docs\u002FREADME.md\">Docs\u003C\u002Fa>\n  \u003C\u002Fp>\n\u003C\u002Fdiv>\n\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Fdemo\u002Fdemo-en-dark.gif\">\n    \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"docs\u002Fassets\u002Fdemo\u002Fdemo-en-light.gif\">\n    \u003Cimg alt=\"Demo: an agent's rm -rf build is stopped by the delete guard, obit rm -rf build buries it instead, and obit resurrect --last brings it all back\" src=\"docs\u002Fassets\u002Fdemo\u002Fdemo-en-light.gif\" width=\"100%\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Freadme\u002Fi18n\u002Fen\u002Flifecycle-dark.svg\">\n    \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"docs\u002Fassets\u002Freadme\u002Fi18n\u002Fen\u002Flifecycle-light.svg\">\n    \u003Cimg alt=\"Lifecycle: register (obit add debug.log 2h, or from the context menu) → expire (obit list shows what is left; obit extend or obit spare before then) → reap into the graveyard (obit graveyard, kept 7 days by default) → resurrect (obit resurrect 3, back where it was, never overwriting), or purge after retention (obit purge, the real delete)\" src=\"docs\u002Fassets\u002Freadme\u002Fi18n\u002Fen\u002Flifecycle-light.svg\" width=\"100%\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\nObituary is the trash bin for AI agents: the agent and you decide what goes in. An agent gives the debug scripts, logs and screenshots it writes a lifespan as it writes them, and you add your own files from the right-click menu; whatever is in is buried when its time is up and can be restored as it was for 7 days. Nobody has to remember to clean up, and an agent's `rm -rf` no longer destroys anything for good. How it works inside: [docs\u002Farchitecture.md](docs\u002Farchitecture.md) (Chinese).\n\n## Why Obituary\n\nAgents pushed us into writing it. As soon as version 0.0.1 ran we installed it on our own machines, and every version since was written by agents in repositories it was watching.\n\n- **Agents make mess faster than people clean it up.** Rotate between Claude Code, Codex, DeepSeek and WorkBuddy and a project soon fills with debug scripts, logs, screenshots and `test-results\u002F`. Nobody can say which of it still matters, so nobody dares delete any of it. Obituary leaves the call to whoever knows best: an agent knows which debug scripts and logs it wrote and gives them a lifespan with `obit mark` as it writes them; you add your own files from the right-click menu. Once in, they are buried when due, and nobody has to remember to clean up.\n- **Not sure it's still needed? Bury it.** `obit bury` moves it into the graveyard, where it stays restorable as it was for seven days before it is really deleted. If an agent reaches for it during those seven days, Obituary tells it on the spot: it is in the graveyard, here is its number, and `obit resurrect` puts it back. The rest of the time it stays out of the way: an agent starts work knowing only that Obituary is there, without reading a list first.\n- **Afraid of one `rm -rf`.** Agents wiping a home directory or a whole drive is no longer hypothetical; people have posted it more than once. With the delete guard on, an agent's `rm -rf`, `git clean` or `Remove-Item` is stopped and replaced by the equivalent `obit` command: things go to the graveyard instead of disappearing. Detours such as `find -delete` and `xargs rm` are stopped too.\n- **Afraid the command changes on the way.** Between the command an agent means and the one that runs sit shell quoting, escaping and sometimes a proxy that rewrites commands. Lose one character and `rm -rf \"$OUT\"\u002F` becomes `rm -rf \u002F`. So Obituary does not trust the command text alone: before `obit rm` touches anything it checks the real path on disk, refuses drive roots, system directories and the user profile itself, and buries everything else where it can be resurrected. On Windows, Codex passes the command through another shell where quoting may fail, so a deletion inside backticks or `$(…)` in its commands is stopped even when it sits in quotes.\n\n## What it does\n\n- **Give files and folders a lifespan.** `obit add debug.log 2h` buries it when time is up. Pick a moment with `--at`, extend it any time (`extend`), or spare it (`spare`).\n- **The agent decides what goes in.** `obit init` adds Obituary to the agent's instructions (`OBIT.md`, an Agent Skill, MCP optional). The agent gives the debug scripts, logs and screenshots it writes a lifespan with `obit mark`, takes scratch space from `obit mktemp`, buries what it is unsure about with `obit bury`, and registers the `*.bak` files it leaves while editing.\n- **You add your own.** On Windows, right-click files or folders in Explorer (several at once is fine), choose \"Add to Obituary\" and then 1, 7 or 30 days, or \"Bury now (recoverable)\"; or give a folder such as Downloads a policy.\n- **Automatic registration when you want it.** Off by default: nothing goes in by itself. Turned on in Settings, it registers by rule (`.playwright-mcp\u002F`, `test-results\u002F`, `*.log`, the `*.bak`, `*.orig` or `*~` backups left when editing, and so on) and from the writes the hooks see, in one of three modes: tiered (what the agent created this session goes straight in, files that were there before wait for you), fully automatic, or ask about everything. Dependencies, build output and caches are never registered automatically in any mode, and files tracked by Git are never touched.\n- **End-of-session tidy-up.** When an agent is about to stop, Obituary lists the files it created this session that nothing has sorted yet and asks it to give debug scripts, logs and screenshots a lifespan or bury them, keeping the deliverables. At most once per session.\n- **Anything an agent deletes can come back.** With the delete guard on, an agent's `rm -rf`, `git clean` and similar commands are stopped and the agent is told the equivalent `obit` command. It uses that instead, and things go to the graveyard rather than disappearing.\n- **Bury first, purge later.** The graveyard keeps everything for 7 days by default; `obit resurrect` puts it back where it was and never overwrites what is there now.\n- **Files are tracked by identity, not by name.** Every record keeps the volume serial number and the 128-bit file ID, so a renamed or moved file is still found, and a different file that now sits at the old path is left alone.\n- **Claude Code and Codex.** `obit init` registers hooks and an Agent Skill; an MCP server is optional; `--uninstall` removes only what Obituary added.\n- **Lives in the tray, like Everything (Windows).** `obit init` starts a tray icon at login. Its menu shows recent burials (click one to resurrect it), lets you pause automatic cleanup, and opens Obituary's small window. A Windows scheduled task remains as a fallback.\n- **A small window (Windows).** Upcoming, Graveyard, Decisions, Settings and Logs: resurrect files, approve proposals and change settings without the command line (`obit-gui.exe`, or \"Open Obituary\" in the tray menu). Chinese and English, eight looks.\n- **Context menu and dates in Explorer (Windows).** Right-click files or folders (several at once is fine) → \"Add to Obituary\" → 1, 7 or 30 days, or \"Bury now (recoverable)\"; on Windows 11 it is under \"Show more options\". Tracked items in Downloads and on the Desktop show as \"name (11-13 burial)\" while the real file name stays the same.\n- **Docker containers.** `obit docker add \u003Ccontainer> 3d` gives a container a lifespan; at expiry it is stopped with `docker stop` (`obit resurrect` starts it again) and removed with `docker rm` only after the retention period. Volumes and images are never touched. With automatic registration on, containers an agent session started for the project are registered too, and you are told afterwards.\n- **Folder policies.** `obit watch Downloads 2w`: every file that lands there is buried two weeks later. An expired subfolder only produces a proposal and is buried after you approve it. The policy itself needs your approval too.\n\n## Install\n\nWindows 10 \u002F 11, macOS and Linux (x64 and ARM64). Send this sentence to the agent you use. It installs Obituary, connects it to itself and stops wherever a decision is yours:\n\n```text\nRead https:\u002F\u002Fobituary.woodfish.site\u002Fagent-install.md and follow it to install Obituary and connect it to yourself.\n```\n\n\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Freadme\u002Fagents\u002Fagents-dark.svg\">\n    \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"docs\u002Fassets\u002Freadme\u002Fagents\u002Fagents-light.svg\">\n    \u003Cimg alt=\"Agents Obituary connects to: Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Trae, Qoder, CodeBuddy, Kimi, DeepSeek Harness, WorkBuddy, OpenCode, Cline, Roo Code, Kilo Code, OpenClaw, Hermes, MiniMax Code, Lingma, Google Antigravity, Mistral Vibe, Factory Droid, ZCode, Pi, Oh My Pi\" src=\"docs\u002Fassets\u002Freadme\u002Fagents\u002Fagents-light.svg\" width=\"100%\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\nEach platform at a glance:\n\n| | Windows | macOS | Linux |\n|---|---|---|---|\n| Install with | Scoop, the `install.ps1` script (winget in review) | Homebrew, the `install.sh` script | the `install.sh` script |\n| Checks for expiry every 5 minutes | resident tray process, Task Scheduler as a fallback | user launchd agent | `systemd --user` timer; a user crontab without systemd |\n| CLI, graveyard and resurrection, automatic registration (optional), delete guard, agent integration (hooks, Skill, MCP), Docker containers, folder policies | yes | yes | yes |\n| Tray, small window, context menus, burial dates in Explorer, Start menu and desktop shortcuts | yes | the CLI instead: `obit list`, `obit graveyard`, `obit resurrect` | as on macOS |\n| Recycle Bin mode | yes | graveyard only | graveyard only |\n\nInstalling by hand, updating and uninstalling: see the [install guide](docs\u002Finstall.en.md).\n\n## Switch language\n\nObituary currently supports English and Simplified Chinese in the command line, tray, small window and Explorer menu.\n\n- Temporary: set OBIT_LANG=en or OBIT_LANG=zh-CN before a command.\n- Save it: run obit config --language en, obit config --language zh-CN or obit config --language auto.\n- Automatic choice: remove OBIT_LANG and keep ui.language = auto; Obituary checks the configuration, LC_ALL, LC_MESSAGES, LANG and the operating system UI language.\n- Translated in this phase: list, bury and resurrect output and help, plus the Windows tray and native menu text. Hook and MCP protocol text stays English and stable.\n\n## Quick start\n\nCommon commands (replace `\u003Cid>` with the number from an `obit add` or `obit bury` receipt, or from `obit list` \u002F `obit graveyard`):\n\n```powershell\nobit add debug.log 2h                       # bury it in 2 hours (alias: mark)\nobit add output\\shots 1d12h                 # folders work too\nobit add report.zip --at \"2026-12-01 18:00\" # at a given moment\nobit list                                   # what is left and for how long\nobit extend \u003Cid> 1d                         # one more day\nobit spare \u003Cid>                             # stop tracking, keep the file (alias: cancel)\nobit reap                                   # bury everything that is due now (alias: sweep; --dry-run previews)\nobit bury old-build                         # bury right away\nobit graveyard                              # what is in the graveyard and when it will be purged (--here: this folder only)\nobit resurrect \u003Cid>                         # put it back; if the name is taken, it comes back renamed, never overwriting\nobit resurrect --last                       # undo the last deletion: everything one obit bury \u002F obit rm buried comes back\nobit purge                                  # purge what is past retention (--all for everything, after confirming; --dry-run previews)\nobit purge \u003Cid>                             # purge this grave now (permanent; asks first, --yes outside a terminal); also abandons an unverifiable interrupted resurrect\nobit stats                                  # eulogy: how much was buried, space freed, resurrections (alias: eulogy)\nobit log                                    # the full record of everything done\n```\n\nBackground running, connecting each agent, the delete guard, MCP and the Skill are covered in the [user guide](docs\u002Fusage.en.md).\n\n## Documentation\n\n- [User guide](docs\u002Fusage.en.md): every feature in detail\n- [Install guide](docs\u002Finstall.en.md): installing by hand, updating and uninstalling\n- [Agent coverage](docs\u002Fagents.md): how far each of the 30 agents connects\n- [Docs index](docs\u002FREADME.md): every document, including the architecture and code conventions\n- [Code signing policy](https:\u002F\u002Fobituary.woodfish.site\u002Fdocs\u002Fen\u002Fcode-signing): Free code signing provided by [SignPath.io](https:\u002F\u002Fabout.signpath.io\u002F), certificate by [SignPath Foundation](https:\u002F\u002Fsignpath.org\u002F)\n- [Privacy policy](https:\u002F\u002Fobituary.woodfish.site\u002Fdocs\u002Fen\u002Fprivacy)\n\n## Build Obituary with us\n\nIssues and pull requests are welcome. The most welcome is an issue that comes with its fix: you found it, you fixed it, and once it is merged your avatar shows up here. [CONTRIBUTING.md](CONTRIBUTING.md) says how to start; report anything that could delete the wrong file privately, as [SECURITY.md](SECURITY.md) describes.\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fwoodfishhhh\u002Fobituary\u002Fgraphs\u002Fcontributors\">\u003Cimg alt=\"Contributors\" src=\"https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=woodfishhhh\u002Fobituary&max=100\">\u003C\u002Fa>\n\nChinese-speaking users also chat in the QQ group **1135603207** and on the [LINUX DO](https:\u002F\u002Flinux.do) community.\n\n\u003Cp>\n  \u003Ca href=\"https:\u002F\u002Fstar-history.com\u002F#woodfishhhh\u002Fobituary&Date\">\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=woodfishhhh\u002Fobituary&type=Date&theme=dark\">\n      \u003Cimg alt=\"Star history\" src=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=woodfishhhh\u002Fobituary&type=Date\" width=\"100%\">\n    \u003C\u002Fpicture>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n## License\n\n[MIT](LICENSE)\n","Obituary 是一个面向 AI 代理（AI agents）的轻量级文件生命周期管理工具，提供自动过期与安全回收功能。核心能力包括：为 AI 生成的临时文件设置自定义有效期（如日志、缓存），到期自动清理；对 AI 执行的删除操作进行拦截并暂存至‘墓地’（graveyard），支持 7 天内按需恢复，且恢复时不覆盖原路径。基于 Go 编写，无依赖、单二进制部署，适配 CLI 和上下文菜单集成。适用于本地开发环境、AI 工具链中需兼顾自动化清理与误删防护的场景。","2026-11-24 04:52:47","CREATED_QUERY"]