You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a971ed2
Browse filesBrowse the repository at this point in the historyBrowse files
Review: MERGE — all 28 sites semantically equivalent (trailing newline, lost producer status, NUL bytes, -- checked per site); render-routing --check 0/30 flakes on the branch vs 15/100 false UNROUTED on master.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ Sections dated before 2026-09-19 predate the cycle and stay as they are.
40
40
- learn(iterative-build-loop, upstream-feedback): **every model write goes through `exec.sh`; on a refusal the move is commit (`--commit-first`), wait (exec lock) or stop and report — never `FORCE_EXEC` on the agent's own initiative; MCP writes stay allowed and are accepted as unrecorded, recorded by an `MCP:` commit; the gate checks the saved file (save, then check); no batched-gate mode exists, so do not imitate one with overrides; Studio Pro MCP server asks get a third destination in `upstream-feedback.md` with their evidence rows** ([#69](https://github.com/MendixMau/mxcli-project-toolkit/issues/69), [#171](https://github.com/MendixMau/mxcli-project-toolkit/issues/171), [#173](https://github.com/MendixMau/mxcli-project-toolkit/issues/173)). The phase-close check is coverage, N of N: every model commit is covered by an applied exec row, a `--commit-first` commit or an `MCP:` commit (the pre-exec sequence now commits as `MCP: …`); the refusal table includes PRE-EXISTING errors and ends with "read the printed remedy"; the exec lock refuses rather than queues, and the text says so. Field evidence: a 2026-09-29 two-build comparison (229 errors hidden by a stale disk copy; per-script apply 22–30 s growing to 55–65 s). Routing triggers for the build loop, page patterns and measured claims now name the refusal, the UI round and transcript token counts (stubs re-rendered; baseline unchanged at 79,997 words) — MendixMau
41
41
- learn(learned-page-patterns, measured-claims): **UI fix rounds: SCSS first, apply directly through `exec.sh`, re-look only changed pages (N of N), and check four regressions before applying (N1 page-column on the layout root, N2 `.d-none` losing to a `display` class, N3 Data Grid 2 `autoFit` columns at 32 px, N4 focus ring); transcript usage is read from each message's LAST record** ([#170](https://github.com/MendixMau/mxcli-project-toolkit/issues/170), [#171](https://github.com/MendixMau/mxcli-project-toolkit/issues/171)). The round took 1,507 calls against 515 for a comparable build; re-measured on Claude Code 2.1.296 transcripts, sub-agent output read from the first record was up to 7x low while the main loop's was exact — MendixMau
42
42
- new(init-project): **the scaffold prints an auto-compact advisory: a warning when `CLAUDE_CODE_AUTO_COMPACT_WINDOW` or any `autoCompactWindow` in the project or user settings is above 250k, an "unparseable" line for a value it cannot read, otherwise a `/autocompact 250k` recommendation; it writes no setting and never fails the scaffold** ([#167](https://github.com/MendixMau/mxcli-project-toolkit/issues/167)). A lead session at a 1M window averaged 363–466k context per call. Fixture `tests/wave2/test-init-autocompact.sh` (15 checks; fails on master) — MendixMau
43
+
- fix(routing, gate-check, obligation-check, project-bin): **`render-routing.sh --check` no longer reports a routed skill as UNROUTED at random — every `producer | grep -q` under `set -o pipefail` in the non-owned scripts is now a here-string.** `grep -q` exits on its first match; a producer still writing gets SIGPIPE (141) and pipefail turns "found" into "not found". The routed-path list is ~4.8 KB, two stdio writes, so the race was live: 15 of 100 calls of `routing_unrouted_skills` on the real table named a routed skill before the fix, 0 of 100 after. 28 sites in 12 scripts (skill-routing, obligation-check, triage-template, gate-check stage-0 sign-off and stage-4 closing rows, check-portability, `_common.sh` version match, design-portability, page-shell, close-task, check-sp-health, app-restart/test-stack-up `tasklist` probe). New fixture `tests/wave2/test-pipefail-grep-q.sh` makes the race deterministic (match first, 1 MB after it): fails 10 of 10 runs on master, passes after. CI flake seen in review — MendixMau
43
44
- learn(testing-shape, test-result-audit): **three test-strength rules, each with a denominator: refusals probed on the server, every undeclared 4xx a failure, one clean-database final run** ([#172](https://github.com/MendixMau/mxcli-project-toolkit/issues/172)). A field comparison of two builds against one frozen spec found the toolkit build checked permission refusals only in the client (a hidden menu item), logged unexpected 400/422 responses as information, and reached 20/20 by stitching three runs. `testing-shape.md` §7 gains three report lines (`N of N restricted pairs probed server-side`, `undeclared 4xx/5xx: 0 of M requests — each fails its step`, `one clean-DB run <id>: N of N scenarios incl. timers, not stitched`); `test-result-audit.md` gains check 2e, which carries the reasons and the field evidence and asks for those numbers. Both baseline skills stay inside the 80,000-word baseline budget (79,997): the reasons live in the on-demand audit skill, and two redundant sentences in `testing-shape.md` §4's verdict paragraphs were folded (the empty-set corollary is stated in the Trace row, `harness-architecture.md` and `report-schema.md`). The backing inbox note is trimmed to its unpromoted "Keep" items. — MendixMau
44
45
- learn(learned-detection-gaps, module-review): **two UI defects every model gate passes: a lazy-loaded combo box filter hides its preset, and a theme that pins row heights by position lets the next row cover an inserted widget** ([#299](https://github.com/MendixMau/mxcli-project-toolkit/issues/299)). Both passed check, mxbuild, lint and the scripted checks on a 127-module production app and were found only in the running app. Two register rows with the first oracle and the pre-build check (pluggable properties that change *when* data loads; grep the theme for fixed `height` on positional row classes before an insert), and two LOOK lines in `module-review.md` §4c with denominators (`N of N filters show their preset on first load`, `N of N widgets inserted into an existing container fully visible`). — jopterhorst
45
46
- fix(app-restart, test-stack-up): **a port held by another process before `run --local` is named and reported as "instrument blocked" (exit 4), never killed** ([#262](https://github.com/MendixMau/mxcli-project-toolkit/issues/262)). Studio Pro had started its own runtime on the app/admin ports a restart needed; `mxcli run --local` then failed with "Authentication failed" (the admin API answering was Studio Pro's), the next journey ran against Studio Pro's runtime, and four more runs were NOT RUN. `app-restart.sh` now checks the app port and the admin port (record's `adminPort`, else app + 10) before stopping anything — a holder outside the recorded process tree exits 4 with its name, pid and parent — and again after the stop, where anything still holding a port is by definition not ours. `test-stack-up.sh` runs the same check wherever it would tell you to start `run --local` (`--no-docker`, no Docker daemon, `--check` with a leftover record), on the record's ports, `RUN_LOCAL_APP_PORT`/`RUN_LOCAL_ADMIN_PORT`, or mxcli's defaults 8080/8090. Holder lookup: lsof, then ss, then netstat + tasklist on Windows; unnamed holders still block when nothing of ours is running. Fixtures: `test-app-restart.sh` +2 cases (14 assertions, all fail on the old script), `test-stack-up-local.sh` T7 (4 of 6 fail on the old script). — AlvinnYeo
Copy file name to clipboardExpand all lines: bin/gate-check.sh
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -825,13 +825,13 @@ check_stage_0() {
825
825
}'"$f")
826
826
if [ -z"$signer" ];then
827
827
echo"FAIL|no non-empty 'Confirmed by:' line inside the '## Sign-off' section of $f — anything the user actually said is enough (\"confirmed in chat\", \"agreed, move on\"); it only has to not be the shipped placeholder"
# Mapped and waiting for a change is a normal state in this mode (existing-app-change.md
831
831
# §"Map the app first"): there is nothing to sign off yet, so this is not-started, not wrong.
832
832
# Without it a parked project read "needs attention" forever (existing-app field run, 2026-09-22).
833
833
echo"PENDING|app mapped (analysis/app-report.html), waiting on the change — triage.md is signed off at Stage 0b, once the user says what to work on and what it touches is written ($f, ## Sign-off)"
834
-
elifprintf'%s'"$signer"|grep -q '\[';then
834
+
elif grep -q '\['<<<"$signer";then
835
835
echo"FAIL|'Confirmed by:' still holds the shipped placeholder: \"$signer\" — replace it with whatever the user actually said (\"confirmed in chat 2026-08-20\" is fine; a full name is not required) ($f, ## Sign-off)"
836
836
else
837
837
echo"PASS|triage.md signed off by \"$signer\" [$f]"
|| why="${why:+$why; }the last numbered row is not \`gate-check.sh <project> 5\`"
1240
1240
if [ -n"$why" ];then
1241
1241
echo"FAIL|build-plan.md is missing its closing rows (brd-to-build-plan.md, \"three closing rows\"): $why — add them; nothing that walks the plan does a step it does not list"
if grep -qE -- '(^|[[:space:]>+~,])(b|i|table|thead|tbody|th|td|tr|ul|ol|li)([[:space:].:,>+~]|$)'<<<"$sel";then
144
144
report "$f""$ln""selector styles through an HTML element Mendix does not emit" \
145
145
'Mendix emits div/span/button. table|th|td|tr never appear (DataGrid2 is role="grid" divs). Restate as a class-only rule and give the class a widget carrier.'
146
146
fi
147
147
# 2b. A child-tag selector that DOES match, by accident, and outranks its own class.
148
148
# `.foo span` is 0-1-1 and beats the class-only `.foo-value` at 0-1-0, so the caption
149
149
# rule paints the headline. This is worse than a dead rule: it renders, wrongly.
report "$f:$ln""page $page is built full-bleed; its wireframe draws a $col column" \
294
294
"Wrap the page body in the project's page-column container (ds.css supplies 'margin: 0 auto'; the wireframe narrows it to $col). Uncapped, this renders at the full layout region — measured at 1360px on a 900px design."
0 commit comments