Skip to content

Trajectory 0.6.4-beta.3

Pre-release
Pre-release

Choose a tag to compare

@dd-octo-sts dd-octo-sts released this 16 Nov 02:23
4d81791

Trajectory 0.6.4-beta.3

This beta is for administrators who deploy Trajectory with Jamf Pro, and for everyone who wants a quieter background service. trajectory doctor now opens with a short summary of the computer and how it is managed, a new Mac's first Jamf run reports the Mac set up, and macOS kits no longer pin one release. The capture service writes and reads far less from disk. This is a beta prerelease for early evaluation. The stable installation channel does not change.

Highlights

trajectory doctor reads at a glance

trajectory doctor now starts with a short summary: the release, how the computer is managed, the update ring, minimum version and automatic updates with who sets each, the last update check, and the last sync of your organization's settings. It reports a managed Mac with no configuration profile, managed setup that is not complete, a release below the minimum version, and an overdue update check. Each problem takes one line and names the command that fixes it, and long lines wrap instead of being cut off. trajectory doctor --json adds the summary as overview.

The first Jamf run reports a new Mac set up

On a new Mac whose configuration profile names an organization config source, the first Jamf run now reports the Mac set up, instead of install_not_confirmed until the next run. Organization config sync also no longer rewrites its files or reloads the background service when a host sends the same file again.

Users whose home folder differs only in case

A macOS user whose recorded home folder differs from the folder's name only in case, such as /Users/ADMIN for /Users/admin, is now set up like any other user. Before, trajectory install failed with user_installation_invalid or serve_not_answering.

macOS kits no longer pin a release

Intune macOS kits from trajectory-mdm prepare no longer pin one Trajectory release, so they no longer refuse a Mac whose Trajectory has updated itself. The kit holds trajectory-intune.sh, the Jamf Pro script made for Intune. It keeps a working Trajectory of any release and runs trajectory install --source intune as root. Generate the kit again without release files, and assign the new script in place of application/installer.sh.

Find managed Macs that stop reporting

Jamf Pro admins can now find managed Macs that do not report, with a new dashboard and monitor. Trajectory's metrics on macOS carry the Mac's hardware UUID in trajectory.device_id, so they join with the Jamf script's metrics.

A quieter background service

trajectory serve reads and writes much less to disk:

  • After a break, it catches up a long session's turns without redoing turns it already sent, and each turn's check reads only that turn's own points.
  • It reads a long session's file once while it publishes or catches up traces, not again for every few traces or every later turn.
  • After a restart or update, it reads only the end of a running Codex session's file.
  • It no longer writes PR evidence after every shell command, copies recent changes into its databases less often, writes fewer pages to queue each turn's metrics, and saves a running session's activity about once a second while Studio is connected.
  • An idle service no longer reads its state every minute for the running-agents gauge, and no longer uses more CPU as Claude Desktop sessions accumulate.

Improvements

  • trajectory ps lists every running Trajectory process, with the agent, session and project each one works for. Detailed serve health moved to trajectory ps --json.

  • Preview clients and saved-history reading have ordinary settings, clients.<client>.enabled and clients.<client>.history_sync:

    trajectory config set clients.windsurf.enabled true
  • Session metrics sent at session end name the session's main model, and a new trajectory.session_models tag says whether its turns used one model or more.

  • New fleet health metrics count turns that live capture missed and Trajectory later recovered, and trace deliveries that stop retrying.

  • Agent inventory metrics report only clients that are installed or in use, and metrics carry fewer tags: no git.email, github.username or catalog tags.

  • MCP tool calls from Pi and DD Harness carry the mcp_server and mcp_tool tags.

  • A Kiro CLI workflow step's session names the session that started the workflow as its parent.

  • Seven feature flags that were on by default are retired and their behavior is always on. trajectory doctor warns when managed settings still set a retired flag.

Fixes

  • uninstall.sh keeps the records of what Trajectory already sent, as trajectory uninstall does, so installing again doesn't send your history twice. Add --purge to remove them too.
  • A session whose turn IDs started over after a resume or compaction now sends its completed-session count, duration and cost.
  • Claude Desktop (Cowork): resumed sessions count as their own sessions; shell commands and web fetches report as Bash and WebFetch; sessions outside a repository send repo:unknown instead of your home folder's name.
  • Kiro CLI tool calls that fail on the V3 engine are recorded as failures.
  • A turn that never called a model, such as a local or ! shell command or a prompt interrupted before any reply, no longer counts as a completed turn.
  • Claude Desktop (Cowork) turns count the tokens of every model call, subagents included, priced with Trajectory's rate card.
  • Pi: trajectory setup removes a stale Trajectory server from ~/.pi/agent/mcp.json, so Pi no longer shows Trajectory's tools twice.
  • Codex auto-review and DD Harness token metrics carry the right model, and Pi notices a mid-session model switch.
  • identity.user_email_suffix no longer makes up an email for root, system or service accounts, and the MCP trajectory_status tool reports a personal install correctly.
  • On Linux, serve's logical read and write metrics count file I/O only, as on macOS.