fix: use npx @red-codes/agentguard in user-facing docs and messages#888
Merged
fix: use npx @red-codes/agentguard in user-facing docs and messages#888
Conversation
…loses #848) Update all user-facing references to the CLI from 'npx agentguard' (which fails with HTTP 404 because no unscoped package is registered) to the correct scoped form 'npx @red-codes/agentguard'. Changes: - apps/cli/src/postinstall.ts: post-install wizard hints - apps/cli/src/commands/demo.ts: get-started output - apps/cli/tests/cli-demo.test.ts: update test expectation to match - CLAUDE.md: Quick Start code examples Note: generated hook commands continue to use 'npx --no-install agentguard' (which resolves the local binary via node_modules/.bin without registry fallback) — this is intentional and tested separately. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jpleva91
pushed a commit
that referenced
this pull request
Mar 25, 2026
PRs #869 and #870 both merged this cycle. New PR #888 (fix/npx-scoped-package-name) open with lint CI failure — assigned to senior-coder. No P0/P1 issues. Health: yellow. https://claude.ai/code/session_018LQYdGroNHJMB7pmDbUJBW
Prettier formatting applied to apps/cli/src/postinstall.ts to fix CI format check failure on run 23547828259. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
AgentGuard CI Triage Bot ( Diagnosis
Fix AppliedRan VerificationFull suite passed locally: build, typecheck, lint, format, test (760 tests across 43 test files) Automated fix by triage-failing-ci skill on 2026-03-25T15:08:00Z |
jpleva91
added a commit
that referenced
this pull request
Mar 25, 2026
PRs #869 and #870 both merged this cycle. New PR #888 (fix/npx-scoped-package-name) open with lint CI failure — assigned to senior-coder. No P0/P1 issues. Health: yellow. https://claude.ai/code/session_018LQYdGroNHJMB7pmDbUJBW Co-authored-by: Claude <noreply@anthropic.com>
jpleva91
pushed a commit
that referenced
this pull request
Mar 25, 2026
Health: GREEN. Previous blockers resolved. Go kernel landed, v2.6.0 released. 10 PRs merged since last cycle. 1 open PR (#888) CI green, awaiting review. Sprint goal updated to post-release stabilization. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jpleva91
pushed a commit
that referenced
this pull request
Mar 25, 2026
All 4065 tests passing across 18 packages. No regressions. PR #888 merged — blocker resolved, health upgraded to green. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4 tasks
jpleva91
pushed a commit
that referenced
this pull request
Mar 25, 2026
Health: GREEN. Previous blockers resolved. Go kernel landed, v2.6.0 released. 10 PRs merged since last cycle. 1 open PR (#888) CI green, awaiting review. Sprint goal updated to post-release stabilization. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jpleva91
added a commit
that referenced
this pull request
Mar 25, 2026
Health: GREEN. Previous blockers resolved. Go kernel landed, v2.6.0 released. 10 PRs merged since last cycle. 1 open PR (#888) CI green, awaiting review. Sprint goal updated to post-release stabilization. Co-authored-by: Jared <jared@agentguard.dev> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #848
Implementation Summary
What changed:
apps/cli/src/postinstall.ts: Post-install hint messages now shownpx @red-codes/agentguard claude-init/copilot-initinstead of the broken unscoped formapps/cli/src/commands/demo.ts: Get-started output updated to use the scoped package nameapps/cli/tests/cli-demo.test.ts: Updated test expectation to match new outputCLAUDE.md: Quick Start code examples updatedNote: Generated hook commands continue to use
npx --no-install agentguard(resolves local binary vianode_modules/.binwithout registry fallback) — this is intentional and tested separately incli-postinstall.test.ts.How to verify:
pnpm install && pnpm build --filter=@red-codes/agentguard— builds cleanlypnpm test --filter=@red-codes/agentguard— 760 tests pass@red-codes/agentguardagentguard demo— get-started line now shows correct scoped nameTier C scope check:
Tier C implementation by copilot-cli — AgentGuard three-tier governance