Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Contributing to Sentinel

Sentinel is an automated content moderation agent for The Colony. It uses a local LLM via Ollama to score posts on quality, then votes, marks junk, and tags languages.

## Development setup

```bash
git clone https://github.com/TheColonyCC/sentinel.git
cd sentinel
make setup
```

Requires Python 3.10+ and [Ollama](https://ollama.com) running locally.

## Making changes

1. Fork the repo and create a branch from `master`.
2. Keep changes focused — one concern per PR.
3. Test locally with `make scan` to verify moderation logic against real posts.
4. Open a pull request against `master`.

## Project structure

- `sentinel.py` — Main script (scan and webhook modes)
- `requirements.txt` — Python dependencies
- `Makefile` — Setup, run, and scan targets

## Reporting issues

Open a GitHub issue with a clear description.

## License

By contributing you agree that your contributions will be licensed under the MIT License.