Repository navigation
Feature: editable report lines with chip editor and inspector help - #63
Merged
Merged
Conversation
… help The role a report line plays (headline chip, quotation, body, callout, hidden) was a fixed English key list in the card. It is now the output node's "Report lines" map, `KEY=role, …`, with the bundled prompts' keys as the default and the pre-roles headline key still honoured. Keys may use any letter, so a German prompt's BEGRÜNDUNG works, and the water-cycle criterion cards hide the line that repeats their own label. The inspector edits such maps — report lines and the tone map — as chips grouped by role or colour, with a field that adds a key on Enter, and shows a "?" beside the node title and beside a control that opens a short explanation. Node definitions carry the help text. SPEC-0007 FR-004, SPEC-0005 FR-006. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to the workshop result cards: how a report line is drawn is no longer a fixed key list in the card but a property of the output node, and the inspector gets a visual editor and help for it.
roles,KEY=role, …) on the output node decides whether aKEY: valueline is the headline chip, a quotation, body text, a callout box, or hidden. The default covers the bundled prompts' keys; a savedstatusKeystill names the headline. Keys may use any letter, so a German prompt'sBEGRÜNDUNG:works.KEY=valuetext form, so hand-typed and chip-edited maps are the same thing.CRITERIONline that repeats their own label.Verification
yarn typecheck,yarn lint:check,yarn lint:specsgreen.🤖 Generated with Claude Code