Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
templates/spec-Workflows-section.md.template
templates/sdlc/README.md
templates/README.md
templates/versioning.md
templates/CHANGELOG.md.template
scripts/check-agents-md.sh
scripts/check-rule-files.py
)
Expand Down
23 changes: 23 additions & 0 deletions DECISIONS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Decisions

## 2026-11-24 — One versioning rule for every product repo

**Decision:** Every Zero State product repository has one SemVer product
version and a Keep a Changelog `CHANGELOG.md` with a section for every
version, release candidates included. A release is a pull request, only a
human tags, and release notes come from the CHANGELOG. Danny ruled this on
2026-11-24. The rule is [`templates/versioning.md`](templates/versioning.md).

**Why:** Homer's audit of `main` found no versions, tags or releases, so
nothing could say which code was running. Danny accepted Homer's versioning
spec (Homer #74, #75), then ruled that a release candidate gets its own
CHANGELOG section and that this is the rule for every repository.

**Implications:**

- Each repository adopts it at its next release, with a CI check in its own
tooling. Tags and history are not rewritten.
- Homer is the worked example: `specs/versioning/spec.md`, ADR 012, and
`scripts/check-versions.mjs`. Do not copy its scripts into this pack.
- Repository-specific versioning, such as build metadata or a version
endpoint, goes in that repository's spec.
- An exception needs its own dated entry here.

## 2026-11-21 — Homer exception: Pocock `/to-tickets` and `/implement-spec`

**Decision:** In `Zero-State-LLC/Homer` only, Matt Pocock's `/to-tickets`
Expand Down
2 changes: 2 additions & 0 deletions HANDOFF.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Handoff

**2026-11-24 — versioning rule (pointer only; not the baton).** Every product repo follows [`templates/versioning.md`](templates/versioning.md) from its next release: one SemVer version, a CHANGELOG section for every version (release candidates included), human-only tags. Dated lock in `DECISIONS.md`. Live team baton below is unchanged.

**2026-09-04 — templates canon (pointer only; not the baton).** Product-repo collab files live in [`templates/`](templates/) (`intent.md` stage-0, slim `AGENTS.md`, Workflows). Dated lock in `DECISIONS.md`. Live team baton below is unchanged.

Updated: 2026-10-30 (later) by Claude (Claude Code session for the owner). **SS: D-114 corner pursuit shipped; D-115 and D-116 wait on Danny's code-owner review.**
Expand Down
1 change: 1 addition & 0 deletions STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Prior: 2026-08-26 — SUAS `#81` (`5f49b49`): every CASE_COMMANDS verb + settlem

## In flight (org)

- **Versioning rule** — [`templates/versioning.md`](templates/versioning.md), decided by Danny 2026-11-24. Homer has adopted it; every other product repo adopts it at its next release, with its own CI check.
- **Shared agent context** — this repo. Installed on Daniel's machine for Grok, Claude, and Cursor (`install.sh`: user-level rule `alwaysApply` + skill). Prabu installed 2026-08-21 into `~/.claude`/`~/.grok`. Issue #1 confirmed. Canonical product-repo pack: [`templates/`](templates/) (`intent.md` stage-0). CI on PR #2: pack check only; Noema Worker/pages pin workflows removed; CodeQL dropped (no JS/Python source; Code Security not enabled).
- **GitHub Code Security** — enabled on every Zero-State-LLC repository. New-repo org defaults still off (CLI lacks `admin:org`).
- **Partner in-game Admin** — GitHub org admin granted. Locked Admin mailbox `prabu.openclaw@gmail.com` live (`Noema#448`). Inhabit is a separate agent via CONNECT. RFC-0120.
Expand Down
12 changes: 12 additions & 0 deletions templates/CHANGELOG.md.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

All notable changes to {{PRODUCT}} are recorded here. Format:
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versions:
[SemVer](https://semver.org/). Rules: the Zero State versioning rule
(`Zero-State-LLC/agent-context`, `templates/versioning.md`).

## Unreleased

### Added

- {{FIRST_CHANGE}}
10 changes: 9 additions & 1 deletion templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ runbooks. Do not dump another repo's Worker deploy or pin workflows here.
| [`CLAUDE.md.template`](CLAUDE.md.template) | Thin adapter. Claude reads this and follows `AGENTS.md`. |
| [`AGENT-GOTCHAS.md.template`](AGENT-GOTCHAS.md.template) | Long environment notes. Not the contract. |
| [`spec-Workflows-section.md.template`](spec-Workflows-section.md.template) | `## Workflows` lock for `spec.md`. |
| [`versioning.md`](versioning.md) | The versioning rule every product repo follows: one SemVer version, a CHANGELOG section per version, human-only tags. |
| [`CHANGELOG.md.template`](CHANGELOG.md.template) | A starting `CHANGELOG.md` in Keep a Changelog form. |

Codex and Cursor already read `AGENTS.md`. If a harness still wants its own
file, copy the same one-liner as `CLAUDE.md` (for example `CODEX.md`).
Expand Down Expand Up @@ -49,7 +51,10 @@ Then in the product repo:
Add one owner specialist only if that skill already exists. Name Actions
this repo already runs or will add; do not invent bots.
6. Read [`sdlc/README.md`](sdlc/README.md) before specifying or implementing.
7. Optional size check:
7. Adopt the [versioning rule](versioning.md): copy
[`CHANGELOG.md.template`](CHANGELOG.md.template) to `CHANGELOG.md` if
there is none, and add the CI check the rule names.
8. Optional size check:

```bash
cp ~/agent-context/scripts/check-agents-md.sh "$DEST/scripts/"
Expand All @@ -71,3 +76,6 @@ The check fails if `AGENTS.md` is missing, larger than 12 KB, or has no
spend, and legal.
- If CI or tests look wrong, open a labeled defect. Do not patch tests to green.
- No agent fleets. ECC catalog-only: name existing skills, do not invent them.
- One SemVer product version per repo, and a CHANGELOG section for every
version, release candidates included ([`versioning.md`](versioning.md)).
Only a human tags.
55 changes: 55 additions & 0 deletions templates/versioning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Zero State versioning rule

Every Zero State product repository follows this rule. Danny decided it on
2026-11-24 (see `DECISIONS.md`). Homer was the first to adopt it, with its
versioning spec and ADR 012 (`Zero-State-LLC/Homer`, `specs/versioning/`).
Read those for a worked example. Do not copy Homer's scripts here.

## The rule

1. **One product version per repository.** It is a SemVer 2.0.0 version in
the repository's own manifest (`package.json`, `pyproject.toml`,
`Cargo.toml`, the app's marketing version, and so on). Every package or
module inside the repository has the same version. A contract or schema
keeps its own version, separate from the product version.
2. **SemVer bumps.** From `1.0.0`, a breaking change is a major bump, an
addition a minor one, and fixes alone a patch. In `0.x`, a breaking change
or an addition is a minor bump, and fixes alone a patch.
3. **A `CHANGELOG.md` in [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/)
form.**
- `## Unreleased` comes first.
- Each version has a section of its own, `## [X.Y.Z] - YYYY-MM-DD`,
newest first. Every version above `0.0.0` gets one, a release candidate
included (`## [1.2.0-rc.1] - YYYY-MM-DD`).
- A section lists what changed since the version before it.
- A section holds only these subsections: `### Added`, `### Changed`,
`### Deprecated`, `### Removed`, `### Fixed` and `### Security`. No entry
sits outside one.
- A change a user or another repository would notice gets a line under
Unreleased in the pull request that makes it.
4. **A release is a pull request.** The release pull request, `release:
vX.Y.Z`, sets the version and turns Unreleased into that version's
section, then opens a new, empty Unreleased.
5. **Only a human tags.** After the release pull request merges, Danny, or
the human owner the repository names, tags the merge commit with an
annotated `vX.Y.Z` tag and pushes it. Agents never push a tag. A release
candidate, `vX.Y.Z-rc.N`, is prepared and tagged the same way.
6. **Release notes come from the CHANGELOG.** A GitHub Release's notes are
that version's CHANGELOG section, not a rewrite of it.
7. **CI checks it.** Each repository's CI fails when its versions disagree,
when the CHANGELOG breaks rule 3, or when the version above `0.0.0` has no
section. Use the repository's own tooling for the check.

## Adopting it in an existing repository

- Add `CHANGELOG.md` from [`CHANGELOG.md.template`](CHANGELOG.md.template)
if the repository has none, and the CI check.
- Do not rewrite tags or history. Versions before adoption keep whatever
record they have; the first section under the rule is the next version.
- A repository already on another scheme moves to this one at its next
release. Record the move under that release's `### Changed`.
- A repository-specific need, such as build metadata (`1.2.0+a1b2c3d`) or a
deployed service reporting its version, goes in that repository's spec. It
does not change this rule.
- An exception to this rule needs its own dated entry in `DECISIONS.md`,
like any other team rule.
Loading