Skip to content

Commit ed749e5

Browse files
committed
Add license, GHA, update readme
1 parent 40cd2f0 commit ed749e5

3 files changed

Lines changed: 52 additions & 1 deletion

File tree

.github/workflows/lint.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
ruff:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: astral-sh/setup-uv@v5
14+
- run: uv sync --group dev
15+
- run: uv run ruff check .
16+
- run: uv run ruff format --check .
17+
18+
pyright:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: astral-sh/setup-uv@v5
23+
- run: uv sync --group dev
24+
- run: uv run pyright

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Pydantic Services, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Braindump
22

3-
Extract coding rules from PR review comments and generate AGENTS.md files for any GitHub repository.
3+
Extract coding rules from PR review comments and generate `AGENTS.md` files for any GitHub repository.
44

55
## How it works
66

@@ -26,6 +26,8 @@ Each stage is resumable — if interrupted, it picks up from where it left off.
2626

2727
## Setup
2828

29+
The `braindump` CLI is not currently published on PyPI, so the first step is to clone this repo locally. Then run:
30+
2931
```bash
3032
# Install dependencies
3133
uv sync
@@ -52,6 +54,10 @@ export BRAINDUMP_REPO=pydantic/pydantic-ai
5254
uv run braindump run --since 2025-10-01
5355
```
5456

57+
Note that this project is 100% vibecoded, and the pipeline and thresholds have been optimized for the [`pydantic-ai`](https://github.com/pydantic/pydantic-ai) repo primarily.
58+
If the pipeline generates unexpected rules for your repo, whether invalid or duplicate or otherwise unhelpful, you're encouraged to tell Claude (or your coding agent of choice) to investigate the issue (by referring to the generated rule IDs) and make changes to the pipeline until it does what you want.
59+
It's fine and expected if different teams use their own fork of `braindump` that evolves over time to meet their needs: there's no expectation that the version in this repo will work for absolutely everyone, so you don't need to upstream changes unless you beleive they are strictly better for every user than what came before.
60+
5561
## Commands
5662

5763
All stages support `--concurrency N` to control parallel LLM/API requests and `--fresh` to wipe previous outputs before running.

0 commit comments

Comments
 (0)