Skip to content

fix: bring docs, skill and config template in line with the binary - #406

Merged
ryanlewis merged 2 commits into
mainfrom
docs/drift
Oct 8, 2026
Merged

ryanlewis merged 2 commits into
mainfrom
docs/drift

Conversation

@ryanlewis

Copy link
Copy Markdown
Owner

A docs check against main found five places where the docs site, README, the bundled skill or the config template describe something the binary does not do. This fixes them before v0.10.0.

  • --include-completed was documented as accepted on every listing. It is accepted only on inbox, today, anytime, upcoming and someday, and on a --project or --area listing with no view. Elsewhere it is an error. The docs now say so. On a bare --tag sweep the refusal named the internal "project" view; it now says "a bare --tag listing". The refusal exits 1 like the others. The exit 80 seen in the report comes from kong's conflict check when --open-only is passed too.
  • The skill's config key list was missing open_only.
  • The config init template's example db path lacked the ThingsData-XXXXX/ folder, so uncommenting it failed. It now has the folder, with a comment saying to replace XXXXX, since the path is used as written.
  • The configuration and agents pages now say the database is found under $HOME, and that --db or the db key is the only override. There is no environment variable.
  • Cancelling a completed item, or completing a cancelled one, returned the generic error token under --json. It now returns already closed with the item's kind, uuid and title. Tests cover complete, cancel, edit and project edit. The token lists in the README, agents page and skill include it, and misfiled, which was missing from the lists.

Checked with make test, make lint, a Hugo build, and the built binary against a fixture database with stubbed osascript and open.

- --include-completed: say where it is accepted and where it is an error,
  and name a bare --tag sweep in the refusal instead of the internal
  "project" view.
- Skill: list open_only among the config keys.
- config init: give the db example the ThingsData-XXXXX folder it needs,
  and say to replace XXXXX, since the path is used as written.
- Document that the database is found under $HOME and that --db or the db
  key is the only override.
- --json: refuse a complete/cancel switch on a closed item with the
  "already closed" token instead of the generic "error".
@ryanlewis
ryanlewis merged commit eb51c51 into main Oct 8, 2026
10 checks passed
@ryanlewis
ryanlewis deleted the docs/drift branch October 8, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant