feat: template system for steering files to protect user privacy#6
Open
OsaSoft wants to merge 3 commits into
Open
feat: template system for steering files to protect user privacy#6OsaSoft wants to merge 3 commits into
OsaSoft wants to merge 3 commits into
Conversation
553d1f4 to
08ea998
Compare
Owner
|
Let's use .mdschema to define these three .md files and let's make it a learning path to learn to use mdschema to lint your personal steering rules. Also let's move |
08ea998 to
5bde902
Compare
Steering files (Identity.md, Goals.md, Levels.md) contain personal data that gets pushed to public repos when users fork and edit. This converts them to a template-based system: checked-in .template files with placeholder values, gitignored personal copies generated by make install. - Rename steering/*.md to *.md.template with placeholder values - Add init-steering target (copies templates, idempotent) - Add verify-steering target (checks files exist) - Wire both into install/verify - Gitignore personal steering files - Update README, INSTALL, CLAUDE.md for new workflow - Add missing-file fallback to all 6 skills that read steering files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5bde902 to
9766a06
Compare
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
steering/Identity.md,Goals.md, andLevels.mdto a template-based system: checked-in.templatefiles with placeholder values, gitignored personal copies generated bymake installinit-steeringMakefile target (copies templates if personal files don't exist, idempotent) andverify-steeringtarget (checks files exist), wired intoinstall/verifyMotivation
Steering files contain personal data (real names, goals, progress). Since forge-learn targets beginners, users who fork and edit these files will push PII in PRs to public repos. This change makes the safe path the default path — personal files are never tracked by git.
Test plan
git status— steering/*.md untracked, .template files trackedmake install— files regenerated from templatesmake installagain — files NOT overwritten (idempotent)make verify— passes with steering files presentmake verify— fails with clear error/Tour,/Explain) with files present — works normally.gitignore— steering/*.md not shown ingit status🤖 Generated with Claude Code