Repository navigation
feat: case-study fact sheets (--artifact fact-sheet) - #43
Merged
Merged
Conversation
A one-page, student-facing reference card per named case study: a facts table, grouped bullets (numbered with #steps) and a linked Sources line. Facts are a new role tag, `#fact [case:: Name]`, with [label::] for a table row or [group::] for a bullet; a #case-study with the same [case::] supplies the opening paragraph. A fact without [case::] is a hard error; one inside a numbered section is a warning, because facts live under an unnumbered heading that section-walking artifacts never read. The sheet is skipped when a lecture has no facts, so `all` is unchanged for existing lectures. First built for Mirai in the CECS 378 Denial of Service lecture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LMsLD73YktSkHCT6wBQMFb
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.
What
A new artifact: a one-page, student-facing fact sheet per named case study (a botnet, a breach, an outage). The Cornell handout teaches a case and withholds part of it; the fact sheet is the reference a student keeps afterwards.
Source schema
Facts live in the lecture main under an unnumbered heading:
[label::]makes a facts-table row;[group::]makes a bullet under that heading;#stepsnumbers a group.[citation::]feeds a linked Sources line (same linking as the exam reference sheet).#case-studywith the same[case::]supplies the opening paragraph.#factwithout[case::]is a hard error; a fact inside a numbered section is a warning.--artifact allis unchanged for existing lectures.Verification
generators/fact-sheet.test.js), including one that the facts never reach the lecture notes. Full suite: 228 passed.npm run checkclean.🤖 Generated with Claude Code
https://claude.ai/code/session_01LMsLD73YktSkHCT6wBQMFb