forge-orkes 0.9.1 → 0.9.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forge-orkes",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Set up the Forge meta-prompting framework for Claude Code in your project",
5
5
  "bin": {
6
6
  "create-forge": "./bin/create-forge.js"
@@ -51,7 +51,7 @@
51
51
  "hooks": [
52
52
  {
53
53
  "type": "command",
54
- "command": "if [ ! -f .forge/.active-skill ]; then echo \"[Forge] No active skill. Invoke /forge or /quick-tasking before editing code. To bypass: touch .forge/.active-skill\" >&2; exit 2; fi"
54
+ "command": "if [ ! -f \"$(git rev-parse --show-toplevel 2>/dev/null)/.forge/.active-skill\" ]; then echo \"[Forge] No active skill. Invoke /forge or /quick-tasking before editing code. To bypass: touch .forge/.active-skill\" >&2; exit 2; fi"
55
55
  }
56
56
  ]
57
57
  },
@@ -99,9 +99,8 @@ No match → fall through to Step 2B (tier detection).
99
99
 
100
100
  ### Parent Session Model Advisory
101
101
 
102
- Check `models.parent_session` from `project.yml`. **Always display:** *"Session model: {current}. Project recommends: {parent_session}."*
103
- Mismatch append: *"Use `/model` to switch."*
104
- - Advisory only -- no block. Reviewer enforces at review gate.
102
+ Check `models.parent_session` from `project.yml`. Show only on mismatch: *"Session model: {current}. Project recommends: {parent_session} — use `/model {parent_session}` to switch."*
103
+ - Advisory only no block. Reviewer enforces at review gate.
105
104
 
106
105
  ## Step 2A: Project Init
107
106
 
@@ -157,11 +156,11 @@ Read `models` from `project.yml`:
157
156
  2. `models.default` → fallback
158
157
  3. Inherit parent session
159
158
 
160
- Resolve `{model}` for `{next}` skill using precedence above. **Always display** the resolved model in the routing briefing and its source:
159
+ Resolve `{model}` for `{next}` skill using precedence above. Show only on mismatch:
161
160
 
162
- *"Skill {next} expects {model} (from {source}). Running {current_model}."*
161
+ *"Session: {current_model}. {next} expects {model} (from {source}) use `/model {model}` to switch."*
163
162
 
164
- Where `{source}` = `skills.{name}` | `models.default` | `parent session`. Show on every transition, not just mismatch. If mismatch, append: *"Use `/model` to switch."*
163
+ Where `{source}` = `skills.{name}` | `models.default` | `parent session`. Suppress when session model matches expected.
165
164
 
166
165
  **Model routing is advisory.** All phases use `Skill()`. Display expected model at each transition. Mismatch → suggest `/model {expected}`. Review gate logs model used.
167
166