Skip to content

fix(agents): restore canonical viberaven check command so agent-discovery-gate passes#68

Merged
ohad6k merged 1 commit into
mainfrom
fix/agent-discovery-gate-canonical-command
Jul 12, 2026
Merged

fix(agents): restore canonical viberaven check command so agent-discovery-gate passes#68
ohad6k merged 1 commit into
mainfrom
fix/agent-discovery-gate-canonical-command

Conversation

@ohad6k

@ohad6k ohad6k commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Problem

agent-discovery-gate runs npx -y viberaven doctor --agents, which requires every core agent file to contain the canonical npx -y viberaven check command. Seven agent files still declared only the legacy --agent-mode command, so the gate has been failing on main (and on every PR, e.g. #66 / #67 — which had nothing to do with the failure).

Doctor output before this change:

✗ Missing canonical command in AGENTS.md
✗ Missing canonical command in CLAUDE.md
✗ Missing canonical command in GEMINI.md
✗ Missing canonical command in .cursor/rules/viberaven-core.mdc
✗ Missing canonical command in .github/copilot-instructions.md
✗ Missing canonical command in .viberaven/agent-context.md
✗ Missing canonical command in .viberaven/mission-map.md

Fix

Update the canonical-command line in each of the 7 files to lead with npx -y viberaven check (terminal verdict) and npx -y viberaven (Studio), keeping --agent-mode as the legacy-loop reference. One line per file, nothing else touched.

Verification

npx -y viberaven doctor --agents (published 1.4.3) now reports "All agent injection checks passed." The gate on this PR should go green.

🤖 Generated with Claude Code

The agent-discovery-gate runs `viberaven doctor --agents`, which requires
every core agent file to reference the canonical `npx -y viberaven check`
command. These 7 files still declared the legacy `--agent-mode` command
only, so the gate failed on main and on every PR.

Update the canonical-command line in AGENTS.md, CLAUDE.md, GEMINI.md,
.cursor/rules/viberaven-core.mdc, .github/copilot-instructions.md,
.viberaven/agent-context.md, and .viberaven/mission-map.md to lead with
`viberaven check` (terminal verdict) and `npx -y viberaven` (Studio),
keeping `--agent-mode` as the legacy loop reference.

Verified locally: `npx -y viberaven doctor --agents` now reports
"All agent injection checks passed."

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ohad6k
ohad6k merged commit f64e977 into main Jul 12, 2026
1 check passed
@ohad6k
ohad6k deleted the fix/agent-discovery-gate-canonical-command branch July 12, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant