Skip to content

Commit 605488f

Browse files
bradpottsclaude
andcommitted
Grant Codex autonomous release authority (tag + GitHub Release)
Codex now cuts releases autonomously instead of handing off to Bradley Potts for tag/publish: version bump, CHANGELOG.md versioning with a "Phase <N> - <short title>" release title (phase sourced from this repo's own ROADMAP.md), a v<version> git tag, and a GitHub Release published via gh, for every release-ready [Unreleased] section — without waiting for per-release approval. npm publishing remains Bradley Potts's sole authority; Codex does not run npm publish. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 0c51372 commit 605488f

3 files changed

Lines changed: 55 additions & 35 deletions

File tree

AGENTS.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,17 @@ and Google Jules — have full commit, push, and tag authority in this
2424
repository, effective 2026-07-25 by explicit direction from Bradley Potts —
2525
see the Commit Policy section in each agent's own guide
2626
([CLAUDE.md](CLAUDE.md), [CODEX.md](CODEX.md), [COPILOT.md](COPILOT.md),
27-
[JULES.md](JULES.md)). Bradley Potts retains ultimate ownership, can revoke
28-
or narrow this at any time, and still holds sole authority for publishing
29-
and releases to npm. This grant covers git operations within each agent's
30-
own scope of work as defined above — it does not expand what any agent is
31-
authorized to decide. ChatGPT has no repository access and is excluded.
27+
[JULES.md](JULES.md)). **OpenAI Codex** additionally has release authority:
28+
Codex cuts releases autonomously — version bump, changelog versioning,
29+
`v<version>` git tag, and GitHub Release publish via `gh` — for every
30+
release-ready `CHANGELOG.md [Unreleased]` section, without waiting for
31+
per-release approval; see `CODEX.md` "Release Mechanics" for the full
32+
procedure. **npm publishing remains Bradley Potts's sole authority** — no
33+
agent runs `npm publish`. Bradley Potts retains ultimate ownership and can
34+
revoke or narrow any of this at any time. This grant covers git and release
35+
operations within each agent's own scope of work as defined above — it does
36+
not expand what any agent is authorized to decide otherwise. ChatGPT has no
37+
repository access and is excluded.
3238

3339
## Cross-Repo Access
3440

CLAUDE.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -144,19 +144,12 @@ namespace is `borders` - always use `border` (singular).
144144

145145
## Release Procedure
146146

147-
1. Run `npm run release:propose` to get the semver bump proposal from the
148-
`CHANGELOG.md [Unreleased]` classification. Bradley Potts has final version
149-
authority; the script is advisory.
150-
2. Update `package.json` version.
151-
3. Move `[Unreleased]` notes in `CHANGELOG.md` to a new versioned entry with a
152-
release title and date.
153-
4. Update the `[unreleased]` and add the new version compare link at the bottom
154-
of `CHANGELOG.md`.
155-
5. Run `npm run check` - must pass clean.
156-
6. Run `npm run check:downstream` if `spectre-ui`, `spectre-ui-astro`, and
157-
`spectre-components` are present as sibling repos - validates the packed
158-
candidate tarball against each one's own check gate before release.
159-
7. Hand off to human for review, commit, tag, and GitHub Release publish.
147+
Claude Code implements features and fixes with a `CHANGELOG.md [Unreleased]`
148+
entry classified per change (additive / semantic change / breaking). Cutting
149+
the release itself — version bump, changelog versioning, `v<version>` tag,
150+
and GitHub Release — is Codex's job; see `CODEX.md` "Release Mechanics" for
151+
the full procedure. `npm publish` stays with Bradley Potts regardless of who
152+
prepares the release.
160153

161154
## What This Package Does Not Own
162155

CODEX.md

Lines changed: 38 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ refactor review, and configuration standardization agent for
77
`@phcdevworks/spectre-tokens`.
88

99
Full roster and authority table: [AGENTS.md](AGENTS.md). Codex keeps Claude
10-
Code's work production-ready; npm publishing and release-authority decisions
11-
remain with Bradley Potts. Codex has commit, push, and tag authority for its
12-
own scope of work (documentation, release readiness, stabilization, repo
13-
hygiene) — validate changes, then stage, commit, and push.
10+
Code's work production-ready — validate changes, then stage, commit, tag,
11+
and push, including cutting the release itself once `CHANGELOG.md` shows a
12+
release-ready `[Unreleased]` section. npm publishing remains a separate,
13+
manual step owned by Bradley Potts (see "Release Mechanics" below).
1414

1515
## Operating Principles
1616

@@ -22,7 +22,10 @@ hygiene) — validate changes, then stage, commit, and push.
2222
patterns.
2323
5. Do not modify protected semantic color families without explicit approval
2424
from Bradley Potts.
25-
6. Do not create commits, tags, or releases unless Bradley explicitly asks.
25+
6. Commit, tag (`v<version>`, e.g. `v4.1.0`), and publish a GitHub Release
26+
for every release-ready `CHANGELOG.md [Unreleased]` section — see
27+
"Release Mechanics" below for the full procedure. Do not run `npm
28+
publish`; that stays with Bradley Potts.
2629

2730
## Entry Point
2831

@@ -142,7 +145,7 @@ release risk in the summary.
142145

143146
## Release Review Checklist
144147

145-
Use this checklist before every release handoff to Bradley Potts.
148+
Use this checklist before cutting every release (tag + GitHub Release).
146149

147150
### Pre-Release Validation
148151

@@ -172,21 +175,39 @@ Use this checklist before every release handoff to Bradley Potts.
172175

173176
### Release Mechanics
174177

175-
- [ ] `npm run release:propose` has been run and its output is included in the
176-
handoff summary. Bradley Potts has final version authority; the proposal
177-
is advisory.
178-
- [ ] `package.json` version is bumped to the intended release version.
179-
- [ ] `CHANGELOG.md [Unreleased]` notes are moved to a new versioned entry.
180-
- [ ] The new entry has a **Release Title** and date.
181-
- [ ] Compare links at the bottom of `CHANGELOG.md` are updated for the new
182-
version and the new `[unreleased]` range.
183-
- [ ] `npm run check` passes clean on the release-ready state.
178+
1. Run `npm run release:propose` to get the semver bump proposal from the
179+
`CHANGELOG.md [Unreleased]` classification.
180+
2. Bump `package.json` to the proposed version.
181+
3. Move `[Unreleased]` notes into a new versioned entry:
182+
`## [<version>] - <YYYY-MM-DD>`, with a release title line in the format
183+
`**Release Title:** Phase <N> - <short title>`, where `Phase <N>` is the
184+
active phase name from this repo's own `ROADMAP.md` (e.g. `Phase 4 —
185+
Token Surface Completion` becomes `Phase 4 - Token Surface Completion`)
186+
and `<short title>` is a concise summary of what shipped in this release.
187+
If the release spans no single ROADMAP phase (e.g. a hygiene-only patch),
188+
state that explicitly instead of inventing a phase.
189+
4. Add the new version's compare link at the bottom of `CHANGELOG.md` and
190+
update the `[Unreleased]` compare link range.
191+
5. Run `npm run check` — must pass clean on the release-ready state.
192+
6. Run `npm run check:downstream` if `spectre-ui`, `spectre-ui-astro`, and
193+
`spectre-components` are present as sibling repos.
194+
7. Stage and commit the version bump and changelog update.
195+
8. Create the git tag: `git tag v<version>` (e.g. `v4.1.0`), matching
196+
`package.json` exactly, then push the commit and tag.
197+
9. Publish the GitHub Release from that tag: `gh release create v<version>
198+
--title "v<version>: Phase <N> - <short title>" --notes-file` (extract the
199+
new version's changelog section, or pass `--notes` inline for a short
200+
release).
201+
10. `npm publish` is **not** run by Codex — that step, and any npm
202+
release-authority decision, stays with Bradley Potts.
184203

185204
### Handoff
186205

187-
- [ ] All changes are staged but not committed.
206+
- [ ] The commit, tag, and GitHub Release are complete (or, if blocked,
207+
exactly which step failed and why).
188208
- [ ] A clear summary of what changed, what classification applies, and any
189-
blockers is prepared for Bradley Potts.
209+
unresolved risk is prepared for Bradley Potts, including the npm
210+
publish step still pending his action.
190211

191212
---
192213

0 commit comments

Comments
 (0)