Loom Roadmap

Part of Loom. Proposed implementation phases, with no delivery-date commitment.

Phase 1 — Validate the crawler boundaries

  • Build local fixture sites covering cycles, relative links, redirects, robots, failures, query traps, compressed responses, and slow requests.
  • Implement URL identity and public-destination validation before accepting arbitrary internet seeds.
  • Prototype bounded Go workers, a shared pacing mechanism, and cancellation.
  • Define a small graph dataset and benchmark Neo4j constraints, frontier claims, edge ingestion, and neighborhood queries.

Exit: fixtures produce the expected graph, request rates remain within limits, and private destinations and unsafe redirects are rejected.

Phase 2 — Make jobs durable

  • Add authenticated job creation, state transitions, page frontier, queue tasks, outbox dispatch, and lease recovery.
  • Verify duplicate delivery, lost queue messages, worker crashes, cancelled jobs, and delayed retries.
  • Test simultaneous jobs for one host across multiple workers.

Exit: restarts preserve results and recover pending work without unbounded retries or excess target load. Completion does not race with child discovery.

Phase 3 — Ship the useful web experience

  • Build job form, history, status, and partial-map views.
  • Add graph selection, search, grouping, filters, inspector, and paginated table.
  • Add coverage explanations, findings, exports, and rerun as a new job.

Exit: a user can submit a bounded site crawl, close the browser, return, inspect results, understand missing coverage, and export data.

Phase 4 — Pilot and operate

  • Use sites operated by the team or explicitly permitted for pilot testing.
  • Validate defaults against actual server load and diverse page structures.
  • Test backup restoration, cross-account isolation, retention cleanup, cancellation, and global request caps.
  • Measure large-view responsiveness and choose a documented graph payload limit.

Exit: crawl limits hold under retries and concurrent jobs, results stay responsive, recovery is verified, and cost fits an explicit pilot budget.

Phase 5 — Expand deliberately

Prioritize snapshot comparison, scheduling, richer discovery, or JavaScript rendering based on pilot use. Browser rendering requires a separate design for every subresource request, not just another worker flag. Add pause/resume after durable cancellation and lease behavior are reliable.

Meaningful acceptance checks

ScenarioExpected evidence
Two jobs for the same hostShared concurrency and request-start limits still hold
Worker crash after fetchRetry may repeat HTTP, but graph effects and counters remain consistent
Redis outageWorkers defer fetches; durable work is recoverable
Queue redeliverySettled work is not processed as a new page
Final page discovers childrenJob remains active until eligible child work settles
Cancel during fetchNo new claims; late writes follow fenced cancellation rules
429 with Retry-AfterShared target cooldown observed by every worker
Redirect to private IPRequest blocked before private connection
Many links/query variationsDiscovery and rendering stay within data and memory caps
Map with skipped targetsUI clearly distinguishes observed, failed, external, blocked, and unvisited nodes

Use deterministic local servers and a controllable clock for rate/retry tests; avoid proving load behavior by stressing a public website.

Decisions

TopicState
NameConfirmed: Loom
Go concurrency, queue, graph/NoSQL, web UIConfirmed direction
Neo4j + Redis/AsynqProposed; validate operational fit and ingestion benchmark
React + Cytoscape.jsProposed; validate realistic graph responsiveness
Static HTML, exact-host scopeProposed MVP boundary
Limits and supported scaleProposed in Loom Responsible Crawling; tune during controlled pilot
Hosting/provider/budgetOpen
Domain/name availabilityNot checked

Next actions

  1. Review MVP scope and crawl limits.
  2. Define fixture graphs and expected fetch traces.
  3. Benchmark durable frontier and graph query patterns.
  4. Build the polite crawler and recovery loop before public job submission.