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 905ac73
Browse filesBrowse the repository at this point in the historyBrowse files
Vocabulary unification, part 2 — fifth release of the multi-phase
"make morph intuitive" effort. Remove the v0.45-deprecated
`morph trace`, `morph tap`, and `morph traces` namespaces (only
`morph inspect` remains), and introduce Rust-level type aliases
(`Session`, `SessionTrace`, `SessionEvent`, `Eval`, `EvalItem`) so
newer call sites can match the user vocabulary without renaming the
storage-layer structs.
Added
- Rust type aliases in `morph-core/src/objects.rs` and re-exported
from `morph_core`:
pub type Session = Run;
pub type SessionTrace = Trace;
pub type SessionEvent = TraceEvent;
pub type Eval = EvalSuite;
pub type EvalItem = EvalCase;
Pure type renames; serialization, hashing, and `MorphObject`
dispatch all go through the underlying struct, so on-disk bytes
are unchanged.
- New spec `removed_inspect_aliases.yaml` (3 cases) pins that
`morph trace`, `morph tap`, and `morph traces` exit with code 2
and "unrecognized subcommand" after removal.
Removed
- `morph trace show`,
`morph tap {summary, inspect, diagnose, export, trace-stats, preview}`,
`morph traces {summary, task-structure, target-context,
final-artifact, semantics, verification}` — use the corresponding
`morph inspect` subcommand. The companion `TraceCmd`, `TapCmd`,
`TracesCmd` enums and dispatch arms are gone from cli.rs +
main.rs; `handle_traces_command` is removed.
- Spec files `tap.yaml`, `traces.yaml`, and
`inspect_deprecated_aliases.yaml` deleted; the unified
`inspect.yaml` covers every subcommand.
Changed
- `morph --help` Inspect docstring no longer mentions the removed
fall-back commands.
- Doc + site sweep for the v0.45 removal: README, docs/v0-spec.md,
internal doc-comments in morph-core/src/{store,structured}.rs
rewritten to point at `morph inspect`. Architectural prose
("the morph trace contract") is left alone per the
dual-vocabulary rule for v0-spec.md, THEORY.md, morph-paper.tex.
- inspect::deprecation_notice helper now points at v0.48 so the
v0.46-deprecated `morph run` / `eval add-case` aliases emit the
right wording.
Tests
- Workspace 1217 / 1217 passing (1244 minus 30 cases in the three
deleted spec files plus 3 new removal-proof cases). Cucumber
34 / 37 (3 skipped, 0 failed) — no change.
- Quality gates clean: cargo build --workspace,
cargo fmt --all -- --check,
cargo clippy --workspace --all-targets --all-features
-- -D warnings.
Co-authored-by: Cursor <cursoragent@cursor.com>
-`morph session record --prompt "..." --response "..."` — record a session manually (v0.46+; was `morph run record-session`).
195
195
196
-
The older `morph trace` / `morph tap` / `morph traces` spellings still work in v0.45 and v0.46 with a deprecation notice; they're removed in v0.47. Likewise `morph run` / `morph eval add-case` / `morph eval suite-show` / `morph eval suite-from-specs` work in v0.46 and v0.47 and are removed in v0.48; new code should use `morph session` and the flat `morph eval add` / `show` / `rebuild`.
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
197
198
198
See [docs/SESSION-TRACKING.md](docs/SESSION-TRACKING.md).
(Through v0.46 the older `morph tap <subcommand>` and `morph trace
927
-
show` spellings still work with a deprecation notice; they're
928
-
removed in v0.47.)
926
+
(The older `morph tap <subcommand>` and `morph trace show` spellings
927
+
were removed in v0.47.)
929
928
930
929
Tap reads traces and runs from the store, groups events into logical steps (prompt, response, tool calls, file operations), and produces structured output for evaluation frameworks. `export` supports filtering by model (`--model`), agent (`--agent`), and minimum step count (`--min-steps`), and writes to a file with `--output`.
(Through v0.46 the older `morph traces <subcommand>` spellings still
944
-
work with a deprecation notice; they're removed in v0.47.)
942
+
(The older `morph traces <subcommand>` spellings were removed in
943
+
v0.47.)
945
944
946
945
Higher-level views over the same traces, for replay and eval-case construction: task classification (phase, scope, target files/symbols, goal), target file/function context, final artifact (function text / file snippet / patch summary), change semantics, and verification commands. These are also exposed as MCP tools (`morph_get_recent_trace_summaries`, `morph_get_trace_task_structure`, etc.).
0 commit comments