Skip to content

Implement FleetLoops redesign onboarding - #1

Merged
fesszar merged 2 commits into
mainfrom
codex/redesign-parity-v0.2
Jun 22, 2026
Merged

fesszar merged 2 commits into
mainfrom
codex/redesign-parity-v0.2

Conversation

@fesszar

@fesszar fesszar commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Implements FleetLoops v0.2 redesign parity: provider connection, existing/scratch project onboarding, brain approval, Definition-of-Done gates, launch flow, and live dashboard/settings parity.
  • Moves first-run state into bridge/config onboarding APIs and renames the macOS product namespace to FleetLoops.
  • Adds onboarding/provider CLI modules plus bridge tests and updates macOS shell picker/restart hooks.

Verification

  • bash fleet/web/build.sh
  • fleet/runner full suite: 246/246 passed
  • cd fleet/apps/macos && swift build -c release
  • Browser QA: clean first-run flow end to end with local provider + scratch project; screenshots in local .fleet/evidence/redesign-parity-20260622-211259
  • Native swift run smoke: source shell spawned token-protected bridge and returned /api/state
  • Package: Developer ID signed FleetLoops.app/FleetLoops.dmg, codesign verified, hdiutil verified

Known blocker

  • Notarization is blocked because keychain profile fleet-notary is not present on this machine. Gatekeeper reports Unnotarized Developer ID until a notary profile is restored and ./build-app.sh is rerun with NOTARY_PROFILE=fleet-notary.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 462cf100ba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread FleetView.jsx
setApprovals(data.approvals || []);
setMilestones(data.milestones || []);
setOnboarding(data.onboarding || null);
if (data.onboarding && data.onboarding.completed === false) setOnboardingOpen(true);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Respect closing the onboarding modal

Because pull runs on load and then every 6 seconds, this branch reopens setup immediately after onClose/Cancel sets onboardingOpen to false. In any install where onboarding is incomplete (for example, an existing user importing old projects but postponing setup), the dashboard can only be used for a few seconds before the modal blocks it again; gate the auto-open to the initial load or persist a dismissed state.

Useful? React with 👍 / 👎.

Comment thread fleet/runner/secrets.mjs
// Swift app's KeychainBridge (service "com.fleetloops.app.providerkey", account = provider id) so a key
// saved by either side is readable by both.
const KEYCHAIN_SERVICE = "com.fleet.app.providerkey";
const KEYCHAIN_SERVICE = "com.fleetloops.app.providerkey";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve migrated Keychain credentials

For users upgrading from the old Fleet app, provider keys already stored under the previous com.fleet.app.providerkey service become invisible after importing their old config, because both the Swift app and the runner now read only com.fleetloops.app.providerkey. Imported API-backed projects will show as disconnected or fail with missing-key auth errors until every key is re-entered; add a fallback/migration path from the old service before switching exclusively to the new name.

Useful? React with 👍 / 👎.

Comment thread FleetView.jsx
};
return (
<div className="space-y-3">
<Section title="Route by difficulty" hint="Routine gates can use a cheap/local provider; risky work gets the strongest provider. Fallback chain is used when a provider is unavailable.">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wire difficulty routing into execution

This UI promises that routine/risky/fallback provider routing is used, but saving it only writes fleet.routing; the runner still chooses providers from each app (pickAdapter/runApiAgent resolve app.provider or app.providerId), and fleet.routing is not read anywhere in execution. Users who set risky work to a stronger provider or configure fallbacks will still run every pass on the per-app provider, so either wire this config into adapter selection or avoid presenting it as active.

Useful? React with 👍 / 👎.

@fesszar

fesszar commented Jun 22, 2026

Copy link
Copy Markdown
Owner Author

Notarization blocker is resolved.

Restored the local notary profile using the existing App Store Connect env credentials:

  • Profile: fleet-notary
  • Validation: xcrun notarytool store-credentials ... --validate succeeded

Rebuilt and verified the direct DMG:

  • App notarization accepted: 1151ab99-6f08-40df-9b78-7267893785b8
  • DMG notarization accepted: ec74526c-99c7-4845-a0d0-5904adb97408
  • codesign --verify --deep --strict --verbose=2 build/FleetLoops.app: passed
  • spctl -a -t exec -vv build/FleetLoops.app: accepted, source=Notarized Developer ID
  • stapler validate build/FleetLoops.app && stapler validate build/FleetLoops.dmg: passed
  • hdiutil verify build/FleetLoops.dmg: passed
  • Mounted DMG smoke: /Volumes/FleetLoops/FleetLoops.app accepted by Gatekeeper

FleetLoops.dmg SHA-256: 3d0b1e95d4d61db64691be1c5f5d11802114e09c27f5a73668bad2879e1d6910

@fesszar
fesszar merged commit 9812772 into main Jun 22, 2026
1 check passed
@fesszar
fesszar deleted the codex/redesign-parity-v0.2 branch June 22, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant