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
{{ message }}
Repository navigation
Commit cd4a129
Browse filesBrowse the repository at this point in the historyBrowse files
Remove the v0.46-deprecated `morph run` namespace and the nested
`morph eval add-case` / `morph eval suite-show` /
`morph eval suite-from-specs` aliases. The JSON-ingest path that used
to be `morph run record <file>` lives on as `morph session import` —
the only piece of the old `run` namespace that did something
`morph session record` couldn't already cover. Sixth and final
release of the multi-phase "make morph intuitive" effort.
Added
- `morph session import <run.json> [--trace <file>] [--artifact <file>...]`:
ingests pre-built Run JSON. Used by CI pipelines, MCP bridges, and
the claude-code/cursor hook scripts.
- New spec `removed_session_eval_aliases.yaml` (7 cases) pins that
every removed spelling exits with code 2 / "unrecognized
subcommand" and that `morph session import --help` is reachable.
Removed
- `morph run` namespace (`list`, `show`, `record-session`, `record`).
Use `morph session list` / `show` / `record` / `import`.
- `morph eval add-case` / `suite-show` / `suite-from-specs`. Use the
flat `morph eval add` / `show` / `rebuild` (introduced in v0.46).
- `inspect::deprecation_notice` helper — nothing dispatches to it
anymore.
- `RunCmd` enum and `Command::Run` dispatch arm; deprecated
`EvalCmd::AddCase` / `SuiteShow` / `SuiteFromSpecs` variants.
Changed
- Hook scripts (claude-code, cursor, .cursor, asset templates) call
`morph session import` instead of the removed `morph run record`.
- `morph setup aoe` writes `morph session record` into AOE
`on_launch` and `on_destroy` hooks; legacy spelling stays in the
cleanup-prefix list so re-running scrubs stale lines.
- Cucumber step definitions invoke `morph session record` instead of
`morph run record-session` (Gherkin step names unchanged).
- Doc + site sweep across README, docs/, .cursor/rules, and
site/changelog.html for the v0.48 spelling. Architectural prose
("run = recorded execution") left alone per the dual-vocabulary
rule.
Tests
- 1212 workspace tests passing (426 spec tests + unit tests).
- Cucumber 34/37 (3 skipped, 0 failed).
- `cargo build --workspace`, `cargo clippy --workspace --all-targets
--all-features -- -D warnings`, `cargo fmt --all -- --check` clean.
Co-authored-by: Cursor <cursoragent@cursor.com>
-`morph session record --prompt "..." --response "..."` — record a session manually (v0.46+; was `morph run record-session`).
194
+
-`morph session record --prompt "..." --response "..."` — record a session manually (v0.46+; replaces the now-removed `morph run record-session`).
195
+
-`morph session import <run.json> --trace <trace.json>` — ingest a pre-built Run JSON (v0.48+; replaces the now-removed `morph run record <file>`).
195
196
196
-
The older `morph trace` / `morph tap` / `morph traces` spellings were removed in v0.47 — only `morph inspect` works now. The v0.46-deprecated `morph run`/ `morph eval add-case` / `morph eval suite-show` / `morph eval suite-from-specs`still work through v0.47 with a deprecation notice and are removed in v0.48; new code should use `morph session` and the flat `morph eval add` / `show` / `rebuild`.
197
+
The older `morph trace` / `morph tap` / `morph traces` spellings were removed in v0.47 — only `morph inspect` works now. The v0.46-deprecated `morph run`namespace and the nested `morph eval add-case` / `morph eval suite-show` / `morph eval suite-from-specs`were removed in v0.48 — use `morph session`(with `import` for the JSON-ingest path) and the flat `morph eval add` / `show` / `rebuild` instead.
197
198
198
199
See [docs/SESSION-TRACKING.md](docs/SESSION-TRACKING.md).
Copy file name to clipboardExpand all lines: claude-code/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Hook scripts for recording Morph sessions from Claude Code lifecycle events.
9
9
| File | Event | Purpose |
10
10
|------|--------|---------|
11
11
|`hooks/morph-record-prompt.sh`|`UserPromptSubmit`| Appends prompt to `.morph/hooks/pending-<session_id>.jsonl`|
12
-
|`hooks/morph-record-stop.sh`|`Stop`| Parses structured data from the payload (transcript_path or conversation array), builds Run + Trace, runs `morph run record`|
12
+
|`hooks/morph-record-stop.sh`|`Stop`| Parses structured data from the payload (transcript_path or conversation array), builds Run + Trace, runs `morph session import`|
0 commit comments