Skip to content

templates: one versioning rule for every product repo - #12

Merged
scrimshawlife-ctrl merged 1 commit into
mainfrom
docs/versioning-rule
Nov 25, 2026
Merged

scrimshawlife-ctrl merged 1 commit into
mainfrom
docs/versioning-rule

Conversation

@scrimshawlife-ctrl

Copy link
Copy Markdown
Contributor

Summary

Danny ruled on 2026-11-24 that Homer's versioning approach is the rule for every Zero State repository, and that every version gets its own CHANGELOG section, release candidates included. This adds the rule to the product-repo pack.

  • templates/versioning.md is the rule:

    1. One SemVer product version per repository; contracts keep their own versions.
    2. SemVer bumps, with the 0.x reading.
    3. CHANGELOG.md in Keep a Changelog form. Unreleased comes first, then a section per version, newest first. Every version above 0.0.0 has a section, a release candidate included. Only the six standard subsections.
    4. A release is a pull request.
    5. Only a human tags. Agents never push a tag.
    6. Release notes come from the CHANGELOG.
    7. Each repository checks all this in CI with its own tooling.

    It also says how an existing repository adopts the rule: at its next release, with no rewritten tags or history. Repository-specific needs go in that repository's spec, and an exception needs a dated entry in DECISIONS.md.

  • templates/CHANGELOG.md.template is the starting file.

  • templates/README.md lists both files, adds an adoption step, and adds the rule to "Rules that stay locked".

  • Pack CI requires the two new files.

  • DECISIONS.md has the dated decision.

  • STATUS.md and HANDOFF.md each get a one-line pointer. The live baton is unchanged.

Homer is the worked example (specs/versioning/spec.md, ADR 012, scripts/check-versions.mjs). Its scripts are not copied here, per this pack's rules.

One wording to confirm: rule 5 says "Danny, or the human owner the repository names". Homer's intent says only Danny tags. Prabu is also an org admin, so I left room for a repository to name another human owner. If you want it to be Danny alone everywhere, it's a one-word change.

Evidence

  • make check-rule-files: 14 tests OK.
  • bash scripts/check-agents-md.sh templates/AGENTS.md.template: ok.
  • markdownlint on the two new files: 0 issues. git diff --check: clean.
  • Upstream was a4b7b7e before and after drafting. Only the seven named files are staged; no secrets.

Generated by Claude Code

Danny ruled on 2026-11-24 that Homer's versioning approach is the rule for
every Zero State repository, and that every version gets its own CHANGELOG
section, release candidates included.

templates/versioning.md states the rule: one SemVer product version per
repo, Keep a Changelog with Unreleased first and a section per version,
newest first; a release pull request; only a human tags; release notes
from the CHANGELOG; and a CI check in each repo's own tooling. Existing
repos adopt it at their next release without rewriting history.
CHANGELOG.md.template is the starting file. The templates README, the
pack CI's required files, DECISIONS.md, and pointers in STATUS.md and
HANDOFF.md link to it. Homer is the worked example; its scripts stay in
Homer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0163byfY7LtZb3RYw4bGHHCj
@scrimshawlife-ctrl
scrimshawlife-ctrl requested a review from a team as a code owner November 25, 2026 05:15

Copy link
Copy Markdown
Contributor Author

@codex review


Generated by Claude Code

@github-actions

Copy link
Copy Markdown

CC @Zero-State-LLC/partner-agents. Flagged for shared triage.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T05:17:04.541409Z 70b82dd Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 70b82dddea

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@scrimshawlife-ctrl
scrimshawlife-ctrl merged commit 8cf82d5 into main Nov 25, 2026
2 checks passed
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.

2 participants