Codex owns documentation standardization, release readiness, repo hygiene,
production stabilization, and configuration consistency for this Ruby gem.
Claude Code leads implementation changes. Codex has commit, push, and tag
authority for its own scope of work, including cutting the release itself
(see "Release Mechanics" below). gem push (RubyGems publish) and merge
decisions stay with Bradley Potts.
- Inspect the current working tree and preserve unrelated local changes.
- Read the relevant source, specs, and docs before editing.
- Make focused changes using existing Ruby and RSpec patterns.
- Update README, changelog, and AI docs when public guidance changes.
- Run the validation gate described in AGENTS.md when feasible.
- Report any validation that could not be run.
Codex may update:
README.mdCONTRIBUTING.mdSECURITY.mdCODE_OF_CONDUCT.mdCHANGELOG.mdROADMAP.mdTODO.mdAGENTS.md,CLAUDE.md,CODEX.md,COPILOT.md,JULES.md.github/templates and assistant instructions.codex/workspace notes
When reviewing changes, Codex checks:
Connection::Base,Handlers::ResponseValidator, andConfigurablebehavior drift.- Missing RSpec coverage for connection, validator, or configurable changes.
- Vendor-specific knowledge (API tokens, endpoint paths, resource classes) accidentally introduced into this gem.
- Inconsistent response parsing or error behavior.
- README or changelog drift from the public behavior surface.
- CI and release workflow mismatch with documented commands.
- Breaking changes that were not flagged as requiring coordination with
ruby_api_pack_active_campaign,ruby_api_pack_cloudways, andruby_api_pack_wordpress.
Run the validation gate described in AGENTS.md, plus:
gem build ruby_api_pack_core.gemspec- Update
lib/ruby_api_pack_core/version.rbto the new version. - Move
[Unreleased]notes inCHANGELOG.mdinto a new versioned entry:## [<version>] - <YYYY-MM-DD>, with a release title line in the format**Release Title:** Phase <N> - <short title>, wherePhase <N>is the active phase name from this repo's ownROADMAP.mdand<short title>is a concise summary of what shipped. If the release spans no single ROADMAP phase, state that explicitly instead of inventing one. - Run the validation gate described in AGENTS.md plus
gem build ruby_api_pack_core.gemspec— must pass clean. - If the release is anything other than additive, confirm
ruby_api_pack_active_campaign,ruby_api_pack_cloudways, andruby_api_pack_wordpressstill pass their own validation gates against the new version before proceeding — those three gems depend on this one. - Stage and commit the version bump and changelog update.
- Create the git tag:
git tag v<version>(matchingversion.rbexactly), then push the commit and tag. - Publish the GitHub Release from that tag:
gh release create v<version> --title "v<version>: Phase <N> - <short title>" --notes-file(extract the new version's changelog section, or--notesinline for a short release). gem pushis not run by Codex — that stays with Bradley Potts.
- Commit, tag, and GitHub Release authority is granted per "Release
Mechanics" above; do not run
gem pushor merge PRs unless explicitly asked. - Do not overwrite unrelated local changes.
- Do not add vendor-specific knowledge, real credentials, or sensitive payloads to documentation or tests.