Architecture Overview for DocsFab
DocsFab combines product knowledge, documentation workflows, and quality checks to produce a reviewable result. Knowledge and quality supply inputs to the runtime; a separate host channel delivers results to GitLab. For product orientation, refer to NVIDIA DocsFab Documentation.
The following diagram shows knowledge and quality inputs entering the runtime, then a finished result reaching GitLab through host delivery.
The package relationship is knowledge → runtime ← quality. Runtime consumes
knowledge and quality inputs without owning either store. Delivery has its own
authorization boundary.
Components
The following table summarizes each component’s role.
Documentation skills supply reusable procedures, and page templates guide content organization. A host router can select these for its agent; DocsFab binds its own workflow, skill catalog, and quality inputs. Refer to Execution Boundaries.
Data Flow
A named workflow follows this sequence.
- Bind the requested outcome, repository revision, documentation targets, workflow, and allowed operations.
- Prepare a disposable workspace from tracked files at that revision.
- Execute the workflow steps with their pinned inputs and allowed tools.
- Retain a run record, findings, and any documentation patch.
- Deliver the result only when the separate delivery prerequisites pass.
The model proposes responses and tool calls; runtime controls their execution. For the detailed boundaries, refer to Request Binding and Result Delivery.
Deployment Topologies
The current product runs locally. Hosted proposals remain an intended integration, as the following table distinguishes.
External Integration Points
Each integration supplies a distinct capability around the job.
GitLab
GitLab receives review notes on existing merge requests or a draft merge request containing a documentation patch. These delivery paths retain separate authorization checks. Refer to GitLab Integration.
Model API
An explicit composition selects the model route, transport, and session adapter. The model receives the tools and context allowed for its step. Refer to Model API Boundaries.
Fern Site
Fern renders the documentation site. Preview, publication, and product release remain separate from delivering a documentation patch. Refer to Fern Site Delivery.
Credential Boundary
Host-owned adapters retain credentials outside model prompts and durable evidence. Refer to Credential Boundaries and Security and Trust.
What Failure Looks Like
A job records why it cannot finish and what can unblock it. Missing product input, a failed check, and a capability boundary require different actions. Refer to When a Job Stops. Detailed operator error contracts belong in the Architecture Reference.
Operator output can direct migration-required here when an artifact needs
the current schema version. Refer to the
Migration Contract
before retrying.
Related Topics
Continue with the following pages for more detail.
- DocsFab Architecture: admission, workspace, delivery, and integration contracts.
- Documentation Jobs: job identity, results, and authority.
- Workflow Contracts: ordered steps for each catalog job.
- DocsFab Implementation Status: capability evidence and release boundaries.