Repository intelligence
Register a local Git root, profile bounded source, incrementally index Python ASTs, and query symbols, imports, dependents and source text. Analysis does not execute repository code.
Implementation notes ↗Controlled Software
Engineering Platform
Understand the repository.
Plan the change.
Keep the evidence.
Repository intelligence, structured development plans, isolated workspaces, controlled code changes, and recorded validation results — connected in one deliberate engineering workflow.
01 / Inside the application
Captured from the running local application at 1440 × 900. An authored demo repository drives real operations; every visible result belongs to that recorded session.
The local dashboard after a real demo workflow: registered source, one task, its workspace, and persisted verification evidence.
Use ← → to explore. Enlarge any capture for a closer look.
Application captures, not Stitch mockups. Temporary paths and sample counts describe the disposable capture environment. No private source or credentials are included.
02 / Recorded workflow
A short, silent recording of genuine UI interactions: registration, indexing, planning, a manually submitted patch, local validation and verification. English captions explain the sequence.
Recorded locally with disposable data. No mocked API responses or generated frames. The local pytest gate passed; this small fixture is not evidence of general correctness or production readiness.
03 / Project overview
Forge connects the context of a Git repository to an explicit engineering task. Its deterministic planner reads stored profiles and Python index records, produces reviewable steps, and saves the evidence behind affected-file estimates.
The local application carries that plan into a detached worktree, constrains submitted modifications with content hashes, and records command execution and complete verification attempts. Human review remains part of the workflow.
The redesigned frontend translates those boundaries into repository inspectors, task and plan views, patch history, execution records and telemetry. It follows Google Stitch references while displaying actual backend data.
Backend architecture ↗04 / Implemented capabilities
Capabilities verified against the current local source. The core planner does not autonomously write code or invoke an LLM.
Register a local Git root, profile bounded source, incrementally index Python ASTs, and query symbols, imports, dependents and source text. Analysis does not execute repository code.
Implementation notes ↗Turn a task into ordered steps, evidence-backed file estimates, acceptance criteria and validation commands. A context fingerprint exposes stale plans. Planning requires no model call.
Implementation notes ↗Create a detached worktree pinned to committed HEAD only when the source and index match the current plan. Committed blobs are materialized without checkout hooks or filters.
Implementation notes ↗Submit bounded CREATE, UPDATE or DELETE operations within the managed workspace. Updates and deletes require the current SHA-256 hash; atomic writes retain immutable hash-and-reason records.
Implementation notes ↗Execute exact planned Python argument vectors without a shell. Bubblewrap, resource limits, timeouts and bounded output provide a fail-closed local validation boundary.
Implementation notes ↗Run every planned command as one recorded verification attempt. Repository failures require a changed patch before retry; exhausted budgets block the task. Forge does not generate repairs itself.
Implementation notes ↗05 / System architecture
A modular Python monolith: the local FastAPI interface and Typer CLI use the same services and SQLAlchemy records. The portfolio is a separate presentation layer.
The CLI can call shared services directly. The diagram groups service responsibilities; it does not imply parallel agents or a dependency-graph execution engine.
Architecture & storage contracts ↗06 / Engineering workflow
Register a clean repository. Profile and index admitted files, then query the relevant symbols and imports.
Define an objective. Generate a deterministic plan with source evidence, acceptance criteria and validation commands.
Allocate a detached worktree. Submit a reviewed patch with the expected current file hash.
Run the exact planned commands in the local sandbox. Inspect captured output, exit status and timeout records.
Run the complete gate. A pass yields VERIFIED; a repository failure requires a new patch before retry.
A successful automated gate sets VERIFIED. COMPLETED is reserved for a later independent review gate. Repairs are submitted through the audited patch API; Forge does not generate them.
07 / Technology stack
The local web interface uses shared panels, typed API contracts and route-level code splitting.
API and CLI compose the same repository, planning, workspace and verification services.
Repository indexes, plans, patch metadata and execution evidence remain inspectable records.
Incremental Python indexing grounds plans; commit and content fingerprints guard workspace changes.
Planned Python commands run offline with bounded resources and captured outcomes.
The source includes backend checks, real browser workflow tests and automated accessibility checks.
Frontend tools are verified from the current local frontend/package.json. That redesigned frontend includes local changes beyond the linked backend baseline and may not yet be available on GitHub.
08 / Security architecture
Implemented controls reduce exposure to untrusted source. They do not establish complete isolation or certify an internet-facing service.
Containment checks, file limits, excluded metadata and dependency trees, and skipped symlinks constrain source admission and search.
Clean-source and plan-freshness checks precede allocation. Relative patch paths cannot escape the workspace; updates require the current file hash.
Exact planned Python commands run without a shell or network. Linux namespaces, a disposable overlay, minimal environment, resource limits and timeouts bound execution. Missing primitives fail closed.
Execution records retain bounded output and status. Repair budgets distinguish repository failures from sandbox infrastructure errors. Local output may still contain sensitive source data.
09 / Development status
Repository analysis, deterministic planning, detached worktrees, audited patching, planned sandbox execution and complete verification gates. The recorded authored fixture exercised this flow successfully.
Python AST indexing and trusted Python validation. Plans contain ordered steps, not dependency edges. Patch records retain hashes, not historical file diffs. No autonomous repair loop or production deployment is claimed.
The backend roadmap places independent review, model routing and evaluation in later phases. SQLite create_all bootstrapping still needs migrations before production use. The local frontend also contains a separate optional provider-review profile, outside this recorded core workflow.
Reviewed 2026-10-17 against the current local Forge workspace. Backend baseline: ff912a3 ↗. The redesigned frontend has additional local changes. Source inspection and this small demo are distinct from testing every integration or deployment environment.
Documented roadmap ↗10 / Explore the source
Read the implementation, inspect the contracts, and follow Forge’s development.