Skip to content

chore: add mx::api feature skills#176

Merged
webern merged 4 commits into
mainfrom
api-features-skill
Jun 16, 2026
Merged

chore: add mx::api feature skills#176
webern merged 4 commits into
mainfrom
api-features-skill

Conversation

@webern

@webern webern commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Add skills, audit files, and an audit report to help us understand what is supported in mx::api and what needs work.

@github-actions

Copy link
Copy Markdown

gen-quality gen/

(no report produced)

Commit 5737492e50f3f82d8dc3353b12e096d45f2ed7da.

webern added 4 commits June 16, 2026 17:04
Add a skill that understands how MusicXML features can be added to the
mx::api layer.
New `python3 -m audit` tool (audit/) inventories which MusicXML
elements and attributes each corpus file uses, so we can compare the
corpus against what the mx::api layer exposes. It writes a
*.features.xml sidecar per corpus file and a data/corpus.xml aggregate
(ordered by real-world usage, distinguishing wild from synthetic).

The corert, api, Go, and C corpus discoverers now skip these audit
artifacts (*.features.xml and corpus.xml) so they are never parsed as
MusicXML scores; the corert pinned file count is unchanged.

Adds the api-feature-audit skill, which uses the inventory to find
mx::api enum bugs (a value present in an mx::core enum but missing
from the parallel mx::api enum is silently dropped) and feature gaps.
Run with `make audit`.
Generated by `python3 -m audit all`: a *.features.xml sidecar for each
of the 829 round-tripped corpus files, listing the elements and
attributes it uses, plus the data/corpus.xml aggregate. The round-trip
suites skip these files.
Add the api-feature-audit outputs: data/api.features.xml (view 3 of
the feature surface, 318 features) and docs/ai/api-feature-audit.md
(prioritized findings).

Enum diff of the Converter EnumMap tables finds 9 tables that drop
core members on read (3 are one-line table fixes where the api enum
already has the slot). High-use wild gaps: print, credit, sound,
defaults fonts.
@webern webern force-pushed the api-features-skill branch from 117aeac to a7a44f0 Compare June 16, 2026 15:05
@github-actions

Copy link
Copy Markdown

gen-quality gen/

(no report produced)

Commit cf6adad07f2a3768453ac311402913eab0fdb235.

@webern webern merged commit 97fcac9 into main Jun 16, 2026
0 of 7 checks passed
@webern webern deleted the api-features-skill branch June 16, 2026 15:07
@webern webern restored the api-features-skill branch June 16, 2026 15:07
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.

1 participant