# Dependencies and design references

All crawler scheduling, URL policy, Robots, pipeline, persistence, CLI and tests are authored in MoonBit.
No third-party source was copied into the implementation.

| Dependency | Version | Role | Upstream license |
| --- | --- | --- | --- |
| moonbitlang/core | bundled toolchain | collections, JSON, UTF-8 | Apache-2.0 |
| moonbitlang/async | 0.22.5 | concurrency, DNS, filesystem, processes | Apache-2.0 |
| moonbit-community/html | 0.2.4 | HTML5 DOM | Apache-2.0 |
| moonbitlang/x | 0.5.7 | HTTP Retry-After date validation | Apache-2.0 |
| curl executable | external, tested 8.21.0 | HTTP/TLS and decompression | curl license |

Observed versions, installed license hashes and packaging gaps are recorded in
[the dependency inventory](docs/dependency-licenses.md). In particular, x 0.5.7 has
Apache notices/metadata but no root LICENSE in this installed package. curl is not redistributed.
The external curl license is published at https://curl.se/docs/copyright.html .

Architectural references (concepts only):

- Scrapy — [BSD-3-Clause license](https://github.com/scrapy/scrapy/blob/master/LICENSE).
  [Scheduler reference](https://github.com/scrapy/scrapy/blob/master/scrapy/core/scheduler.py):
  separate scheduler, duplicate filter and persistence responsibilities.
  [Middleware reference](https://github.com/scrapy/scrapy/blob/master/docs/topics/downloader-middleware.rst):
  separate retry, redirect and Robots policies. Conceptual reference only; no Python source ported.
- [RFC 9309](https://www.rfc-editor.org/rfc/rfc9309.html): Robots group selection, rules and caching; see our documented profile.
- [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110.html#section-13) and the [Sitemaps protocol](https://www.sitemaps.org/protocol.html): behavior references for the conditional request and XML-discovery profiles. Implementations and loopback fixtures are authored in this repository.
- [MoonBit HTML5 parser](https://github.com/moonbit-community/html5-mbt): reused through an extraction adapter.

See [compatibility](docs/compatibility.md) for verified scope.
See [material provenance](docs/source-provenance.md) for generated interfaces,
AI assistance, synthetic fixtures, dependency code and CI evidence boundaries.

No AI model weights are included. Queue models refer to synthetic test workloads.
