Stand up packages/gittensory-miner/ (npm name @jsonbored/gittensory-miner, CLI bin gittensory-miner → bin/gittensory-miner.js), mirroring packages/gittensory-mcp/'s packaging conventions exactly: the same package.json shape (license, keywords, publishConfig, bin mapping, files allowlist, engines.node >=22.0.0), the same shebang-first CLI entry pattern, and a build script following the node --check per-file convention. This issue creates the package shell and a minimal --version/--help-only CLI; all real commands land in follow-up issues in this phase.
Deliverables
References
packages/gittensory-mcp/package.json (full file) — the exact packaging shape to mirror (fields, files allowlist, bin mapping).
packages/gittensory-mcp/bin/gittensory-mcp.js (lines 1-24) — the shebang + argv-parsing entry-point pattern.
packages/gittensory-mcp/package.json's build script (node --check bin/... && node --check lib/...) — the convention to replicate once this package grows more files.
- New path:
packages/gittensory-miner/ (this issue creates it).
Stand up
packages/gittensory-miner/(npm name@jsonbored/gittensory-miner, CLI bingittensory-miner→bin/gittensory-miner.js), mirroringpackages/gittensory-mcp/'s packaging conventions exactly: the samepackage.jsonshape (license, keywords,publishConfig,binmapping,filesallowlist,engines.node >=22.0.0), the same shebang-first CLI entry pattern, and abuildscript following thenode --checkper-file convention. This issue creates the package shell and a minimal--version/--help-only CLI; all real commands land in follow-up issues in this phase.Deliverables
packages/gittensory-miner/package.json— name@jsonbored/gittensory-miner,AGPL-3.0-only,bin: { "gittensory-miner": "bin/gittensory-miner.js" },dependencieson@jsonbored/gittensory-engine(workspace-linked) plus whatever minimal CLI deps are needed (e.g.zodfor later input validation, matchinggittensory-mcp's dependency choice).packages/gittensory-miner/bin/gittensory-miner.js—#!/usr/bin/env nodeshebang, parsesprocess.argv, implementsversionand--helponly for this issue (real commands land later in this phase).packages/gittensory-miner/tsconfig.jsonif the CLI is authored in TS-then-built (match whichever approachgittensory-mcpuses — plain checked JS vianode --check, for consistency with the sibling package) or plain JS matchinggittensory-mcp's existing style exactly.packages/gittensory-miner/README.mdstub describing the package's eventual purpose (autonomous discover→analyze→plan→prepare→create→manage miner runtime) and its current (foundation-only) scope.npm ciat the repo root discovers the new workspace package with no additional config (verify vianpm ls --workspace @jsonbored/gittensory-miner).References
packages/gittensory-mcp/package.json(full file) — the exact packaging shape to mirror (fields,filesallowlist,binmapping).packages/gittensory-mcp/bin/gittensory-mcp.js(lines 1-24) — the shebang + argv-parsing entry-point pattern.packages/gittensory-mcp/package.json'sbuildscript (node --check bin/... && node --check lib/...) — the convention to replicate once this package grows more files.packages/gittensory-miner/(this issue creates it).