Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.

Lead with what people and agents edit: a Markdown tab in the playground and README - #171

Merged
johnml1135 merged 5 commits into
mainfrom
docs/markdown-forward
Nov 6, 2026
Merged

johnml1135 merged 5 commits into
mainfrom
docs/markdown-forward

Conversation

@johnml1135

Copy link
Copy Markdown
Collaborator

Start here: the hero screenshot and README now show FieldWorks Markdown, the form a person or an AI agent edits, instead of the run dump.

  • The playground's right pane has a Markdown tab, shown first: the active field as FieldWorks Markdown (body only, the playground's style names), editable, with Apply (parse; an error changes nothing; otherwise one host undo step, "edit as Markdown", through DocumentEditor.ReplaceRange) and Revert. The run dump moves to a Model (debug) tab. A host-side sketch of the source mode in Editor integration: inline Markdown source mode and a VS Code extension (plan, awaiting decisions) motif#57.
  • MarkdownTabTests (18 cases): the exact Markdown of the Latin-and-Arabic scenario, typing updates it, an agent-style edit applies as one undo step and undo restores, an error keeps the field and the typed text, and applying unchanged Markdown makes no undo step in every single-field scenario.
  • README: a new section, "What people and agents edit", with the paragraph as Markdown, the four forms (Markdown, record file, run model, liblcm) and which are edited by hand, and an agent's edit as a diff. All 15 screenshots regenerated (13 headless, 2 real windows).

Playground tests: 322 pass on net48 and on net10.0 (was 304).

Next: decisions E-1 to E-15 on sillsdev/motif#57.

🤖 Generated with Claude Code

johnml1135 and others added 5 commits November 6, 2026 08:45
…ab, shown first, that can be edited and applied as one undo step, with the run dump moved to a Model tab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Markdown tab, and a new section explains the four forms of one paragraph and an agent's edit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…raph exactly, refuses read-only text and extra paragraphs in a single-paragraph field, makes disallowed new blocks plain, and rewrites the Markdown once per idle rather than per key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…kdown and Model tabs instead of the inspector.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rm and no read-only mark, and unchanged paragraphs keep their keys when lines are added or removed around them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@johnml1135
johnml1135 merged commit 072164c into main Nov 6, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant