Purpose and outcome
Who must understand, decide, or do what? What observable change proves success?
A modern documentation system separates canonical truth from audience-specific delivery. It models user intent, typed content, technical contracts, workflows, evidence, and operational ownership before choosing the visual surface.
The recurring failure is not weak prose. It is an undefined communication problem, an implicit source of truth, or a representation chosen before the information relationship is understood.
Who must understand, decide, or do what? What observable change proves success?
Claims, concepts, procedures, contracts, decisions, risks, evidence, and typed links.
Prose, diagrams, matrices, workflows, examples, and conformance states are selected by intent.
A shared core produces role-specific sites, SPAs, references, exports, and agent context.
Source precedence, verification status, ownership, freshness, and measurable reader outcomes.
No single methodology governs discovery, structure, exact truth, workflow, delivery, accessibility, and measurement. The model below assigns each practice a specific job.
Start with the situation, current path, friction, and desired result.
Prevents: accurate content that does not help anyone complete a real task. Output: a measurable content contract and task model.
Separate tutorial, how-to, reference, and explanation concerns.
Prevents: pages that teach, persuade, instruct, and specify at the same time. Output: one dominant purpose per artifact.
Use topics and maps to assemble coherent deliverables from reusable units.
Prevents: duplicated prerequisites, drifting definitions, and monolithic pages. Output: concepts, procedures, references, and assemblies with stable IDs.
Define contracts, constraints, annotations, links, and custom vocabularies.
Prevents: reference drift and ambiguous requirements. Output: schemas that support validation, documentation, navigation, and tooling.
Represent sequences and dependencies required to achieve a result.
Prevents: disconnected endpoint descriptions that never explain the actual job. Output: human- and machine-readable workflows.
Apply repeatable updates, removals, or copies to a canonical description.
Prevents: manually forked public, partner, internal, and role-specific documentation. Output: governed overlays that preserve the core.
Integrate review, tests, WCAG, stable anchors, freshness, and usage evidence.
Prevents: visually polished but stale, inaccessible, or unmeasured output. Output: a release pipeline and operational quality signals.
Diátaxis remains the strongest editing lens for core documentation. Enterprise delivery adds adjacent artifact types for decisions, architecture, operations, and showcase communication.
Build skill through a controlled, successful experience.
Move a competent reader through a real-world problem field.
Build a mental model of mechanisms, relationships, rationale, and trade-offs.
Describe exact behavior, contracts, defaults, constraints, and compatibility.
This is the central research upgrade. DITA maps, JSON Schema vocabularies, OpenAPI descriptions, Arazzo workflows, and Overlay transformations all support a composable model: stable core knowledge plus controlled views.
Code, schemas, tests, decisions, research, operations, and user evidence.
Concepts, procedures, contracts, claims, risks, examples, and owners.
Audience journeys, product hierarchies, relationship tables, and workflow sequences.
Add metadata, remove restricted material, or adapt emphasis without forking truth.
Documentation site, explainer SPA, API reference, PDF, IDE, CLI, or agent context.
A single visual treatment cannot answer every technical question. The selected subject remains stable while the representation changes.
Route application and agent requests through identity, policy, model routing, observability, and evaluation controls.
Requests an approved capability with an authenticated identity.
Evaluates policy, resolves a model, records attribution, and enforces limits.
Executes the approved request without receiving unnecessary identity context.
Exact fixed fields, patterned collections, defaults, constraints, and source-of-truth links.
| Field | Type | Status | Meaning | Constraint |
|---|---|---|---|---|
model | ModelRef | Required | Approved logical model identifier. | Must resolve in the caller's policy scope. |
messages | Message[] | Required | Conversation input. | At least one message; content policy applies. |
purpose | PurposeCode | Required | Declared business use. | Must match an approved use-case record. |
timeoutMs | integer | Optional | Caller timeout. | Default 30000; maximum 120000. |
metadata.<name> | string | Patterned | Namespaced operational context. | Sensitive values prohibited. |
Represent the sequence and dependencies required to deliver the result—not only the available endpoints.
preconditiondepends on 1depends on 2depends on 3outcomeRelationships carry semantics. A connection is not automatically authorization or successful execution.
requests capability
issues scoped identity
enforces policy
executes inference
emits telemetry
scores behavior
Examples are typed assets: smallest valid, recommended production, boundary, and invalid.
Normative language distinguishes requirements, recommendations, options, and behavior that cannot be relied upon.
Production workloads authenticate through approved workload identity.
Requests include secrets or regulated personal data in metadata fields.
Clients provide an idempotency key for operations with externally visible side effects.
Clients request a lower timeout than the platform default.
Provider fallback behavior varies by approved use case and risk tier.
Every consequential claim exposes its authority, evidence, verification method, date, and owner.
auth.schema.jsonexpired-token.spec.tsDocs-as-code is the change mechanism. Docs-as-tests verifies deterministic claims. Accessibility and task testing validate the reader experience.
The templates encode the operating model. They are intentionally compact so teams can adopt them without requiring a specialized authoring platform.
Check the critical controls. The score is directional; a missing critical control blocks publication regardless of the percentage.
Do not start with a new platform. Start by changing the decisions and metadata that control output quality, then automate the workflow.
| Role | Accountability | Required evidence | Review trigger |
|---|---|---|---|
| Product or capability owner | User need, priority, and business outcome. | Task evidence and adoption goal. | Scope or audience change. |
| Technical owner | Behavior, architecture, and source-of-truth accuracy. | Schema, tests, implementation, and decision links. | Interface or runtime change. |
| Documentation owner | Intent, structure, clarity, navigation, and lifecycle. | Content contract, review history, and freshness. | Support signal or stale date. |
| Security and governance | Classification, policy, rights, and exposure boundaries. | Control mapping and approval record. | Risk tier or channel change. |
| Representative reader | Task success and comprehension. | Observed completion and recovery evidence. | Major workflow or audience change. |
Research was refreshed on July 21, 2026. The synthesis combines official specifications and maintained guidance. Generalization beyond each source’s native domain is identified as analysis, not as a claim made by the source.
The seven-stage operating model and core-plus-overlay documentation architecture are derived recommendations. They are not published as one combined external specification.
DITA, OpenAPI, Arazzo, and Overlay are formal technologies. Teams can adopt their representation principles without adopting every native format or tool.
Build checks and executable examples preserve deterministic accuracy. Representative-reader testing is still required for task success and understanding.