Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .claude/commands/guardex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# /guardex

Run a GuardeX check-and-repair workflow for the current repository.

## Steps

1. Run `gx status`.
2. If status is degraded, run `gx doctor`.
3. If still degraded, run `gx scan` and summarize each finding with a fix.
4. Report final verdict as one of:
- `Repo is guarded`
- `Repo is not guarded` (include blockers)

## Style

- Keep output short and operational.
- Include exact commands you executed.
- Prefer concrete next actions over generic advice.
18 changes: 0 additions & 18 deletions .claude/commands/musafety.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
---
name: musafety
name: guardex
description: "Use when you need to check, repair, or bootstrap multi-agent safety guardrails in this repository."
---

# musafety (Codex skill)
# GuardeX (Codex skill)

Use this skill whenever branch safety, lock ownership, or guardrail setup may be broken.

## Fast path

1. Run `musafety status`.
2. If repo safety is degraded, run `musafety doctor`.
3. If issues remain, run `musafety scan` and address the findings.
1. Run `gx status`.
2. If repo safety is degraded, run `gx doctor`.
3. If issues remain, run `gx scan` and address the findings.

## Setup path

If guardrails are missing entirely, run:

```sh
musafety setup
gx setup
```

Then verify:

```sh
musafety status
musafety scan
gx status
gx scan
```

## Operator notes

- Prefer `musafety doctor` for one-step repair + verification.
- Prefer `gx doctor` for one-step repair + verification.
- Keep agent work isolated (`agent/*` branches + lock claims).
- For one-command Codex sandbox startup, use `bash scripts/codex-agent.sh "<task>" "<agent-name>"`.
- Do not bypass protected branch safeguards unless explicitly required.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ MSG
cat >&2 <<MSG
[agent-sync-guard] Commit blocked: '${branch}' is behind origin/${base_branch} by ${behind_count} commit(s) (max allowed: ${max_behind}).
Run:
musafety sync --base ${base_branch}
gx sync --base ${base_branch}
Or relax threshold:
git config multiagent.sync.maxBehindCommits <n>
MSG
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

Thanks for contributing to `musafety`.
Thanks for contributing to `GuardeX`.

## Development setup

Expand Down
Loading
Loading