Skip to content

Fix: report cards read model replies written in markdown - #62

Merged
theUpsider merged 1 commit into
mainfrom
dev
Sep 25, 2026
Merged

theUpsider merged 1 commit into
mainfrom
dev

Conversation

@theUpsider

Copy link
Copy Markdown
Contributor

Summary

After the release, a real KATALYST run of Workshop 1 showed the conceptual assessment as raw JUDGMENT: … text instead of the headline chip, quotation and next-step callout. The parser only accepted bare upper-case KEY: value lines, and the model wraps its keys in markdown bold, lists them or writes them in title case.

  • parseReport now ignores list markers, heading hashes, markdown emphasis around keys and values, code fences and full-width colons, and accepts the prompt contract's keys in title case.
  • Covered by a new test in output-presentation.spec.ts; the frontend card tests still pass unchanged.

Verification

  • Backend jest for the parser spec, frontend vitest for ResultCard, yarn typecheck and yarn lint:check green.

🤖 Generated with Claude Code

…le case

A model asked for `JUDGMENT: CORRECT` will print `**JUDGMENT:** CORRECT`, put the
lines in a list, wrap the reply in a code fence or write the key in title case.
The report parser now ignores all of that, so the card shows the headline chip,
quotation and callout instead of falling back to the raw text.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@theUpsider
theUpsider merged commit 0116e42 into main Sep 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant