Skip to content

Commit 217a3e7

Browse files
authored
feat(lane-g): wire validate-prophet-mesh-scope-mirror into make validate and CI
Adds validate-prophet-mesh-scope-mirror to the main validate target so the prophet-mesh memory-scope mirror contract is gated on every validate run, and adds a CI workflow that triggers on changes to the contract or validator script.
1 parent 37cf36f commit 217a3e7

2 files changed

Lines changed: 26 additions & 2 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: prophet-mesh-scope-mirror
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
paths:
8+
- "contracts/prophet-mesh/**"
9+
- "scripts/validate-prophet-mesh-scope-mirror.mjs"
10+
- ".github/workflows/prophet-mesh-scope-mirror.yml"
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
validate:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version: "20"
23+
- name: Validate prophet-mesh memory-scope mirror contract
24+
run: node scripts/validate-prophet-mesh-scope-mirror.mjs

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PYTHON ?= python
22

3-
.PHONY: validate-upstreams validate-python validate-deploy-assets validate-agent-learning-proposal validate-scenario-learning-binding validate-governed-learning-lifecycle validate-workspace-recall-promotion validate-channel-provenance-write-gate validate-wallguard-memory-compartment-gate validate local-preflight local-up local-smoke local-debug local-down
3+
.PHONY: validate-upstreams validate-python validate-deploy-assets validate-agent-learning-proposal validate-scenario-learning-binding validate-governed-learning-lifecycle validate-workspace-recall-promotion validate-channel-provenance-write-gate validate-wallguard-memory-compartment-gate validate-prophet-mesh-scope-mirror validate local-preflight local-up local-smoke local-debug local-down
44

55
validate-upstreams:
66
$(PYTHON) scripts/validate_upstreams.py third_party/upstreams.lock.yaml
@@ -32,7 +32,7 @@ validate-channel-provenance-write-gate:
3232
validate-wallguard-memory-compartment-gate:
3333
$(PYTHON) scripts/validate_wallguard_memory_compartment_gate.py
3434

35-
validate: validate-upstreams validate-python validate-deploy-assets validate-wallguard-memory-compartment-gate
35+
validate: validate-upstreams validate-python validate-deploy-assets validate-wallguard-memory-compartment-gate validate-prophet-mesh-scope-mirror
3636

3737
local-preflight:
3838
bash deploy/local/scripts/preflight-podman-m2.sh

0 commit comments

Comments
 (0)