Skip to content
ReferenceUnreviewed

Information architecture and content types

WavWonder documentation is organized by functional domain and classified into five content types so readers and coding agents can locate accurate information and predict how every page is structured.

Scope

Information lives in one of three places based on its audience and rate of change:

  • Company documentation (docs/): Durable technical knowledge, workflows, cross-package specifications, architecture and research decisions, experiment logs, technical findings, proposals, and roadmaps. Drafts and plans live directly in docs/ with a visible status badge.
  • Agent instructions (AGENTS.md and .agents/skills/): Routing pointers, agent-native CLI or API workflows, and failure-mode rules specific to coding agents. See Context for coding agents.
  • Code and configuration comments: Local implementation details kept beside the code so they stay current as the code changes.

Directory organization

Directories under docs/ mirror functional areas of the company:

  • Top-level domain folders group documentation by ownership: research/ (modeling, alignment, evaluation, experiment logs, literature), products/ (user-facing applications, engines, and external contracts), and engineering/ (cross-package architecture, shared external contracts under specs/, cross-package decisions, internal tools, and engineering handbooks). Single-package models, extractors, and training pipelines belong inside their owning domain folder. When a distinct functional area accumulates enough standalone documentation to warrant its own navigation rail, it becomes a new top-level folder.
  • Subdirectories group multi-page tracks inside a domain, such as research/vocalsynth/ or engineering/how-we-docs/, each anchored by an index.mdx overview page.
  • Company-wide sections hold shared references and exploratory notes that apply across domains: Glossary and Ideas.

Overview pages

Every top-level section and multi-page subdirectory opens with an index.mdx overview page that introduces the area in plain language.

  • Site home page (docs/index.mdx): The only page that uses <CardGrid> to orient readers across top-level domains. Keep each <Card> description concise and direct about what the section covers, without forced imperative openers.
  • Domain and subdirectory overviews: State what belongs in the section and where a new reader should start. Keep volatile details, narrow examples, temporary project stages, and per-page summaries out of index.mdx so it stays accurate as the section grows. A section without child pages can carry its main content directly in index.mdx. Once child pages exist, keep the overview brief.

Updating and restructuring pages

  • Editing in place: Changes that extend or correct an existing topic for the same audience belong in the existing page, such as updating a Modal training flag in Training or adding a symbol to Phoneme specification.
  • Splitting a page: When a page begins serving two distinct purposes, such as a training guide that accumulates a long architectural rationale, move the rationale into a dedicated Explanation page and link to it.
  • Creating a new page: Distinct topics not covered by an existing page receive a new file in the owning domain, such as a new experiment log, architecture decision, or dataset profile.
  • Deprecating superseded pages: When a workflow, tool, or plan is replaced, mark the older page status: deprecated with a short link to its replacement at the top. Once nothing references it, remove the page because version control preserves history.

Document types

Every page in docs/ declares one docType in frontmatter corresponding to the reader’s goal. Keep each page focused on its single type.

Tutorial (docType: tutorial)

A tutorial guides a first-time reader along a single linear path to a working result. Name tutorials after the concrete outcome (for example, Render your first vocal clip).

  • Structure: Prerequisites, sequential steps, and an explicit confirmation check (You should see...) after each major step.
  • Scope: Keep to one straight path, and link to Reference or Explanation pages for optional flags and background theory.

How-to guide (docType: how-to)

A how-to guide helps a teammate who already knows the basics complete a specific task, such as resuming an interrupted SkyPilot run, calibrating SPAM on a new singing corpus, or publishing a blind A/B listening test. Name how-to guides with a short imperative verb phrase and omit the How to prefix (for example, Train on SkyPilot, Calibrate SPAM on singing audio).

  • Structure: Short context, prerequisites, numbered single-action steps using real repository paths, and result verification.
  • Scope: State conditions before actions and verify preconditions before irreversible or expensive operations.

Reference (docType: reference)

A reference provides neutral, structured facts for quick lookup mid-task, such as Phoneme specification, Repository layout, Glossary, or Writing style.

  • Structure: Direct scope sentence followed by structured tables, schemas, field definitions, and invariants.
  • Scope: Stay neutral and complete for the covered contract or definitions.

Explanation (docType: explanation)

An explanation clarifies why a system is designed a certain way, how subsystems interact, or what evidence an experiment produced. Examples include Experiment #7 and Synthesizer V acoustic model.

  • Structure: Context and constraints, mechanism or findings, and trade-offs with alternatives considered.
  • Scope: Link to How-to guides for operational commands.

Plan (docType: plan)

A plan documents current state alongside planned direction so ongoing work stays aligned with upcoming changes, such as Research roadmap or Internal platforms plan.

  • Structure: Separate Current state and Planned direction sections, plus open decisions affecting active code.
  • Scope: Keep implemented behavior and planned work clearly separated.

Choosing between similar types

  • Tutorial vs. How-to guide: Tutorials teach a newcomer on a fixed example. How-to guides help an experienced reader solve a real task with their own inputs.
  • Reference vs. Explanation: References support quick lookup of exact rules or definitions. Explanations provide background reasoning and trade-offs.
  • Plan vs. Architecture decision: Active proposals and unshipped roadmaps are Plans (status: planned or status: draft). Once a cross-package architectural decision is settled and governs active code, record its rationale under engineering/decisions/ as an Explanation.

Records, decisions, and ideas

Use a fixed location and lifecycle for time-stamped thoughts, investigations, plans, and decisions:

  • Early ideas (docs/ideas/): Store early technical, product, or business thoughts in Ideas with docType: explanation and status: draft (or status: planned for broader strategy ideas) so exploratory notes stay separate from settled documentation. When an idea becomes a committed plan or decision, record it in the owning domain and keep the original note in docs/ideas/ with a link to the new page so early context remains intact.
  • Domain findings (research/ or owning domain): Record scoped technical observations and investigation notes under the owning domain with docType: explanation and status: draft, then merge durable conclusions into the main domain pages.
  • Long-term decisions (decisions/ per top-level domain): Record settled cross-run or cross-package choices as numbered entries (0001-...) with docType: explanation under engineering/decisions/ (architecture and cross-package boundaries), products/decisions/ (product and business decisions), or research/decisions/ (research-direction decisions). Document context, evidence, rejected options, and explicit conditions that trigger revisiting the decision. When a later decision replaces an earlier one, add a new entry that supersedes it and mark the old record status: deprecated.
  • Active proposals and roadmaps (plans/ per top-level domain): Store committed multi-step plans with docType: plan and status: planned (or status: draft while open) under engineering/plans/, products/plans/, or research/plans/. Keep stage dependencies synchronized with active experiments, and prefix filenames with the track name (such as vocalsynth-architecture.mdx) when a plan scopes to one track. Keep both decisions/ and plans/ strictly at the top-level domain.
  • Experiment logs: Record numbered investigations under research/vocalsynth/experiments/ with docType: explanation. Keep experiment logs focused on hypotheses tested, run configurations, objective metrics, and listening findings, linking to decisions/ for cross-run data or architecture choices.

Every decision record, plan, and analytical finding must state explicit YYYY-MM-DD dates for time-sensitive observations, along with the constraints faced at the time and the alternatives considered and ruled out where trade-offs apply. Ideas under docs/ideas/ do not require a rigid template.

Lifecycle and review status

  • Visible lifecycle badges (status): draft marks work-in-progress documentation, planned marks roadmaps and proposals, and deprecated marks superseded pages. All three remain visible on the published site so teammates and coding agents can read and discuss them.
  • Unpublished local files (draft: true): Excludes an incomplete file from production builds, search, and /llms.txt.
  • Editorial review (reviewed): Because coding agents frequently create and edit documentation that can miss standards or include unverified claims, pages default to reviewed: false and display an Unreviewed badge until a human reviewer verifies accuracy, structure, and voice and sets reviewed: true. See Manage context for coding agents.

Type to search…

↑↓ navigate↵ selectEsc close