Forge Engine
app.forgeengine/forge
Design spec + milestones AI coding agents read before building; drift flagged, changes reviewed.
- add_task — Add a task to a milestone — DIRECT. assignee:"me" claims on creation.
- dedupe — Remove duplicate-named entries (keep first) — DIRECT, destructive.
- delete_entity — PROPOSE a delete → Inbox (owner adopts; nothing deleted now). id preferred or exact name; flow_edge may use from+to.
- design_ui_from_systems — Recipe to design the UI from Systems (user request only): steps + batch id — confirm canvas aspect, then screens + PLACED elements + edges in one batch.
- get_balance — Read Balance Lab: stat tables, boards with EVALUATED values, scenarios.
- get_briefing — 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
- get_build_region — 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
- get_design_document — 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
- get_help — Forge how-to on demand (no project needed): propose→adopt, what a System is, Balance Lab formats, sign-in. Call when unsure.
- get_history — DESIGN MEMORY: recorded decisions/logs/rejections with who/when. Read BEFORE changing a system's direction; empty = no recorded WHY — don't invent one.
- get_impact — BLAST RADIUS of a system (deterministic): upstream context, siblings, dependent screens/milestones, files, code-coupled systems, pending Inbox, recent activity. Run BEFORE changing it.
- get_inbox — PENDING Inbox (the owner's triage queue). Check BEFORE proposing — avoid duplicates. Read-only.
- get_milestone — ONE milestone: goal, weeks, difficulty, systems, every task (id/name/done/status/effort).
- get_project_context — FULL design dump — LARGE, last resort; prefer get_project_meta + list_*/get_*/search.
- get_project_meta — START HERE. Tiny overview: counts, members, task claims + working_now (avoid collisions), forge_workflow_version.
- get_rejections — Owner's DECLINED list — check at session start; follow each entry's guidance, then resolve_rejection(title).
- get_screen — 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.
- get_screen_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).
- get_stale — 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
- get_system — ONE system's full spec (Goal/Boundary/Acceptance, markdown, sources, status) + pending Inbox changes touching it.
- get_workflow — 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).
- import_from_code — One-command codebase import: recipe + batch id — propose one Context overview + one System per real module; the owner adopts all at once.
- list_activity — Change history {who, change, entity, kind, when}, newest first; filter kind/who/query.
- list_milestones — All milestones, compact: id, name, weeks, order, done/total.
- list_projects — Projects your key reaches (id, name, role); pass an id as project_id to switch.
- list_screens — All screens, compact: id, name, purpose, status.
- list_systems — All systems, compact: id, name, status, 1-line goal.
- next_task — 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
- post_log — Append a build-log entry to Activity — what you built/decided (commit-note style).
- propose_balance_board — 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_balance_table — Propose a stat-doc TABLE → Inbox. csv (header; `key%` = percent; first column = name) OR schema+rows. Adopting REPLACES same-named.
- propose_context — 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_dna — Propose Project DNA and/or Tech Notes → Inbox (at least one).
- propose_element — 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.
- propose_flow_edge — SECONDARY (user-driven UI): propose a link between two existing screens → Inbox.
- propose_milestone — Propose a NEW milestone (+ optional tasks) → Inbox.
- propose_screen — 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.
- propose_system — Propose a NEW system → Inbox. spec = ## Goal / ## Boundary (Owns · Doesn't own) / ## Acceptance. Exists? use update_system. (Alias: create_proposal.)
- rename_screen — Rename a screen IN PLACE — DIRECT; links/elements follow (id-referenced).
- reorder — Reorder milestones / tasks / elements — DIRECT. order = ids in new order; omitted keep relative order.
- report_build_status — 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
- report_drift — Flag CODE DRIFT — mapped files no longer match the repo. Advisory; a fresh report_build_status clears it.
- report_milestone_progress — Mark existing-milestone tasks done → Inbox progress card (owner adopts the ticks).
- report_screen_status — Report a SCREEN's status (todo|in-progress|implemented) → Inbox.
- resolve_rejection — Report you REVERTED a declined change (unlocks the owner's Clear). Call after realigning the build.
- resync_from_idea — 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
- search — Keyword search — compact hits {kind, id, name} + snippet.
- set_design_overview — 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
- trace_ui_from_image — 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
- update_element — Move/resize/relabel an element — DIRECT, live. element_id (preferred) or screen+label; x+y also places an unplaced one.