Skip to content

Show saved local and relay inventory while retaining existing import controls - #286

Merged
loganj merged 2 commits into
mainfrom
feat/inventory-active-sections
Sep 29, 2026
Merged

loganj merged 2 commits into
mainfrom
feat/inventory-active-sections

Conversation

@loganj

@loganj loganj commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

🤖

Summary

  • The Agents page now shows one inventory. It combines agents saved on this computer with agents found on the relay. Each identity appears once, matched by its exact public key.
  • The existing import controls stay where they are for now. Later PRs in this stack add actions to the inventory cards.

Details

  • At startup, the app records only the names, public keys, and source labels from old installations. It does not read keys, set up an agent, or start anything.
  • Agents that are set up on this computer keep their Start, Stop, and Edit controls. Identities found elsewhere appear in a read-only section.
  • If one source fails to load, the other source stays visible with a warning.
  • Hosts without the saved inventory keep the older My agents and read-only library sections.
  • The first part of this work, Browse legacy identities without a destination and review text before cloning #285, is merged; this PR targets main.

Screenshots

Captured from the browser test fixture at this PR's head.

One inventory lists local agents in this community, local agents in other communities, and agents available to import

One inventory lists local agents in this community, local agents in other communities, and agents available to import

The actions menu offers the same local controls for each setup of an agent

The actions menu offers the same local controls for each setup of an agent

@loganj
loganj force-pushed the feat/inventory-active-sections branch from a74fee2 to fe49a79 Compare September 25, 2026 19:38
@loganj
loganj force-pushed the feat/inventory-active-import branch 2 times, most recently from 5252889 to 3e1cc1b Compare September 26, 2026 15:06
@loganj
loganj force-pushed the feat/inventory-active-sections branch from fe49a79 to 6bf98c3 Compare September 26, 2026 15:06
@loganj
loganj marked this pull request as ready for review September 26, 2026 15:11
@loganj
loganj requested review from a team, comp615 and wesbillman as code owners September 26, 2026 15:11

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Star Lord automated source review — via Wes’s account

Reviewed head 6bf98c3d9a4049ef6f18d13c9f4b8b250bedbf11 against base/merge-base 3e1cc1b6d4f6e37f22f65e1677e1eee1cc3cf3e5.

One actionable finding, inline: the unified inventory makes existing local controls depend on the selected relay community, removing recovery Stop and editing for configured agents outside that scope. This conflicts with the stated control-retention goal.

Scope: complete 18-file diff; native metadata migration/persistence, exact-key inventory joining, supported local-control callers, relay-session lifecycle, older-host fallback, and regression-test source. Reviewed immutable GitHub source extracts (Git-blob verified), not a dirty checkout. No additional actionable findings in that scope.

Source-only review: no PR code, tests, builds, app launches, credential operations, or live workflows were executed. CI was not checked in this cycle; runtime/native/browser behavior and human acceptance remain unverified. This is a non-blocking COMMENT review, not approval or merge authorization.

Comment thread src/bundled/agents/InventoryIdentityCard.tsx Outdated
@loganj
loganj force-pushed the feat/inventory-active-sections branch from 6bf98c3 to 21016fb Compare September 26, 2026 15:45
@loganj
loganj force-pushed the feat/inventory-active-import branch 2 times, most recently from 154bed1 to 6974d75 Compare September 28, 2026 15:12
@loganj
loganj force-pushed the feat/inventory-active-sections branch from 21016fb to 0bf6d41 Compare September 28, 2026 15:12
@loganj
loganj force-pushed the feat/inventory-active-import branch from 6974d75 to bf1919f Compare September 28, 2026 16:43
@loganj
loganj force-pushed the feat/inventory-active-sections branch from 0bf6d41 to 7568178 Compare September 28, 2026 16:43

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Star Lord automated source review, published via Wes’s account

Reviewed head 75681781134d6dda20c1318064be978140d0aa26 against base bf1919fd7221b19bb9c2d3d48769bed70926cdc2.

No new actionable findings in this bounded follow-up. The earlier P2 about losing local controls outside the selected community is addressed in source: localSetups() retains every configured setup, and InventoryIdentityCard renders each setup’s exact-ID controls and menu entries regardless of the current destination. Discovery-only identities remain read-only.

Also checked the revised startup inventory reconciliation: missing/removed sources drop only their own provenance, another remaining source preserves the identity, malformed sources preserve prior inventory with a warning, and local configured agents remain separate from this metadata cleanup. Traced native startup/store writes and the affected inventory/control callers; reviewed the added component and Rust regression-test source. Unchanged areas covered by the earlier review were not reopened.

Validation limits: immutable, Git-blob-verified source extracts only; no dirty checkout inputs. No PR code, tests, builds, app launches, credentials, or live workflows were executed. CI was not assessed. Native/browser behavior, persistence under real failures, and human acceptance remain unverified. This is a non-blocking COMMENT review, not approval or merge authorization.

@loganj
loganj marked this pull request as draft September 28, 2026 19:04
@loganj
loganj force-pushed the feat/inventory-active-import branch from bf1919f to 8dabf96 Compare September 28, 2026 19:47
@loganj
loganj force-pushed the feat/inventory-active-sections branch 2 times, most recently from 407f59e to f2d4fd4 Compare September 28, 2026 20:11
@loganj
loganj force-pushed the feat/inventory-active-import branch 2 times, most recently from 6c50deb to fa21c9e Compare September 28, 2026 20:36
@loganj
loganj force-pushed the feat/inventory-active-sections branch from f2d4fd4 to f0c5370 Compare September 28, 2026 20:36
@loganj
loganj force-pushed the feat/inventory-active-import branch from fa21c9e to 23f015a Compare September 28, 2026 21:28
@loganj
loganj force-pushed the feat/inventory-active-sections branch from f0c5370 to 0fa8f3a Compare September 28, 2026 21:28
@loganj
loganj force-pushed the feat/inventory-active-import branch from 23f015a to 8e6c754 Compare September 28, 2026 21:48
@loganj
loganj force-pushed the feat/inventory-active-sections branch from 0fa8f3a to 30a115c Compare September 28, 2026 21:48
@loganj
loganj force-pushed the feat/inventory-active-import branch 2 times, most recently from 988f752 to 49d5b12 Compare September 29, 2026 03:12
@loganj
loganj force-pushed the feat/inventory-active-sections branch from 30a115c to dcf1062 Compare September 29, 2026 14:59
@loganj
loganj force-pushed the feat/inventory-active-import branch from 49d5b12 to b733886 Compare September 29, 2026 14:59
Base automatically changed from feat/inventory-active-import to main September 29, 2026 15:14
Larry added 2 commits September 29, 2026 11:26
…controls

Signed-off-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
…community

A saved setup keeps running when its community is not selected or the relay is
disconnected, so its card keeps Start/Stop, Edit, Duplicate and Delete.
Discovery-only identities stay read-only.

Signed-off-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
@loganj
loganj force-pushed the feat/inventory-active-sections branch from dcf1062 to f99a81a Compare September 29, 2026 15:29
@loganj
loganj marked this pull request as ready for review September 29, 2026 15:58

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Automated source review — Star Lord

Published through Wes’s account. Follow-up to the earlier reviewed revision, focused on the actual integration changes and preservation of the prior fix.

No new actionable findings in the reviewed changes.

  • The earlier local-controls issue remains addressed: every saved configured setup retains its exact-ID controls, including setups outside the selected community and while disconnected.
  • Traced the startup metadata migration into the newer launch queue and defaults-aware snapshots. Parked metadata remains separate from executable agent records; the migration does not add queued starts or change saved launch preferences. Failed discovery preserves the previous source inventory and surfaces a warning.
  • Checked the newer page/library integration, older-host fallback, import focus handoff, and dialog/action success, cancel, failure and retry paths at source level. Also inspected the PR description, both attached fixture screenshots, changed files and commit messages for public-material disclosures; no new actionable privacy finding.

Reviewed head: f99a81a4ae15a8f14ff567e916b36577b5464763
Reviewed base: 3237b095109dc7c406abab2c688c266b147297d6

Limits: Source-only review of immutable commit contents; git diff --check passed. No PR code, tests, builds, app or native migration was executed, and CI was not assessed in this pass. Keyboard/focus behavior and native startup/recovery remain unverified at runtime. This COMMENT is not approval or merge authorization.

@loganj
loganj merged commit 0a49827 into main Sep 29, 2026
35 of 37 checks passed
@loganj
loganj deleted the feat/inventory-active-sections branch September 29, 2026 18:08
johnmatthewtennant pushed a commit that referenced this pull request Sep 29, 2026
…t-update-drafts

* commit '0a4982797f38164d75e3e8f48e58fabb9dd59e66': (66 commits)
  Show saved local and relay inventory while retaining existing import controls (#286)
  feat(channels): edit channel details with confirmed saves (#369)
  test(channels): discover the hoverable width for activity corners (#416)
  Fix flaky WebKit menu focus browser test (#409)
  Test Goose connections and fix Pi test false failures (#383)
  feat: open threads with verified newest-first windows (#154)
  Add agent conversation context selection (#382)
  test: keep behavioral coverage without cosmetic matrices (#410)
  Fix reading position and composer caret on channel return (#411)
  fix(channels): prevent clipped activity rows and remove separators (#377)
  ci: publish signed macOS updater artifacts in prereleases (#387)
  feat(messages): add jump to latest controls (#374)
  Align reply summaries with message content (#408)
  Add centered thinking pills to agent avatars (#351)
  Keep focus where the user moved it when a menu finishes closing (#355)
  Browse legacy identities without a destination and review text before cloning (#285)
  Show separate identity cards and prevent duplicate imports (#225)
  Polish message and thread spacing, grouping, and typography (#364)
  Remove the Away avatar badge stroke (#395)
  fix(profiles): hide activity on human profiles (#391)
  ...

Signed-off-by: Sol <49aa1f65411fd096d2e2ec144f1e7aa36fdc76d1b907cfdf7be000c66f9d3b8e@buzz.block.builderlab.xyz>
morgmart added a commit that referenced this pull request Sep 29, 2026
…redesign

* origin/main:
  Show saved local and relay inventory while retaining existing import controls (#286)
  feat(channels): edit channel details with confirmed saves (#369)
  test(channels): discover the hoverable width for activity corners (#416)

Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
johnmatthewtennant pushed a commit that referenced this pull request Sep 29, 2026
* origin/main: (25 commits)
  Show saved local and relay inventory while retaining existing import controls (#286)
  feat(channels): edit channel details with confirmed saves (#369)
  test(channels): discover the hoverable width for activity corners (#416)
  Fix flaky WebKit menu focus browser test (#409)
  Test Goose connections and fix Pi test false failures (#383)
  feat: open threads with verified newest-first windows (#154)
  Add agent conversation context selection (#382)
  test: keep behavioral coverage without cosmetic matrices (#410)
  Fix reading position and composer caret on channel return (#411)
  fix(channels): prevent clipped activity rows and remove separators (#377)
  ci: publish signed macOS updater artifacts in prereleases (#387)
  feat(messages): add jump to latest controls (#374)
  Align reply summaries with message content (#408)
  Add centered thinking pills to agent avatars (#351)
  Keep focus where the user moved it when a menu finishes closing (#355)
  Browse legacy identities without a destination and review text before cloning (#285)
  Show separate identity cards and prevent duplicate imports (#225)
  Polish message and thread spacing, grouping, and typography (#364)
  Remove the Away avatar badge stroke (#395)
  fix(profiles): hide activity on human profiles (#391)
  ...

Signed-off-by: Sol <49aa1f65411fd096d2e2ec144f1e7aa36fdc76d1b907cfdf7be000c66f9d3b8e@buzz.block.builderlab.xyz>

# Conflicts:
#	src/bundled/agents/AgentsPage.test.tsx
#	src/bundled/agents/AgentsPage.tsx
TheSentinel454 pushed a commit that referenced this pull request Sep 29, 2026
* origin/main: (58 commits)
  flake fix: keep restored reading anchor out of bottom follow (WebKit scroll measurement) (#407)
  Replace fixed browser-test waits with conditions, gates and the clock (#373)
  feat(updates): show installed version in Software Updates settings (#430)
  fix(desktop): allow deep-link delivery to the main webview (#432)
  feat(shell): open your profile from the account menu avatar (#390)
  Polish top bar and animate contextual sidebar toggle (#360)
  fix(profiles): preserve nonlocal agent identity in profile fallback (#327)
  test(agents): pause the status poll around the failed-Stop checks (#431)
  fix(sidebar): paint channel rows with the scroller contents (#428)
  feat(channels): archive and delete channels from settings (#385)
  feat(updates): add in-app auto-updates with restart toast (#312)
  fix(ui): keep background loading from shifting populated views (#418)
  Improve member and agent identity previews (#412)
  Fix initial emoji autocomplete selection (#419)
  Add community membership settings (#348)
  Keep nested replies compact and place actions above message text (#367)
  Import an exact inventory identity from its selected source with retry (#288)
  ci: add gated macOS preview updater feed promotion (#414)
  Set up incomplete inventory identities through a working Use here dialog (#287)
  Show saved local and relay inventory while retaining existing import controls (#286)
  ...
TheSentinel454 pushed a commit that referenced this pull request Sep 29, 2026
* origin/main: (58 commits)
  flake fix: keep restored reading anchor out of bottom follow (WebKit scroll measurement) (#407)
  Replace fixed browser-test waits with conditions, gates and the clock (#373)
  feat(updates): show installed version in Software Updates settings (#430)
  fix(desktop): allow deep-link delivery to the main webview (#432)
  feat(shell): open your profile from the account menu avatar (#390)
  Polish top bar and animate contextual sidebar toggle (#360)
  fix(profiles): preserve nonlocal agent identity in profile fallback (#327)
  test(agents): pause the status poll around the failed-Stop checks (#431)
  fix(sidebar): paint channel rows with the scroller contents (#428)
  feat(channels): archive and delete channels from settings (#385)
  feat(updates): add in-app auto-updates with restart toast (#312)
  fix(ui): keep background loading from shifting populated views (#418)
  Improve member and agent identity previews (#412)
  Fix initial emoji autocomplete selection (#419)
  Add community membership settings (#348)
  Keep nested replies compact and place actions above message text (#367)
  Import an exact inventory identity from its selected source with retry (#288)
  ci: add gated macOS preview updater feed promotion (#414)
  Set up incomplete inventory identities through a working Use here dialog (#287)
  Show saved local and relay inventory while retaining existing import controls (#286)
  ...

Signed-off-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
@morgmart morgmart mentioned this pull request Sep 30, 2026
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.

2 participants