Local Dev & Architecture

Developer Guide

Local setup, project structure, coding conventions, and integration notes.

Local Setup
01
Ensure Node.js 20+ is installed
02
npm install
03
npm run build
04
npm run test
Project Structure
the Forge server — runtime entrypoint
src/forge/modules/ — module domains: governance, safety, context-engine, agent, production, healing, architecture
SKIA Forge IDE — IDE-facing integration surface
docs/ — product documentation set
public/ — static assets and HTML pages
Development Workflow
01
Implement scoped changes in src/forge/modules/*.
02
Run npm run lint, npm run typecheck, npm run test.
03
Validate integration routes and control-plane behaviour.
Coding Conventions
Use typed request/response schemas for all API surfaces
Keep policy checks explicit and test-covered
Prefer additive changes over implicit behaviour changes
Integration Notes
Forge can run with SKIA integration enabled or disabled. Adapter paths should fail clearly and return structured errors when upstream contracts are unavailable.