feat(factory): port swarmify feed fixes into apps/factory (supersedes #732)#737
Merged
Conversation
…parity sync) Rebuilt on current main (post apps/factory tmux merge #734), reconciling the feed model so both the tmux pane/viewing-in fields and the parity-sync fields coexist. - Fan-out remote-session enrichment: correct per-device attribution (machine), worktree slug + live preview + structured ticket + real branch surfaced on cards. - resolveStartedAtMs caches start time by PID (no more Date.now() drift per republish). - Single @shared feed model with a MISSING_EXPORT build-time drift guard. - Merge reconciliation: FloorAgent/RemoteSession carry both viewingIn/tmuxPane (#734) and preview/pr/worktree/machine (this PR); normalizeRecentSession defaults the live-only tmux fields to '' for idle/historical rows. - Add apps/factory/CHANGELOG.md so scripts/release.sh preflight passes (was missing; every release attempt would exit 1 on the CHANGELOG grep). Supersedes #732 (which was based on the pre-#734 layout and conflicted).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Supersedes #732. Ports the swarmify/extension feed bug-fixes into
apps/factory, rebuilt on currentmain(which now includes the tmux merge #734) with the feed model reconciled so both feature sets coexist.#732 was based on the pre-#724/#734 layout and went CONFLICTING once #734 (tmux terminals + pane/viewing-in) merged. This PR is the clean rebuild.
Changes (feed "workable" fixes)
machine) and surfaces worktree slug + live preview + structured ticket id + real branch — so co-located sessions stop rendering as identical, contextless cards.startedAtMsdrift.resolveStartedAtMscaches start time by PID instead of stampingDate.now()on every republish.@sharedimplementation guarded by aMISSING_EXPORTbuild-time drift check.Merge reconciliation (vs the merged #734)
RemoteSession/FloorAgentnow carry bothviewingIn+tmuxPane(feat(factory): tmux terminals + pane/viewing-in on Factory Floor (extension half of #731) #734) andpreview/pr/worktree/machine(this PR);ticketuses the broaderstring | {id,url} | null.foreman.registrykeeps theresolveStartedAtMsfix and publishestmuxSession/tmuxPane/tabIndex.FeedItemmeta line shows worktree slug and pane + "viewing in".normalizeRecentSessiondefaults the live-only tmux fields to''for idle/historical rows.Release landmine defused
Added
apps/factory/CHANGELOG.mdwith a## [0.9.283]entry. The prix-cloud review of #732 flagged that its newscripts/release.shCHANGELOG preflight (grep '^## \[<version>\]' CHANGELOG.md) wouldexit 1on every release because the file didn't exist. Verified the preflight grep now passes.Testing
tsc -p ./clean;bun run compile:uiclean (drift guard passes)generateCommitMessageWithClaude,draftDispatchPrompt,resolveAlias,SessionWatcher5s timeout), none in this diff.