codex-workspace-bootstrap 0.5.0__tar.gz → 0.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {codex_workspace_bootstrap-0.5.0/src/codex_workspace_bootstrap.egg-info → codex_workspace_bootstrap-0.5.2}/PKG-INFO +41 -3
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/README.md +40 -2
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/pyproject.toml +1 -1
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/__init__.py +1 -1
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2/src/codex_workspace_bootstrap.egg-info}/PKG-INFO +41 -3
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/tests/test_cli.py +1 -1
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/LICENSE +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/setup.cfg +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/__main__.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/agents.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/audit.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/cli.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/doctor.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/fixes.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/instructions.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/preflight.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap/sarif.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap.egg-info/SOURCES.txt +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap.egg-info/dependency_links.txt +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap.egg-info/entry_points.txt +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/src/codex_workspace_bootstrap.egg-info/top_level.txt +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/tests/test_audit.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/tests/test_doctor.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/tests/test_instruction_integrity.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/tests/test_preflight.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/tests/test_public_repo_patterns.py +0 -0
- {codex_workspace_bootstrap-0.5.0 → codex_workspace_bootstrap-0.5.2}/tests/test_sarif.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codex-workspace-bootstrap
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Preflight AI coding repositories before Codex, Copilot, Cline, Claude, Gemini, Continue, or Cursor touches them.
|
|
5
5
|
Author: kohli217
|
|
6
6
|
License: MIT
|
|
@@ -30,6 +30,7 @@ Dynamic: license-file
|
|
|
30
30
|
|
|
31
31
|
[](https://github.com/kohli217/codex-workspace-bootstrap/actions/workflows/ci.yml)
|
|
32
32
|
[](https://github.com/kohli217/codex-workspace-bootstrap/actions/workflows/codeql.yml)
|
|
33
|
+
[](https://scorecard.dev/viewer/?uri=github.com/kohli217/codex-workspace-bootstrap)
|
|
33
34
|
[](https://github.com/kohli217/codex-workspace-bootstrap/releases/latest)
|
|
34
35
|
[](https://pypi.org/project/codex-workspace-bootstrap/)
|
|
35
36
|
[](LICENSE)
|
|
@@ -71,6 +72,43 @@ cwb init-agents .
|
|
|
71
72
|
cwb preflight .
|
|
72
73
|
```
|
|
73
74
|
|
|
75
|
+
### See it catch real mistakes
|
|
76
|
+
|
|
77
|
+
A reproducible demo creates a temporary repository where the project uses **pnpm** but `AGENTS.md` tells the agent to use **npm** and references a nonexistent `lint` script.
|
|
78
|
+
|
|
79
|
+
```powershell
|
|
80
|
+
py examples/first-run-demo/run_demo.py
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Expected outcome:
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
=== BEFORE ===
|
|
87
|
+
State: NEEDS ATTENTION
|
|
88
|
+
Findings:
|
|
89
|
+
- package-manager-mismatch
|
|
90
|
+
- missing-package-script
|
|
91
|
+
|
|
92
|
+
=== AFTER ===
|
|
93
|
+
State: READY
|
|
94
|
+
Findings: none
|
|
95
|
+
|
|
96
|
+
Demo verification: PASS
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
See [examples/first-run-demo](examples/first-run-demo) for the full reproducible demo. It uses disposable temporary Git repositories and is verified in CI.
|
|
100
|
+
|
|
101
|
+
### Try it on your repository
|
|
102
|
+
|
|
103
|
+
```powershell
|
|
104
|
+
py -m pip install codex-workspace-bootstrap
|
|
105
|
+
cwb preflight .
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
If the result is useful, noisy, or surprising, open a [Usage report](https://github.com/kohli217/codex-workspace-bootstrap/issues/new?template=usage_report.yml). Public references are optional; do not include private repository contents, credentials, or secret values.
|
|
109
|
+
|
|
110
|
+
Useful feedback includes false positives, missing repository layouts, monorepo behavior, and which check saved you time.
|
|
111
|
+
|
|
74
112
|
The goal is not a vanity score. The result is one of:
|
|
75
113
|
|
|
76
114
|
- **READY** — core repository signals and AI instructions are present, with no blocking finding;
|
|
@@ -221,7 +259,7 @@ The reusable Action is published on GitHub Marketplace.
|
|
|
221
259
|
- uses: actions/setup-python@v7
|
|
222
260
|
with:
|
|
223
261
|
python-version: "3.13"
|
|
224
|
-
- uses: kohli217/codex-workspace-bootstrap@v0.5.
|
|
262
|
+
- uses: kohli217/codex-workspace-bootstrap@v0.5.2
|
|
225
263
|
with:
|
|
226
264
|
path: .
|
|
227
265
|
strict: "true"
|
|
@@ -285,7 +323,7 @@ py -m pip install codex-workspace-bootstrap
|
|
|
285
323
|
Pinned GitHub release artifact:
|
|
286
324
|
|
|
287
325
|
```powershell
|
|
288
|
-
py -m pip install "https://github.com/kohli217/codex-workspace-bootstrap/releases/download/v0.5.
|
|
326
|
+
py -m pip install "https://github.com/kohli217/codex-workspace-bootstrap/releases/download/v0.5.2/codex_workspace_bootstrap-0.5.2-py3-none-any.whl"
|
|
289
327
|
```
|
|
290
328
|
|
|
291
329
|
## Development
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/kohli217/codex-workspace-bootstrap/actions/workflows/ci.yml)
|
|
4
4
|
[](https://github.com/kohli217/codex-workspace-bootstrap/actions/workflows/codeql.yml)
|
|
5
|
+
[](https://scorecard.dev/viewer/?uri=github.com/kohli217/codex-workspace-bootstrap)
|
|
5
6
|
[](https://github.com/kohli217/codex-workspace-bootstrap/releases/latest)
|
|
6
7
|
[](https://pypi.org/project/codex-workspace-bootstrap/)
|
|
7
8
|
[](LICENSE)
|
|
@@ -43,6 +44,43 @@ cwb init-agents .
|
|
|
43
44
|
cwb preflight .
|
|
44
45
|
```
|
|
45
46
|
|
|
47
|
+
### See it catch real mistakes
|
|
48
|
+
|
|
49
|
+
A reproducible demo creates a temporary repository where the project uses **pnpm** but `AGENTS.md` tells the agent to use **npm** and references a nonexistent `lint` script.
|
|
50
|
+
|
|
51
|
+
```powershell
|
|
52
|
+
py examples/first-run-demo/run_demo.py
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Expected outcome:
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
=== BEFORE ===
|
|
59
|
+
State: NEEDS ATTENTION
|
|
60
|
+
Findings:
|
|
61
|
+
- package-manager-mismatch
|
|
62
|
+
- missing-package-script
|
|
63
|
+
|
|
64
|
+
=== AFTER ===
|
|
65
|
+
State: READY
|
|
66
|
+
Findings: none
|
|
67
|
+
|
|
68
|
+
Demo verification: PASS
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
See [examples/first-run-demo](examples/first-run-demo) for the full reproducible demo. It uses disposable temporary Git repositories and is verified in CI.
|
|
72
|
+
|
|
73
|
+
### Try it on your repository
|
|
74
|
+
|
|
75
|
+
```powershell
|
|
76
|
+
py -m pip install codex-workspace-bootstrap
|
|
77
|
+
cwb preflight .
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
If the result is useful, noisy, or surprising, open a [Usage report](https://github.com/kohli217/codex-workspace-bootstrap/issues/new?template=usage_report.yml). Public references are optional; do not include private repository contents, credentials, or secret values.
|
|
81
|
+
|
|
82
|
+
Useful feedback includes false positives, missing repository layouts, monorepo behavior, and which check saved you time.
|
|
83
|
+
|
|
46
84
|
The goal is not a vanity score. The result is one of:
|
|
47
85
|
|
|
48
86
|
- **READY** — core repository signals and AI instructions are present, with no blocking finding;
|
|
@@ -193,7 +231,7 @@ The reusable Action is published on GitHub Marketplace.
|
|
|
193
231
|
- uses: actions/setup-python@v7
|
|
194
232
|
with:
|
|
195
233
|
python-version: "3.13"
|
|
196
|
-
- uses: kohli217/codex-workspace-bootstrap@v0.5.
|
|
234
|
+
- uses: kohli217/codex-workspace-bootstrap@v0.5.2
|
|
197
235
|
with:
|
|
198
236
|
path: .
|
|
199
237
|
strict: "true"
|
|
@@ -257,7 +295,7 @@ py -m pip install codex-workspace-bootstrap
|
|
|
257
295
|
Pinned GitHub release artifact:
|
|
258
296
|
|
|
259
297
|
```powershell
|
|
260
|
-
py -m pip install "https://github.com/kohli217/codex-workspace-bootstrap/releases/download/v0.5.
|
|
298
|
+
py -m pip install "https://github.com/kohli217/codex-workspace-bootstrap/releases/download/v0.5.2/codex_workspace_bootstrap-0.5.2-py3-none-any.whl"
|
|
261
299
|
```
|
|
262
300
|
|
|
263
301
|
## Development
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "codex-workspace-bootstrap"
|
|
7
|
-
version = "0.5.
|
|
7
|
+
version = "0.5.2"
|
|
8
8
|
description = "Preflight AI coding repositories before Codex, Copilot, Cline, Claude, Gemini, Continue, or Cursor touches them."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codex-workspace-bootstrap
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Preflight AI coding repositories before Codex, Copilot, Cline, Claude, Gemini, Continue, or Cursor touches them.
|
|
5
5
|
Author: kohli217
|
|
6
6
|
License: MIT
|
|
@@ -30,6 +30,7 @@ Dynamic: license-file
|
|
|
30
30
|
|
|
31
31
|
[](https://github.com/kohli217/codex-workspace-bootstrap/actions/workflows/ci.yml)
|
|
32
32
|
[](https://github.com/kohli217/codex-workspace-bootstrap/actions/workflows/codeql.yml)
|
|
33
|
+
[](https://scorecard.dev/viewer/?uri=github.com/kohli217/codex-workspace-bootstrap)
|
|
33
34
|
[](https://github.com/kohli217/codex-workspace-bootstrap/releases/latest)
|
|
34
35
|
[](https://pypi.org/project/codex-workspace-bootstrap/)
|
|
35
36
|
[](LICENSE)
|
|
@@ -71,6 +72,43 @@ cwb init-agents .
|
|
|
71
72
|
cwb preflight .
|
|
72
73
|
```
|
|
73
74
|
|
|
75
|
+
### See it catch real mistakes
|
|
76
|
+
|
|
77
|
+
A reproducible demo creates a temporary repository where the project uses **pnpm** but `AGENTS.md` tells the agent to use **npm** and references a nonexistent `lint` script.
|
|
78
|
+
|
|
79
|
+
```powershell
|
|
80
|
+
py examples/first-run-demo/run_demo.py
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Expected outcome:
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
=== BEFORE ===
|
|
87
|
+
State: NEEDS ATTENTION
|
|
88
|
+
Findings:
|
|
89
|
+
- package-manager-mismatch
|
|
90
|
+
- missing-package-script
|
|
91
|
+
|
|
92
|
+
=== AFTER ===
|
|
93
|
+
State: READY
|
|
94
|
+
Findings: none
|
|
95
|
+
|
|
96
|
+
Demo verification: PASS
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
See [examples/first-run-demo](examples/first-run-demo) for the full reproducible demo. It uses disposable temporary Git repositories and is verified in CI.
|
|
100
|
+
|
|
101
|
+
### Try it on your repository
|
|
102
|
+
|
|
103
|
+
```powershell
|
|
104
|
+
py -m pip install codex-workspace-bootstrap
|
|
105
|
+
cwb preflight .
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
If the result is useful, noisy, or surprising, open a [Usage report](https://github.com/kohli217/codex-workspace-bootstrap/issues/new?template=usage_report.yml). Public references are optional; do not include private repository contents, credentials, or secret values.
|
|
109
|
+
|
|
110
|
+
Useful feedback includes false positives, missing repository layouts, monorepo behavior, and which check saved you time.
|
|
111
|
+
|
|
74
112
|
The goal is not a vanity score. The result is one of:
|
|
75
113
|
|
|
76
114
|
- **READY** — core repository signals and AI instructions are present, with no blocking finding;
|
|
@@ -221,7 +259,7 @@ The reusable Action is published on GitHub Marketplace.
|
|
|
221
259
|
- uses: actions/setup-python@v7
|
|
222
260
|
with:
|
|
223
261
|
python-version: "3.13"
|
|
224
|
-
- uses: kohli217/codex-workspace-bootstrap@v0.5.
|
|
262
|
+
- uses: kohli217/codex-workspace-bootstrap@v0.5.2
|
|
225
263
|
with:
|
|
226
264
|
path: .
|
|
227
265
|
strict: "true"
|
|
@@ -285,7 +323,7 @@ py -m pip install codex-workspace-bootstrap
|
|
|
285
323
|
Pinned GitHub release artifact:
|
|
286
324
|
|
|
287
325
|
```powershell
|
|
288
|
-
py -m pip install "https://github.com/kohli217/codex-workspace-bootstrap/releases/download/v0.5.
|
|
326
|
+
py -m pip install "https://github.com/kohli217/codex-workspace-bootstrap/releases/download/v0.5.2/codex_workspace_bootstrap-0.5.2-py3-none-any.whl"
|
|
289
327
|
```
|
|
290
328
|
|
|
291
329
|
## Development
|
|
@@ -98,7 +98,7 @@ def test_version_flag_reports_package_version(capsys: pytest.CaptureFixture[str]
|
|
|
98
98
|
main(["--version"])
|
|
99
99
|
|
|
100
100
|
assert exc_info.value.code == 0
|
|
101
|
-
assert "codex-workspace-bootstrap 0.5.
|
|
101
|
+
assert "codex-workspace-bootstrap 0.5.2" in capsys.readouterr().out
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
def test_audit_writes_sarif(tmp_path: Path) -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|