Skip to content

Commit 03d8116

Browse files
authored
new(skill): rest-between-mendix-apps — contract, consumer honesty, cross-app test ladder (#273)
Independent review: APPROVE. # Delta review w1: PR #273 new(skill): rest-between-mendix-apps Head `65e6ba3a`, master `1ed7c99`. Earlier review: `273.md` (head e0ecd0b). Read-only, detached worktree `/tmp/rv-w1-273`, removed. ## Earlier findings | Item | Status | |---|---| | Stale "machine-wide exec guard" rule (skill :166-168) | Done. Now "`exec.sh` locks per project, not per machine (#304)"; matches master `project-bin/exec.sh:59-63`. Adds that a raw `mxcli exec` takes no lock. | | Register row 24 annotated | Done: "(fixed by the per-project exec lock, #304; no longer applies)". | | Conflicts (CHANGELOG, test-agent, gate-check) | Done, 0 behind master. | | Impact block numbers / A/B row | Done: 75,225 → 75,225, Behaviour "NOT RUN: on-demand row only". No stale 73,522 / 75,038 / "A/B REQUIRED" left in the body. | | Client-name check | Done (see below). | ## Merge from master `git diff origin/master 65e6ba3`: 12 files, +284/-4, intended set only (skill, register, cross-link in rest-integration-first-time-right, tsv row + render, CHANGELOG). The cross-link file adds 2 lines only; master's v0.26 auth text there is untouched. No reverts. ## Checks (run by me on the head) - `render-routing.sh --check`: base 75,225, head 75,225; all stage/role lines identical. - `check-skill-routing.sh`: all pass (first run exited 141 at step 6 under load average 60+, a SIGPIPE; the rerun passed). - `check-no-client-data.sh` with the real denylist + base report: clean. New words are generic attribute and English words (LastSuccessAt, VariancePct, Receivers, Replays, ...). - `check-no-private-citations.sh`: clean. `check-docs-numbering.sh --all`: only master's 4 hits. - CI: `authoring-audit` success, `checks` in progress at review time. ## Minor (not blocking, follow-up) - Auth is still pinned "as of mxcli v0.24" (skill :49, :64-65), while master's `rest-integration-first-time-right.md` now says `Authentication: (basic)` works on v0.26.0. The two files don't contradict each other, but a v0.26 reader gets the long route. Add one line pointing to the v0.26 note. - ":166-170 ... so it still needs that app's lock": a raw `mxcli test --attach` takes no lock. Clearer wording: "serialise it with that app's exec.sh runs". ## Verdict: APPROVE Squash merge (keeps a58f9e4's old domain wording out of master history), then delete the branch.
1 parent 74204fb commit 03d8116

12 files changed

Lines changed: 284 additions & 4 deletions

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Sections dated before 2026-09-19 predate the cycle and stay as they are. Named m
1919

2020
## Unreleased
2121

22+
- learn(rest-between-mendix-apps): **new on-demand skill for two or more Mendix apps you build that read each other over REST (app-to-app, microservices).** The contract decisions to write down before the first script (pull vs push, versioned path, key + version rule, cursor paging, `since` with overlap, error shape incl. the runtime's 560, auth in the operation microflow as of mxcli v0.24 per BUG-152, fixed ports, one owner per fact), 17 publisher and consumer rules for honest "as of"/stale/"never read" states, and a six-rung cross-app test ladder with a per-change/slice/release cadence; a signal-stopped test run is BUG-157. The 26-row failure register behind it is `process/rest-between-mendix-apps-register-2026-10.md`. Routed ondemand for architect, mdl, test and review at stages 3–6. Field evidence: three demo apps, mxcli v0.24–v0.26, Mendix 11.15, 2026-10-07 to 2026-10-12, domain names generalised — MendixMau
2223
- fix(docs-numbering): **the pre-commit doc numbering check no longer fails every merge commit.** A merge stages all the other side's files, so the check examined docs the merge never touched and tripped on the existing "15-step" prose in `skills/source-triage.md:240` (plus two siblings that fail `--all`), which sent agents to `--no-verify`. During a merge it now examines only files that differ from both parents. The doc prose is left alone (an anecdote, not a drift). `tests/wave2/test-docs-numbering.sh` T11 fails on master's script. — agent report of `--no-verify` merges
2324
- fix(journey-runner): **a journey file without a string `id` now warns naming the file and uses its basename as the id, so captures are named `<basename>-stepN.png` instead of `undefined-stepN.png`; two journeys ending up with the same id (explicit, or a basename that collides with an explicit id) are refused with exit 2 before the browser opens, naming both files.** The only new refusal is a duplicate id; existing id-less journey files keep running. `journey-examples.md` field table updated ([#383](https://github.com/MendixMau/mxcli-project-toolkit/issues/383)) — joshuamoesa
2425
- fix(lint-gate): **a ratchet rise now lists the findings that are NEW, not three arbitrary members of the rule.** The baseline keeps a multiset of findings (rule, module, document, message) next to the counts; on a rise the gate prints the surplus per rule, up to three per rule (the rest in `.claude/loop/lint-last.json`), labelled as new or changed findings next to the net rise. An old counts-only baseline falls back to the first three and says they are not necessarily new. Not done here: pre-exec snapshot attribution, a per-slice growth cap, a slice-close lint check (the rest of [#239](https://github.com/MendixMau/mxcli-project-toolkit/issues/239)). Test: `tests/wave2/test-lint-gate-new-findings.sh` — MendixMau (#239)

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ Every mxcli project has a `.ai-context/skills/` directory (bundled by `mxcli ini
653653
|---|---|
654654
| Wiring a service seam between two Mendix apps — one app's OData or REST consumed by another, replacing a stub by an external entity, joining data that lives in the other app, or choosing keys and auth for an app-to-app service | `skills/mendix-service-seam.md` |
655655
| Building a REST integration (consumed or published) for the first time on a project — the checks that avoid a rebuild after the first live call | `skills/rest-integration-first-time-right.md` |
656+
| App-to-app REST or microservices: two or more Mendix apps you build that read each other over REST — before the contract, before the first consumer, and before calling an API tested: pull vs push, key+version rule, auth in the operation microflow (BUG-152), honest last-success/stale/"as of", one owner per fact, and the six-rung cross-app test ladder with its per-change/slice/release cadence | `skills/rest-between-mendix-apps.md` |
656657
| Adding a constant, installing a marketplace module, deploying to a new environment, or needing a Mendix PAT — where an encryption key, API credential, endpoint or access token gets its value, why a free node has only one channel, and why a token missing from the files you grepped is not missing | `skills/learned-constants-and-secrets.md` |
657658
658659
**Verify — does it work**

‎ROUTING.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ picks the row up. That is the whole procedure — there is no second list to rem
197197
|---|---|---|---|---|
198198
| Wiring a service seam between two Mendix apps — one app's OData or REST consumed by another, replacing a stub by an external entity, joining data that lives in the other app, or choosing keys and auth for an app-to-app service | `skills/mendix-service-seam.md` | lead,architect,mdl | 3,5 | ondemand |
199199
| Building a REST integration (consumed or published) for the first time on a project — the checks that avoid a rebuild after the first live call | `skills/rest-integration-first-time-right.md` | mdl | 4,5 | ondemand |
200+
| App-to-app REST or microservices: two or more Mendix apps you build that read each other over REST — before the contract, before the first consumer, and before calling an API tested: pull vs push, key+version rule, auth in the operation microflow (BUG-152), honest last-success/stale/"as of", one owner per fact, and the six-rung cross-app test ladder with its per-change/slice/release cadence | `skills/rest-between-mendix-apps.md` | architect,mdl,test,review | 3,4,5,6 | ondemand |
200201
| Adding a constant, installing a marketplace module, deploying to a new environment, or needing a Mendix PAT — where an encryption key, API credential, endpoint or access token gets its value, why a free node has only one channel, and why a token missing from the files you grepped is not missing | `skills/learned-constants-and-secrets.md` | mdl,architect,gate | 4,5,6 | ondemand |
201202

202203
#### Build · Security

‎agents/architect-agent.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ This table is your whole list. The baseline table in the project's CLAUDE.local.
7979
| `skills/agent-permission-friction.md` | Any refused, denied or blocked command |
8080
| `project-bin/build-plan-status.sh` | After marking a module done, or any time "how much is built vs proven" is asked |
8181
| `skills/workflow-structure-rules.md` | Designing or reviewing a Workflow's SHAPE before or after the MDL |
82+
| `skills/rest-between-mendix-apps.md` | App-to-app REST or microservices: two or more Mendix apps you build that read each other over REST |
8283
| `skills/mendix-epics-api.md` | Working with the Mendix Epics board programmatically |
8384
| `skills/upstream-feedback.md` | About to open an issue, PR or discussion against mxcli or the toolkit |
8485
| `skills/doctor-triage.md` | doctor.sh reports FAIL or WARN, or someone asks whether a red setup line blocks them |

‎agents/mdl-agent.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ This table is your whole list. The baseline table in the project's CLAUDE.local.
9292
| `skills/learned-workflow-patterns.md` | Writing or debugging a Mendix native Workflow (CREATE WORKFLOW/USER TASK/OUTCOMES) |
9393
| `skills/workflow-structure-rules.md` | Designing or reviewing a Workflow's SHAPE before or after the MDL |
9494
| `skills/rest-integration-first-time-right.md` | Building a REST integration (consumed or published) for the first time on a project |
95+
| `skills/rest-between-mendix-apps.md` | App-to-app REST or microservices: two or more Mendix apps you build that read each other over REST |
9596
| `skills/bug-submission-checklist.md` | Preparing an mxcli/Studio Pro bug for submission |
9697
| `skills/upstream-feedback.md` | About to open an issue, PR or discussion against mxcli or the toolkit |
9798
| `skills/empty-widget-triage.md` | A page/grid/list/combobox renders or shows empty ('0 to 0 of 0', blank cells, zero rows, zero options) during UI review or an e2e run |

‎agents/review-agent.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ This table is your whole list. The baseline table in the project's CLAUDE.local.
8989
| `skills/journey-examples.md` | Writing an actual .journey.json |
9090
| `skills/wiring-sweep.md` | Every module before it is called done; buttons, links or actions that do nothing when clicked |
9191
| `skills/workflow-structure-rules.md` | Designing or reviewing a Workflow's SHAPE before or after the MDL |
92+
| `skills/rest-between-mendix-apps.md` | App-to-app REST or microservices: two or more Mendix apps you build that read each other over REST |
9293
| `skills/bug-submission-checklist.md` | Preparing an mxcli/Studio Pro bug for submission |
9394
| `skills/upstream-feedback.md` | About to open an issue, PR or discussion against mxcli or the toolkit |
9495
| `skills/empty-widget-triage.md` | A page/grid/list/combobox renders or shows empty ('0 to 0 of 0', blank cells, zero rows, zero options) during UI review or an e2e run |

‎agents/test-agent.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ This table is your whole list. The baseline table in the project's CLAUDE.local.
6868
| `skills/improvement-register.md` | Any review pass that runs more than once |
6969
| `skills/journey-examples.md` | Writing an actual .journey.json |
7070
| `skills/wiring-sweep.md` | Every module before it is called done; buttons, links or actions that do nothing when clicked |
71+
| `skills/rest-between-mendix-apps.md` | App-to-app REST or microservices: two or more Mendix apps you build that read each other over REST |
7172
| `skills/upstream-feedback.md` | About to open an issue, PR or discussion against mxcli or the toolkit |
7273
| `skills/empty-widget-triage.md` | A page/grid/list/combobox renders or shows empty ('0 to 0 of 0', blank cells, zero rows, zero options) during UI review or an e2e run |
7374
| `skills/doctor-triage.md` | doctor.sh reports FAIL or WARN, or someone asks whether a red setup line blocks them |

0 commit comments

Comments
 (0)