Forge monorepo implementing Phase 0-2 components from docs/components-deep-dive.md.
- Implemented in this repo: Phases
0-2(contracts/schema, template+guidance, desktop orchestrator MVP). - Remaining backlog: Phases
3-4(hardening/recovery UX and unified distribution). - See
docs/architecture.mdfor explicit remaining work details.
@forge/contracts: Plan schema, validators, graph rules.@forge/templates: Local project and module scaffolding.@forge/guidance-pack: Guidance artifact + installer.@forge/check-runner: Task type check execution.@forge/adapter-codex: Codex adapter implementation.@forge/adapter-claude: Claude adapter implementation.@forge/control-plane: Plan execution orchestration and evidence.@forge/sidecar: Internal Desktop sidecar process (JSON over stdin/stdout).@forge/desktop: Tauri + Vue orchestrator UI.
- Desktop app:
apps/desktop/README.md @forge/contracts:packages/contracts/README.md@forge/templates:packages/templates/README.md@forge/guidance-pack:packages/guidance-pack/README.md@forge/check-runner:packages/check-runner/README.md@forge/adapter-codex:packages/adapter-codex/README.md@forge/adapter-claude:packages/adapter-claude/README.md@forge/control-plane:packages/control-plane/README.md@forge/shared-utils:packages/shared-utils/README.md
Forge Desktop can download packs (from GitHub Releases) and install a selected pack into a project root. See apps/desktop/README.md for the pack selection and install/update/replace workflow.
- Run
./scripts/bootstrap-toolchain.sh --check. - Install dependencies with
bun install(this should generatebun.lock; commit it). - Synchronize workflow assets with
bun run workflow:sync. - Run
bun run verify.
Forge is Desktop-only: use @forge/desktop (Tauri + Vue) as the user interface. The Desktop backend spawns an internal @forge/sidecar process for plan validation, guidance install, workflow execution, and Codex sessions.
- Canonical policy:
packages/guidance-pack/src/policy/workflow-policy.v1.json - Sync generated assets and repo-level guidance links:
bun run workflow:sync - Verify generated assets are up to date:
bun run workflow:check-sync - Run hard-fail workflow checks for this repo:
bun run workflow:check - Run architecture constraints check:
bun run architecture:check - Install repo-managed git hooks:
bun run hooks:install - Repo-local guidance is exposed via symlinks:
AGENTS.md,skills/,rules/,codex/. - Claude compatibility symlinks are maintained:
CLAUDE.mdand.claude/{CLAUDE.md,skills,rules}. - Testing policy is fake-first. Mocks are restricted to
adapter_boundaryorfailure_simulation. - Every mock call site must include an adjacent annotation:
// forge-mock: adapter_boundary// forge-mock: failure_simulation
- GitHub Actions pipeline:
/Users/simon/projects/forge/.github/workflows/ci.yml - GitLab CI pipeline:
/Users/simon/projects/forge/.gitlab-ci.yml - Both pipelines run the same critical gates: toolchain preflight, workflow sync check, workflow check, and full verify.