GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(fleet): secrets domain verb — broker-first get/list over fleet-secrets (step 6, #5554) by developing-today[bot] · Pull Request #5565 · developing-today/code

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 4, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Closes the verb gap in the #5412 epic family — step 6, filed as #5554.

What

fleet secrets get <name> and fleet secrets list, the domain layer over the fleet-secrets platform (step 1 shipped the resolver; until now its only in-binary reference was a type assertion in main.rs):

  • get — Resolver::default_chain reused as-is: BrokerSource framed exchange through the session proxy to the laptops secrets-broker first; on broker error/unreachable/not-found, the bws fallback through the existing runner seam. Value to stdout only; the platforms value-free error shapes to stderr; exit 3 when both legs fail (3 = the dispatch domains unresolved-token precedent, fleet step 4: dispatch thin client domain over pm-stack #5432).
  • list — names only from the brokers GET /secrets, via a new BrokerSource::list_names(). Broker failure is loud (stderr + exit 3), deliberately no bws fallback: a vault enumeration is not the brokers cache listing, and silently substituting one listing for the other is how the step-3 framing break stayed invisible. (The one platform refactor: BrokerSource::request() factored out of resolve() so both verbs speak the identical exchange; resolve() behavior unchanged.)

Capability placement — flagged, per the step brief

The registry had no secrets capability or domain (only the secrets-broker daemon role). This PR adds Capability::Secrets (appended last in the enum, so every existing capability list renders byte-identically apart from the addition) and the secrets domain gated on it. Placement follows the design notes §2 table, which lists the secrets platform in both the full and serve builds: the secrets cargo feature is in full and in the serve aggregate, and in neither connect flavor — fleet-connect secrets … answers the exit-69 not-in-build stub, and the full build invoked as fleet-connect answers the narrowed stub (both smoke-checked). If the verb is expected inside fleet-connect later, that is a deliberate widening decision for the epic, not something this step assumes.

Verification

  • cargo test --workspace: green (incl. a new list_names round-trip over a temp socket and the registry invariants with the new capability/domain).
  • Nix builds of all five outputs (fleet, fleet-serve, fleet-connect, fleet-connect-static, fleet-static): green.
  • smoke.sh: 71 passed, 0 failed — including a new hermetic secrets section: stub framed broker + stub bws whose value for the shared name differs from the brokers, proving broker-first by the returned value; broker 404 → bws fallback; broker down → bws fallback; broker down → list fails loud; unknown name → clean exit 3 through both legs.
  • D7: fleet-connect 763,448 B; fleet-connect-static 910,752 B (gate ≤ 2 MiB; unchanged surface). Full 2,587,264 B, serve 2,472,560 B (recorded).

Live attribution on the sandbox (deployed build vs the real laptop secrets-broker, hash-compared against bws with the value in no log) runs post-merge as the deployment step and lands as evidence on #5554, together with the sandbox PATH state (~/tools/bin/fleet).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
developing-today[bot]
feat(fleet): secrets domain verb — broker-first get/list over fleet-s…
2adfc4f
…ecrets (#5554)
@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 4, 2026 15:47
@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2b5c4d47-d794-4164-9d23-0a05b4b80bc1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today
developing-today Bot merged commit e844ed1 into main Nov 4, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today
developing-today Bot deleted the fleet-step6-secrets branch November 4, 2026 15:47
@developing-today developing-today Bot mentioned this pull request Nov 4, 2026
fleet step 6: secrets domain — fleet secrets verb (broker-first, Bitwarden fallback) #5554
Closed
@dezren39 dezren39 mentioned this pull request Nov 4, 2026
main-broken: developing-today/code id @bd88019 — nix flake check #2186
Closed
This was referenced Nov 4, 2026
fleet secrets list: broken-pipe panic when stdout closes early (e.g. piped to head) #5569
Closed
fleet step 5: search domain joins fleet — gated on #5350 step 6 cutover #5433
Closed
epic: one fleet multicall binary — search, queue, dispatch, proxy — with capability-selected builds #5412
Closed
This was referenced Nov 16, 2026
watchdog: reopen issues the bot wrongly closes on merges #10105
Closed
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dezren39 dezren39 Awaiting requested review from dezren39

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

0 participants

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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.