This project leverages AI-driven development with human oversight. Follow these practices:
- Issue Creation - Humans create issues with clear requirements
- AI Processing - Hive Mind analyzes and proposes solutions
- Human Review - Code review and architectural decisions
- Iterative Refinement - Collaborative improvement cycles
- TypeScript/JavaScript: Strict typing required
- File Size: Maximum 1000 lines per file
- Testing: 100% test coverage for critical paths
- Documentation: Machine-readable, token-efficient
This project uses Changesets to manage versions and changelogs. This eliminates merge conflicts that occur when multiple PRs bump the version in package.json.
When you make changes that affect users, add a changeset:
npm run changesetThis will prompt you to:
- Select the type of change (patch/minor/major)
- Provide a summary of the changes
The changeset will be saved as a markdown file in .changeset/ and should be committed with your PR.
- Patch: Bug fixes, documentation updates, internal refactoring
- Minor: New features, non-breaking enhancements
- Major: Breaking changes that affect the public API
Example changeset summary:
Add support for automatic fork creation with --auto-fork flag- When PRs with changesets are merged to main, the Release workflow automatically creates a "Version Packages" PR
- The Version Packages PR updates package.json versions and CHANGELOG.md
- When the Version Packages PR is merged, the package is automatically published to NPM
interface AgentConfig {
model: 'sonnet' | 'haiku' | 'opus';
priority: 'low' | 'medium' | 'high' | 'critical';
specialization?: string[];
}
export const defaultConfig: AgentConfig = {
model: 'sonnet',
priority: 'medium',
specialization: ['code-review', 'issue-solving'],
};Before merging, ensure:
- All tests pass
- File size limits enforced
- Type checking passes
- Human review completed
- AI consensus achieved (if multi-agent)
# Clear, specific instructions
./solve.mjs https://github.com/owner/repo/issues/123 --requirements "Security focus, maintain backward compatibility"# Status reports with actionable items
echo "🤖 Analysis complete. Requires human decision on breaking changes."import { testAgent } from './tests/agent-testing.ts';
// Test agent behavior
await testAgent({
scenario: 'complex-issue-solving',
expectedOutcome: 'pull-request-created',
timeout: 300000, // 5 minutes
});- Automated Review - AI agents perform initial analysis
- Cross-Agent Validation - Multiple agents verify solutions
- Human Oversight - Final architectural and security review
- Consensus Building - Resolve conflicts through discussion
- Algorithm correctness verified
- Security vulnerabilities assessed
- Performance implications considered
- Documentation completeness
- Integration test coverage