Skip to content

learn(preflight, detection gaps, ledger): retire/shrink learned rules that current mxcli fixed (retest on v0.32 + MxBuild 11.8) - #824

Open
MendixMau wants to merge 3 commits into
masterfrom
retire/learned-rules-v032-retest
Open

MendixMau wants to merge 3 commits into
masterfrom
retire/learned-rules-v032-retest

Conversation

@MendixMau

@MendixMau MendixMau commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Direct lane

What changed and why (one paragraph):
A retest of 108 learned rules and ledger entries on mxcli v0.32.0-374-g591bcd73e (source build) against real MxBuild mx check 11.8.0 (rungs 1–4: check, exec, describe/BSON read-back, mx check; every probe on a fresh blank Mendix 11.8.0 app) found 52 fixed, 22 changed, 1 misdiagnosed (after the review's correction of three ContentParams rows). Version guard, defined once: v0.32.0-374 is the build 374 commits after the v0.32.0 release; v0.32.0 itself and every earlier release count as older. This PR is the argument the word-budget rule asks for before protected text goes (CLAUDE.md → "Always-loaded skill text", rule 1): no rule text is deleted. Every fixed or changed rule moves word for word to the new on-demand skills/learned-rules-archive.md (routed, mdl,gate,review, stages 5–6), because projects pin older binaries. The live rows now state the current behaviour in one line with a version guard (v0.32.0-374 refuses it at check / on mxcli < v0.32.0-374 …). Five rules were wrong on the current binary and are corrected: BUG-17 (misdiagnosis), STOP #12 plus STOP #1's ContentParams clause (on v0.32.0-374 an expression builds when every attribute is $currentObject/Attr; a bare attribute inside a function, toString(Status), still passes check/exec and fails CE0117 — so the row now teaches the $currentObject/ form, and a live detection-gaps row covers the bare case), STOP #32 (over-broad), the DG2-column gotcha and register rows (wrong failure mode), and the microflow-header error text. The ledger gets a Fixed in / Changed in / Still reproduces on / Not reproduced on v0.32.0-374 stamp on 62 entries (none deleted; bin/bug-lookup.sh finds them as before, and BUG-17's heading now says SUPERSEDED, so --index flags it closed), plus 6 new BUG-DRAFT-* candidates with inline MDL and verbatim errors. The full verdict tables and all 140 probes are in bug-logs/mxcli-v0.32.0-retest-2026-11-20.md. Two other files that made the same claims were reconciled (retesting-learned-rules.md completion criterion): learned-datagrid-customcontent-binding.md (RETIRED stamp) and learned-workflow-patterns.md §8 Warning 1 (a v0.32.0-374 row). The STOP-12 mdl-scan rule stays warn but its message now says the CE1613 is for mxcli < v0.32.0-374, and it is no longer listed as a block candidate.

Kept on purpose: #29 and #30 did not reproduce, but only on Mendix 11.8; they were measured on 11.12–11.13, so they stay with a note. STOP #1's main rule stays: mx check is 0 errors, but its symptom was on Studio Pro open (not available here). PARALLEL SPLIT, calculated by, and rest call body are fixed statically only, so the runtime caveats stay. The DECISION line now says what builds, but BUG-141 (restart safety) is still open.

Evidence (mxcli v0.32.0-374, Mendix 11.8.0, 2026-11-20)

Rule Verdict Verbatim proof line mxcli
BUG-17 [%BeginOfToday%] quoting WRONG diagnosis ✗ [%BeginOfToday%] is not a Mendix token (mxbuild: CE0161 "Error(s) in XPath constraint.") [MDL-TOKEN01]; [%BeginOfCurrentDay%]/[%EndOfCurrentDay%] in the same where: mx check 0 errors v0.32.0-374
STOP #12 + STOP #1 ContentParams clause CHANGED (corrected on review) toString($currentObject/Status), $currentObject/Name, if $currentObject/… then … else …: mx check 0 errors. toString(Status) (bare attribute in a function; data view, customContent, list spelling): Check passed!, Created page Shop.F12a_Bare, then CE0117 | Page 'F12a_Bare' | Expression of text template parameter {1} of text 'txtA' | Error(s) in expression. v0.32.0-374
STOP #32 show-page argument over-broad page param (Order = $Order): Check passed!, mx check 0 errors; only $currentObject: … cannot be stored — widget btn1 is not inside a data view … [MDL-PAGEARG01] v0.32.0-374
DG2 column gotcha / register WRONG failure mode (refused at check, not mxbuild) Reference error: alter page Shop.M11_Page: the insertion point (Qty) is in no data container, so no entity is in scope … / Refusing to execute … Nothing was written. v0.32.0-374
microflow header needs () CHANGED (error text) line 3:36 a microflow header needs its parameter list in parentheses, even when it is empty v0.32.0-374
workflow DECISION (BUG-76/108) FIXED in qualified spelling bare: decision outcome 'Draft' is not fully qualified … [MDL-WF03]; 'Shop.OrderStatus.Draft' + '': Created workflow, mx check 0 errors v0.32.0-374
STOP #16 [%CurrentUser/…%] CHANGED ✗ [%CurrentUser/Administration.Account_Language%] is not a Mendix token (mxbuild: CE0161 …) [MDL-TOKEN01] v0.32.0-374
STOP #18 callee same script CHANGED Created microflow: Shop.WF18_Callee / Created workflow: Shop.WF18, mx check 0 errors (was CE0117) v0.32.0-374
STOP #23 create-or-modify drops CHANGED ⚠ applying this script to the project removes 2 member(s) from entity Shop.Line … [MDL087] (at check) v0.32.0-374
STOP #24 design property CHANGED ✗ … sets design property "Form orientation", which is not defined for this widget type — mxbuild reports CE6083 … [MDL-WIDGET11] v0.32.0-374
STOP #31 two-hop binding FIXED widget tb1 … exec stores it as Shop.Line_Order/Shop.Order_Customer/Name … [MDL-ATTRPATH01], mx check 0 errors v0.32.0-374
cross-module short assoc path CHANGED Order_Customer is an association: an expression names it qualified, $Order/Shop.Order_Customer/… — mxbuild rejects the expression with CE0117 v0.32.0-374
elseif in page expression CHANGED line 5:93 missing ELSE at 'elseif' v0.32.0-374
enum reserved value modify FIXED Altered enumeration: Shop.G03_Enum v0.32.0-374
XPath = null CHANGED the constraint names "null", which is neither an attribute nor an association of it — mxbuild rejects the constraint (CE0161 …) v0.32.0-374
Context / New / Case reserved SPLIT attribute 'Context' is a reserved word (CE7247) [MDL021], enumeration value 'New' … [MDL010]; Case entity: Created entity: Shop.Case then CE7247 The name 'Case' is a reserved word. v0.32.0-374
CREATE result discarded FIXED Created microflow: Shop.MP11_Discard, mx check 0 errors v0.32.0-374
enum into String CHANGED ✗ Attribute Note of Shop.Order is a String, but the value assigned to it is an Enumeration … [E009]; exec still Created microflow, mx check CE0117 at the change and at the return (unflagged) v0.32.0-374
#29 constant in nanoflow / #30 dynamicimage kept ExposedToClient: false / OptimizedClient: 'Yes', mx check 0 errors — Mendix 11.8 only v0.32.0-374

The full 108-row table, every probe's MDL and read-back command: bug-logs/mxcli-v0.32.0-retest-2026-11-20.md.

Impact

Row Answer
Process — human steps or gates added/removed; does anything new block; new stage artifacts none. No gate, check or obligation added; nothing new blocks. One new on-demand skill file (the archive) and one new bug-log record file.
Dependencies — shared files touched; order vs other open PRs; new tools/platform assumptions; new artifact reads + their producer bin/lib/skill-routing.tsv (+1 row: learned-rules-archive, ondemand, mdl,gate,review, stages 5,6) and its re-render (README.md, ROUTING.md, agents/mdl-agent.md, agents/gate-agent.md, agents/review-agent.md, bin/gate-check.sh stage map). bin/lib/mdl-scan-rules.tsv: STOP-12 message and header comment text only (severity unchanged, warn). skills/generated/* re-rendered by bin/mdl-rules.sh --render. bug-logs/mxcli-bugs.md is edited by many PRs: conflicts are possible but local (stamp lines under headings, new entries at the end). No new tools, no new artifact reads.
Context cost — always-loaded words bin/render-routing.sh --check: Baseline 65,568 → 64,892 words (−676), budget 80,000 (first push: 64,737; the review fixes added 125 and the A/B fixes 30). Stage 5: total 60,263 → 59,587; gate 21,747 → 21,328; review 30,445 → 30,026; mdl 14,708 → 14,743. Stage 6: total 49,933 → 49,549; gate 20,764 → 20,345; review 24,977 → 24,558; mdl 9,603 → 9,638. Preloaded skills/generated/rules-*.md: 38,589 → 37,960 (−629). The retest report estimated ~1,400 baseline words; the difference is the rules kept on purpose (above), the STOP #12 case that turned out still live, and microflow-patterns, which is not baseline.
Behaviour — A/B result for agent-read text RUN (RELEASE-PROCESS §4a.4): 6 MDL tasks that exercise the changed rows, OLD (master) vs NEW (branch before 4fed6f5), 4 fresh claude-opus-5-5 runs each, real mxcli v0.32.0-374 and real mx check 11.8.0. Primary score 24/24 OLD and 24/24 NEW, cost per run $0.457 vs $0.454. NEW removes forced workarounds: T1 ContentParams expression used 0/4 OLD vs 4/4 NEW; T3 extra nested data views for a 2-hop binding 4/4 OLD vs 1/4 NEW; OLD's quoted-DynamicClasses spelling drew 2 MDL-WIDGET33 refusals, NEW 0. OLD's DECISION and #32 STOPs stopped nobody. NEW cost more failed check rounds (25 vs 6) in two places: T1, 4/4 wrote formatDecimal($currentObject/Amount, '0.00') and needed 2–3 mx check rounds for CE0117 (1–2 rounds on 4fed6f5, n=2); T5, 4/4 checked the workflow before exec'ing its callees (not found). Both are now addressed in ba82605: STOP #12 names the format-string trap, STOP #18 keeps the exec-callees-first sequencing for every version. Headline: T1–T6 pass OLD 4/4 each, NEW 4/4 each (All 24/24 vs 24/24; NEW2 2/2); retries OLD 6, NEW 25 (T1 3→14, T5 0→6, T6 3→5). Caveats: ceiling effect (both 100%), n=4 so rework differences are directional; the fixes in ba82605 were not re-run (account usage cap).
Runtime n/a: text only. Time cost: none · n/a · can force rework: n · offset: removes detours (extra String attributes for ContentParams, an extra microflow for show-page params, split workflow scripts) that the old rows forced on v0.32 projects

Field evidence — the retest itself: mxcli v0.32.0-374-g591bcd73e against real MxBuild 11.8.0 mx check, four probe apps built from one blank Mendix 11.8.0 app, 140 probe scripts (Appendix B of the record), each attributed by unique document name. Not available: Studio Pro's loader (rung 5) and the runtime (rung 6) — rules whose failure lived there were kept.

Fixtures (scoped; master → branch, same worktree base 1a56c3a1; re-run after the review fixes with the same counts):

  • tests/wave2/test-bug-lookup.sh bin/bug-lookup.sh: 28/0 → 28/0 (ranker floors unchanged: dev top-1 89%, held-out top-1 92%, top-3 100%)

  • tests/wave2/test-mdl-rules.sh bin/mdl-rules.sh: 43/0 → 43/0

  • tests/wave2/test-mdl-scan.sh: 53/0 → 53/0 (P: the preflight still marks exactly STOP-1/12/16/26)

  • tests/wave2/bench-mdl-scan.sh: rc 0 → rc 0, same output

  • tests/wave2/test-context-pack.sh: 59/0 → 59/0

  • tests/wave2/test-runbook-slice.sh bin/runbook-slice.sh (branch): 31/0

  • by inspection: test-file-bugs.sh's grep (only a human files in detection gaps) and test-exec-lock-watch.sh's ledger grep (alter page … { set Url = '…'; }) still match

  • bin/mdl-rules.sh --check: clean; bin/render-routing.sh --check: in sync; bin/check-scripts.sh: 145/145, 30/30; bin/check-portability.sh: clean (410 files); leak guard: clean; bin/check-no-private-citations.sh: clean; bin/check-pr-discipline.sh: clean

  • Grep proof that the wrong text is gone and the corrections landed (master → branch): STOP Cloud-dev skill, node-express-react layout config, and nine instrument fixes from one end-to-end migration #1 Do NOT use ContentParams: [{1} = toString("State")] 1 → 0; unguarded STOP docs + doctor: "Where you run this" visual, Windows onboarding fixes, toolkit.env #12 ban 1 → 0 (now verbatim in the archive); STOP Four instruments that were installed and not working, and the obligations to notice #32 "any argument outside a data view" 1 → 0; DG2 gotcha "REPLACE … column passes check, fails mxbuild" 1 → 0; register "Check passed!, exec applies it" 1 → 0; header "check errors point at returns/List of" 1 → 0 (now version-guarded); BUG-17 MISDIAGNOSED 0 → 1; ledger stamps 0 → 62; new BUG-DRAFT-* 0 → 6

  • No client data anywhere in the diff (leak guard clean; probe names are Shop.* / ModB.*)

  • Size cap: exceeded, on purpose — 22 files, +2,536/−125. 1,835 lines are the captured retest record (probes plus verdict tables), 279 are the archive (moved text, verbatim), 288 are ledger stamps and new entries, and 10 files are mechanical renders (routing, skills/generated/). The hand-written diff to the live skill files is about 80 lines. Splitting would put the archive and the rows it replaces in different PRs, and the rows would cite a file that does not exist yet.

  • Test tier: T1/T2 — scoped fixtures plus the mechanical checks above; the claims themselves were verified at the real mx check gate (rung 4)

  • For a new skill: routing row added (bin/lib/skill-routing.tsv + bin/render-routing.sh)

  • CHANGELOG.md line appended, credited to the retest run

  • New bug entries headed ## BUG-DRAFT-<slug>:

Not changed, and why:

Review fix probe (real MxBuild 11.8.0, fresh blank app + base model): four pages — toString(Status) and toString($currentObject/Status), each in a data view and in a customContent column. check passed all four, exec created all four; mx check -j: CE0117 on F12a_Bare and F12c_CCBare only, 0 errors on the two $currentObject/ pages.

Review: MERGE-AFTER-FIX — fixes pushed, awaiting re-review

https://claude.ai/code/session_01HXpQSjXefSNicGGqP4aiSC


Generated by Claude Code

… that current mxcli fixed (retest on v0.32 + MxBuild 11.8)

A retest of 108 learned rules and ledger entries on mxcli v0.32.0-374 against
real MxBuild 11.8.0 (rungs 1-4) found 55 fixed, 19 changed and 1 misdiagnosed.

- Fixed/changed rules move word for word to skills/learned-rules-archive.md
  (on demand, routed; still valid on an older mxcli). Live rows state the
  current behaviour with a version guard.
- Wrong rules corrected: BUG-17 (not Mendix tokens), STOP #12 and STOP #1's
  ContentParams clause, STOP #32 (only $currentObject is refused), the DG2
  column gotcha/register rows (refused at check now), microflow header text.
- Ledger: 62 entries stamped Fixed/Changed/Still/Not reproduced; 6 new
  BUG-DRAFT candidates; retest record with every probe inlined in
  bug-logs/mxcli-v0.32.0-retest-2026-11-20.md.
- #29/#30 kept (not reproduced on Mendix 11.8 only).

Baseline 65,568 -> 64,737 words; skills/generated 38,589 -> 37,601.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HXpQSjXefSNicGGqP4aiSC
@MendixMau

Copy link
Copy Markdown
Owner Author

Review: MERGE-AFTER-FIX — STOP #12's "FIXED" claim is wrong for its own lead example: contentparams: ({1} = toString(Status)) still passes check and exec and fails mx check CE0117 on v0.32.0-374 / 11.8.0
Value: I re-ran 15 probes on fresh copies of the blank 11.8.0 app (mxcli docker check through mxsem.sh). These reproduce as claimed: BUG-17 (forced [%BeginOfToday%] gives CE0161 ×2, [%BeginOfCurrentDay%] gives 0 errors), PF12b/c, PF32 (0) and PF32b (MDL-PAGEARG01), the DG2 REPLACE and INSERT refusal (M11b/c), L76 (MDL-WF03 ×2 + WF06), L76c (0), MP01, PF31 (and an unqualified two-hop path, 0 errors), and PF18 (0). Two do not reproduce. PF12a (customContent, toString(Status)) and PF12e (list spelling) each give CE0117 "Error(s) in expression" at Expression of text template parameter {1} of text 'txtS' (mx check -j, document PF12a_Page), and so does toString(Total). toString($currentObject/Status) builds with 0 errors. So the rule is not fixed. It changed: a bare attribute inside a function is still a check-passing failure.
Regression risk: no gate, verdict or exit-code changes. STOP-12 stays warn. test-bug-lookup 28/0, test-mdl-rules 43/0, test-mdl-scan 53/0, test-context-pack 59/0, test-bug03-gates 99/0, test-file-bugs 218/0 and test-context-audit 16/0 all pass. mdl-rules.sh --check and render-routing.sh --check are in sync. No conflict with origin/master. Protected text: every removed rule, STOP, register or gotcha line is verbatim in skills/learned-rules-archive.md. The only other edits are suffix notes (#29/#30), header lines, and "three"→"several" (learned-detection-gaps.md:42). Version guard: "older than v0.32.0-374" means unreleased HEAD, 374 commits past the v0.32.0 tag. Semver orders it below v0.32.0, and at least the ATTRPATH fixes (#31) landed after the tag. Retirements built on 11.8 are mxcli-writer fixes, and the Mendix-raised #29/#30 are correctly kept.
Correctness: the wrong claim recurs at skills/learned-mdl-preflight.md:36, learned-rules-archive.md (STOP #1 clause and #12 verdict lines), bug-logs/mxcli-bugs.md:5800, learned-datagrid-customcontent-binding.md:14, mdl-scan-rules.tsv STOP-12, the record at :43/:74 and the CHANGELOG line. The detection-gaps ContentParams row was removed, but its gap still exists for this form. Retrieval: the inline pointers in the baseline rows reach the archive. Its routing roles are mdl,review, but gate loads detection-gaps and is told to read the archive.
Context cost: baseline 65,568 → 64,737 (−831) measured, budget 80,000. rules-*.md 38,589 → 37,601.
Time cost: none. Text only.
Exact fixes required:

  1. Rewrite STOP docs + doctor: "Where you run this" visual, Windows onboarding fixes, toolkit.env #12 (live row + generated), BUG-142 stamp, archive verdict lines, customcontent-binding stamp, STOP-12 scan message, record PF12a/e rows and CHANGELOG to: on v0.32.0-374 an expression builds only when each attribute is $currentObject/Attr. toString(Attr) with a bare attribute passes check/exec → CE0117. Keep a live detection-gaps row for that.
  2. Define the guard once (archive header + preflight version line): "v0.32.0-374 = the build after the v0.32.0 release; v0.32.0 itself counts as older". Align "mxcli < v0.32" at detection-gaps :38/:42/:49.
  3. Add gate to the archive's routing roles, or drop "read them there" from detection-gaps :9.

Generated by Claude Code

… one version guard; gate reads the archive

- On v0.32.0-374 a ContentParams expression builds only when every attribute
  is written $currentObject/Attr. A bare attribute inside a function,
  toString(Status), still passes check and exec and fails mx check CE0117
  (re-probed: data view and customContent, bare vs $currentObject/, real
  MxBuild 11.8.0). Corrected in the STOP #12 row, generated rules, archive,
  BUG-142 stamp, customcontent-binding stamp, STOP-12 scan message, retest
  record and CHANGELOG; a live detection-gaps row restored for the case.
- Version guard defined once (archive header, preflight version line, record):
  v0.32.0-374 is 374 commits after the v0.32.0 release; v0.32.0 counts as
  older. Detection-gaps rows use the same wording.
- learned-rules-archive routed to gate too (re-rendered).

Baseline 65,568 -> 64,862 words; skills/generated 38,589 -> 37,930.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HXpQSjXefSNicGGqP4aiSC
@MendixMau

Copy link
Copy Markdown
Owner Author

Review: MERGE — re-review of head 4fed6f5 (fix commit after MERGE-AFTER-FIX): all three fixes landed at every listed location; STOP #12 now CHANGED with the $currentObject/Attr rule, confirmed on the real chain
Value: the retest gives the obsolescence argument the word-budget rule asks for. Every removed protected line is verbatim in skills/learned-rules-archive.md, and the live rows carry version guards. In the first round I re-ran 15 probes on fresh 11.8.0 copies, and 13 matched. On 4fed6f5 I re-ran these in /tmp/rv824b (mxcli docker check via mxsem.sh):

  • PF12a toString(Status) in customContent: check and exec pass, mx check CE0117 ×1.
  • PF12e, the [ ] list spelling: same result.
  • toString($currentObject/Status) in customContent: 0 errors.
  • PF32, the page parameter in a show-page argument: 0 errors.

These now match the text at learned-mdl-preflight.md STOP #12, learned-detection-gaps.md (new live row, bare attribute in a function → CE0117), the BUG-142 stamp, learned-datagrid-customcontent-binding.md:14, the archive STOP #1 and #12 verdicts, the STOP-12 scan message, the record (:43, :74, totals 52/22) and CHANGELOG.
Regression risk: no gate, verdict or exit-code change. STOP-12 stays warn, with a corrected message. The version guard is defined once, in the preflight Version context, the archive header and the record: v0.32.0 itself counts as older. detection-gaps :38/:42/:49 now say "older than v0.32.0-374", and a grep finds no < v0.32 left. The archive is routed to mdl,gate,review, and agents/gate-agent.md:55 has the row. There is no conflict with origin/master. Still open, and acceptable as a follow-up: learned-workflow-patterns.md §8 prose still says "never script a DECISION" (the PR body notes it).
Correctness: fixtures in a detached worktree: test-bug-lookup 28/0, test-mdl-rules 43/0, test-mdl-scan 53/0, test-context-pack 59/0, test-bug03-gates 99/0, test-file-bugs 218/0, test-context-audit 16/0. mdl-rules.sh --check and render-routing.sh --check are in sync. The 22-file size is justified: the captured record and the archive must ship with the rows that cite them.
Context cost: baseline 65,568 → 64,862 (−706) measured, budget 80,000. skills/generated/rules-*.md 38,589 → 37,930.
Time cost: none. The change is text only. It removes the detours the old rules forced (extra String attributes, show-page microflows, split workflow scripts).


Generated by Claude Code

…ams; exec callees before checking the workflow

Behaviour A/B (6 tasks x 4 runs per arm, real mxcli v0.32.0-374 + mx check
11.8.0): both arms 24/24, but NEW caused more failed check rounds in two spots.
- STOP #12: formatDecimal($currentObject/Amount, '0.00') passes check and
  fails CE0117 (4/4 NEW T1 runs); use toString($currentObject/Attr).
- STOP #18: keep "exec the callee microflows before check --references of
  the workflow script" for every version (4/4 NEW T5 runs hit "not found").

Baseline 64,862 -> 64,892 words; skills/generated 37,930 -> 37,960.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HXpQSjXefSNicGGqP4aiSC
@MendixMau

Copy link
Copy Markdown
Owner Author

Review: MERGE — head ba82605 (addendum below); earlier re-review of head 4fed6f5 (fix commit after MERGE-AFTER-FIX): all three fixes landed at every listed location; STOP #12 now CHANGED with the $currentObject/Attr rule, confirmed on the real chain
Value: the retest gives the obsolescence argument the word-budget rule asks for. Every removed protected line is verbatim in skills/learned-rules-archive.md, and the live rows carry version guards. In the first round I re-ran 15 probes on fresh 11.8.0 copies, and 13 matched. On 4fed6f5 I re-ran these in /tmp/rv824b (mxcli docker check via mxsem.sh):

  • PF12a toString(Status) in customContent: check and exec pass, mx check CE0117 ×1.
  • PF12e, the [ ] list spelling: same result.
  • toString($currentObject/Status) in customContent: 0 errors.
  • PF32, the page parameter in a show-page argument: 0 errors.

These now match the text at learned-mdl-preflight.md STOP #12, learned-detection-gaps.md (new live row, bare attribute in a function → CE0117), the BUG-142 stamp, learned-datagrid-customcontent-binding.md:14, the archive STOP #1 and #12 verdicts, the STOP-12 scan message, the record (:43, :74, totals 52/22) and CHANGELOG.
Regression risk: no gate, verdict or exit-code change. STOP-12 stays warn, with a corrected message. The version guard is defined once, in the preflight Version context, the archive header and the record: v0.32.0 itself counts as older. detection-gaps :38/:42/:49 now say "older than v0.32.0-374", and a grep finds no < v0.32 left. The archive is routed to mdl,gate,review, and agents/gate-agent.md:55 has the row. There is no conflict with origin/master. Still open, and acceptable as a follow-up: learned-workflow-patterns.md §8 prose still says "never script a DECISION" (the PR body notes it).
Correctness: fixtures in a detached worktree: test-bug-lookup 28/0, test-mdl-rules 43/0, test-mdl-scan 53/0, test-context-pack 59/0, test-bug03-gates 99/0, test-file-bugs 218/0, test-context-audit 16/0. mdl-rules.sh --check and render-routing.sh --check are in sync. The 22-file size is justified: the captured record and the archive must ship with the rows that cite them.
Context cost: baseline 65,568 → 64,862 (−706) measured, budget 80,000. skills/generated/rules-*.md 38,589 → 37,930.
Time cost: none. The change is text only. It removes the detours the old rules forced (extra String attributes, show-page microflows, split workflow scripts).
Addendum (ba82605, from 4fed6f5): this commit is text only. It changes preflight STOP #12 and #18, the archive's STOP #12 verdict, the generated rules-page.md and rules-workflow.md, and the CHANGELOG. I checked both claims against the verbatim evidence in night2/ab824/AB-REPORT.md and ran no new probes.

  • STOP docs + doctor: "Where you run this" visual, Windows onboarding fixes, toolkit.env #12. formatDecimal($currentObject/Amount, '0.00') gives [CE0117] … at Text 'txtSummary' in 4 of 4 NEW runs and 2 of 2 NEW2 runs (AB-REPORT.md:76, :88-92). The report states that getCaption($currentObject/Status) and toString($currentObject/Amount) build, so the error is in the format call. Without that, CE0117 at the Text would not single out param {2}.
  • STOP BUG-127..133 and two skill learnings from a sales-coaching build (post-merge commits of PR #3's branch) #18. Checking the workflow script before the callees were exec'd gives microflow not found: Sales.SUB_Order_Escalate in 4 of 4 runs (:81, :112-118). The rule applies to any version: check skips only references to objects created in the same script, as my own PF18 run showed.
  • Checks. mdl-rules.sh --check is in sync. render-routing.sh --check is in sync, with a baseline of 64,892 words (net 65,568 → 64,892, −676), as claimed. There is no conflict with origin/master.
  • Optional. The new detection-gaps ContentParams row could also name formatDecimal.

Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants