Commit 548e425
fix(ci): root-cause three pre-existing infra failures (#18)
1. RSR Anti-Pattern Check — `rsr-antipattern.yml` had ~75 lines of
duplicated dead Python code (a second `BUILTIN_GLOBS = […]` block,
another exemption parser, another `bad = sorted(…)` loop) sitting
outside any heredoc between the first `PYEOF` and the next step.
The shell tried to execute those lines as commands and the step
died with exit 127 (`command not found`). Deleted the duplicate;
the first heredoc already does the full TypeScript check.
2. NPM/Bun Blocker + RSR "Check for npm lockfiles" — both detect
`package-lock.json` at the repo root and fail per the org's
no-npm-lockfiles policy. The actual ReScript build runs through
Deno's `npm:rescript` compat shim (see `deno.json`'s build
task) which doesn't need a lockfile. Removed `package-lock.json`.
3. Dogfood Gate / Validate A2ML manifests — 25 `.a2ml` files were
missing the required identity field (`agent-id`, `name`, or
`project`). Injected `project = "odds-and-sods-package-manager"`
(or `"opsm-ui"` for files under `opsm-ui/`) into each file's
header. The validator regex-matches on the identity-field line so
the placement-after-comments form works across all the in-repo
a2ml dialects (TOML-style, s-expression-style, Rust-like-object).
Hypatia / fleet-scan failures both depend on hyperpolymath/hypatia#237
(the broken-binary fix) landing — not addressable from this repo.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f1159d8 commit 548e425
27 files changed
Lines changed: 52 additions & 156 deletions
File tree
- .bot_directives
- .machine_readable
- 6a2
- agent_instructions
- anchors
- contractiles
- adjust
- dust
- intend
- must
- trust
- opsm-ui
- .machine_readable/6a2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments