Skip to content

🧪 #543 migrate PC document rows to Markdown #584

Description

@taras

Parent quest: #543

Purpose

Move the PC document rows that <Execution host="run"> faithfully observes into one checked-in Markdown suite.

Rows

  • PC9 — missing required prop fails before any document effect.
  • PC17 — a document without props is unaffected.
  • PC21 — a targeted root keeps the declaring document's props and excludes its sibling.
  • PC23 — a required prop remains required in a targeted root.

Layout

packages/cli/tests/document-suites/props/Props.test.md with ordinary sibling fixtures for the missing-required, plain, and sectioned roots. Fixture documents are .md, not .test.md.

Evidence

  • Every <Test name> begins with its PC row ID.
  • Every child binds and asserts the exact settled Result; output/effect claims use <CollectOutput> and positive/negative markers.
  • Delete the four TypeScript row twins only after the recorded mutation makes the Markdown row fail by itself.
  • Retain every other PC row in props-cli.test.ts, naming its distinct argv/environment/help fault.

Smallest mutation themes: delay root prop validation until after expansion; make prop-less roots require a schema; discard props/frontmatter during target projection.

Specifications

Update the Root Document Props acceptance text to name the Markdown owner and retained CLI source/help rows. Do not add #542's repository-wide policy.

Acceptance

  • PC9/17/21/23 each appear once in Markdown and no longer in TypeScript.
  • Their Markdown-only mutation evidence is recorded.
  • Retained PC rows still prove their distinct command faults.
  • The PC launcher passes under Deno, Node, and Bun.

Dependency

Blocked by #583. May proceed independently of CT and IE after that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions