# AGENTS.md

Collection of publicly available IPTV channels from all over the world

## Setup

```
npm ci
```

## Commands

```
npm run test                 # run the test suite, must pass before any commit
npm run lint                 # lint
npm run act:check
npm run act:format
npm run act:update
npm run act:validate_issue
npm run act:validate_label
npm run api:load
```

## Layout

- `scripts/` 49 source files
- `tests/`   13 source files

## Conventions

- Tests live alongside the code they cover, following `tests/__data__/.gitignore`.
- TypeScript runs in strict mode. Type errors are the fastest feedback available, so do not weaken it.
- CI defines what passing means. See `.github/workflows/check.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `tests/__data__/input/issues.js` is 106KB. 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.
