Feature request: support clause number permanence option
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 245
- Forks
- 80
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 2
Description
A CLI option that makes the number attribute mandatory in every clause and throws if there's a missing (or duplicated, or out-of-order) clause. This would require authors to explicitly indicate to readers if a clause has been deleted between versions.
It would be imperfect—for example it wouldn't catch if the last subclause in a list vanished—but it would be a great move in the right direction for clause permanence across versions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the CLI option handling and follow how the number attribute is validated for clauses. Define the checks for missing, duplicated, and out-of-order numbers, then verify that the option rejects each case while allowing valid numbered clauses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100