Repository navigation
Sync ako/mxcli: drop-down filter CE0463 and MDL-WIDGET56 false positives fixed; brain batch verdicts; fmt-check fix - #1925
Merged
Merged
Conversation
Every Data grid Drop-down filter mxcli created failed mx check with CE0463. Its editorConfig hides emptyOptionCaption behind `(filterable||multiSelect)`, a disjunctive guard the extractor did not lift, so the text template was never nulled while hidden; and while visible Studio Pro stores the shipped default text, where mxcli wrote an empty template. - lift a statement-level `(A||B…)&&hide(P)` as one rule per disjunct - carry DefaultTranslations on top-level property entries and use them when filling a visible, unset conditional text template - give the embedded template's emptyOptionCaption the shipped text Measured on mx check 11.14.0, 68 testapp pages copied as new pages: CE0463 9 -> 0, no new errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QiMsnXa9crge2qnSk9S7Zn
…e0463 # Conflicts: # CHANGELOG.md
fix: drop-down filter emptyOptionCaption follows its visibility (#2518)
Brings in upstream's v0.33.0 release commit and its gofmt of splice_handler_test.go. CHANGELOG resolved by hand: upstream's file verbatim, with the one entry merged on the fork after the release (#2518) kept under [Unreleased]. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeAyg3qx2my26Q8cvGyW5z
Upstream's 70a6ba4 reformatted it with a gofmt other than the pinned toolchain's, the same change as 1365ba4 before v0.31.0, so the merged tree fails make fmt-check. This restores the fork's version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeAyg3qx2my26Q8cvGyW5z
…uirement A requirement anchored at a page fed only by database data sources runs no microflow, so the only proof is a journey whose log lists the page in `pages`. The report-tests skill and the report tests / traceability help showed a record without it, so following the docs left such a requirement "nothing to reach" with no way out. - report-tests skill: the full record as the example, with a field table (step, pages, message, run, browserMs, the meta line). - report-traceability skill and both commands' help: name `pages` and show the record. - The "nothing to reach" cell of a page-anchored requirement now says a journey proves it by listing the page in `pages`; the limits text names the field. - A test pins the skills' examples to `pages`. Fixes #2526 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qTgUsRMETmzvjS27w
…writes A combo box bound with attribute: was warned about 12 required properties of its association and database modes, and a drop-down filter about refEntity, refSearchAttr and linkedDs; mxbuild builds both clean. - Unset keys take the template's written values before the hide rules are judged, so source/optionsSourceType are known. - A key with any value counts as set (attribute: sets attributeEnumeration). - An isLinked datasource is skipped; the grid fills it. - The editorConfig extractor reads a hide inside a function invoked as a ternary's then-branch under that ternary's condition. Closes #2523 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
`capture --from-json` refused any item carrying "accepts" (unknown
field), so a decision accepting a lint finding, or changing or partly
meeting a requirement, could only be captured one at a time with the
flags. The three options had no batch spelling.
- BatchItem gains `accepts`, `changes` and `partly_meets`: string
arrays in the flags' "<value>[:<reason>]" form, snake_case like every
other brain JSON key. They are written exactly as the flags write
them (verdicts, then acceptances), so the two spellings of one
decision produce the same entry.
- Validated per item before anything is queued, with the flags' own
refusals: an acceptance on a requirement or open question, a verdict
on a requirement, a bad rule id, a requirement the plan lacks.
- The requirement-id check moves from applyVerdictFlags into
brain.CheckRequirementIDs, shared by both paths, and checks the id's
shape first ("nope" is not an id, not a missing requirement). Its
message now says a staged requirement must be promoted first.
- BuildBatch's last parameter becomes BatchChecks (source normaliser
plus known requirement ids).
- `staged --json` reports `accepts` and `verdicts` as `list --json`
already does.
- The BatchItem comment claimed staged/list output could be fed back
in; it cannot (id, kind, date and shard are refused). Corrected
rather than extended: a round trip needs its own design.
Fixes #2524
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011oK82sxYNXAhaYkijzRwae
…24rqgv fix(check): MDL-WIDGET56 judges a widget's mode with the values exec writes
CHANGELOG: keep both [Unreleased] Fixed entries (MDL-WIDGET56 mode fix and #2518). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeAyg3qx2my26Q8cvGyW5z
docs(report): the journey-log record's `pages` proves a page-only requirement
brain: --from-json items take accepts, changes and partly_meets
Merge upstream v0.33.0 into main; re-gofmt splice_handler_test.go with the pinned toolchain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs
ako/mxcli:maininto upstream: 5 commits since the v0.33.0 release — two widget fixes that clear false CE0463s and warnings, a brain batch-capture gap, and a formatting fix upstream'smainneeds.Widgets
mx check: its editorConfig hidesemptyOptionCaptionbehind(filterable || multiSelect), a disjunctive guard the extractor didn't read, so the text was never nulled while hidden — and while visible, Studio Pro stores the shipped default text where mxcli wrote an empty one. Such guards are now read as one rule per disjunct, and a visible, unset text property gets the widget's default text. Measured onmx check11.14.0: 68 pages copied from a test app went from 9 × CE0463 to 0.attribute:was warned about 12 required properties of its association and database modes, and a drop-down filter aboutrefEntity,refSearchAttrandlinkedDs, though mxbuild builds both clean. Unset keys now take the template's written values before the hide rules are judged, a key with any value counts as set, and anisLinkeddata source is skipped.Brain and reports
brain capture --from-jsonitems takeaccepts,changesandpartly_meets, written exactly as the flags write them, so a decision that accepts a lint finding or changes a requirement can be captured in a batch. Validated per item before anything is queued.pagesfield, the only proof for a requirement anchored at a page fed only by database data sources.Formatting
splice_handler_test.gois restored to the pinned toolchain's gofmt output. The v0.33.0 release'sstyle: gofmt splice_handler_test.go(70a6ba454) used a different gofmt, so upstream'smaincurrently failsmake fmt-check; this fixes it