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 4b2afa6
Browse filesBrowse the repository at this point in the historyBrowse files
Review of #311 (held):
1. script-owners.sh orders and matches scripts with a leading done- removed: a raw sort put an
executed done-05-x.mdl after 09-y.mdl and called the NEW 09 a replay; `-- supersedes: 05-x.mdl`
stopped matching after the rename.
2. describe-baseline.sh record-applied <script> records each document's live hash after a write;
verify reads SAME when the live body is the script's own recorded write (a re-run) or when a
baselined document is absent (a rebuild onto a fresh model). exec.sh is not changed here: the
one call it needs after a gate pass is proposed in the PR; the fixture runs that case only
when exec.sh carries it (NOT RUN otherwise) and passes 67/67 with the patch applied.
3. Replaying older co-owned scripts in run order is quiet: the "replaying reverts O" verdicts
ask the model first (document absent, or live body applied by this script or an older one).
No ./mxcli to ask stays a conflict.
4. "Not found" matching follows recorded mxcli output (entity/constant not-found, rc 1) by shape:
non-zero exit, no body, "not found: <Doc>"; "no describable document" and parse errors fail
the call instead. No capture of a missing MICROFLOW/PAGE exists in the repo.
5. STOP 29 gives a pipe-free grep over mprcontents/ instead of the codec library.
6. Cut the Step 0 line that repeated STOP 22.
Fixture tests/wave2/test-restatement-guard.sh: 65 ok + 1 NOT RUN on this branch.
Refs #261
Refs #269
Refs #309
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Sections dated before 2026-09-19 predate the cycle and stay as they are.
17
17
18
18
## Unreleased
19
19
20
-
- feat(exec): **restatement guards before every MDL write — a stale `-- baseline:` DESCRIBE (`bin/describe-baseline.sh`) and a document another `mdlsource/` script also owns (`bin/script-owners.sh`) — warn by default, refuse under `MXTK_RESTATE_GUARD=refuse` or exec approval `ask`; `gate-check.sh` prints the co-owned count; preflight STOP 21 covers draft-ahead batches and script ownership.** A script drafted from a DESCRIBE taken before an earlier script ran put four old messages back with check, mxbuild and lint green ([#261](https://github.com/MendixMau/mxcli-project-toolkit/issues/261)); three apps had 99/579, 130/357 and 38/159 documents created by more than one script, so every replay of an older one reverts the newer ([#269](https://github.com/MendixMau/mxcli-project-toolkit/issues/269)). The owner parser was run over real MDL (mxcli v0.23.0 DESCRIBE captures, the StyleGallery tree: 0 of 20 co-owned, the agent examples), where a string literal spanning lines hid a microflow from a per-line lexer; field run on a project still owed. — AlvinnYeo, MendixMau
20
+
- feat(exec): **restatement guards before every MDL write — a stale `-- baseline:` DESCRIBE (`bin/describe-baseline.sh`) and a document another `mdlsource/` script also owns (`bin/script-owners.sh`) — warn by default, refuse under `MXTK_RESTATE_GUARD=refuse` or exec approval `ask`; `gate-check.sh` prints the co-owned count; preflight STOP 21 covers draft-ahead batches and script ownership.** A script drafted from a DESCRIBE taken before an earlier script ran put four old messages back with check, mxbuild and lint green ([#261](https://github.com/MendixMau/mxcli-project-toolkit/issues/261)); three apps had 99/579, 130/357 and 38/159 documents created by more than one script, so every replay of an older one reverts the newer ([#269](https://github.com/MendixMau/mxcli-project-toolkit/issues/269)). Executed scripts renamed `done-` keep their run order and header names; a re-run after a clean exec (`describe-baseline.sh record-applied`), a rebuild onto a fresh model, and an in-order replay with `-- supersedes:` headers stay quiet. The owner parser was run over real MDL (mxcli v0.23.0 DESCRIBE captures, the StyleGallery tree: 0 of 20 co-owned, the agent examples), where a string literal spanning lines hid a microflow from a per-line lexer; field run on a project still owed. — AlvinnYeo, MendixMau
21
21
- fix(exec): **when mxbuild ran on the baseline and then crashes on the written model (no errors file, non-zero exit), the write is rolled back like a failed gate; the kept-write message now says STOP and names `restore-mpr.sh`; preflight STOP 29: DESCRIBE omits module-role and layout-row visibility, so a page restated from it silently loses them.** Field: a two-hop data source passed check, mxbuild's loader crashed, the write was kept and the next script ran on a model nothing could load; one page had 19 role-locked widgets DESCRIBE did not print, a snippet 56 row-visibility rules (refs [#309](https://github.com/MendixMau/mxcli-project-toolkit/pull/309)). — AlvinnYeo
22
22
- feat(lint): **Lint Batch 3 — TXT001 build-process words in user-visible text, TXT002 non-ISO dates in user-visible text, UI001 Data grid 2 / Atlas input layout traps.** From the 2026-10-12 UX-fix retros ([#280](https://github.com/MendixMau/mxcli-project-toolkit/issues/280), [#282](https://github.com/MendixMau/mxcli-project-toolkit/issues/282), [#276](https://github.com/MendixMau/mxcli-project-toolkit/issues/276)): leaked words reached 3 of 3 apps and non-ISO dates 2 of 3, each past a one-off glossary grep; a list view in a grid column and a width on an Atlas input each cost fix rounds. Warning severity, `_rule` finding on a missing field, an empty `strings()` under a FULL-catalog rule, or vocabulary that matches nothing; 23 cases in `tests/lint-rules/test-batch3-rules.sh` (harness gained a `strings()` mock). Field run (mxcli 0.26.0, 21-module Mendix 11.12 model): 0/0/0 over 478 user-visible strings and 271 widgets, with loosened positive controls returning 27/50/17 through the same accessors. TXT002 cannot see format strings inside expressions — that half is a blocked row. `process/lint-backlog.md` Batch 5 lists all 17 candidates from the three issues (rows 32–48) — MendixMau
23
23
- new(process): **feedback typed mid-build gets a change log in `PROJECT.md`, written before any edit, and the BRD/decision/architecture/wireframe is edited before the MDL.** Across 12 mid-build changes on real projects, 12 went straight into MDL and 0 updated a BRD, build plan or wireframe; the drift-sync `UNSYNCED` marker was never written once, and its absence is invisible, so every gate passed on silence. At the other extreme, one already-settled entity change cost ~270k tokens through two helper agents, and one screenshot-driven fix took 4 rounds because it regressed twice. New `skills/change-intake.md` (baseline, lead+ba, Stages 2–7; routing trigger "the user gives feedback or asks for a change mid-project"): one `## Change log` row per ask (`CR | Date | Source | Verbatim ask | Class | Size | Entry artifact | Status | Closed-by`), six classes, each mapped to its entry artifact (a decision is superseded by a new row, never edited; a built page's visual change is recorded as a before/after screenshot pair instead of wireframe upkeep; impl/bug need only a regression journey). Ceremony is proportional: a small change the user typed gets a one-line receipt and no question, a medium one gets one batched question at the next module gate, a large one or one that contradicts a CONFIRMED decision is asked and stopped on, and stakeholder asks wait for the user. Statuses run open → refined → agreed → applied → proven, or rejected. `bin/lib/change-log.sh` holds the one template and the parser: `init-project.sh` writes the section, `sync-project.sh` appends it once to older projects, and `gate-check.sh` prints a **warn-only** `Change log:` line plus a dashboard row (rows not yet applied, N of M; applied/proven rows with no Closed-by; unrecognised statuses). It becomes blocking only after two projects' counts match a hand count. `project-bin/exec.sh --cr CR-NN` tags the BUILD-LOG detail cell (metrics-ledger columns unchanged). Ownership contradiction fixed: the lead marks; ba-agent flushes BRDs and briefs; architect-agent flushes wireframes and `architecture/` (runbook §3b, `iterative-build-loop.md`, `agent-roles.md`, both stubs, `close-the-loop.md`). Inbox TD-04's change-loop half is promoted here, and its row is narrowed to the two unpromoted items. Fixture `tests/wave2/test-change-log.sh` (39 cases, PROJECT.md built by the real init) — MendixMau
0 commit comments