Forge Engine
app.forgeengine/forgeDesign spec + milestones AI coding agents read before building; drift flagged, changes reviewed.
Tools · 54
Forge how-to on demand (no project needed): propose→adopt, what a System is, Balance Lab formats, sign-in. Call when unsure.
Run FIRST in a new repo (no project): first-connect routine + the working-agreement block to ADD to AGENTS.md/CLAUDE.md now (tell the user in one line; remove if they object).
One-command codebase import: recipe + batch id — propose one Context overview + one System per real module; the owner adopts all at once.
Recipe to design the UI from Systems (user request only): steps + batch id — confirm canvas aspect, then screens + PLACED elements + edges in one batch.
Append a build-log entry to Activity — what you built/decided (commit-note style).
FULL design dump — LARGE, last resort; prefer get_project_meta + list_*/get_*/search.
Projects your key reaches (id, name, role); pass an id as project_id to switch.
START HERE. Tiny overview: counts, members, task claims + working_now (avoid collisions), forge_workflow_version.
SECONDARY (user-driven UI): turn a screen's REFERENCE IMAGE into placed elements. Returns the image itself plus the recipe — the canvas resolution, the fraction→pixel conversion that stops coordinates…
What has drifted between the Idea lane and the System Specs — the design's own out-of-sync list, computed deterministically (no AI, no tokens). Three kinds: Idea notes edited since the systems were ge…
The recipe for re-syncing ONE changed Idea note into the specs that depend on it — the same scoped job the app's "Re-sync N systems" button does, minus the button. Returns the note, the affected specs…
The WHOLE design as one readable document — Vision (+ Project DNA) → every System spec → reference notes, compiled deterministically from the current design. Read this to understand a project end-to-e…
Write the Design Document's Overview — the human-readable page a new team member reads first. WRITES DIRECTLY (no Inbox): it is a derived, clearly-labelled AI summary, not design truth, and the owner …
ONE-CALL orientation before you build: pass `files` you're about to edit (or a `task`) → the systems that own them, each with Goal + Acceptance + build status/files/last_commit/drift + coupled_systems…
ONE system's full spec (Goal/Boundary/Acceptance, markdown, sources, status) + pending Inbox changes touching it.
All systems, compact: id, name, status, 1-line goal.
System→code map per built system: implementing files, status, drift flag, last_commit, and acceptance-evidence COUNTS. Mapped files gone from the repo? report_drift. Pass `system:"<name|id>"` for ONE …
Flag CODE DRIFT — mapped files no longer match the repo. Advisory; a fresh report_build_status clears it.
DESIGN MEMORY: recorded decisions/logs/rejections with who/when. Read BEFORE changing a system's direction; empty = no recorded WHY — don't invent one.
BLAST RADIUS of a system (deterministic): upstream context, siblings, dependent screens/milestones, files, code-coupled systems, pending Inbox, recent activity. Run BEFORE changing it.
Owner's DECLINED list — check at session start; follow each entry's guidance, then resolve_rejection(title).
Report you REVERTED a declined change (unlocks the owner's Clear). Call after realigning the build.
All screens, compact: id, name, purpose, status.
ONE screen's layout: canvas `resolution` (use THESE px), elements x/y/w/h, links, popups. Read before editing a screen. has_reference_image:true → get_screen_image shows you the actual image.
A screen's reference image (HUD background) as an actual IMAGE you can see — reads the stored file inline (signed-URL fallback past 4MB).
Move/resize/relabel an element — DIRECT, live. element_id (preferred) or screen+label; x+y also places an unplaced one.
Remove YOUR OWN still-pending Inbox item (id from the propose response / get_inbox).
PROPOSE a delete → Inbox (owner adopts; nothing deleted now). id preferred or exact name; flow_edge may use from+to.
Remove duplicate-named entries (keep first) — DIRECT, destructive.
Reorder milestones / tasks / elements — DIRECT. order = ids in new order; omitted keep relative order.
All milestones, compact: id, name, weeks, order, done/total.
ONE milestone: goal, weeks, difficulty, systems, every task (id/name/done/status/effort).
Change history {who, change, entity, kind, when}, newest first; filter kind/who/query.
PENDING Inbox (the owner's triage queue). Check BEFORE proposing — avoid duplicates. Read-only.
Keyword search — compact hits {kind, id, name} + snippet.
Propose a NEW system → Inbox. spec = ## Goal / ## Boundary (Owns · Doesn't own) / ## Acceptance. Exists? use update_system. (Alias: create_proposal.)
Propose a new/updated Idea note → Inbox. Title-match to update; send the COMPLETE revised text. Set resync:true ONLY when you rewrote the note FROM the current systems (get_stale lists notes the syste…
Propose Project DNA and/or Tech Notes → Inbox (at least one).
Propose a system UPDATE → Inbox diff. get_system first; send the FULL revised spec. new_title renames; context_title+context bundles the Idea update. Set resync:true ONLY when you rewrote this spec FR…
Read Balance Lab: stat tables, boards with EVALUATED values, scenarios.
Propose a stat-doc TABLE → Inbox. csv (header; `key%` = percent; first column = name) OR schema+rows. Adopting REPLACES same-named.
Propose a node board → Inbox. Kinds const|formula|item|sheet|loadout|picker|pool|process|note|frame; formulas reference blocks by NAME; omit x/y = auto-layout. Adopting REPLACES same-named.
Propose a NEW milestone (+ optional tasks) → Inbox.
Mark existing-milestone tasks done → Inbox progress card (owner adopts the ticks).
Report a SYSTEM's status (todo|in-progress|implemented) — DIRECT, live. ALWAYS pass files (full list — it REPLACES); non-todo with no files shows done-but-EMPTY. 'implemented' counts as VERIFIED only …
SECONDARY (user-driven UI): propose a link between two existing screens → Inbox.
SECONDARY (user-driven UI): propose an element onto a screen → Inbox. ALWAYS pass x/y/w/h (px on the screen's `resolution` from get_screen); no coords = unplaced pile.
SECONDARY (user-driven UI): propose a NEW screen → Inbox. parent = popup over that screen; purpose grounds AI suggestions. Whole UI? design_ui_from_systems first.
Report a SCREEN's status (todo|in-progress|implemented) → Inbox.
Rename a screen IN PLACE — DIRECT; links/elements follow (id-referenced).
Edit milestone goal/weeks/difficulty/name — DIRECT. new_name renames (never delete+recreate).
Add a task to a milestone — DIRECT. assignee:"me" claims on creation.
DISPATCHER (multi-agent): atomically pick + claim the next task to build — walks milestones in order, skips human-only tasks and any task whose systems share code files with a task another agent alrea…
Edit a task or CLAIM it — DIRECT. assignee:"me"+status:"in-progress" claims (errors if held; force:true for stale); done:true or assignee:"" releases.
Similar MCP servers embedding-nearest
How to use
Add to your Claude Desktop / Cursor / Cline MCP config:
{
"mcpServers": {
"forge_engine": {
"url": "https://mmvdabzadclebfxyzudg.supabase.co/functions/v1/forge-mcp",
"transport": "streamable-http"
}
}
}