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
Copy file name to clipboardExpand all lines: CLAUDE.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,14 +197,14 @@ When changing early complexity scores or adding beginner specs, play dumb and ve
197
197
198
198
```bash
199
199
# Source echo adapter: should pass only raw text, then fail on first object output
200
-
liquid-spec run /tmp/echo_adapter.rb -s basics --list-passed
200
+
liquid-spec run /tmp/echo_adapter.rb --list-passed
201
201
202
202
# Always-empty adapter: may pass many empty-output specs accidentally; check max complexity
203
-
liquid-spec run /tmp/empty_adapter.rb -s basics --json --list-passed > /tmp/empty-results.json
203
+
liquid-spec run /tmp/empty_adapter.rb --json --list-passed > /tmp/empty-results.json
204
204
205
205
# Always-raise adapters: should fail at complexity 0 with clear Error + Hint output
206
-
liquid-spec run /tmp/raise_compile_adapter.rb -s basics
207
-
liquid-spec run /tmp/raise_render_adapter.rb -s basics
206
+
liquid-spec run /tmp/raise_compile_adapter.rb
207
+
liquid-spec run /tmp/raise_render_adapter.rb
208
208
```
209
209
210
210
Use `--list-passed` to inspect accidental passes and `--json` for tooling. Prefer `Complexity level cleared` (or JSON `max_complexity_reached`) over raw pass count when judging partial or deliberately naive adapters.
Copy file name to clipboardExpand all lines: docs/json-rpc-protocol.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Called once when the connection starts.
37
37
"version": "1.0",
38
38
"implementation": "my-liquid",
39
39
"liquid_version": "6.0.0",
40
-
"features": ["runtime_drops"]
40
+
"features": ["drops"]
41
41
}
42
42
}
43
43
```
@@ -47,10 +47,10 @@ Called once when the connection starts.
47
47
`features` is informational metadata reported by the subprocess. The Ruby adapter file still controls which specs run via `config.missing_features` because spec selection happens in liquid-spec, not inside the subprocess.
48
48
49
49
Common feature names:
50
-
-`runtime_drops` - Supports bidirectional drop callbacks (see Drop Callbacks section)
50
+
-`drops` - Supports Liquid drop objects. Portable standard test drops are documented in `docs/test_drops.md`; the callback protocol below supports host-owned runtime drops.
51
51
-`lax_parsing` - Supports `error_mode: lax`
52
52
53
-
For a minimal JSON-RPC server, start with `features: []` and set the adapter's `config.missing_features` to skip unsupported capabilities such as `:runtime_drops`, `:lax_parsing`, `:ruby_types`, `:ruby_drops`, `:binary_data`, and Shopify-specific features.
53
+
For a minimal JSON-RPC server, start with `features: []` and set the adapter's `config.missing_features` to skip unsupported capabilities such as `:drops`, `:lax_parsing`, `:ruby_types`, `:ruby_drops`, `:binary_data`, and Shopify-specific features.
0 commit comments