Skip to content

feat(miner-foundation): scaffold packages/gittensory-miner package skeleton #2287

Description

@JSONbored

Stand up packages/gittensory-miner/ (npm name @jsonbored/gittensory-miner, CLI bin gittensory-minerbin/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

  • packages/gittensory-miner/package.json — name @jsonbored/gittensory-miner, AGPL-3.0-only, bin: { "gittensory-miner": "bin/gittensory-miner.js" }, dependencies on @jsonbored/gittensory-engine (workspace-linked) plus whatever minimal CLI deps are needed (e.g. zod for later input validation, matching gittensory-mcp's dependency choice).
  • packages/gittensory-miner/bin/gittensory-miner.js#!/usr/bin/env node shebang, parses process.argv, implements version and --help only for this issue (real commands land later in this phase).
  • packages/gittensory-miner/tsconfig.json if the CLI is authored in TS-then-built (match whichever approach gittensory-mcp uses — plain checked JS via node --check, for consistency with the sibling package) or plain JS matching gittensory-mcp's existing style exactly.
  • packages/gittensory-miner/README.md stub describing the package's eventual purpose (autonomous discover→analyze→plan→prepare→create→manage miner runtime) and its current (foundation-only) scope.
  • Confirm npm ci at the repo root discovers the new workspace package with no additional config (verify via npm ls --workspace @jsonbored/gittensory-miner).

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions