* feat(tracking): measure Motion editor exports, manual edits and feature usage
Add Studio-owned events for the MVP editor so export success and manual
editing can be read per installation and per project, and each phase-one
feature has one signal.
- studio_export_request_result / studio_export_result: one request result
per start attempt and one terminal result per accepted UI render, joined
by a browser-minted export_id. UI renders use the editor pipeline and do
not reach the worker export_result, which is unchanged.
- studio_edit_result: one event per committed history entry, emitted where
Studio claims the entry, with closed edit_kind and surface. Coalesced
claims report once; in-page Agent tool writes are skipped. Project rename,
asset rename/delete and save failures report from their own owners.
- studio_history_step_result, studio_asset_import_result and
studio_notice_shown for undo/redo, UI imports and shown notices.
- ui_click gains studio areas/elements and a closed option field.
- Editor events carry project_scope; project_id only when it is a UUID.
Editor modules report through an installed sender, so an editor mounted
without the Motion host reports nothing and never imports the transport.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* feat(tracking): add video length, project scale and template attribution to editor events
- studio_export_request_result / studio_export_result gain
video_duration_bucket for the composition being rendered.
- studio_load_result and the export request gain clip, asset and
composition count buckets, read from memory only and reported as
unknown when not yet loaded.
- The editor's template library (the shared gallery) now reports copy
click and actual copy result, preview, use, category change and one
search per query through an optional listener; the gallery itself owns
no tracking code.
- template_id is accepted only by a new bounded slug validator; ids that
do not match are omitted. The id of the template a project was created
from is added to the load and UI export events when the workspace
catalogue already holds it.
No host field is added to studio_load_result: the Studio page does not
know which host product opened it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): report reconciled export outcomes and the default frame rate
A cancel is optimistic, so the terminal export event could record a render the
server had already finished as cancelled. Hold the report until the cancel
route answers and use the status it returns. An omitted frame rate renders at
30 fps and is now classified as such instead of other.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): withhold export outcomes for unconfirmed cancels
When the cancel request fails the render may still be running, so the optimistic
cancelled row is not a terminal state. Skip the terminal event in that case and
document the gap.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): report the unreachable-project notice only once it renders
The banner returns nothing until the served-project list arrives, so tie the
notice event to that state instead of the mount.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* test(tracking): use fixture paths the release scan accepts
The source scan rejects personal-path shaped strings, including the private-path
fixtures these tests feed to the sanitizers.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): derive editor closed sets from the tracking registry
editorTracking restated the studio event enums as local literals: the
ui_click option list, the template copy host list, and the export
format/quality/fps acceptance checks. A value added to the registry alone
left those copies stale, and the affected series silently reported `other`,
`mp4` or `standard` with no failing test.
Build the runtime sets from the exported registry that already validates
every event, keep the resolution preset mapping as it is, and cover the
derivation by asserting every registered option, format, quality, host and
frame rate is reported as itself.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(readme): align Codex and Claude Code agent badges (#287)
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
* fix(tracking): report the new template library, side rail and layer opacity
feature/motion replaced the MVP template library, added a collapsed side rail
and saves animated-layer opacity as a multiplier. Report preview, facet, search,
copy and open from the new library through the shared template reporter, report
rail icons as the tab click they stand for, and classify the opacity multiplier
as an opacity edit.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix(tracking): drop duplicate import after merge and cover the settings area
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: luogao <luogao@refly.ai>
Co-authored-by: Joey-nexu <joeylee12629@gmail.com>
Co-authored-by: joeylee12629-star <236967869+joeylee12629-star@users.noreply.github.com>
Co-authored-by: huihui-crypto <huihuazhanghuihua@gmail.com>
* feat: add north-star tracking evidence
* fix(distribution): ship the tracking task ledger in packaged applications
phase1.ts and server.ts import tracking/task-ledger.ts, but the packaged
application file list never gained the new module, so npm artifacts failed
to load with ERR_MODULE_NOT_FOUND and the distribution lane failed.
Add the module to the positive distribution list so both profiles keep a
loadable application.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix(tracking): attribute worker evidence and ledger every accepted export
Queue snapshots, heartbeats and technical-export checks now pass the worker
entrypoint instead of inheriting the MCP tracker default. Host run failures and
cancellations read the recorded work-round mode, and a failure only reports a
failed run state after it actually closed the round.
Every accepted export is now ledgered inside the shared export entry, so the
Studio and legacy routes produce the same evidence as the MCP adapter, and an
unreadable ledger is recorded as a diagnostic instead of failing an export that
already started rendering. Repeating an identical terminal result keeps the
recorded terminal time, and quality-check version ids follow the public
version-id contract instead of requiring a v4 UUID.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: correct instrumentation evidence semantics
* fix: preserve work round failure evidence
* fix: close interrupted exports with one terminal outcome
Preview delivery now needs the confirmed current version and the originating
round's fixed version, and preview evidence is emitted only after recordDisplay
passes its version guard, so a rejected display no longer claims an observation
and a delivery for the same run.
Technical export checks report cancelled or unfinished jobs as unreviewed
instead of error; only a completed job without a verification report stays an
error.
The export ledger entry for an interrupted export is now closed once with
outcome unknown, and the worker tick that owns that transition emits the
matching task_terminal evidence. A second tick or a status read sees the closed
record and claim nothing. The tracking README describes that reconciliation
path.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: keep interrupted-export reconciliation out of live renders
The worker tick reconciled before taking the working-set guard, so a later tick
could close a job this process was still rendering, the local render was left
running, and the owning worker then stated a second task_terminal for the same
task. Reconciliation now runs only for a tick that does not own the render, it
aborts any local controller of a job it closes, and the claiming worker states
its terminal evidence through one helper that skips a job the reconciler already
closed as unknown.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: state terminal evidence from the caller that reconciles an export
Coalesce interrupted-export reconciliation into one owner so every path that
closes a task also reports it: the read path now records the same
task_terminal evidence as the worker tick, keeps the ledger terminal time and
never restates the outcome on a later read. Stores carry the service tracker,
including project-scoped stores and the MCP read paths.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: preserve provider preview schema
---------
Co-authored-by: qindong <qindong@qindongs-MBP.lan>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Co-authored-by: qindong <qindong@qindongs-MacBook-Pro.local>
* feat: add a shared asset workspace with generation and version history
Unify direct model jobs and embedded Codex conversations around shared asset operations exposed through MCP. Add reusable media uploads, pinned references, version browsing, trash undo, and verified project imports.
Refine compact creation controls, persistent task history, solid menus, and stable resizable preview layouts. Integrate asset navigation with main's history and deep links, and align onboarding, tracking, documentation, and distribution.
* test: exercise openmotion_assets in the packaged phase-one e2e
The phase-one profile now exposes openmotion_assets, but the packaged
distribution smoke test still asserted that every public Tool was called
without ever invoking it, so the Distribution regression lane failed.
Import a real audio file into the library, read it back by asset and
version, list it by modality, and import the pinned version into the
project so the new Tool is covered end to end.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: preserve asset request receipts and pending draft edits
Exercise asset library replay in the packaged MCP smoke test and align compact control documentation with verified shared geometry.
Preserve historical installation-based distinct_id across upgrades while adding an OpenMotion-scoped OS device hash for explicit device counts. Mark unavailable device identifiers without changing installation identity or GeoIP behavior. Validate existing-install continuity, extracted-package telemetry, and native Windows, macOS and Linux identity stability.