Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
0ba3885
fix(fleet): show measured status, asks and problems
BastiHu Oct 19, 2026
999f37b
fix(fleet): keep dates explicit in measured timestamps
BastiHu Oct 19, 2026
c1cfbf4
Merge branch 'fix/fleet-read-facts' into fix/fleet-facts-ui
codex Oct 21, 2026
dcdee0b
merge(fleet): refresh facts UI on current main
codex Oct 22, 2026
38bcb21
Merge branch 'fix/fleet-read-facts' into fix/fleet-facts-ui
codex Oct 23, 2026
cb5ea76
fix(fleet): make row fact details keyboard accessible
codex Oct 23, 2026
4dec134
docs(fleet): record keyboard test dependency seam
codex Oct 23, 2026
00f9a31
Merge branch 'fix/fleet-read-facts' into fix/fleet-facts-ui
codex Oct 23, 2026
2ef5350
Merge branch 'fix/fleet-read-facts' into fix/fleet-facts-ui
codex Oct 23, 2026
dd2b237
Merge branch 'fix/fleet-read-facts' into fix/fleet-facts-ui
codex Oct 23, 2026
664e989
Merge branch 'fix/fleet-read-facts' into fix/fleet-facts-ui
codex Oct 23, 2026
3e2bc8a
fix(fleet): refresh relative timestamps while live
codex Oct 26, 2026
155a0f9
fix(fleet): keep exact times accessible and relative labels clear
codex Oct 26, 2026
6f0b2a0
Merge branch 'crew/fleet-feedback-backend' into crew/fleet-feedback-ui
codex Oct 26, 2026
73333ad
fix(fleet): merge receiver facts and qualify incomplete coverage
codex Oct 26, 2026
e6f02fd
Merge branch 'crew/fleet-feedback-backend' into crew/fleet-feedback-ui
codex Oct 26, 2026
e2be847
Merge branch 'crew/fleet-feedback-backend' into crew/fleet-feedback-ui
codex Oct 26, 2026
a0e8970
test(fleet): respect local timezone in keyboard assertions
codex Oct 26, 2026
0e7b6f6
fix(fleet): badge counts agents with measured problems (#664)
BastiHu Oct 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions FORK.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ Landing-order collision: two cases landed as `15.`; resolved by the `b` suffix o
34. Issue #105's cross-environment reads for the project ledger and the human inbox (read models merge in the client; authority stays on each server, per [`docs/j5/product/cross-device.md`](docs/j5/product/cross-device.md)): `packages/contracts/src/environment.ts` adds three optional capability keys beside upstream's existing optional capabilities: `j5ProjectLedger`, which gates every J5 read, and `j5Squadrons` and `j5HumanInbox`, the two keys a J5 server reported while its ledger was keyed by Squadron. `apps/server/src/environment/ServerEnvironment.ts` (with its test) spreads J5-owned `J5_LEDGER_CAPABILITIES` (`packages/contracts/src/j5.ts`) into its descriptor: `j5ProjectLedger` true and the two older keys false. A server that does not report `j5ProjectLedger` true is shown as unsupported in the Inbox, Fleet, Crew, peer and playbook views, which send it no reads; the sidebar's row reads, the archive preflight and the artifact list still ask it and get "Unknown request tag", as they got a 404 before. An older J5 server, which reports `j5Squadrons` true, is refused at connection (case 56). `packages/contracts/package.json` adds the `./j5` export for J5-owned `packages/contracts/src/j5.ts`; `packages/client-runtime/package.json` appends six `./j5/*` exports for the J5-owned read-source, HTTP, and merge modules under `packages/client-runtime/src/j5/`. Those modules reuse upstream's environment registry and per-environment query atoms. `packages/client-runtime/src/state/environmentHttpAuth.ts` exposes `executeAuthenticatedEnvironmentRawHttpRequest` for the one J5 route a client still calls, the read of an artifact's content (case 64 moved every other read onto the socket); it and upstream's typed-group `executeAuthenticatedEnvironmentHttpRequest` both sit on upstream's `executeEnvironmentRequest`, the one credential/retry implementation, and start their relay DPoP root spans through one helper. That core keeps a `url(httpBaseUrl)` callback, which the raw helper passes as is; the typed wrapper builds it from upstream's contract URL builder, so a typed caller signs the URL the client sends. This keeps cookie, bearer, and relay DPoP with one refresh-and-retry shared without assigning J5 routes to an unrelated upstream API group, and no J5 read falls back to the primary environment. The upstream mount that remains (`CommandPalette.logic.ts`'s thread value, `thread:<environment>:<id>`) carries the environment beside the id so two environments' rows never collide; no new mount or door is added. Environment labels appear only once a read model spans more than one environment. The draft's Squadron environment lock went with the draft chip (the Squadron fold, [#412](https://github.com/Jacksondr5/j5code/issues/412)): `ChatView.tsx`'s three environment-selection doors are upstream's again. Native mobile screens are deferred. On every rebase, verify the capability keys stay optional, the J5 request helper still goes through the shared authenticated transport, and the scoped identities survive in each recorded mount.

Fleet measurements (#360) add the `./j5/fleetFacts` export to `packages/client-runtime/package.json`. The J5-owned module derives runtime, dispatch deadlines and labeled activity from the existing raw live shell; its shared Atom owns one future local deadline and performs no RPC reads. Ledger Exchanges, sender delivery alarms and the read time remain in the J5 Fleet read; receiving-server alarms carry their origin identity for the shared client merge, whose badge coverage follows each sender's open-Exchange receiving environments. Keep this subpath on upstream sync.

The Fleet command-palette entry is J5-owned `apps/web/src/j5/fleet/fleetPalette.tsx`; `apps/web/src/components/CommandPalette.tsx` adds one import, one hook call and appends those items beside the other J5 delegates. Preserve that mount when upstream moves palette actions. Web and desktop use the same Fleet page; native mobile has no Fleet entry or badge. `apps/web/package.json` adds the test-only `@testing-library/user-event` dependency for the Fleet row’s keyboard disclosure regression; `pnpm-lock.yaml` records its web importer. Keep it while that interaction test uses it.
Cases 10, 11 and 12 are retired, so no launch policy remains to verify here.

Client permission guards (Jackson's 2026-10-08 decision 23; [#506](https://github.com/Jacksondr5/j5code/issues/506)). J5's protected actions are registered with upstream's guard and its controls read the guard's answer, as upstream's own do: case 64. A session without the operate scope cannot use Crew approve and decline, Crew runtime answers, Stop and Archive crew, Inbox answers, artifact delete, the playbook and persona library mutations or the skill mutations; peering needs `access:write`. The server remains the authority in every case.
Expand Down Expand Up @@ -806,7 +808,7 @@ explicitly marked.
| `apps/web/src/environments/primary/auth.ts` | N | 70 |
| `apps/web/src/components/CommandPalette.logic.test.ts` | R | 34 |
| `apps/web/src/components/CommandPalette.logic.ts` | R | 34 |
| `apps/web/src/components/CommandPalette.tsx` | A | 42, 71, 75, 85 |
| `apps/web/src/components/CommandPalette.tsx` | A | 42, 71, 75, 85, 34 |
| `apps/web/src/components/ConfirmDialogHost.tsx` | R | 22 |
| `apps/web/src/components/LegacySidebar.tsx` | A | 21, 22, 85 |
| `apps/web/src/components/Sidebar.logic.test.ts` | R | 21 |
Expand Down Expand Up @@ -849,6 +851,7 @@ explicitly marked.
| `apps/web/src/routes/_chat.tsx` | R | B |
| `apps/web/src/routeTree.gen.ts` | R | generated route registrations for 6/9 |
| `apps/web/src/components/onboarding/WelcomeWizard.tsx` | R | 39, B |
| `apps/web/package.json` | N | 34 |
| `apps/web/tsconfig.json` | R | B |
| `packages/client-runtime/package.json` | R | 23, 34, 45, 69, 70, 75 |
| `packages/client-runtime/src/connection/compatibility.ts` | A | 56 |
Expand All @@ -866,7 +869,7 @@ explicitly marked.
| `packages/shared/src/model.test.ts` | A | 32 |
| `packages/ssh/src/tunnel.test.ts` | R | H, 50 |
| `packages/ssh/src/tunnel.ts` | R | H, 50 |
| `pnpm-lock.yaml` | N | 45, patched-package pins |
| `pnpm-lock.yaml` | N | 34, 45, patched-package pins |
| `pnpm-workspace.yaml` | N | patched-package pins |
| `scripts/build-cli-archive.ts` | N | 50 |
| `scripts/build-desktop-artifact.test.ts` | A | B, S, 50 |
Expand Down
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"@effect/vitest": "catalog:",
"@tailwindcss/vite": "^4.0.0",
"@tanstack/router-plugin": "^1.161.0",
"@testing-library/user-event": "14.6.7",
"@types/compression": "^1.8.1",
"@types/culori": "^4.0.1",
"@types/mdast": "^4.0.4",
Expand Down
4 changes: 3 additions & 1 deletion apps/web/src/components/CommandPalette.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use client";

import { useFleetPaletteItems } from "../j5/fleet/fleetPalette";
import { useHighlightsPaletteItems } from "../j5/highlights/highlightsPalette";
import { useSharingPaletteItems } from "../j5/sharing/sharingPalette";
import { useCanAddProject, useCanStartIn } from "../j5/sharing/access";
Expand Down Expand Up @@ -1684,6 +1685,7 @@ function OpenCommandPaletteDialog(props: {
projectRef: contextualProjectRef,
});
const highlightsPaletteItems = useHighlightsPaletteItems();
const fleetPaletteItems = useFleetPaletteItems();
const actionItems: Array<CommandPaletteActionItem | CommandPaletteSubmenuItem> = [];
if (projects.length > 0 && projectThreadItems.length > 0) {
const activeProjectTitle =
Expand Down Expand Up @@ -2161,7 +2163,7 @@ function OpenCommandPaletteDialog(props: {
},
});

actionItems.push(...sharingPaletteItems, ...highlightsPaletteItems);
actionItems.push(...sharingPaletteItems, ...highlightsPaletteItems, ...fleetPaletteItems);

const contextualProjectGroup =
(contextualProjectRef
Expand Down
Loading
Loading