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
- Replace Mermaid diagram with ASCII art (PyPI doesn't render Mermaid)
- Convert relative links to absolute GitHub URLs in README
- Remove dead --deterministic-only CLI flag and its test
- Add missing classifiers (OS Independent, Python 3 :: Only)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
> **Note:** The PyPI package is `pygate-ci` but the CLI command is `pygate`.
45
+
44
46
## What It Does
45
47
46
48
PyGate runs deterministic quality gates on your Python project and produces structured, machine-readable artifacts designed for both humans and AI agents.
@@ -55,15 +57,18 @@ PyGate runs deterministic quality gates on your Python project and produces stru
55
57
56
58
### How It Works
57
59
58
-
```mermaid
59
-
flowchart LR
60
-
A[Changed Files] --> B[Run Gates]
61
-
B --> C{Findings?}
62
-
C -- No --> D[Pass ✓]
63
-
C -- Yes --> E[Repair Loop]
64
-
E --> F{Improved?}
65
-
F -- Fixed --> D
66
-
F -- No --> G[Escalate with Evidence]
60
+
```
61
+
Changed Files ──> Run Gates ──> Findings? ──No──> Pass
62
+
|
63
+
Yes
64
+
|
65
+
v
66
+
Repair Loop ──> Improved? ──Fixed──> Pass
67
+
|
68
+
No
69
+
|
70
+
v
71
+
Escalate with Evidence
67
72
```
68
73
69
74
1. You tell PyGate which files changed (from your CI diff, PR, etc.)
> **Note:** The PyPI package is `pygate-ci` but the CLI command is `pygate`.
86
-
87
90
## Artifacts
88
91
89
92
All artifacts are written to `.pygate/`:
@@ -97,7 +100,7 @@ All artifacts are written to `.pygate/`:
97
100
|`repair-report.json`| Repair attempt history (on success) |
98
101
|`escalation.json`| Escalation reason and evidence (on failure) |
99
102
100
-
JSON Schema files for all artifact types are available in [`schemas/`](schemas/) for downstream validation and code generation. See [`demo/artifacts/`](demo/artifacts/) for sample output.
103
+
JSON Schema files for all artifact types are available in [`schemas/`](https://github.com/roli-lpci/pygate/tree/main/schemas) for downstream validation and code generation. See [`demo/artifacts/`](https://github.com/roli-lpci/pygate/tree/main/demo/artifacts) for sample output.
101
104
102
105
## Repair Loop
103
106
@@ -197,8 +200,8 @@ The action detects changed files from the PR, runs gates, optionally repairs, an
197
200
198
201
## Contributing
199
202
200
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.
203
+
See [CONTRIBUTING.md](https://github.com/roli-lpci/pygate/blob/main/CONTRIBUTING.md) for development setup and guidelines.
0 commit comments