{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "ztratar-openhistory--let-local-agent-list-unfinished-work",
 "repo": "ztratar/openhistory",
 "repo_url": "https://github.com/ztratar/openhistory",
 "repo_slug": "ztratar-openhistory",
 "title": "Let a local coding agent list your unfinished work",
 "page_title": "How to let a local coding agent list your unfinished work with Openhistory",
 "summary": "Connect a local agent to OpenHistory's read-only MCP tools to surface open tasks.",
 "who": "A developer who uses a local coding agent and wants it to pick up yesterday's open threads without pasting notes by hand.",
 "problem": "Agents start each session with no memory of what you did earlier, so you have to re-explain context every time.",
 "outcome": "Your agent uses OpenHistory's search and unfinished-work tools to summarize open items, with a revocable credential for that connection.",
 "steps": [
  "Install and open OpenHistory, and let it collect activity after setup.",
  "In Settings, choose Copy prompt, then paste it into your local coding agent.",
  "Confirm the agent connects to the default endpoint `http://127.0.0.1:47831/openhistory/mcp`.",
  "Ask the agent to identify unfinished work and to find referenced files and links.",
  "Review the agent's answer against the timeline before acting on it."
 ],
 "agent_prompt": "Connect to the OpenHistory MCP server at http://127.0.0.1:47831/openhistory/mcp using the bearer credential from the copied prompt. List the unfinished work from the last <number> days as a short checklist with the source timeline item for each entry, and verify that every entry has a timeline item reference before you report it.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The MCP server only reads a redacted projection, so raw activity is not exposed to the agent, and the server binds to 127.0.0.1 only.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "typescript",
 "requirements": [
  "A Mac running macOS 14 or later",
  "Accessibility permission for OpenHistory in System Settings (needed for richer context)",
  "For building from source only: Node.js 22 and Xcode with Swift 6.1 or later",
  "Optional: Apple Intelligence on macOS 26 or later for on-device summaries, or an API key for OpenAI, Anthropic, or Kimi"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The agent connection uses a bearer credential that OpenHistory creates; treat it as a secret and revoke it in OpenHistory if the agent setup is no longer trusted."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ztratar-openhistory/let-local-agent-list-unfinished-work/",
 "md": "https://dedupedai.com/use-cases/ztratar-openhistory/let-local-agent-list-unfinished-work/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/ztratar-openhistory--let-local-agent-list-unfinished-work.json",
 "api_version": "v1"
}
