Commit Graph

5 Commits

Author SHA1 Message Date
swp
39d5ddf333 test: add validation functions and autonomous pipeline system tests
- Created src/validation/add.ts with math functions
- Created src/validation/add.test.ts with comprehensive tests
- Created scripts/run-pipeline-test.sh - full system validation
- Created 7 test issues in milestone #43:
  * #5: Agent Communication Test
  * #6: Error Recovery & Auto-Fix
  * #7: Performance Evaluation Test
  * #8: Gitea API Integration
  * #9: Capability Gap & Agent Creation
  * #10: Full End-to-End Pipeline
  * #11: Review Watcher Auto-Validation

All tests passed (53/53):
- 18 agents verified
- 11 commands verified
- 3 skills verified
- 9 TypeScript modules verified
- Gitea integration verified
- Pipeline flow verified
- Autonomous components verified

System ready for autonomous operation!
2026-04-04 02:05:17 +01:00
swp
97bc4902ea feat: add review-watcher and fix-workflow automation
- Add review-watcher command that detects completion markers
- Add fix-workflow skill for automatic fix task creation
- Add review-watcher.sh script for monitoring issues
- Automatic task creation based on issue severity
- Integration with scoped labels (priority::, status::)

Workflow:
1. Watcher detects /done, /completed, 'выполнено', 'готово' in comments
2. Runs validation (markdown, code, security, performance)
3. Creates fix tasks for issues found
4. Assigns tasks based on issue type
5. Updates parent issue with fix task links
6. Sets appropriate labels (status::fixing, status::blocked)

Fix task priority:
- Critical: Block merge, assign to @the-fixer
- High: Fix before merge, assign to @lead-developer
- Medium: Current sprint, add to backlog
- Low: Optional, comment only
2026-04-04 01:44:53 +01:00
swp
e58a5b6380 feat: add markdown-validator agent and scoped-labels skill
- Add markdown-validator agent for validating Gitea issue descriptions
- Add scoped-labels skill for managing exclusive labels (status::, priority::, type::)
- Add init-scoped-labels.sh script to create standard label sets
- Add GiteaClient methods: createLabel, updateLabel, setScopedLabel, setScopedStatus, setScopedPriority
- Support exclusive labels (scoped labels) in Gitea API 1.21+

Created scoped labels:
- status::new, status::planned, status::in-progress, status::review, status::testing, status::done, status::blocked, status::cancelled
- priority::critical, priority::high, priority::medium, priority::low
- type::bug, type::feature, type::enhancement, type::documentation, type::refactor, type::test, type::chore
- size::xs, size::s, size::m, size::l, size::xl

Scoped labels are mutually exclusive within their scope - applying status::in-progress automatically removes status::new
2026-04-04 01:42:12 +01:00
swp
11a2741f46 feat: add Gitea API test scripts
- create-gitea-token.sh: Create API token from username/password
- full-gitea-test.sh: Complete test creating milestone, issues, comments
- test-gitea.sh: Updated with correct scope names (all, read:*, write:*)

Test results:
 Token creation via Basic Auth
 Milestone creation (ID=42)
 3 issues with checklists created
 3 comments added with progress

Gitea API scopes: 'all' for full access, or granular like 'read:issue', 'write:issue'
2026-04-04 01:28:49 +01:00
swp
2344e50ad1 feat: add milestone support and test scripts for Gitea API
- Add Milestone interface with all fields per Gitea API 1.21+
- Add CreateMilestoneOptions and UpdateMilestoneOptions types
- Add getMilestones(), getMilestone(), createMilestone(), updateMilestone(), deleteMilestone() methods
- Add setIssueMilestone() to link issues to milestones
- Add TypeScript test script (test-gitea-api.ts) for programmatic testing
- Add Bash test script (test-gitea.sh) for manual API testing

Test scripts create:
- 1 milestone (Pipeline Integration Test)
- 3 issues with checklists
- Comments on issues with progress updates

Usage: GITEA_TOKEN=token ./scripts/test-gitea.sh
2026-04-04 01:21:22 +01:00