Skip to main content

rt telemetry clones

rt › telemetry › clones

See whose org copy is stuck, dirty or behind, and what happened to it

Usage​

bash
rt telemetry clones [flags]

Arguments & flags​

Flag / ArgTypeDefaultDescription
--usertextOnly this person's Macs (their forge username)
--jsonbooleanfalseMachine-readable result

See code: commands/telemetry.ts › telemetryClones

Examples & notes​

Each Mac's daemon reports its org copy about once an hour with its version ping. The relay keeps the latest report and a timeline row each time the copy's state changes. This command reads both for one person, or everyone.

Use it when someone sees pack changes they never made, a pack stuck on Waiting for compile, or settings that never arrive:

bash
rt telemetry clones --user dev1 --json

What each clone reports​

FieldMeaning
onDataBranchWhether the copy has the org's data branch checked out. false on a trial branch, or after someone switched it by hand. null when rt doesn't know the data branch.
behind, aheadCommits behind and ahead of origin, as of the last fetch.
lastPullAtThe last fetch that reached the forge. An old time means pulls stopped reaching it.
pullWhat the last pull did: ok, fetch-auth, fetch-network, fetch-other, local-changes, layout-hold, conflict, detached, no-remote, no-tracking, disabled, skipped-other or unknown.
canPublishWhether this Mac may push the org's files. A member's Mac only pulls.
dirtyCount, dirtySinceHow many files are uncommitted, and when the oldest was first seen.
conflicted, layoutHoldA rebase that stopped mid-way, or a pull held for a layout this app can't read.

Each pack also carries staleCount: how many skills this Mac reads as waiting for compile. No file, branch, commit or skill is ever named: on that Mac, git status in the org copy and rt skills check show them.

Reading it​

You seeWhat happenedFix
pull: fetch-auth, an old lastPullAtThe copy can't sign in to the forge, often a token or keychain problem after a macOS updatert setup status, then reconnect the forge account
pull: local-changes, behind above 0Files changed on this Mac block the fast-forward, so the copy is frozen behind originAsk for git status in their org copy. For files inside a pack on a member's Mac, rt skills discard --pack <pack>. For org or team settings, keep or undo each change by hand. Then rt team pull
staleCount above 0 while behind is above 0The copy is old, and this Mac's newer horsey compiles its old sources differentlyFix the pull first; the count clears once the copy catches up
staleCount above 0 while behind is 0The pack was compiled with a different horsey than this Mac runsA team owner recompiles and publishes the pack
canPublish: false with dirtyCount above 0Something wrote into a member's copyCheck dirtySince against the timeline to see when, then discard

The timeline in events holds one entry per change, oldest first, so the first entry that shows a problem is when it began.