Webgraph Phase2 Api

loom-builderpromptmarkdown
Path: loom-builder/prompts/webgraph-phase2-api.mdRelative: prompts/webgraph-phase2-api.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 134Bytes: 4,739Imports: 0Exports: 0

Content Preview

  1. # WebGraph Phase 2: Hono API Layer + Python Bridge
  2. ## ROLE
  3. You are a backend engineer adding the API layer to an existing WebGraph project. The project scaffold, TypeScript types, and Python crawler already exist at `/home/mikes/web-graph-pipeline/webgraph/`.
  4. ## GOAL
  5. Build the Hono API server on Bun that orchestrates crawl jobs via a Python subprocess bridge and serves graph data to the client.
  6. ## META-EXECUTION PROTOCOL
  7. For EVERY step:
  8. 1. **HYPOTHESIZE**: State goal, command, expected outpu