Skip to content

Fail closed when generated README headings are missing #285

Description

@JonghunYu

Your .ci/update_readme.py already has a useful --dry-run, but its custom heading parser appends generated documentation when an expected heading is missing. I reproduced the git/README.md “Available tasks” update at commit f7b166b with Texio 0.1.2. The named-section update preserved every byte outside that section; missing and duplicate headings stopped without writing.

Would you be open to a small trial that keeps the existing Python generator and uses a pinned, checksum-verified Texio binary only for the two final “Available tasks” and “Details” replacements? The behavior change would be deliberate refusal instead of appending content under a missing anchor. I would measure installation time and keep the current dry-run and lint steps.

Reproduction and source hashes: Texio workflow pilot.

Texio is an MIT-licensed early preview; I maintain it.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions