CommentaryMarkdown PR reviewShared Draft Review
Public read-only sample

Draft Forms Upload Bundle

Resettable sample draft with uploaded Form Contracts plus Markdown, HTML, and MDX review files.

Draft ReviewRevision 1: Demo start state4 files1 commentUpdated Jun 19, 2026

Seeded sample content for Commentary demo reviews.

docs/onboarding-layout.mdxMARKDOWN
# Safe MDX Form Layout

<section>
  <h2>Draft owner checklist</h2>
  <p>This MDX-style layout is treated as review content, not trusted script.</p>
</section>

<Form src="../forms/onboarding-readiness.form.yaml" />
docs/onboarding-plan.mdMARKDOWN
# Onboarding Plan

This Draft Review demonstrates no-git Forms authoring. The form contract is part
of the uploaded draft bundle, and the draft owner controls the result collection.

<Form src="../forms/onboarding-readiness.form.yaml" />

## Review Notes

Use comments for wording and launch concerns. Use the form for structured owner,
segment, migration, and signoff answers.
forms/onboarding-readiness.form.yamlPlain text
commentaryForm: 1
id: draft-onboarding-readiness
title: Onboarding readiness
description: Draft-review-ready form contract uploaded before the work has a Git branch.
schema:
  type: object
  additionalProperties: false
  required:
    - launchOwner
    - targetSegment
    - dataMigration
    - ownerSignoff
  properties:
    launchOwner:
      type: string
      title: Launch owner
      minLength: 2
      fieldKind: text
    targetSegment:
      type: string
      title: Target customer segment
      enum: [pilot, self-serve, enterprise]
      fieldKind: dropdown
    dataMigration:
      type: boolean
      title: Includes data migration
      fieldKind: boolean
    migrationNotes:
      type: string
      title: Migration notes
      fieldKind: textarea
    ownerSignoff:
      type: boolean
      title: Owner signoff
      fieldKind: consent
ui:
  fields:
    launchOwner: { field: launchOwner, label: Launch owner }
    targetSegment: { field: targetSegment, label: Target customer segment, kind: dropdown }
    dataMigration: { field: dataMigration, label: Includes data migration, kind: boolean }
    migrationNotes:
      field: migrationNotes
      label: Migration notes
      kind: textarea
      visibleWhen:
        equals:
          - var: dataMigration
          - true
    ownerSignoff: { field: ownerSignoff, label: Owner signoff, kind: consent }
logic:
  required:
    - field: migrationNotes
      when:
        equals:
          - var: dataMigration
          - true
submit:
  destinations:
    - kind: commentary
      enabled: true
source:
  kind: draft-review-upload
  path: forms/onboarding-readiness.form.yaml
public/onboarding.htmlHTML
<!doctype html>
<html lang="en">
  <body>
    <main data-commentary-form="draft-onboarding-readiness" data-commentary-form-src="../forms/onboarding-readiness.form.yaml">
      <h1>Onboarding HTML binding</h1>
      <label>Launch owner <input data-commentary-field="launchOwner" name="launchOwner"></label>
      <label>Target segment
        <select data-commentary-field="targetSegment" name="targetSegment">
          <option value="pilot">Pilot</option>
          <option value="self-serve">Self-serve</option>
          <option value="enterprise">Enterprise</option>
        </select>
      </label>
    </main>
  </body>
</html>