Thank you for your interest in contributing to CodeForge! This document provides guidelines for contributing.
- Node.js matching
vscode/.nvmrcfor full IDE builds (Node 20+ for extension-only work) - npm
- Git
- On Windows (full IDE): Visual Studio C++ workload + Spectre-mitigated libs
git clone https://github.com/Kortexio/CodeForge.git
cd CodeForge
npm install
npm run build:extensions
npm testFull IDE:
npm run vscode:setup
npm run vscode:compile
npm run vscode:dev- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes in
extensions/codeforge/(source of truth) - Run tests (
npm test) - Run linting (
npm run lint) - Commit your changes
- Push and open a Pull Request
- Use TypeScript for all new code
- Follow the existing code style (enforced by ESLint and Prettier)
- Write meaningful commit messages
- Add tests for new functionality
- Update documentation as needed
extensions/codeforge/ # Shipped AI platform (ONLY product surface)
├── src/agent/ # Agent loop, context packet, state machine
├── src/memory/ # Session + project wiki + temporal facts
├── src/storage/ # ~/.CodeForge paths, sessions, artifacts, traces
├── src/context/ # Context budget / ranking
├── src/sandbox/ # Shell isolation
├── src/intelligence/ # Index, embeddings, LSP, git
├── src/browser/ # Browser agent (Playwright optional)
├── src/mcp/ # Inbound + outbound MCP
└── src/governance/ # Skills, rules, guardrails, HITL
docs/
tests/
scripts/ # Code-OSS setup / package
Do not add features under a legacy src/ tree — it was removed.
- Unit Tests:
npm run test:unit - Integration Tests:
npm run test:integration - E2E Tests:
npm run test:e2e
Please use the GitHub issue tracker to report bugs or request features. Include:
- A clear description of the issue
- Steps to reproduce
- Expected vs actual behavior
- Environment details (OS, Node version)
By contributing to CodeForge, you agree that your contributions will be licensed under the MIT License.