PaperTool/.opencode/commands/verify.md
hc 3372b76f6d feat(commands): add /verify command
Entry point for verification of existing replication projects.
2026-03-31 17:45:12 +08:00

42 lines
861 B
Markdown

---
description: Verify replication results for a completed project
agent: paper-director
---
Verify the replication results for an existing project.
## Input
Project directory: $ARGUMENTS
If no directory specified, list available projects in workspace/ and ask user to select.
## Workflow
1. Validate project directory exists
2. Check required files exist:
- `analysis/paper_structure.md`
- `analysis/replication_plan.md`
- `src/` with code
- `tests/` with tests
3. Dispatch @test-runner to:
- Run test suite
- Compare results with paper
- Generate/update `reports/replication_report.md`
4. Present verification summary
## Example Usage
```
/verify workspace/attention_is_all_you_need/
```
Or without arguments:
```
/verify
> Available projects:
> 1. attention_is_all_you_need
> 2. resnet
> Please select a project to verify.
```