mindforge-reapply-patches-e90930 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited mindforge-reapply-patches-e90930 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<purpose> After a MindForge update wipes and reinstalls files, this command merges user's previously saved local modifications back into the new version. Uses intelligent comparison to handle cases where the upstream file also changed. </purpose>
<process>
Check for local patches directory:
# Global install — detect runtime config directory
if [ -d "$HOME/.config/opencode/mindforge-local-patches" ]; then
PATCHES_DIR="$HOME/.config/opencode/mindforge-local-patches"
elif [ -d "$HOME/.opencode/mindforge-local-patches" ]; then
PATCHES_DIR="$HOME/.opencode/mindforge-local-patches"
elif [ -d "$HOME/.gemini/mindforge-local-patches" ]; then
PATCHES_DIR="$HOME/.gemini/mindforge-local-patches"
else
PATCHES_DIR=".agent/mindforge-local-patches"
fi
# Local install fallback — check all runtime directories
if [ ! -d "$PATCHES_DIR" ]; then
for dir in .config/opencode .opencode .gemini .claude; do
if [ -d "./$dir/mindforge-local-patches" ]; then
PATCHES_DIR="./$dir/mindforge-local-patches"
break
fi
done
fiRead backup-meta.json from the patches directory.
If no patches found:
No local patches found. Nothing to reapply.
Local patches are automatically saved when you run /mindforge-update
after modifying any MindForge workflow, command, or agent files.Exit.
## Local Patches to Reapply
**Backed up from:** v{from_version}
**Current version:** {read VERSION file}
**Files modified:** {count}
| # | File | Status |
|---|------|--------|
| 1 | {file_path} | Pending |
| 2 | {file_path} | Pending |For each file in backup-meta.json:
mindforge-local-patches/)Merge strategy:
Merged — user modifications applied cleanlySkipped — modification already in upstreamConflict — user chose resolutionAfter reapplying, regenerate the file manifest so future updates correctly detect these as user modifications:
# The manifest will be regenerated on next /mindforge-update
# For now, just note which files were modifiedAsk user:
mindforge-local-patches/mindforge-local-patches/ directory## Patches Reapplied
| # | File | Status |
|---|------|--------|
| 1 | {file_path} | ✓ Merged |
| 2 | {file_path} | ○ Skipped (already upstream) |
| 3 | {file_path} | ⚠ Conflict resolved |
{count} file(s) updated. Your local modifications are active again.</process>
<success_criteria>
</success_criteria>
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.