{"_id":"@bobfromarcher/triage","name":"@bobfromarcher/triage","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bobfromarcher/triage","publishConfig":{"access":"public"},"version":"1.0.0","description":"A prioritization engine for plain-text tasks: ICE/RICE scoring, dependency-aware unblocking, and a daily plan that fits your time budget. Tasks are markdown you own. Zero dependencies.","bin":{"triage":"bin/triage.js"},"main":"bin/triage.js","scripts":{"test":"node test/test.js","start":"node bin/triage.js"},"keywords":["tasks","todo","prioritization","ice","rice","planning","productivity","markdown","gtd","cli","zero-dependency"],"author":{"name":"bobfromarcher"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bobfromarcher/triage.git"},"bugs":{"url":"https://github.com/bobfromarcher/triage/issues"},"homepage":"https://github.com/bobfromarcher/triage#readme","engines":{"node":">=16"},"gitHead":"56c26b49c770e46f6d19bd29be016828f2cb48fe","_id":"@bobfromarcher/triage@1.0.0","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-8X4c08F7hL2jETVyx6PGyWjZVgrFebXHpEglKVsz8FeBpgIUmJK56QWygFUTMZqLVgpPBjf4nUmzIfO2txe3vw==","shasum":"7cc17f5d58003df8ecaa77e4d9ef6d40cadf543e","tarball":"https://registry.npmjs.org/@bobfromarcher/triage/-/triage-1.0.0.tgz","fileCount":4,"unpackedSize":17882,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCRa4l53RGF4cF5mjaSLbI4zd/cWGQgtoiP8o0JkwT+3gIhAIriixaoQzmER4gi8yKh/g9Ewbtm9Hbe+aIothzjGAQl"}]},"_npmUser":{"name":"bobfromarcher","email":"chrisbellth@gmail.com"},"directories":{},"maintainers":[{"name":"bobfromarcher","email":"chrisbellth@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/triage_1.0.0_1781973397377_0.44133143255185714"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-20T16:36:37.182Z","1.0.0":"2026-06-20T16:36:37.502Z","modified":"2026-06-20T16:36:37.673Z"},"maintainers":[{"name":"bobfromarcher","email":"chrisbellth@gmail.com"}],"description":"A prioritization engine for plain-text tasks: ICE/RICE scoring, dependency-aware unblocking, and a daily plan that fits your time budget. Tasks are markdown you own. Zero dependencies.","homepage":"https://github.com/bobfromarcher/triage#readme","keywords":["tasks","todo","prioritization","ice","rice","planning","productivity","markdown","gtd","cli","zero-dependency"],"repository":{"type":"git","url":"git+https://github.com/bobfromarcher/triage.git"},"author":{"name":"bobfromarcher"},"bugs":{"url":"https://github.com/bobfromarcher/triage/issues"},"license":"MIT","readme":"# triage\n\n[![npm](https://img.shields.io/npm/v/@bobfromarcher/triage?color=cb3837&logo=npm)](https://www.npmjs.com/package/@bobfromarcher/triage)\n[![CI](https://github.com/bobfromarcher/triage/actions/workflows/ci.yml/badge.svg)](https://github.com/bobfromarcher/triage/actions/workflows/ci.yml)\n[![license](https://img.shields.io/npm/l/@bobfromarcher/triage?color=blue)](LICENSE)\n[![zero deps](https://img.shields.io/badge/dependencies-0-success)](package.json)\n\nA prioritization engine for plain-text tasks. It scores your tasks with ICE or RICE, resolves dependencies to show what is actually unblocked right now, and builds a daily plan that fits the time you have. Your tasks are markdown lines you own and can grep, sync, or keep in git. No dependencies, no AI.\n\nA todo list tells you what exists. triage tells you what to do next, and why.\n\n<p align=\"center\"><img src=\"demo.svg\" alt=\"triage ranking what to do next\" width=\"520\"></p>\n\n## Install\n\n```bash\nnpm install -g @bobfromarcher/triage\n```\n\n## How it works\n\nA task is one markdown line with inline metadata:\n\n```\n- [ ] Ship login page #frontend ice:9/7/5 est:3h needs:t1 id:t2\n```\n\nYou add tasks, score the ones that matter, and triage does the ranking and planning.\n\n```bash\n# quote the whole task so your shell keeps the #tags\ntriage add \"Design auth API #backend ice:8/8/6 est:2h id:t1\"\ntriage add \"Build login page #frontend ice:9/7/5 est:3h needs:t1\"\n\ntriage                  # ranked list of what is actionable now\ntriage blocked          # what is waiting, and on what\ntriage plan --time 3h   # the best set of tasks that fits 3 hours\ntriage done t1          # finishing t1 unblocks anything that needed it\n```\n\n## Metadata\n\n| Token | Meaning |\n| --- | --- |\n| `#tag` | Project or area, repeatable |\n| `ice:I/C/E` | Impact, Confidence, Ease, each 1 to 10. Score is `I * C * E` |\n| `rice:R/I/C/E` | Reach, Impact, Confidence, Effort. Score is `R * I * C / E` |\n| `est:2h`, `est:90m` | Time estimate |\n| `due:YYYY-MM-DD` | Due date, used as a tiebreaker |\n| `needs:id1,id2` | Dependencies. The task stays blocked until those ids are done |\n| `id:tN` | A stable id. One is assigned automatically if you omit it |\n\nPick one scoring method per list. ICE and RICE produce numbers on different scales, so mixing them in the same list makes the ranking hard to read.\n\n## Commands\n\n| Command | What it does |\n| --- | --- |\n| `triage` | Top unblocked tasks, ranked |\n| `triage add \"<text>\"` | Add a task |\n| `triage done <id>` | Mark a task done and stamp the date |\n| `triage ls [--all] [--tag t]` | List open tasks, or all |\n| `triage blocked` | Tasks waiting on dependencies |\n| `triage plan --time <budget>` | A plan that fits the time, for example `3h` or `90m` |\n| `triage stats` | Open and done counts, open work remaining, throughput over the last 7 days |\n| `triage where` | Print the task file path |\n\nEvery read command also takes `--json`.\n\n## The plan\n\n`triage plan` walks your unblocked tasks from highest score down and packs the ones that fit the budget, skipping anything that would run over. It is a fast, deterministic answer to \"what is the best use of the next three hours.\"\n\n## Where it lives\n\nTasks are stored in `~/.triage/tasks.md` (override with `TRIAGE_FILE`). It is a plain markdown file that triage owns, so keep it in a git repo or a synced folder and your task list follows you between machines.\n\n## Development\n\n```bash\ngit clone https://github.com/bobfromarcher/triage\ncd triage\nnode test/test.js\n```\n\nParsing, scoring, dependency resolution and the planner are pure functions, tested without touching the filesystem. CI runs on Node 18, 20 and 22 across Linux, macOS and Windows.\n\n## License\n\nMIT, bobfromarcher.\n","readmeFilename":"README.md","_rev":"1-7e587ba9df91a833586a217615cf69cf"}