Skip to content

Commit 548e425

Browse files
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

.bot_directives/echidnabot.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# echidnabot.a2ml — Directives for echidnabot in odds-and-sods-package-manager
33

4+
project = "odds-and-sods-package-manager"
5+
46
[identity]
57
bot = "echidnabot"
68
role = "code-quality"

.bot_directives/finishbot.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# finishbot.a2ml — Directives for finishbot in odds-and-sods-package-manager
33

4+
project = "odds-and-sods-package-manager"
5+
46
[identity]
57
bot = "finishbot"
68
role = "task-completion"

.bot_directives/glambot.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# glambot.a2ml — Directives for glambot in odds-and-sods-package-manager
33

4+
project = "odds-and-sods-package-manager"
5+
46
[identity]
57
bot = "glambot"
68
role = "documentation"

.bot_directives/rhodibot.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# rhodibot.a2ml — Directives for rhodibot in odds-and-sods-package-manager
33

4+
project = "odds-and-sods-package-manager"
5+
46
[identity]
57
bot = "rhodibot"
68
role = "git-operations"

.bot_directives/seambot.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# seambot.a2ml — Directives for seambot in odds-and-sods-package-manager
33

4+
project = "odds-and-sods-package-manager"
5+
46
[identity]
57
bot = "seambot"
68
role = "integration"

.bot_directives/sustainabot.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
22
# sustainabot.a2ml — Directives for sustainabot in odds-and-sods-package-manager
33

4+
project = "odds-and-sods-package-manager"
5+
46
[identity]
57
bot = "sustainabot"
68
role = "dependency-updates"

.machine_readable/6a2/AGENTIC.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# AGENTIC.a2ml — AI agent constraints and capabilities
55
# Defines what AI agents can and cannot do in this repository.
66

7+
project = "odds-and-sods-package-manager"
8+
79
[metadata]
810
version = "0.1.0"
911
last-updated = "2026-03-16"

.machine_readable/6a2/NEUROSYM.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# NEUROSYM.a2ml — Neurosymbolic integration metadata
55
# Configuration for Hypatia scanning and symbolic reasoning.
66

7+
project = "odds-and-sods-package-manager"
8+
79
[metadata]
810
version = "0.1.0"
911
last-updated = "2026-03-16"

.machine_readable/6a2/PLAYBOOK.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# PLAYBOOK.a2ml — Operational playbook
55
# Runbooks, incident response, deployment procedures.
66

7+
project = "odds-and-sods-package-manager"
8+
79
[metadata]
810
version = "0.1.0"
911
last-updated = "2026-03-16"

.machine_readable/CLADE.a2ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Clade declaration — part of the gv-clade-index registry
33
# See: https://github.com/hyperpolymath/gv-clade-index
44

5+
project = "odds-and-sods-package-manager"
6+
57
[identity]
68
uuid = "8d0e4d70-0d5d-58c4-a0eb-ff46b91b7de2"
79
primary-forge = "github"

0 commit comments

Comments
 (0)