agent/codex/verify/commands/verify.md
Snider e90a84eaa0 feat: merge go-agent + go-agentic + php-devops into unified agent repo
Combines three repositories into a single workspace:
- go-agent → pkg/orchestrator (Clotho), pkg/jobrunner, pkg/loop, cmd/
- go-agentic → pkg/lifecycle (allowance, sessions, plans, dispatch)
- php-devops → repos.yaml, setup.sh, scripts/, .core/

Module path: forge.lthn.ai/core/agent

All packages build, all tests pass.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 15:23:00 +00:00

87 lines
1.2 KiB
Markdown

---
name: verify
description: Verify work is complete before stopping
args: [--quick|--full]
---
# Work Verification
Verify that your work is complete and ready to commit/push.
## Arguments
- No args: Standard verification
- `--quick`: Fast checks only (format, lint)
- `--full`: All checks including slow tests
## Verification Steps
### 1. Check for uncommitted changes
```bash
git status --porcelain
```
### 2. Check for debug statements
Look for:
- Go: `fmt.Println`, `log.Println`, `spew.Dump`
- PHP: `dd(`, `dump(`, `var_dump(`, `ray(`
- JS/TS: `console.log`, `debugger`
### 3. Run tests
```bash
# Go
core go test
# PHP
core php test
```
### 4. Run linter
```bash
# Go
core go lint
# PHP
core php stan
```
### 5. Check formatting
```bash
# Go
core go fmt --check
# PHP
core php fmt --test
```
## Output
Report verification status:
```
## Verification Results
✓ No uncommitted changes
✓ No debug statements found
✓ Tests passing (47/47)
✓ Lint clean
✓ Formatting correct
**Status: READY**
```
Or if issues found:
```
## Verification Results
✓ No uncommitted changes
✗ Debug statement found: src/handler.go:42
✗ Tests failing (45/47)
✓ Lint clean
✓ Formatting correct
**Status: NOT READY**
Fix these issues before proceeding.
```