FAQ¶
Does Middleware Forge need internet access? No. With a local OpenAI-compatible LLM, an internal CA bundle and an internal git server, it runs entirely on a private network. Building the image needs access to the Python package index and the base image (or an internal mirror).
Which LLM should I use?
Any OpenAI-compatible endpoint. For reliable chat edits, use an instruct model of about 14B parameters or more that supports JSON-schema output (LLM_JSON_MODE=json_schema), for example on vLLM or LM Studio. Artifact generation is deterministic and rarely needs the LLM.
Is generated code produced by the LLM? Mostly not. Proxies, pipelines and business services come from templates; WSDL, XSD, WADL, XSLT and OpenAPI from deterministic builders. The LLM is asked to produce an artifact only when a builder's output fails validation, and its result is validated too. Each run records which strategy produced each artifact.
Can I edit the plan without the chat?
Yes. The Service Designer and the Settings tab edit the same plan, and PATCH /v1/sessions/{id}/plan accepts the same plan operations.
What happens if two people edit the same plan? Each edit carries the version it was based on. The second save gets a conflict and is asked to reload; nothing is overwritten silently.
Why does the progress list show "Wait for missing documents" as skipped? That step only runs when validation finds a referenced schema that was not uploaded. When validation passes it is marked skipped.
I changed one endpoint. Why did only a few files change? Re-generation reuses every unit whose inputs did not change. Changing a proxy's endpoint regenerates that proxy (and the documentation); business services, other proxies and XSLTs are copied from the previous run.
Will it overwrite my hand edits in the repository?
Not without asking. Files that are not in .forge/manifest.json, or that changed since Middleware Forge wrote them, are conflicts. You decide per file whether to overwrite or skip them. Nothing is ever deleted.
Where are my generated files?
On the backend under {data}/runs/{run_id}/. Download them from the Artifacts tab, or write them to a repository. Retention deletes runs after FORGE_RETENTION_DAYS.
Can I use my company's Word template for the design document?
Yes. Mount it and set FORGE_DOCX_TEMPLATE; its Title, Heading 1–3 and Table Grid styles are used.
Why are there two SQLite databases?
forge.db holds the application data; checkpoints.db holds LangGraph checkpoints so paused and interrupted runs can continue after a restart.
Can I call the API from a script?
Yes, from the internal network with the API key. The API serves its own reference at /docs (Swagger UI) in development; scripts/e2e_smoke.py is a complete example of a session from upload to download. For one-shot generation use the command line.
Can one operation be exposed by several services? Yes. Use Add to proxy in the Designer, or ask in the chat. A service that combines operations of different backends routes through a routing table, and reuses the existing schemas and XSLT mappings when they fit. See Composing services.
Can the ICD use our own template?
Yes. Set FORGE_ICD_TEMPLATE to a Word document with the same section structure as template/docs/ICD-template.docx (Title, revision table, four Heading 1 sections, an operation block with two parameter tables, and the endpoint and reference tables). See Interface Control Document.