You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `~go finalize` | Close out the current metadata-managed plan |
130
130
131
-
Note: Before every Sopify turn, the host must execute the runtime gate and validate its JSON contract. Continue into normal stages only when the gate passes. See `.sopify-skills/blueprint/protocol.md §8.1` for the full gate entry protocol, `allowed_response_mode` values, and ActionProposal capability.
131
+
Note: On each Sopify turn, the host first classifies the user request (consult / quick_fix / new_plan / continue_plan / finalize). Only managed plan / continuation / finalize enter the 4-step protocol entry; consult / quick_fix do not auto-resume active_plan by default. See `.sopify-skills/blueprint/protocol.md §8`.
132
132
133
-
Note: After runtime execution, the host must consume `.sopify-skills/state/current_handoff.json` structured fields to decide the next step. Respect any pending checkpoint before continuing. See `.sopify-skills/blueprint/protocol.md §8.2` for the full handoff protocol and `required_host_action` values.
133
+
Note: The 4-step entry order for managed plan / continuation / finalize is `state/active_plan.json` → `plan/<id>/plan.md` → `state/current_handoff.json` → `plan/<id>/receipts/`. Read plan.md first for semantic truth, then handoff as a resumption hint; handoff is not a second truth source. Respect any pending checkpoint before continuing.
134
134
135
-
Note: The host must not self-route before the gate, bypass checkpoint constraints, or write machine truth directly. Routing and state management are owned by the runtime. See `.sopify-skills/blueprint/protocol.md §8.3` for boundaries.
136
-
137
-
**Host Integration Contract:** See `.sopify-skills/blueprint/protocol.md §8` for the full host runtime integration protocol, including gate entry, handoff consumption, checkpoint handling, runtime helper index, and state file index.
135
+
Note: The host must not bypass checkpoint constraints or write machine truth directly. Protocol state writes (active_plan / current_handoff / receipts) go through `sopify_writer`. See `.sopify-skills/blueprint/protocol.md §8`: Host Protocol Entry Contract.
138
136
139
137
---
140
138
@@ -361,7 +359,7 @@ Next: Please verify the functionality
361
359
~go finalize # Explicitly close out the current metadata-managed plan
362
360
```
363
361
364
-
**Runtime helpers and state files:** See `.sopify-skills/blueprint/protocol.md §8.4–8.5` for the full runtime helper index and state file index.
362
+
**Protocol state files:** See `.sopify-skills/blueprint/protocol.md §8`.
Copy file name to clipboardExpand all lines: skills/en/skills/sopify/design/references/design-rules.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,15 +71,9 @@ Task markers:
71
71
-`~go plan`: stop after rendering the plan summary.
72
72
- If the user gives plan feedback, stay in this phase, update the files, and render again.
73
73
74
-
## Runtime helper boundaries
74
+
## Protocol entry boundary
75
75
76
-
When the repo contains `scripts/sopify_runtime.py` and the input is the raw request:
77
-
78
-
1. Prefer the default runtime entry; do not rewrite it manually into `~go plan`.
79
-
2. When the intent is explicitly `~go plan`, prefer `scripts/go_plan_runtime.py`.
80
-
3.`go_plan_runtime.py` is plan-only and not a generic default entry.
81
-
82
-
Generate plan files manually only when the runtime helpers are absent.
76
+
Plan structure and task splitting are owned by this skill; protocol state writes (active_plan / current_handoff / receipts) go through `sopify_writer`, not this skill directly.
0 commit comments