fix(tutorials): re-land the tutorial components showcase and authoring guide on main #213
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 224 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.324
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #213"
general
weight: 0.35
gusfcarvalho
Why
compliance-framework/docs#212 (the tutorial components showcase and authoring guide, part of compliance-framework/docs#204) was merged into its stack base branch
factory/stack/wi_2fa6b8bf808100304f9a/2instead ofmain. The PR below it, compliance-framework/docs#211, merged tomain8 seconds earlier, and #212 was never retargeted, somainnever got its changes.What
This brings #212's change to
mainunchanged. It is exactlygit diff origin/main origin/factory/stack/wi_2fa6b8bf808100304f9a/2, andmainhas not touched these files since the stack's merge-base:CONTRIBUTING.md: new "Writing tutorials" section (+6)STYLE.md: the "Tutorials page" skeleton (+19)docs/tutorials/components.mdx: the components showcase page (new, 342 lines)sidebars.js: addstutorials/componentstotutorialsSidebarIt also fixes the one Must-fix the factory review left open on #212. The showcase uses
language="sh"onCopyBlock, but the defaultprism-react-rendererbundle has no bash grammar, so those blocks rendered without highlighting.docusaurus.config.tsnow adds'bash'tothemeConfig.prism.additionalLanguages. Prism's bash grammar also registers theshandshellaliases.Verification
yarn install --frozen-lockfile --non-interactive: okyarn test: 62 pass, 0 failyarn typecheck(tsc): okyarn spellcheck: 153 files, 0 issuesyarn build: ok (onBrokenLinks: 'throw'). The only warning is the existingvscode-languageserver-types"Critical dependency" one.build/tutorials/components.html, each server-renderedlanguage-shblock now has Prism token spans. For example,yarn buildrendersyarnastoken function.🤖 Generated with Claude Code