diff --git a/README.md b/README.md index 978c488..9d6195a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # GuardeX — Guardian T-Rex for your repo -[![npm version](https://img.shields.io/npm/v/guardex?color=cb3837&logo=npm)](https://www.npmjs.com/package/guardex) +[![npm version](https://img.shields.io/npm/v/%40recodeecom%2Fguardex?color=cb3837&logo=npm)](https://www.npmjs.com/package/@recodeecom/guardex) [![CI](https://github.com/recodeecom/multiagent-safety/actions/workflows/ci.yml/badge.svg)](https://github.com/recodeecom/multiagent-safety/actions/workflows/ci.yml) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/recodeecom/multiagent-safety/badge)](https://securityscorecards.dev/viewer/?uri=github.com/recodeecom/multiagent-safety) @@ -27,10 +27,10 @@ can be bootstrapped consistently across repos. ## Install ```sh -npm i -g guardex +npm i -g @recodeecom/guardex ``` -Package page: https://www.npmjs.com/package/guardex +Package page: https://www.npmjs.com/package/@recodeecom/guardex ## Command aliases @@ -194,7 +194,7 @@ gx copy-commands Example output: ```sh -npm i -g guardex +npm i -g @recodeecom/guardex gx setup gx doctor bash scripts/codex-agent.sh "task" "agent-name" @@ -213,7 +213,7 @@ Full checklist output: Use this exact checklist to setup multi-agent safety in this repository for Codex or Claude. 1) Install (if missing): - npm i -g guardex + npm i -g @recodeecom/guardex 2) Bootstrap safety in this repo: gx setup diff --git a/bin/multiagent-safety.js b/bin/multiagent-safety.js index 88c314b..66ac2ee 100755 --- a/bin/multiagent-safety.js +++ b/bin/multiagent-safety.js @@ -123,7 +123,7 @@ const CLI_COMMAND_DESCRIPTIONS = [ const AI_SETUP_PROMPT = `Use this exact checklist to setup GuardeX (Guardian T-Rex for your repo) in this repository for Codex or Claude. 1) Install (if missing): - npm i -g guardex + npm i -g @recodeecom/guardex 2) Bootstrap safety in this repo: gx setup @@ -153,7 +153,7 @@ const AI_SETUP_PROMPT = `Use this exact checklist to setup GuardeX (Guardian T-R gx sync `; -const AI_SETUP_COMMANDS = `npm i -g guardex +const AI_SETUP_COMMANDS = `npm i -g @recodeecom/guardex gx setup gx doctor bash scripts/codex-agent.sh "task" "agent-name" diff --git a/docs/redditpost.md b/docs/redditpost.md index 6d3ae8e..bda7439 100644 --- a/docs/redditpost.md +++ b/docs/redditpost.md @@ -36,7 +36,7 @@ gx protect add release staging Links: - GitHub: https://github.com/recodeecom/multiagent-safety -- npm: https://www.npmjs.com/package/guardex +- npm: https://www.npmjs.com/package/@recodeecom/guardex If you try it, I’d love feedback on team workflows and edge cases. @@ -58,4 +58,4 @@ gx setup ``` GitHub: https://github.com/recodeecom/multiagent-safety -npm: https://www.npmjs.com/package/guardex +npm: https://www.npmjs.com/package/@recodeecom/guardex diff --git a/package-lock.json b/package-lock.json index 369a2a9..d15c8d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "guardex", + "name": "@recodeecom/guardex", "version": "5.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "guardex", + "name": "@recodeecom/guardex", "version": "5.0.0", "license": "MIT", "bin": { diff --git a/package.json b/package.json index 637d45e..c21b875 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "guardex", + "name": "@recodeecom/guardex", "version": "5.0.0", "description": "GuardeX: the Guardian T-Rex for your repo, with hardened multi-agent git guardrails.", "license": "MIT", diff --git a/test/install.test.js b/test/install.test.js index 9898b60..dd094f5 100644 --- a/test/install.test.js +++ b/test/install.test.js @@ -492,7 +492,7 @@ if [[ "$1" == "list" ]]; then echo '{"dependencies":{"oh-my-codex":{},"@fission-ai/openspec":{}}}' exit 0 fi -if [[ "$1" == "i" && "$2" == "-g" && "$3" == "guardex@latest" ]]; then +if [[ "$1" == "i" && "$2" == "-g" && "$3" == "@recodeecom/guardex@latest" ]]; then echo "updated" > "${markerPath}" exit 0 fi @@ -529,7 +529,7 @@ test('status --json returns cli, services, and repo summary', () => { assert.equal(result.status, 0, result.stderr || result.stdout); const parsed = JSON.parse(result.stdout); - assert.equal(parsed.cli.name, 'guardex'); + assert.equal(parsed.cli.name, '@recodeecom/guardex'); assert.equal(typeof parsed.cli.version, 'string'); assert.equal(Array.isArray(parsed.services), true); assert.equal(parsed.repo.inGitRepo, true); @@ -1184,7 +1184,7 @@ test('copy-prompt outputs AI setup instructions', () => { const repoDir = initRepo(); const result = runNode(['copy-prompt'], repoDir); assert.equal(result.status, 0, result.stderr || result.stdout); - assert.match(result.stdout, /npm i -g guardex/); + assert.match(result.stdout, /npm i -g @recodeecom\/guardex/); assert.match(result.stdout, /npm i -g oh-my-codex @fission-ai\/openspec/); assert.match(result.stdout, /gx setup/); assert.match(result.stdout, /Codex or Claude/); @@ -1195,7 +1195,7 @@ test('copy-commands outputs command-only checklist', () => { const repoDir = initRepo(); const result = runNode(['copy-commands'], repoDir); assert.equal(result.status, 0, result.stderr || result.stdout); - assert.match(result.stdout, /^npm i -g guardex/m); + assert.match(result.stdout, /^npm i -g @recodeecom\/guardex/m); assert.match(result.stdout, /gx setup/); assert.match(result.stdout, /gx doctor/); assert.match(result.stdout, /scripts\/agent-file-locks.py claim/);