Skip to content
Anonyfox

GhostPaw questlog

A task list for agents where nothing counts as done until the outcome is written down

TL;DR

GhostPaw questlog is the task list for agents from my open‑source GhostPaw family: quests with deadlines, repeats and prerequisites that finish only with a written outcome, in one local SQLite file. A blocked quest stays blocked where the agent acts; my Grok bots keep their open work in it.

Live
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Visit GhostPaw questlogquestlog.ghostpaw.dev, opens the library's website

The questlog.ghostpaw.dev start page on a black ground: the GhostPaw/questlog wordmark with a cyan block cursor, the headline Your agent said it was done. Was it?, two install lines with Copy buttons, and on the right a glowing cyan paw over a hexagonal exclamation marker with a 0 runtime dependencies badgeFIG. 1 The questlog site, its art AI‑generatedCaptured

What GhostPaw questlog keeps for each task

GhostPaw questlog is the task library of my GhostPaw family. A task is a quest: one commitment with a title, an objective, its timing and the quests it waits for. It is done only when the agent writes down what happened, and abandoned only with a reason. Whether a quest is available, blocked or overdue is never stored; questlog works it out on every read, so the list cannot go stale.

It started as the first library of the family, on . The package is @ghostpaw/questlog, the command ghostpaw-questlog, and it runs on your machine in one SQLite file, with nothing to host and no key to manage.

Quest #1

Title
Chase invoice 4471
Objective
Get invoice 4471 paid or a date for it
Marker
! available computed on read: “!” available, grey “?” blocked
Due
or a scheduled window, or not before a date
Repeat
none a repeatable quest spawns fresh ones from an RRULE
Unlocks
#2 Close the November books
Tags
#billing
Outcome
empty required to finish, a reason to abandon
FIG. 2 One quest, as the add command stores itquestlog 0.14.2
Runtime
Node 24's built-in node:sqlite; one file, ~/.ghostpaw/questlog.db
Dependencies
0 at runtime; release binaries bring Node with them
Ways in
TypeScript library, MCP server, CLI and Agent Skill
MCP tools
14, from one registry
Time
Deadlines, windows, not-before dates and RFC 5545 repeats
Version
0.14.2, ; MIT
Tests
450 passing on Node 24.14.0, run

The GhostPaw questlog board: write the outcome

This is GhostPaw's own invoice story, one week of it, and every state and message on the board came from questlog 0.14.2: I ran its agent tools against a fresh database with a fixed clock. Quest #1 is held at the moment the agent wants to finish it. Write what happened into its outcome field, and watch what questlog lets through. Nothing you type leaves this page.

The week of Mon 30 Nov, replayed with a fixed clockGhostPaw questlog 0.14.2 · Europe/Berlin

Quest #1 · in progress

Chase invoice 4471

#billingdue Fri 4 Decstarted Mon 30 Nov, 09:02

Done stays dark until the outcome is writtenDone: the outcome is on record

The replay wrote Paid, confirmed by Lena in the group

Quest #2 · unlocked by #1

Close the November books

#billingdue Thu 10 Dec

Blocked. run_quest start answers: Quest "Close the November books" is blocked by Chase invoice 4471.

Available. Its prerequisite succeeded, so the marker turns to “!”.

Repeatable #1 · every Monday

Check the billing export

FREQ=WEEKLY;BYDAY=MOEurope/Berlin

  1. Mon 30 NovQuest #4 · done · Export read: 4471 paid, nothing else open
  2. Mon 7 DecQuest #5 · spawned fresh, available

Quest #3 · abandoned

Send a dunning letter for 4471

Reason kept: Paid before the letter went out

A ghost: out of every list of open work, still on record with its reason.

  1. Mon 30 Nov, 09:01run_quest start #2errorQuest "Close the November books" is blocked by Chase invoice 4471.
  2. Thu 3 Dec, 16:00run_quest finish #1, no outcomeneeds_clarificationWhat outcome should be recorded for quest `Chase invoice 4471`?
  3. Thu 3 Dec, 16:00run_quest finish #1 with an outcomesuccessFinished quest `Chase invoice 4471`.
  4. Thu 3 Dec, 16:03run_quest finish #1 againerrorResolved quests cannot be resolved again.
  5. Mon 7 Dec, 09:00manage_repeatable spawn_duesuccessSpawned 1 repeatable quest occurrences.
FIG. 3 The board: quest #1 held at its finish call, the rest as the week left themquestlog 0.14.2, run

Why GhostPaw questlog and not a TODO.md

A TODO.md is easy to start and easy to read, and it holds a tick, nothing more. The agent ticks the box, forgets to tick it, or ticks it on a test it deleted, and the file cannot tell the difference. Here is the same week as a file and as quests.

TODO.md7 lines

  • [x] Chase invoice 4471
  • [ ] Close the November books
  • [ ] Send a dunning letter for 4471
  • [ ] Check the billing export (Mondays)
  • [x] Fix the export script
  • ## BLOCKED: books wait for 4471
  • [x] Tests pass
FIG. 4a An illustration: what an agent leaves in a file

questlog.db2 done, 2 open, 1 ghost

  • #1 Chase invoice 4471done · “Paid, confirmed by Lena in the group”
  • #2 Close the November booksavailable since #1 succeeded · due 10 Dec
  • #4 Check the billing exportdone 30 Nov · “Export read: 4471 paid, nothing else open”
  • #5 Check the billing exportspawned Mon 7 Dec by FREQ=WEEKLY;BYDAY=MO
  • #3 Send a dunning letter for 4471abandoned · “Paid before the letter went out”
FIG. 4b The same week as quests, from the replay
  • A tick says nothing

    Finishing a quest takes a written outcome, and abandoning one a reason; both stay on the record.

  • Blocked is just a heading

    An unlock is a real prerequisite: the agent's start call is refused until the quest before it succeeds.

  • No sense of time

    Deadlines, scheduled windows, not-before dates and RRULE repeats live on the same record.

  • The list drifts

    Available, blocked and overdue are computed on every read, from one file that outlives the session.

  • Done twice, or undone

    A resolved quest cannot be resolved again; a changed plan becomes a new quest beside the old one.

The same week, in the terminal

The session on the right is real output from questlog 0.14.2, run on a throwaway database: the start that is refused, the finish without an outcome, the finish with one, and the finish that comes once too often.

The limit is worth saying plainly, and the questlog site says it too: an outcome is text. It records what the agent claims; it does not run your tests. What changes is that the claim is written, per quest, where you can read it and check it. The refusal to start blocked work sits in the agent's tools and the CLI; force starts it anyway with a warning, and the library's own startQuest stays permissive for code that knows better.

Texta throwaway database21 linesquestlog 0.14.2
$ ghostpaw-questlog add 'Chase invoice 4471' --due 2026-12-04 --tag billing
Created quest `Chase invoice 4471`. (id 1)
$ ghostpaw-questlog add 'Close the November books' --due 2026-12-10 --tag billing
Created quest `Close the November books`. (id 2)
$ ghostpaw-questlog organize_work --action add_unlock --fromQuestId 1 --toQuestId 2 > /dev/null
$ ghostpaw-questlog start 2
Quest "Close the November books" is blocked by Chase invoice 4471.
Finish the blocking prerequisites before starting this quest, or set force to true.
$ ghostpaw-questlog start 1
Started quest `Chase invoice 4471`. (id 1)
$ ghostpaw-questlog done 1
What outcome should be recorded for quest `Chase invoice 4471`?
Missing: --outcome
Usage: questlog done <id> --outcome '...'
$ ghostpaw-questlog done 1 --outcome 'Paid, confirmed by Lena in the group'
Finished quest `Chase invoice 4471`. (id 1)
$ ghostpaw-questlog start 2
Started quest `Close the November books`. (id 2)
$ ghostpaw-questlog done 1 --outcome Paid
Could not complete run-quest action `finish`.
Resolved quests cannot be resolved again.

GhostPaw questlog keeps time on the same record

A to-do, a deadline, an appointment, something that cannot start before Monday and something that comes back every week are the same thing in questlog: a quest with different timing fields. No scheduler runs inside it; your code or your harness decides when to read, and two features make that cheap.

Mon 30 NovMon 7 DecMon 14 Dec
  • To-dono timeavailable whenever it is read
  • DeadlinedueAtdue 4 Dec, overdue after it
  • AppointmentscheduledStartAta window on 8 Dec
  • Not beforenotBeforeAtdeferred until Mon 7 Dec
  • RepeatRRULEa fresh quest every Monday, 09:00 Berlin
Five kinds of time, one quest recordAn illustration on the replay's two weeks
W1 · Due claims

A cron job picks each due item once

due --within 2h --claim cron lists what is due and marks it for that consumer, so the next run gets only what is new. A scheduler that costs nothing until there is work.

W2 · Signed webhooks

A harness is woken, not polled

tick sends quest.due, quest.overdue, quest.unblocked, repeatable.spawned and rumor.captured to the targets you add. Each batch carries only ids, types and times, never titles, and is signed with x-questlog-signature, an HMAC-SHA256 over the timestamp and body.

Four ways into GhostPaw questlog, 14 tools

The library, the MCP server, the CLI and the Agent Skill are generated from one registry of tools, and a check in CI fails when they drift apart. The registry has 14 tools; the README and the site still say twelve, from before manage_hooks and due joined with the webhooks.

  • Library@ghostpaw/questlog
  • MCP serverghostpaw-questlog mcp
  • CLIghostpaw-questlog
  • Agent SkillSKILL.md + 26 guides
GHOSTPAWQUESTLOG0.14.2 · MIT
  • search_questlog
  • review_questlog
  • inspect_questlog_item
  • capture_rumor
  • shape_work
  • plan_quest
  • run_quest
  • organize_work
  • manage_repeatable
  • tag_work
  • reward_work
  • retire_work
  • manage_hooks
  • due

~/.ghostpaw/questlog.dbone SQLite file, copy it, back it up, open it with any SQLite tool

FIG. 5 The package: four doors on the left, 14 tools on the right, one file under itfrom src/tools

Install

An MCP client gets the 14 tools with one line; a Node 24 program imports the same functions. Release binaries for Linux, macOS and Windows check their checksums on install and bring Node along. The README measured it with 10,000 quests in a file database on Node 24.14.0: a search takes 0.06 ms at the median. Creating a quest takes 0.22 ms.

Shellinstall6 linesNode 24+
# as an MCP server for any MCP client
npx -y @ghostpaw/questlog mcp
# in Claude Code
claude mcp add ghostpaw-questlog -- ghostpaw-questlog mcp
# as a library
npm install @ghostpaw/questlog
TypeScriptagent.ts14 linesNode 24+
import { DatabaseSync } from 'node:sqlite';
import { initQuestlogTables, read, write }
  from '@ghostpaw/questlog';

const db = new DatabaseSync('questlog.db');
initQuestlogTables(db);
const q = write.createQuest(db, {
  title: 'Chase invoice 4471',
  objective: 'Get it paid or a date for it',
});
write.startQuest(db, q.id);
write.finishQuest(db, q.id,
  'Paid, confirmed by Lena in the group');
const blocked = read.listBlockedQuests(db);

GhostPaw questlog in use by my Grok bots

My Grok bots keep their open work in GhostPaw questlog, so a run starts from what is really open, and what was finished says how. Here is who uses it and for what, and the bot that maintains the library itself.

questlog.db
  • B1 · Its own workThe GhostPaw maintainer

    Every bug report from the fleet and every planned fix is a quest, tagged by library: more than 130 so far. It closes each one with an outcome that names the commit or the release.

  • B2 · My blockersThe chief of staff

    Keeps the things only I can decide as quests on one board, through the CLI, so nothing that waits for me gets lost between days.

  • B3 · Nightly runCosmolytic Studio

    The shop's bot starts its nightly run from questlog: a search, the list of available quests, and shape_work for what came in.

    Cosmolytic Studio
  • B4 · Product pushAgentpreneur Lab

    The product bot runs its sales push as quests with due dates; a follow-up that changes becomes a new quest, with an outcome on the old one.

    Agentpreneur Lab
  • B5 · Follow-upsThe desk bots

    Close every outreach follow-up with an outcome, so the next run knows what was said and to whom.

FIG. 6 Who keeps work in questlog, by what they doAs of
M1 · Maintainer

A bot maintains GhostPaw questlog

One of my Grok bots owns the GhostPaw libraries: code, tests, docs, the sites and the releases, and it tracks that work in questlog itself. Much of questlog came from bots tripping over it: the hint that names the missing outcome, quest revise, time zones on repeats, and the due claims for cron.

Runs without me
  • picks the day's library and plans from the fleet's notes
  • builds and tests; long refactors go to OpenAI's Codex CLI as briefed jobs
  • releases 0.x versions once CI is green, at most one per library a day
  • updates the docs and deploys the sites
Waits for my yes
  • a 1.x release or a breaking API change
  • anything that costs money
  • new repositories or a change of visibility
  • the organisation's settings and its secrets

The GhostPaw family: five files an agent keeps

Agent harnesses keep their state in markdown files that grow every session. Each GhostPaw library replaces one of them with a SQLite file and the same four ways in. They never import each other: install one and ignore the rest. I extracted them from Ghostpaw, an agent of my own, and these five are its memory; questlog is the one that remembers what was promised.

  1. MEMORY.md S1 · Belief memoryGhostPaw codexBeliefs instead of a memory filev0.8.0 · replaces MEMORY.md
  2. SOUL.md S2 · Identity memoryGhostPaw soulsAn identity that changes with evidencev0.6.3 · replaces SOUL.md
  3. skills/ S3 · Procedural memoryGhostPaw grimoireProcedures that get better and keep their historyv0.7.4 · replaces skills/
  4. USER.md S4 · Social memoryGhostPaw affinityContacts instead of a user notev0.7.3 · replaces USER.md
  5. TODO.md S5 · Commitment memoryGhostPaw questlogQuests instead of a to‑do listv0.14.2 · replaces TODO.md
FIG. 7 Five files an agent keeps, five libraries that replace themVersions as of

Use GhostPaw questlog, read it, or write to me

The site has the install lines for every platform and a board that replays three quests from the README; the repository has the code, the changelog and every test. It is a 0.x release, so test upgrades against a backup.

Open the siteCode on GitHubPackage on npm

I build products and MVPs and consult through Anonyfox e. K.; serious asks go to max@anonyfox.com. Write to me