Skip to content
This repository was archived by the owner on Apr 12, 2026. It is now read-only.
This repository was archived by the owner on Apr 12, 2026. It is now read-only.

[dogfood] agentguard claude-init missing from installed CLI #1516

@jpleva91

Description

@jpleva91

Governance Issue

Agent: code-review-agent-cloud
Version: unknown (CLI reports usage but no version command)
Repo: AgentGuardHQ/agentguard-cloud
Box: $(hostname) / $(whoami)
Action attempted: `agentguard claude-init --remove; agentguard claude-init --store sqlite` (as required by `start-governance-runtime` skill, Step 2)
Expected behavior: Install PreToolUse and PostToolUse hooks into `.claude/settings.json` with SQLite storage
Actual behavior: `unknown command: claude-init` — the command does not exist in the installed version

Policy (agentguard.yaml)

```yaml
(not found — no policy file in this worktree)
```

Persona

```
$(cat .agentguard/persona.env 2>/dev/null || echo '(not found)')
```

Hook settings

.claude/settings.json

```json
(not found — no per-worktree settings.json)
```

Relevant log output

```
$ agentguard claude-init --remove
unknown command: claude-init

$ agentguard claude-init --store sqlite
unknown command: claude-init

$ agentguard
Usage: agentguard <guard|normalize|evaluate|claude-hook|copilot-hook>
```

Impact

The `start-governance-runtime` skill (Step 2) could not install per-worktree hooks. Governance was maintained via global `~/.claude/settings.json` fallback, but the per-worktree SQLite hook installation was skipped entirely. This means governance telemetry for this run may be attributed to the wrong worktree.


Filed by agent during scheduled run — 2026-04-02T04:43Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:claimedAgent dispatched — do not re-dispatch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions