agent-joule/crates/project/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Charlot 8a518c6ab5 Step 4 Wave 3: egress backstop + kill ACP registry auto-fetch; verified silent startup
Closes the no-phone-home work. Adds a structural backstop and removes the last
unprompted startup egress, then proves a network-silent launch.

F — egress backstop (http_client):
- The four Zed-host URL builders (build_zed_api_url, build_zed_cloud_url,
  build_zed_cloud_url_with_query, build_zed_llm_url) now bail! instead of returning
  a URL. Any code path that survived the feature removals fails loudly rather than
  reaching api/cloud/llm.zed.dev. Belt-and-suspenders.

E — ACP agent-registry auto-fetch disabled (project/agent_registry_store):
- Network forensics (tshark SNI capture; IPs were Cloudflare anycast and
  uninformative) identified the one persistent startup egress — ~36 connections —
  as cdn.agentclientprotocol.com, the ACP registry fetched eagerly at launch.
- Removed the startup auto-refresh in init_global and made refresh_if_stale() a
  no-op (the path that actually fired, via agent-settings load and registry-agent
  connect). Registry still loads from disk cache; explicit user refresh() (Agent
  Registry page) still works. Removed the now-unused REFRESH_THROTTLE_DURATION.

Extensions:
- default.json auto_install_extensions emptied (was {html:true}) so the extension
  CDN isn't contacted at startup; users opt in explicitly.

Keymaps:
- Removed dangling onboarding::SignIn bindings from the three default keymaps
  (a removed action left bound panics Zed's startup keymap validator).

Verification (see PRIVACY_HARDENING.md):
- Zero connections to *.zed.dev at any point across all passes.
- After E: agent-zed makes ZERO outbound connections at idle startup (0 established
  across repeated lsof samples; no cdn.agentclientprotocol.com / *.zed.dev in the
  tshark SNI capture). Startup is network-silent. 0 panics.

Adds PRIVACY_HARDENING.md documenting A–F, the extension/keymap changes, and the
verification method.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-02 10:35:00 -04:00
..
context_server_store Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
debugger Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
git_store Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
lsp_command Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
lsp_store Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
manifest_tree Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
agent_registry_store.rs Step 4 Wave 3: egress backstop + kill ACP registry auto-fetch; verified silent startup 2026-06-02 10:35:00 -04:00
agent_server_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
bookmark_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
buffer_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
color_extractor.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
connection_manager.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
context_server_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
debounced_delay.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
debugger.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
environment.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
git_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
image_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
lsp_command.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
lsp_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
manifest_tree.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
prettier_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
project.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
project_search.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
project_settings.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
search.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
search_history.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
task_inventory.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
task_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
telemetry_snapshot.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
terminals.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
toolchain_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
trusted_worktrees.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
worktree_store.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00
yarn.rs Baseline: hard fork of zed@e2e7a67 2026-05-30 08:20:23 -04:00