From 16186a344a7b61633cb7342aac37ac56ad83d261 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Thu, 12 Feb 2026 19:55:05 -0800 Subject: =?UTF-8?q?Add=20comprehensive=20test=20suite=20=E2=80=94=2081%=20?= =?UTF-8?q?cross-package=20coverage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug fixes: - config: remove unused log import - item: fix Printf format %d->%t for boolean ReadState - util: update stale config.Read -> config.Init, remove config.Config.DBServer Test files added: - config/config_test.go: Init, readConfig, addDefaults (100%) - vlog/vlog_test.go: Printf, Println verbose/silent (100%) - models/db_test.go: InitDB tests - models/feed/feed_test.go: CRUD, filter, Categories, NewFeed, ResolveFeedURL (87%) - models/item/item_test.go: CRUD, Filter with category/search/starred, rewriteImages (71%) - exporter/exporter_test.go: all export formats (91%) - importer/importer_test.go: InsertIItem, ImportJSON (90%) - crawler/crawler_test.go: GetFeedContent, CrawlFeed, CrawlWorker, Crawl (89%) - web/web_test.go: auth, login/logout, stream, item, feed, category, export, crawl, imageProxy handlers (77%) Remaining 0% functions require HTTP/rice.MustFindBox/main entry and can't be unit tested without refactoring (see tickets NK-gqkh96, NK-6q9nyg). --- .agent/workflows/crank.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .agent/workflows/crank.md (limited to '.agent/workflows') diff --git a/.agent/workflows/crank.md b/.agent/workflows/crank.md new file mode 100644 index 0000000..70470b6 --- /dev/null +++ b/.agent/workflows/crank.md @@ -0,0 +1,15 @@ +--- +description: Turn the crank with Thicket +--- + +Your goal is to improve the project by resolving tickets and discovering additional work for future agents. + +1. Work on the ticket described by `thicket ready`. +2. When resolved, run `thicket close `. +3. Think of additional work and create tickets for future agents: + ```bash + thicket add --title "Brief descriptive title" --description "Detailed context" --priority= --type= --created-from + ``` +4. Commit your changes. + +**CRITICAL**: NEVER edit `.thicket/tickets.jsonl` directly. Always use the `thicket` CLI. -- cgit v1.2.3