You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a PR to `main`, wait for CI to pass, then merge.
15
15
16
+
## Merge gate (CI)
17
+
18
+
Every PR runs the **fast gate**; pushes to `main`/`dev` also run the **full merge gate**. See [framework stabilization index](plans/framework-stabilization-index.md) for measured baselines.
19
+
20
+
### PR fast gate (required)
21
+
22
+
```bash
23
+
uv run ruff check src/ tests/
24
+
uv run ruff format --check src/ tests/
25
+
uv run mypy src/
26
+
uv run pytest tests/ -v --ignore=tests/adversarial/
27
+
uv run pytest tests/adversarial/ -v --tb=short
28
+
uv run mkdocs build --strict
29
+
```
30
+
31
+
### Merge gate (push to main / dev)
32
+
33
+
```bash
34
+
uv run pytest tests/ -v --cov=hive --cov-report=term --cov-fail-under=77
35
+
git archive HEAD | tar -x -C /tmp/hive-ci-build &&cd /tmp/hive-ci-build && uv build
36
+
```
37
+
38
+
A weekly scheduled **soak** job repeats the wake-source leak test 50× and runs the full suite for ordering sensitivity.
39
+
16
40
## Development Setup
17
41
18
42
```bash
@@ -67,7 +91,6 @@ src/hive/
67
91
## Pull Request Guidelines
68
92
69
93
- One logical change per PR
70
-
- Tests must pass: `uv run pytest`
71
-
- Lint must pass: `uv run ruff check src tests`
94
+
- All [merge gate](#merge-gate-ci) commands must pass locally before opening a PR
72
95
- Include a clear description of what changed and why
0 commit comments