gm-oc 2.0.401 → 2.0.402
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/gm/SKILL.md +4 -2
- package/skills/gm-emit/SKILL.md +2 -1
package/package.json
CHANGED
package/skills/gm/SKILL.md
CHANGED
|
@@ -128,11 +128,13 @@ Completing a phase is NOT stopping. After every phase: read .prd, check git, inv
|
|
|
128
128
|
|
|
129
129
|
## CONSTRAINTS
|
|
130
130
|
|
|
131
|
-
**Tier 0**: no_crash, no_exit, ground_truth_only, real_execution
|
|
131
|
+
**Tier 0**: no_crash, no_exit, ground_truth_only, real_execution, fail_loud
|
|
132
132
|
**Tier 1**: max_file_lines=200, hot_reloadable, checkpoint_state
|
|
133
133
|
**Tier 2**: no_duplication, no_hardcoded_values, modularity
|
|
134
134
|
**Tier 3**: no_comments, convention_over_code
|
|
135
135
|
|
|
136
|
-
**
|
|
136
|
+
**FAIL LOUD — NO FALLBACKS**: Never create fallback modes, demo modes, graceful degradation, silent error swallowing, or try/catch that returns a default value instead of propagating the error. Every error must throw and propagate. If something fails, the user must see exactly what failed and why. No `|| defaultValue`, no `catch { return null }`, no "demo mode", no "offline mode", no degraded functionality. The only acceptable error handling is: catch → log the real error → re-throw or display to user.
|
|
137
|
+
|
|
138
|
+
**Never**: `Bash(node/npm/npx/bun)` | skip planning | sequential independent items | screenshot before JS exhausted | narrate past unresolved mutables | stop while .prd has items | ask the user what to do next while work remains | create fallback/demo modes | silently swallow errors
|
|
137
139
|
|
|
138
140
|
**Always**: invoke named skill at every transition | snake to planning on any new unknown | witnessed execution only | keep going until .prd deleted and git clean
|
package/skills/gm-emit/SKILL.md
CHANGED
|
@@ -74,6 +74,7 @@ Pre-emit revealing unexpected behavior → new unknown → snake to `planning`.
|
|
|
74
74
|
- Crash-proof: catch at every boundary, recovery hierarchy
|
|
75
75
|
- No mocks/fakes/stubs anywhere
|
|
76
76
|
- Files ≤200 lines, no duplicate code, no comments, no hardcoded values
|
|
77
|
+
- No fallbacks, demo modes, or silent error swallowing — every error must throw and propagate
|
|
77
78
|
- CLAUDE.md reflects actual behavior
|
|
78
79
|
|
|
79
80
|
## CODEBASE EXPLORATION
|
|
@@ -99,7 +100,7 @@ Never respond to the user from this phase. When all gate conditions pass, immedi
|
|
|
99
100
|
|
|
100
101
|
## CONSTRAINTS
|
|
101
102
|
|
|
102
|
-
**Never**: write before pre-emit passes | advance with post-emit variance | absorb surprises silently | comments | hardcoded values | defer spotted issues | respond to user or pause for input
|
|
103
|
+
**Never**: write before pre-emit passes | advance with post-emit variance | absorb surprises silently | comments | hardcoded values | fallback/demo modes | silent error swallowing | defer spotted issues | respond to user or pause for input
|
|
103
104
|
|
|
104
105
|
**Always**: pre-emit debug before writing | post-emit verify from disk | snake to planning on any new unknown | fix immediately | invoke next skill immediately when gates pass
|
|
105
106
|
|