Skip to content

docs(release): define semver and python version mapping - #7

Merged
samzong merged 1 commit into
mainfrom
docs/python-semver-convention
Nov 25, 2026
Merged

samzong merged 1 commit into
mainfrom
docs/python-semver-convention

Conversation

@samzong

@samzong samzong commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

What's changed?

Define the application release convention in AGENTS.md and README.md. Both guides include SemVer 2.0.0 rules, immutable releases, precedence, and the exact PEP 440 mapping. They also explain separate version sequences and fixed tag prefixes for an independently released Python server and Go CLI.

Why

New Python projects need a version convention before their first release. The guides use pyproject.toml project.version as the Python version source. This documentation change needs no new dependencies or release automation.

Refs lathe-cli/lathe#228

Verification

  • make check: passed all 3 acceptance tests through the generated appctl, plus compilation and Go vet.
  • go test ./...: passed. The Go packages contain no tests.
  • uv run --with pytest python -m pytest: passed all 3 existing tests with temporary pytest dependencies.
  • Generated CLI consistency: no changes after regeneration.
  • Canonical version_audit.py from the baseline repository's origin/main: exit 0, status: match, findings: [].
  • Fault injection: both original documents failed the mapping probe. An injected rc-to-beta mapping also failed. All four corrected mapping rows passed.
  • Fault injection: a disposable repository with malformed tags and a tag/manifest mismatch made the canonical audit exit 1.

Unverified

Plain uv run pytest cannot run because this starter declares no pytest dependency. Its declared test runner is unittest, which passed through make check. Live release publication was not exercised and is outside this change.

Signed-off-by: samzong <samzong.lu@gmail.com>
@ghfind-review ghfind-review Bot added the review: top ghfind author score; see https://ghfind.com label Nov 25, 2026
@samzong
samzong marked this pull request as ready for review November 25, 2026 10:48
@samzong
samzong merged commit dcb3f3c into main Nov 25, 2026
1 check passed
@samzong
samzong deleted the docs/python-semver-convention branch November 25, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review: top ghfind author score; see https://ghfind.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant