Skip to content

fix(patterns): add required frontmatter fields and missing sections - #42

Merged
oskarth merged 2 commits into
masterfrom
feature/pr-002b-pattern-frontmatter-remediation
Jan 14, 2026
Merged

oskarth merged 2 commits into
masterfrom
feature/pr-002b-pattern-frontmatter-remediation

Conversation

@oskarth

@oskarth oskarth commented Jan 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add layer, privacy_goal, assumptions, and last_reviewed frontmatter fields to all 34 pattern files
  • Add missing required sections (Ingredients, Protocol, See also) to 4 patterns
  • Standardize maturity values (research → experimental, ready → pilot/production)

Details

All 34 patterns now pass CI validation with zero warnings.

Frontmatter additions:

Field Description
layer L1 | L2 | offchain | hybrid
privacy_goal One-line privacy objective
assumptions Key trust/infrastructure requirements
last_reviewed 2026-01-14

Section fixes:

  • pattern-focil-eip7805.md: Added Ingredients
  • pattern-privacy-l2s.md: Added Protocol
  • pattern-shielding.md: Added Protocol
  • pattern-zk-derivative-delta.md: Added Ingredients + See also

Test plan

  • node scripts/validate-patterns.js passes with 0 warnings
  • All 34 patterns have required frontmatter fields
  • Missing sections added to affected patterns

Fixes #41

🤖 Generated with Claude Code

- Add layer, privacy_goal, assumptions, last_reviewed to 34 patterns
- Add missing Ingredients/Protocol/See-also sections to 4 patterns
- Standardize maturity values to valid enum (experimental|pilot|production)

Fixes #41
@oskarth
oskarth force-pushed the feature/pr-002b-pattern-frontmatter-remediation branch from a92cd78 to c53b7b6 Compare January 14, 2026 05:56
@oskarth
oskarth merged commit 92dacf2 into master Jan 14, 2026
2 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.

Add recommended frontmatter fields to existing patterns

1 participant