CLI grammar read rejects phonological_rules, which compose-edit-phonological-rule needs

Open Beginner friendly
#283 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp
Domain
cli

Research direction

Start with the motif grammar read command and the help text for compose-edit-phonological-rule; the issue says the read command rejects phonological_rules and help omits the reorder route. Check the decision in issue #257 for the intended read kinds. Done when detailed phonological_rules can be read and the help names the existing route for changing rule order.

Written by the indexing model from the issue text.

Description

The CLI can't read phonological rules that a CLI edit verb needs. motif help compose-edit-phonological-rule says to read detailed phonological_rules (as MCP does), but motif grammar read on motif-9e0e0d340 rejects that kind with InvalidArgument.

The owner decided (2026-11-18, #257) that the CLI catches up to MCP's read kinds. This is one of them, and it blocks an edit the CLI itself offers. The SWH lane worked around it by matching FieldWorks rule IDs by hand (1 min, recurring).

Also: the guessed name compose-reorder-phonological-rules doesn't exist, and help gives no pointer to how rule order is changed.

Next: add phonological_rules (detailed) to grammar read, and name the reorder route in the phonological-rule help.

Dominant language
C#
Stars
1
Forks
0
Avg merge
4h 3m
Merged PRs (30d)
66

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sillsdev/motif

All issues in sillsdev/motif

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.