Move issues (01–29) and PRD from .scratch/distributed-inference-network/ into docs/issues/ and docs/. Update ralph_progress.py DEFAULT_PRD path and rewrite docs/agents/issue-tracker.md to reflect the new layout. The distributed_inference_network.egg-info/docs/ mirror is a build artifact already covered by *.egg-info/ in .gitignore — not committed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
Status: ready-for-agent
01 — Monorepo scaffold + single-node smoke test
What to build
Stand up the monorepo package layout and prove that a client HTTP request can travel end-to-end through the stack — gateway → one node serving all layers → valid response — before any real model or distributed logic is wired in.
The six top-level packages should exist with minimal stubs:
packages/node— node client CLI (meshnet-node)packages/gateway— HTTP gateway + route orchestrationpackages/tracker— node registry and route selectionpackages/sdk—meshnetPython SDKpackages/contracts— Solana smart contract wrapperspackages/p2p— gossip and shard swarm
The smoke test uses a tiny in-process stub model (not a real LLM) so the test is fast and has no external dependencies. The node runs in the same process as the test. The gateway is a real HTTP server. The client sends a real POST /v1/chat/completions request and receives a valid OpenAI-format response.
Acceptance criteria
pip install -e packages/node packages/gateway packages/trackerworks from repo rootmeshnet-node,meshnet-gateway, andmeshnet-trackerCLI entry points exist- A single integration test starts a gateway and one stub node in-process, sends a
POST /v1/chat/completionsrequest, and asserts a valid OpenAI-format response is returned - The test passes with
pytestfrom repo root with no external services running - All six package directories exist with
pyproject.tomland an importable top-level module
Blocked by
None — can start immediately.