HugeCode
HugeCode is a mission control for coding agents with **AutoDrive** and **multi-remote server control** as core product capabilities.
HugeCode
HugeCode is a runtime-first mission control for coding agents with AutoDrive and multi-remote server control as core product capabilities.
The product helps engineers move from the current repo state to a desired engineering outcome through supervised autonomous execution. Users define the destination, guardrails, and budget; AutoDrive plans a route, executes waypoints, reroutes when needed, and stops safely with a reviewable evidence trail. The client can also manage multiple remote execution servers and route each run through an explicit backend preference or a shared default backend. The active product surface is the coding workspace built around apps/code, apps/code-electron, and the shared Rust runtime.
Official product context is HugeCode. Older documents may still mention Keep-Up or Reader; treat those names as historical unless a file is explicitly archived.
Product Shape
The current product model is intentionally compact:
- Primary objects:
Workspace,Task,Run,Execution Profile,Review Pack - Supporting operational objects:
Backend Profile,Ledger - Modes:
Ask,Pair,Delegate,Review - Main surfaces:
Home,Workspaces,Missions,Review,Settings - Core runtime capabilities:
AutoDrivefor navigation-style autonomous execution from start state to destination
Multi-Remote Server Controlfor routing work across local and remote execution backendsMulti-Agent Executionfor supervised sub-agent and parallel-agent delegationLaunch Readinessfor compact operator preflight over runtime health, route viability, approval pressure, and execution reliability before a run startsContinuity Readinessfor compact runtime-backed recovery and handoff guidance after a run already existsSkills-First Extensioninstead of productized apps/connectors surfaces
Use the primary objects as the default product mental model. Treat Backend Profile as supporting runtime placement and Ledger as supporting reviewability rather than as separate user-facing product centers.
AutoDrive is not a background prompt loop. It is the supervised execution layer that turns a task into:
- a structured destination with done criteria and forbidden routes
- a start-state snapshot of repo, budget, and risk
- a route with waypoints, progress, and reroute triggers
- hard stop controls for tokens, duration, iterations, confidence, and safety
- a ledger and review pack that explain what happened
Multi-remote server control is not a generic fleet console. It is the runtime control layer that lets one HugeCode client:
- manage multiple remote backend profiles with health, auth, and capability metadata
- set workspace defaults and per-run backend preferences
- keep backend routing inside application/runtime facades rather than UI components
- record which backend ran a route and why that backend was chosen
Launch readiness is not a second placement engine. It is a small operator-facing summary over existing runtime truth that helps answer:
- can this control surface talk to the runtime now
- is the selected route viable now
- is there approval or degraded-state pressure that should be resolved before launch
- is the runtime tool execution channel healthy enough to launch more work now
The current shipped surface is the Mission Control launch area inside apps/code.
Execution reliability in this context is still launch-scoped advisory truth derived from existing
runtime diagnostics such as runtimeToolMetricsRead and runtimeToolGuardrailRead.
The current shipped gate is moderately conservative: unavailable diagnostics channels, open runtime
tool circuit breakers, or a success gate falling below 0.95 block new launches; degraded
channels and recoverable failure pressure stay at attention.
This release does not add a separate runtime contract or a parallel diagnostics product surface.
Continuity readiness is the separate post-launch operator summary. It helps answer:
- can this interrupted or recovered run continue from canonical runtime truth
- does runtime already publish a safe handoff path to another control device
- is Review Pack follow-up still actionable according to runtime
- has checkpoint durability degraded enough that the operator should stop and inspect continuity truth
Continuity readiness must consume runtime-published checkpoint, missionLinkage,publishHandoff, and reviewActionability directly.
It should not be folded back into launch readiness or rebuilt from page-local state.
The product is not positioned as a generic AI workspace, plugin bazaar, or multi-product automation platform. The goal is not maximum open-ended autonomy; the goal is trustworthy supervised autonomy for real engineering work.
Interpret the extension boundary carefully:
multi-agent,sub-agent, andparallel-agentexecution remain core product capabilitiesskillsare the active extension model for reusable operator and agent behavior- the local Agent Command Center no longer owns a project-task board, governance
automation panel, or audit-log workflow;apps/codenow keeps that surface to
intent capture, launch readiness, runtime orchestration, and WebMCP controls - ChatGPT apps/connectors and the
/appsuser surface are no longer part of the active product surface - low-level runtime apps discovery tools and compatibility RPCs have been removed from the app layer
- do not reintroduce an apps/connectors product narrative when reading older docs or compatibility code
The canonical product-definition sources are:
Repository Layout
The active engineering center of this repo is:
apps/code: primary React 19 + Vite coding workspace UIapps/code-web: Cloudflare platform web implementation for public routes, SSR, and deploy wiringapps/code-electron: desktop container and host bridge around the sharedapps/coderendererpackages/code-workspace-client: shared workspace client boot and compatibility adapters for web and desktop shellspackages/code-runtime-service-rs: Rust-first runtime orchestratorpackages/code-runtime-host-contract: canonical TypeScript runtime contractpackages/native-runtime-host-contract: native host contract parity layer
Packages such as packages/design-system, packages/shared, and packages/native-bindings support the active product surface. They are supporting layers, not separate products.
Internal helper crates such as internal/runtime-policy-rs remain in-repo for parity fixtures and tooling, but do not define the active product surface.
Web Platform
apps/code-web: current Cloudflare platform web implementation. It owns the web route shell, public routes, SSR, and Wrangler deployment wiring, while reusingpackages/code-workspace-clientfor the client-only workspace shell.- Root build/lint/typecheck quality gates now include
apps/code-web; usepnpm web:*for explicit Cloudflare web runs.
Toolchain
- Node:
24.11.1 - pnpm:
10.28.0 - Rust:
1.93.1
Windows Rust builds use MSVC and require Visual Studio C++ tools plus a Windows SDK. If builds fail with kernel32.lib or related linker errors, install component Microsoft.VisualStudio.Component.Windows11SDK.22621.
Getting Started
pnpm install
pnpm dev
Useful entrypoints:
pnpm dev: default code workspace and runtime flowpnpm dev:code:ui: Vite UI onlypnpm dev:code:service: runtime service onlypnpm dev:desktop: Electron desktop shell flowpnpm desktop:electron:dev: explicit Electron desktop shell flowpnpm desktop:electron:make:smoke: Electron beta installer smoke build on the current hostpnpm desktop:electron:publish:dry-run: Electron beta release configuration dry-run
Validation
Use the narrowest gate that matches the blast radius:
pnpm validate:fast: isolated UI or TypeScript changespnpm validate: standard multi-file behavior changespnpm validate:full: shared contracts, CI, or release-sensitive changespnpm test:component: browser-backed component and interaction checks forapps/codepnpm check:runtime-contract: runtime contract freeze and source-of-truth checkspnpm ui:contract: UI/runtime boundary checks forapps/codepnpm preflight:codex: canonical repo preflight
Docs, CI, and automation should prefer the canonical command families repo:*, desktop:*, validate:*, preflight:codex, and ui:contract.
Documentation
If you need the fastest correct orientation:
Then branch into the active authority docs that match the task:
- Product direction: PRD
- Architecture and boundaries: Architecture Overview
- Runtime design rules: Runtime Agent System Design
- Runtime docs and frozen specs: Runtime Docs
- Product/app specs: App Specs
- Testing and validation selection: Testing Guide
Contributor-facing entrypoints:
Agent entrypoint policy:
AGENTS.mdis the canonical repo-wide instruction file.CLAUDE.mdandGEMINI.mdare compatibility entrypoints and should stay aligned withAGENTS.md.docs/guide/agents.mdis the concise repo-orientation guide for agents after loading the root entrypoints.docs/plans/is for active in-flight working docs only.docs/archive/contains completed, superseded, or historical material and should not drive new implementation unless a task explicitly asks for historical comparison or migration work.
For historical context, prefer archived docs instead of restoring retired product surfaces into active documentation.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi