OpenWriterControle/.opencode/plugin/tests/validator/test-validation.sh
darrenhinde c6775bbc40 chore: consolidate development changes and refactor agent system
Major Changes:
- Rename codebase-agent to opencoder for clarity
- Add agent validator plugin with comprehensive testing
- Refactor prompt engineering commands (enhancer → optimizer)
- Update task-manager subagent with improved workflows
- Enhance plugin system with validation and documentation

Agent System:
- Renamed: codebase-agent.md → opencoder.md
- Updated: task-manager.md with better delegation patterns
- Added: opencoder.md documentation

Plugin System:
- New: agent-validator.ts for prompt validation
- New: VALIDATOR_GUIDE.md with usage instructions
- New: Test suite (test-validator.sh, test-validation.sh)
- Updated: notify.ts, telegram-notify.ts with improvements
- Updated: package.json, bun.lock with new dependencies

Commands:
- Renamed: prompt-enchancer.md → prompt-engineering/prompt-enhancer.md
- New: prompt-engineering/prompt-optimizer.md
- Updated: build-context-system.md, validate-repo.md

Documentation:
- Updated: README.md with latest features
- Updated: openagent.md documentation
- New: opencoder.md agent documentation
- Updated: agent-system-blueprint.md
- Updated: system-builder docs (README, quick-start)
- Updated: installation.md, collision-handling.md

Registry:
- Updated: registry.json with new components

This consolidates all development work for the upcoming release.
2025-11-21 13:30:18 +00:00

34 lines
1.1 KiB
Bash
Executable file

#!/bin/bash
echo "==================================="
echo "Agent Validator Test Script"
echo "==================================="
echo ""
echo "This script will help you test the agent validation plugin."
echo ""
echo "In your OpenCode CLI, run these commands one by one:"
echo ""
echo "1. debug_validator"
echo " └─ Check if 'agent' field shows real agent names"
echo ""
echo "2. analyze_agent_usage"
echo " └─ See which agents were active and their tool usage"
echo ""
echo "3. analyze_context_reads"
echo " └─ View context files that were loaded"
echo ""
echo "4. validate_session"
echo " └─ Full compliance and tracking report"
echo ""
echo "5. check_context_compliance"
echo " └─ Verify context loading rules were followed"
echo ""
echo "==================================="
echo ""
echo "What to look for:"
echo "✓ Agent names should NOT be 'unknown'"
echo "✓ Should see 'openagent' and potentially 'general' subagent"
echo "✓ Context file 'standards/code.md' should be tracked"
echo "✓ Tools should be attributed to correct agents"
echo ""