Wire the slim "laptop mode" form factor into the gittensory-miner CLI scaffolded in the prior packaging issue: a zero-infra path where npm install -g @jsonbored/gittensory-miner && gittensory-miner init sets up a local SQLite state file and config directory with no Docker/Redis/Postgres dependency, mirroring how packages/gittensory-mcp/bin/gittensory-mcp.js resolves its config path (GITTENSORY_CONFIG_DIR/XDG_CONFIG_HOME fallback chain) and cache directory. This issue is packaging/CLI plumbing only — it does not implement discovery/planning/create logic (those are separate, earlier-phase concerns); it just proves the laptop-mode install-and-run loop boots, creates its state dir, and exits cleanly.
Deliverables
References
packages/gittensory-mcp/bin/gittensory-mcp.js lines ~135-141 — the configPath/cacheDir resolution chain to mirror (env var -> XDG -> homedir fallback).
- Prior issue:
packages/gittensory-miner/ package skeleton (this extends it).
- New path:
packages/gittensory-miner/lib/laptop-init.js (proposed).
Wire the slim "laptop mode" form factor into the
gittensory-minerCLI scaffolded in the prior packaging issue: a zero-infra path wherenpm install -g @jsonbored/gittensory-miner && gittensory-miner initsets up a local SQLite state file and config directory with no Docker/Redis/Postgres dependency, mirroring howpackages/gittensory-mcp/bin/gittensory-mcp.jsresolves its config path (GITTENSORY_CONFIG_DIR/XDG_CONFIG_HOMEfallback chain) and cache directory. This issue is packaging/CLI plumbing only — it does not implement discovery/planning/create logic (those are separate, earlier-phase concerns); it just proves the laptop-mode install-and-run loop boots, creates its state dir, and exits cleanly.Deliverables
gittensory-miner initcommand: creates~/.config/gittensory-miner/(respectingGITTENSORY_MINER_CONFIG_DIR/XDG_CONFIG_HOME, same fallback chain as the mcp package'sconfigPathresolution) and an empty SQLite state file inside it.gittensory-miner doctorcommand: reports Node version, config dir path, SQLite file existence/writability, and whether Docker is present (informational only — never required).doctorreports absent-Docker gracefully.npm install -g ...->init->doctor).References
packages/gittensory-mcp/bin/gittensory-mcp.jslines ~135-141 — theconfigPath/cacheDirresolution chain to mirror (env var -> XDG -> homedir fallback).packages/gittensory-miner/package skeleton (this extends it).packages/gittensory-miner/lib/laptop-init.js(proposed).