# AGENTS.md

Truly independent web browser

## Setup

```
cargo build
```

## Commands

```
ruff check .   # lint
cargo test     # run the test suite
```

## Layout

- `Libraries/` 4584 source files
- `Tests/`     2543 source files
- `AK/`        197 source files
- `Meta/`      142 source files
- `UI/`        123 source files
- `Services/`  111 source files

## Conventions

- Tests live alongside the code they cover, following `Libraries/LibJS/Flap/tests/interpreter-assembly/aarch64.S`.
- CI defines what passing means. See `.github/workflows/ci-image.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `Libraries/LibWeb/Crypto/CryptoAlgorithms.cpp` is 542KB. It will not fit comfortably in context, so read it in parts.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
