一键导入
Survive first. Be correct later.
npx skills add https://github.com/DnfJeff/Expand-YOYR-MIND --skill robust-first复制此命令并粘贴到 Claude Code 中以安装该技能
Survive first. Be correct later.
npx skills add https://github.com/DnfJeff/Expand-YOYR-MIND --skill robust-first复制此命令并粘贴到 Claude Code 中以安装该技能
Educational philosophy — learn by building inspectable things
Protocol names ARE K-lines.
Be conservative in what you send, liberal in what you accept.
Rules persuade. Structure IS argument. Design consciously.
Objects clone from prototypes, not instances from classes
Survive first. Be correct later.
| name | robust-first |
| description | Survive first. Be correct later. |
| license | MIT |
| tier | 1 |
| allowed-tools | ["read_file","write_file"] |
| related | ["moollm","self-repair","postel","coherence-engine","honest-forget"] |
| tags | ["moollm","survival","resilience","graceful","degradation"] |
"Survive first. Be correct later."
Robust-First is Dave Ackley's principle: systems should prioritize survivability over correctness.
A system that crashes when confused is useless. A system that limps along incorrectly but keeps running can be repaired.
Traditional computing:
IF error THEN crash
"Fail fast and loud"
Robust-first computing:
IF error THEN repair_locally AND continue
"Stay alive and heal"
# WRONG
if missing_field:
raise Error("Field required!")
# RIGHT
if missing_field:
log_warning("Field missing, using default")
field = reasonable_default
Don't wait for global consistency. Fix what you can, where you are:
# Found inconsistency
character.location: room-A
room-A.occupants: [not including character]
# Local repair
room-A.occupants.append(character)
log: "Repaired: added character to room-A occupants"
When resources are limited, do less but keep working:
# Full capability
- semantic search
- syntax highlighting
- auto-complete
- error detection
# Degraded (low memory)
- basic search only
- plain text
- manual completion
- errors on save only
Important state exists in multiple places:
# Character location recorded in:
- character.yml → location field
- room/ROOM.yml → occupants list
- session-log.md → movement events
# If one is corrupted, recover from others
Dave Ackley's Movable Feast Machine (MFM):
MOOLLM inherits this:
Beyond robust — anti-fragile:
| Fragile | Robust | Anti-Fragile |
|---|---|---|
| Breaks under stress | Survives stress | Gets stronger from stress |
| Crash on error | Handle error | Learn from error |
| Rigid schema | Flexible schema | Schema evolves from errors |
When something goes wrong, capture the lesson:
# Error occurred
repair_log:
- issue: "Character teleported without movement event"
repair: "Added movement event retroactively"
lesson: "Always log movements before updating location"
# Next time: system knows to check this
A background process that:
See: self-repair/
When encountering malformed input:
See: postel/
Instead of deleting, archive:
.archive/corrupted/.archive/versions/.archive/failed/Recovery is always possible.
# room/ROOM.yml has parse error
Traditional response:
"Error: Invalid YAML at line 42"
[System halts]
Robust-first response:
"Warning: ROOM.yml has syntax error"
"Attempting recovery..."
"- Loaded last known good state from git"
"- Merged recent changes from session-log.md"
"- Flagged line 42 for manual review"
[System continues with recovered state]
ROBUST-FIRST — Survive over correct
NEVER-CRASH — Always keep running
REPAIR-DEMON — Background fixer
BEST-EFFORT — Do what you can
NEVER-DELETE — Archive, don't destroy
See: PROTOCOLS.yml