Skip to content

Conversation

@guicheffer
Copy link
Owner

Summary

  • Adds automatic verification for context-training files
  • Validates imports, functions, and references against codebase
  • Checks code quality, security, and best practices
  • Auto-fixes critical issues, reports mismatches for review
  • Runs in /train-context (Step 7) and /update-context (Phase 4e)

Changes

  • New subagents: context-verifier, quality-checker
  • New shared partial: verify-context.md with verification loop (max 3 iterations)
  • Enhanced pattern-reviewer with quality standards questions
  • Documentation: VERIFICATION.md with examples and troubleshooting
  • Planning document: PLAN.md with implementation status

Reference

Based on agent-smith PR #8: https://github.com/rodrigoluizs/agent-smith/pull/8

…kflow

Implements automatic verification and quality checking for context-training files based on agent-smith PR #8. This ensures context-training files accurately reflect the codebase and follow best practices.

Core components:
- Context verifier validates imports, functions, and references against codebase
- Quality checker analyzes code for best practices, security, and maintainability
- Verification loop with auto-fix for critical issues and user decision points
- Pattern reviewer enhanced with quality standards questions
- Comprehensive documentation and examples

Verification runs automatically in /train-context (Step 7) and /update-context (Phase 4e).

Reference: rodrigoluizs/agent-smith#8

Co-Authored-By: Claude <noreply@anthropic.com>
@guicheffer guicheffer self-assigned this Jan 26, 2026
Moved PLAN.md to spec-machine repository as this is spec-machine specific planning.
Removed VERIFICATION.md in favor of inline documentation in README.
Simplified verification explanations without emojis.
@guicheffer guicheffer merged commit c42d457 into main Jan 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants