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 — design: secrets plane — delta refresh, broker peer sync, dual-store puts · Issue #13948 · developing-today/code

design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948

New issue
Copy link
New issue
Copy link
Backlog
Backlog
design: secrets plane — delta refresh, broker peer sync, dual-store puts#13948
Copy link
Labels
status:in-reviewwork/assignedQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Nov 24, 2026
Issue body actions

Design: secrets plane — delta refresh, broker peer sync, dual-store puts

Direction: Drew, 2026-11-23 ~19:12 CST. Extends #13893 (cold-refresh batching + client fallback bound) and #13894 (broker performance under load). Where this design and #13893's batching-only proposal overlap, this design supersedes the batching-only framing: the one-call list becomes the full-refresh mechanism inside a delta-first design, not the end state. #13893's client-wait bound survives unchanged (Slice 1 below). #13894 remains the performance-tracking issue; this design addresses its cold-refresh row and part of the client pile-up cause.

Related, not duplicated: #10358 (secrets scoping — prefix / vault / store selection decides which store and namespace a name resolves to; this design decides how brokers and stores stay in sync), #9158 (canonical secrets model, provider adapters & custody policy), #13081 (heal cadence starving refresh — fixed), #5504 (partial refresh evicting cached secrets — its failure mode is a correctness constraint on Slice 2).

1. Problem and evidence

The sandbox secrets broker refreshes by shelling out to bws secret get <id> once per secret — 242 spawns, ~160–220s cold (measured 2026-11-23, #13893). Refresh runs at startup and every 900s. During that window the broker is present-but-not-serving, and clients hang instead of falling back (>120s observed, #13893), so every sandbox restart wedges every secrets consumer for minutes. The estate has two brokers (sandbox + laptop) holding the same set with no way to learn from each other: if the laptop broker refreshed a minute ago, the sandbox broker still pays the full upstream cost. Writes are worse: fleet secrets is read-only today (verified, §3), so a new secret is minted out-of-band in one store and propagates only when a refresh happens to notice it (#6275's read-through gap is the same shape).

2. Goals and non-goals

Goals

  1. A broker restart reaches serving in seconds in the normal case (peer up), and in one upstream list call in the worst case (peer down, no cache).
  2. Refresh cost tracks change, not set size: pull only secrets whose revision moved since the last refresh.
  3. Brokers prove sync with a set hash; equal hashes mean synced, full stop.
  4. fleet secrets gains a write path (put) and explicit cache controls (refresh, --upstream, --no-cache), with puts propagated so no peer or store has to re-fetch to converge.
  5. Both stores (Bitwarden Secrets + 1Password) are kept in sync by construction, with one designated primary so sync direction is never ambiguous.

Non-goals

  • Namespaces / per-device store selection — that is Design: fleet secrets scoping — prefix / vault / store selection, per-device profiles #10358; v1 syncs the whole set, per Drew's explicit simplification ("for broker-to-broker, it might just be simpler to just send everything it has from one location to the other… we can pull that back at that point").
  • Replacing either store, or embedding them in the fleet binary — filed as separate future-work to-dos, cross-linked below.
  • A new trust root or enrollment system — peer trust is the fleet enrollment/broker trust already in place.

3. Verified premises

Verified by the filing lane 2026-11-24; anything not verified live is marked.

  • fleet secrets today has exactly two verbs, get and list, and is read-only — verified from the installed binary's help (Commands: get, list). refresh and put are new surface.
  • bws secret list <project> returns the whole set in one call, including values and a per-secret revisionDate — verified live against the estate's Bitwarden project (bws 2.1.0): 244 secrets, fields creationDate, id, key, note, organizationId, projectId, revisionDate, value (count and field names only were inspected; no values). So both batching and delta-by-revisionDate are supported by the CLI today; the broker simply doesn't use the list call.
  • bws write verbs exist (bws secret create / edit / delete) — verified from CLI surface and existing estate scripts.
  • 1Password CLI (op 2.41.0) is installed in the sandbox recovery bin and on the laptop — verified. op item create / op item edit exist (help verified). op service-account ratelimit exists (help verified) — service-account rate limits are a real, queryable constraint, not a theoretical one.
  • NOT live-verified: op item list --format json field shape. Documented behaviour is that items carry created_at / updated_at, and list returns metadata (values need a per-item op item get). The laptop's op has no account configured in a plain SSH shell ("No accounts configured for use with 1Password CLI"), so this lane did not read a live item. Slice 5 includes a capability spike to verify before the mirror-write path is built on it.
  • Peer channel exists: the tiered broker shape (local → laptop → in-process) and its tokens (by name: fleet.secrets-broker-token, fleet.queue-broker-token, fleet.laptop-agent-token) are live; sandbox↔laptop traffic rides the tailnet (DERP-relayed at 490–873ms RTT per Broker-stack performance under load: queue reads 8-28s, fleet gh +5s vs direct, DERP-only tailnet path (490-873ms) #13894, still WireGuard-encrypted end to end).

4. Alternatives considered

A. Batching only (#13893 as filed). One bws secret list per refresh replaces 242 gets. Cold refresh drops from ~3–4 min to seconds. Honest tradeoff: refresh cost still scales with set size, brokers still can't learn from each other, no write path, no sync proof. Necessary but not sufficient — absorbed as the full-refresh mechanism in the chosen shape.

B. Delta refresh from the upstream store only (no peer sync). Refresh = list, filter revisionDate > watermark, apply changes. Cheapest correct refresh, but a restarted sandbox broker with an empty cache still needs a full set from upstream, and two brokers can hold different sets between refreshes with no way to know. Rejected as the end state; it is the upstream half of the chosen shape.

C. Full-set broker-to-broker transfer on every sync. Drew's allowed v1 simplification taken literally for every cycle: brokers just send each other everything. Simple and obviously correct; at ~244 small secrets the payload is trivial today. Tradeoff: it re-sends everything forever and gives no cheap "are we synced?" answer. The chosen shape keeps full-set transfer as the v1 peer payload but gates it behind the set hash, so the common case is one hash comparison and transfers happen only on real divergence.

D. Store-level replication only (no broker protocol). Brokers stay dumb caches; Bitwarden and 1Password are synced by a separate replicator. Rejected: it does nothing for the restart wedge (the actual incident), and broker-to-broker is where the latency pain lives.

5. Chosen approach

5.1 Delta refresh (upstream leg)

Each broker keeps a durable watermark: the start time of its last successful refresh, minus a small skew overlap (Drew's "from maybe just before the last refresh started"). A refresh is one bws secret list call; entries with revisionDate after the watermark are applied, ids absent from the list are deleted locally, everything else is untouched. The list call carries values, so a delta refresh and a full refresh are the same call with different apply rules — there is no per-secret fetch path left. A failed or partial list applies nothing (the #5504 lesson: a partial refresh must never evict).

5.2 Broker-to-broker peer sync

On startup and on each refresh tick, a broker asks its trusted peer for {set_hash, last_upstream_refresh_at, count}:

  • Hashes equal → synced; done. This is the steady state and costs one round trip.
  • Peer refreshed from upstream more recently than local, hashes differ → pull the peer's full set (v1 payload = everything, per Drew's simplification) and adopt it, recording the peer as the source and the peer's watermark as the local watermark.
  • Peer down or stale → fall back to the upstream delta/full refresh (§5.1).

Consequence, as Drew specified: a sandbox broker needs a full upstream refresh only if the laptop is down AND it restarted with no cache. Namespaces and selective pull-back are deferred until requirements actually diverge.

5.3 Set hash

The sync proof is a hash over the whole set: sort by name, hash each (name, value) pair, combine. Because a bare hash of a low-entropy value is guessable offline, pair hashes are keyed (HMAC with the peer token) and the set hash is exchanged only between authenticated brokers, never logged in full (truncated in logs) and never published. Equal keyed hashes from two brokers that share the peer key prove the sets are identical without either side sending values.

5.4 Client surface

  • fleet secrets get <name> — unchanged default path (local broker → laptop → in-process).
  • fleet secrets get <name> --upstream — resolve from the upstream peer/store, bypassing the local cache.
  • fleet secrets get <name> --no-cache — bypass all broker caches; straight to the primary store.
  • fleet secrets refresh — force the local broker through §5.2/§5.1 now instead of at the next tick; reports which leg served it (peer / upstream-delta / upstream-full) and the resulting set hash.
  • fleet secrets put <name> — new; §5.5. (Value via stdin/prompt, never argv, so it stays out of shell history and process lists.)
  • The Secrets broker cold refresh takes ~3-4 min (242 per-secret bws spawns); clients hang instead of falling back while it refreshes #13893 client bound rides along: a non-serving local broker is a cache miss within ~2–5s, never a hang.

5.5 Put semantics (chosen default)

Default: the put is written by the node that receives it to the primary store first; that write is the commit point. The writer then pushes the value directly to its peer broker and writes the mirror store; the peer never re-fetches. Drew offered both shapes (send-upstream-and-let-upstream-write, or write-and-push); write-first-then-push is chosen because (a) the primary store is the source of truth, so the commit must land there before any cache holds the value — otherwise a crash between push and store-write leaves caches holding a secret the truth doesn't have; (b) a node holding only one store still works: it sends the put upstream to the laptop (which always has both), and the laptop performs the dual write — that is the send-upstream shape, kept exactly where it's needed, as the escalation path rather than the default. Mirror-store or peer-push failure after the primary commit does not fail the put; it queues a reconcile (§5.6) and the put reports committed, propagation pending.

5.6 Dual-store sync and the primary designation

Recommendation: Bitwarden Secrets is the primary; 1Password is the fallback/mirror. Drew's initial lean was 1Password primary "if that helps", with the reverse explicitly acceptable if better supported. The evidence supports the reverse:

  • The entire running broker stack already authenticates to Bitwarden with machine access tokens, headless, today. 1Password on the laptop has no account configured outside its desktop/service-account setup (§3).
  • Bitwarden's one list call returns values and revisionDate — it is the only store that can serve as the delta source. 1Password's list returns metadata only; a full pull is one call per item.
  • 1Password service accounts carry rate limits (the CLI ships a ratelimit verb to inspect them); a chatty sync loop against 1Password as primary would spend that budget on bookkeeping. As mirror, it receives one write per put — well inside any limit.
  • 1Password's strength in this estate is human-side custody and escrow (the IdP CA material is already escrowed there). As mirror/fallback it keeps that role: if Bitwarden is down, brokers serve from cache and 1Password is the human recovery path; reads can fall back to it, writes queue until the primary returns (or Drew rules an emergency promotion).

Sync direction is therefore never ambiguous: primary → mirror, primary → brokers, broker → broker (§5.2). A periodic reconcile compares the primary's set hash against each broker's and (via item metadata) the mirror's, and repairs drift from the primary, logging names only. The only bootstrap case where a node lacks both stores is a node with just the Bitwarden CLI: it uses the canonical Bitwarden path — acquire its access token via the existing bootstrap route (the token is itself a vaulted secret, fetched by name) — and from then on it is a primary-capable node. Per Drew: the only time a node doesn't bootstrap to having both stores reachable is if the canonical path doesn't have the secret or the CLI isn't installed.

6. Security analysis

  • Peer trust: broker-to-broker sync introduces no new trust. Peers authenticate with the existing broker tokens under the existing fleet enrollment; a non-enrolled party cannot request a set, a hash, or a push. Put (§5.5) requires the same enrollment-grade auth as other broker admin surface — it is a write into the estate's secret store and is treated that way.
  • Values in transit: values move only on (a) the existing broker channel over the tailnet (WireGuard-encrypted; DERP relays see ciphertext, Broker-stack performance under load: queue reads 8-28s, fleet gh +5s vs direct, DERP-only tailnet path (490-873ms) #13894), and (b) broker↔store TLS. No new plaintext path is created. Full-set peer transfer (v1) widens how much value material crosses the peer channel per sync, which is why it is gated behind hash divergence instead of running every tick.
  • Hash leakage: pair hashes are keyed (§5.3) so a leaked set hash does not enable offline guessing of low-entropy values; hashes are truncated in logs.
  • Logging: names, counts, timings, truncated hashes, and the serving leg — never values, never full hashes, never tokens. Put audit records name + actor + timestamp only.
  • Deletion: a delete in the primary propagates as a set-diff deletion (§5.1/§5.2); peer adoption is wholesale-set replacement from the more-recently-refreshed side, so a deleted secret cannot be resurrected by a stale peer — the peer's older watermark loses by rule.

7. Build slices (dependency-ordered)

S1 — Client bound + one-call refresh (the surviving #13893 fixes). Broker refresh uses one bws secret list; clients fall through a non-serving local broker within ~2–5s. Acceptance: cold refresh measured in seconds on the live set; a fleet secrets get issued during a refresh returns from the laptop tier or errors promptly, never hangs >5s; #13893 closes on this slice's evidence.

S2 — Delta refresh + watermark. Durable watermark with skew overlap; apply-only-changed; deletion by id-set diff; partial list applies nothing. Acceptance: with exactly one secret changed upstream, refresh applies one entry (log shows names/counts) and the set hash moves; with none changed, refresh is a no-op beyond the list call; a killed mid-refresh broker restarts into the pre-refresh set (no eviction, #5504 regression test).

S3 — Set hash + peer status. Keyed set hash (§5.3); brokers expose {set_hash, last_upstream_refresh_at, count} to authenticated peers. Acceptance: two brokers holding the same set report equal hashes; changing one value on one side flips only that side's hash; unauthenticated hash requests are refused.

S4 — Peer pull sync. §5.2 logic on startup and tick; full-set peer payload; upstream fallback. Acceptance: sandbox broker cold start with the laptop peer up reaches serving with zero bws invocations (proven by bws-call logging); cold start with the peer down still reaches serving via upstream; a secret changed on the laptop converges to the sandbox on the next tick without either side calling upstream.

S5 — Client surface: refresh, get --upstream/--no-cache, put. §5.4/§5.5 semantics, including the one-store-node escalation to the laptop for dual write. Includes the 1Password capability spike (verify §3's unverified premise) before the mirror write is built. Acceptance: a put from the sandbox is readable from the laptop broker and present in both stores without waiting for a refresh tick; a put from a Bitwarden-only node lands in both stores via the laptop; refresh reports its serving leg; put audit log contains the name and actor and no value.

S6 — Reconcile + drift repair. Periodic primary↔broker↔mirror hash comparison; repair from primary; alert on persistent drift. Acceptance: a hand-edited mirror entry is detected and restored on the next reconcile, logged by name only; a hand-edited broker cache entry is likewise repaired from the primary; two consecutive failed reconciles raise an alert through the existing PM path.

8. Rollout and rollback

Roll out per slice, laptop broker first, sandbox second (the laptop is the estate's always-has-both node and the natural first peer). S1–S2 are broker-internal and roll back by binary revert to the previous published fleet build. S3–S4 add peer verbs behind a config flag defaulting to off until both sides run the new build; disabling the flag returns both brokers to independent upstream refresh (today's behaviour). S5's put ships dark (verb present, disabled by config) until S6's reconcile is live, so no write path exists before drift repair does. The stores themselves are never migrated — Bitwarden already holds the set; 1Password mirror population is a one-time copy from the primary, verified by hash before S5 enables mirror writes.

9. Verification plan

  • Timed cold-start, peer up: restart the sandbox broker with an empty cache; measure time to serving; assert zero bws calls (S4).
  • Timed cold-start, peer down: stop the laptop broker, restart the sandbox broker empty; it must still reach serving via upstream — the one case Drew named where a full upstream refresh is expected — and the elapsed time is recorded against the S1 baseline (one list call, seconds, vs today's ~160–220s).
  • Hash proof: force a one-value divergence; hashes differ; run sync; hashes equal; sets byte-identical by name+value comparison inside the test harness (values never printed).
  • Put propagation: put from each node class (dual-store laptop, Bitwarden-only sandbox); verify presence in both stores and both brokers, and timing.
  • Drift drill: hand-edit the mirror and a broker cache; reconcile repairs both, logs names only.
  • Log audit: grep all new log paths for a canary value planted via put; it must appear nowhere.

10. Open questions (named deciders)

  1. Primary designation — this design recommends Bitwarden primary / 1Password mirror (§5.6) against Drew's initial lean, on the evidence in §3. Decider: Drew (ratify or reverse; the design's mechanics are unchanged if reversed, but the delta source moves and S2/S5 get harder — §5.6 says why).
  2. Put availability — should put work from any enrolled node at S5, or laptop-only until S6 proves reconcile? Decider: Drew (security posture call).
  3. Peer protocol home — extend the secrets broker's own HTTP surface, or carry sync on the queue-broker channel? Decider: fleet design owner (Archer), settled at S3 from the existing broker code, not by preference.
  4. 1Password write identity — service account vs desktop-integration session for the mirror write. Decider: Archer, after the S5 capability spike (the laptop CLI currently has no configured account in a plain shell).
  5. Token-generation command name for the fleet init bootstrap to-do (companion issue) — Drew left the name undecided ("I don't know, fleet generate a net" was thinking aloud). Decider: Drew, when that to-do is picked up.

11. Companion to-dos (filed alongside, future work)

  • Embed both stores in the fleet binary — a configurable feature embedding 1Password + Bitwarden Secrets access directly into fleet, so a node downloads one binary and has everything it needs. (Issue link added in a comment below.)
  • fleet init bootstrap command — the one-time-token bootstrap (token redeemed at a generic URL) as a fleet command, plus a token-generation command that talks to the Cloudflare worker and returns a one-time token a service can hand to a new server. (Issue link added in a comment below.)

Filed by the SECRETS-PLANE-DESIGN lane, 2026-11-24. Secrets are referenced by name only throughout; no values appear in this issue.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T01:17:34Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

Next
  1. developing-today commented on Nov 24, 2026

    @developing-today
    developing-todayBot
    on Nov 24, 2026 – with developing.today
    Contributor
    More actions

    CODE-5128

  2. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Companion to-dos filed, per §11 of the design:

    • to-do: embed 1Password + Bitwarden Secrets access in the fleet binary (configurable feature) #13950 — embed 1Password + Bitwarden Secrets access in the fleet binary as a configurable feature (future work).
    • to-do: fleet init — one-time-token bootstrap as a fleet command #13952 — fleet init: one-time-token bootstrap as a fleet command, with the token-generation command's name left as an open question for Drew (future work).

    Both are marked future work and sit outside this design's build slices; they cross-link back here.

  3. developing-today
    added
    status:in-review
    on Nov 24, 2026
  4. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #13969 — secrets plane design record (#13948)

    151ef7c
  5. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    SOPS interaction — from the secrets-stack analysis (record: doc/2026-11-24T01-37-13Z_report_secrets-stack-analysis/, PR #13992, merged 5484ff02)

    Drew asked (2026-11-23 ~19:34 CST) whether all secrets management should move to SOPS, and whether SOPS ciphertext is safe in the public repo vs a private secrets repo. The analysis's conclusion, precisely as it touches this design:

    • Composes — no conflict, no supersession. Nothing in this design's six slices changes. SOPS and the broker/store plane govern disjoint sets of secrets:
      • This design (design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948) remains the system of record for runtime-shaped secrets — fetched by machines by name, needing per-access audit, central revocation, rotation without redeploy, and (if it ever arrives) dynamic minting. SOPS has none of those properties (no read-time access control, no audit log, revocation defeated by permanent git history, rotation = edit + commit + redeploy).
      • SOPS is the system of record for config-shaped, deploy-time secrets — values that travel with the configuration that consumes them and are decrypted at activation/apply time (the sops-nix / Flux pattern). No second secrets repo: Tier-B SOPS ciphertext may live in the same public repo under discipline (one file per recipient set, per-host age keys generated on the host, individually rotatable low-to-medium-sensitivity values, no catch-all creation rule). Crown jewels (CA material under Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155 custody, broker/store tokens) never enter git in any form.
    • One seam rule added: a given secret has exactly one home — store/broker or a named SOPS file — decided where fleet-ca: canonical secrets model, provider adapters & custody policy #9158's canonical model / Design: fleet secrets scoping — prefix / vault / store selection, per-device profiles #10358's scoping already resolves names. Promotion is one-way: a SOPS-held value that later needs runtime fetch or fast revocation is rotated into the store and removed from the file (history keeps the old, now-dead value). No demotion back.
    • What this design should NOT absorb: SOPS as a transport or fallback for broker sync. The peer-sync/set-hash machinery here stands on its own; SOPS files are not a sync channel between brokers, and fleet secrets put (§5.5) remains the only write path into this plane.

    Full reasoning, the public-vs-private repo analysis, and the attestation + Keycloak/cert-manager/ESO/OpenBao companion answers are in the record linked above.

  6. dezren39
    added a commit that references this issue on Nov 24, 2026

    secrets S1: one-call broker refresh + client bound (#13948)

    6e36f0f
  7. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Cross-link from the cluster plan (plan of record on #1817, 2026-11-24): Phase 6 (cluster security + secrets wiring) is this design's cluster-time consumer. When the Cozystack cluster lands, the plan adopts — per the secrets-stack record (PR #13992) — External Secrets Operator with this design's broker plane as its backend (the broker stays the runtime source of truth; ExternalSecret resources policy-guarded), cert-manager chained to the fleet CA, and the SOPS Tier A/B discipline for cluster-bound configuration (Tier A never in git; Tier B as SOPS ciphertext under the record's rules). The Phase 1 design child #14016 also applies the tier discipline to Talos/TALM generated secrets when it decides the cluster-config secrets shape. No change to this design's slices is implied — noting the scheduled consumer so the dependency is visible from both sides.

  8. dezren39
    added a commit that references this issue on Nov 24, 2026

    secrets S1: fix stale refresh-cost comment (#13948)

    ae9d4df
  9. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Secrets plane S1 landed as merged-ready PR #14021 (lane oc-code-03, task 21621; do-NOT-merge noted, Archer merges from the record). Scope: pkgs/fleet only (2 files). Measured evidence on the PR: M1 cold refresh 244 secrets in 2.52s via one bws secret list call (was 242 spawns / 160-220s); M2 get-during-refresh returns 503 in 0.0005s, post-load unknown-name 404 via read-through in ~3.4s — never hangs beyond ~5s. Tests green (fleet-queue secrets_broker 26 passed, fleet-secrets 37 passed). Partial/failed list applies nothing (#5504 constraint covered by regression test).

  10. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    1Password ↔ AWS sync pass (2026-11-23): Phase 1 complete — Phase 2 BLOCKED, no AWS access exists

    Drew's order: sync 1Password and AWS Secrets Manager to identical names and secrets, now and going forward. Inventory and diff were run names-only (values never written anywhere; hash comparison planned for the copy pass). The sync could not run: the estate has no AWS access at all. Nothing was copied in either direction; no AWS side was invented.

    AWS verdict: no access (evidence)

    • Laptop: no ~/.aws, no ~/.config/aws, no AWS credential env vars; aws sts get-caller-identity → "Unable to locate credentials."
    • Secrets broker: among all 244 names, zero AWS credentials. The only S3-shaped keys are Cloudflare R2 keys (Cloudflare-scoped, cannot reach AWS Secrets Manager); the rest of the matches are Cloudflare Access / Google / Supabase.
    • 1Password: no AWS credential item in either reachable vault (the one cloud-account item is Oracle Cloud).

    To unblock: provision IAM credentials with Secrets Manager read/write for the target account and store them in the broker by name (suggested: aws.access-key-id / aws.secret-access-key, or an SSO/role route), plus name the target region(s). Once present, the pass is mechanical: copy each one-sided secret under its identical name, hold same-name/different-value conflicts for Drew's ruling, verify by hash.

    1Password inventory (via the broker-held service-account token, name onepassword.service-account-token)

    • Dev: 67 items — 43 LOGIN, 11 API_CREDENTIAL, 9 PASSWORD, 3 DOCUMENT, 1 SECURE_NOTE
    • Walla: 1 item — API_CREDENTIAL (the read service-account token itself)
    • Total: 68 items

    Three-way picture (Bitwarden is inventory-only in this order, not in the sync set)

    • Bitwarden Secrets: 244 names. 1Password: 68 names. Exact-name overlap: 54. Only in 1Password: 14. Only in Bitwarden: 190. AWS: 0 reachable.

    Naming convention (for the copy pass, once unblocked)

    AWS secret names must match [A-Za-z0-9/_+=.@-]+. 61 of 68 1Password titles already conform. Seven cannot exist identically in AWS (spaces, parentheses, colon) — proposed mapping (replace each run of disallowed characters with a single .):

    • Oracle Cloud (developing-today) → oracle-cloud.developing-today
    • Service Account Auth Token: museRW → service-account-auth-token.muserw
    • Service Account Auth Token: muse → service-account-auth-token.muse
    • Sunshine (amd-6) admin → sunshine.amd-6.admin
    • Bitwarden Secrets Manager access token (bws) → bitwarden-secrets-manager-access-token.bws
    • GitHub GHCR classic PAT (ghcr-fleet) → github-ghcr-classic-pat.ghcr-fleet
    • EXAONE ID → exaone-id

    Open choice inside the mapping: also lowercasing (matches the estate's dominant dotted-lowercase style, but renames the already-portable GitHub → github) vs case-preserving (only the seven titles change). Drew's call when the pass is unblocked.

    Representation note

    LOGIN items carry username + password and the DOCUMENT items (the IdP CA material) are file-shaped, so the design should settle a per-category value rule before the copy pass (e.g. LOGIN → password field only, or a JSON object; DOCUMENT → file contents as the string). API_CREDENTIAL / PASSWORD / SECURE_NOTE map to a single string directly.

    Going forward

    The identical-set requirement extends this design's sync set to three stores (the broker plane, 1Password, AWS Secrets Manager). The put-path mechanism (dual/triple-write on fleet secrets put, peer hash proof) is design work on this issue — noted here, not built in this pass.

    Broker hygiene (found on the way)

    Two listed broker names contain spaces and are unfetchable — the client rejects them as invalid names: op muse service account auth token 1password and op museRW service account auth token 1password. The live service-account tokens are the 1Password items in Dev/Walla. Worth cleaning up so the list only names fetchable secrets.

  11. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge PR #14021: secrets S1 — one-call refresh + client bound (#13948)

    35e5d56
  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Open question 1 — 1Password-primary trial: measurements (2026-11-23)

    Drew directed an empirical test of his initial lean (1Password primary) against this design's recommendation (Bitwarden Secrets primary / 1Password mirror). Trial run standalone against the live CLIs on the laptop (op 2.41.1, bws 2.1.0); the production broker was not touched. All pulls discarded output in-process — counts, bytes, field names and timings only, no values recorded.

    Bulk-mode survey (verified live)

    Store Whole-vault pull Shape
    Bitwarden Secrets Yes — bws secret list: 244 secrets, one call, 0.89 s Returns creationDate, id, key, note, organizationId, projectId, revisionDate, value — values and revision stamps in the same call, so delta sync needs no second pass
    1Password Yes, with a caveat — op item list piped to op item get - op item list alone is metadata-only. The stdin form of op item get returned all 67 Dev-vault items in full (82 KB, values present) in 1.03 s, one process. Per-item op item get is the only other route (CLI/SDK/Connect all share it)
    AWS Secrets Manager API exists — BatchGetSecretValue, up to 20 secrets per call (244 secrets = 13 calls) No estate access: laptop has the AWS CLI but zero configured credentials (sts get-caller-identity: "Unable to locate credentials", no ~/.aws); sandbox has no AWS CLI; no AWS credential names in the vault list. Not a live candidate today

    The 1Password pull trial (Dev vault, 67 items — the SA-visible estate is Dev 67 + Walla 1)

    Measurement Result
    op item list (metadata) 0.60 s
    Single op item get (warm) 1.10 s
    Sequential per-item pull, 67/67 ok 71.44 s — 1.066 s/item
    Rate-limit cost of that pull account counter +62 for 69 calls (≈1 request per secret)
    Bulk stdin form (list | get -) 1.03 s for all 67, full values; rate-limit counter unmoved 45 s later — the counter is demonstrably laggy (it sat at 18 across several earlier calls, then jumped), so the bulk form's exact request cost is unverified: a handful of requests, not 67 round trips
    Extrapolation to a 244-secret set (labelled as such) per-item: ≈260 s sequential and ≈244 requests; bulk form: seconds-range wall time

    The constraint that decides it: rate limits on this account

    Live from op service-account ratelimit: token read 1,000/hr, write 100/hr — and an account-wide read+write cap of 1,000 requests per 24 h across all service accounts (this is the small tier; Business would be 50,000/day and this account is not on it). Consequences for a primary store:

    • One per-item full refresh ≈ 244 requests ≈ 24% of the entire account's daily budget in a single pass; the design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948 delta-pull loop would live inside the same 1,000/day pool as every other consumer.
    • Writes are capped at 100/hr per token: a full resync into 1Password (244 puts) takes ≥ ~2.5 h at the cap. Incremental mirroring is unaffected.
    • Bitwarden's path has no equivalent daily cap in our operation, and its one-call list carries revisionDate, which is exactly what the delta design in this issue is built on.

    Verdict

    Making 1Password primary would not make the plane faster, and the recommendation stands — Bitwarden Secrets primary / 1Password mirror — now on measurements, not just structure. The trial did overturn one assumption behind the original analysis: 1Password is not per-item-only — its bulk stdin form pulls the full set in ~1 s, as fast as bws secret list. What keeps it out of the primary seat is everything around that one number: per-item access (the shape get-loops and the SDK take) runs 1.07 s and ~1 request per secret, the account-wide 1,000-requests/day cap makes a primary's refresh + sync + put traffic share a small hard budget, and there is no one-call list carrying values plus revision stamps for the delta loop. 1Password-primary becomes competitive only on a Business-tier account and with the broker rebuilt around the bulk form — and even then it merely ties the 0.89 s call it would replace. As mirror, 1Password is cheaper than assumed: reads can use the bulk form; only a full resync is write-capped.

  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Peer-sync slices queued — S3 = task 21646, S4 = task 21647 (2026-11-24)

    The two peer-sync slices of this design are now packetised and queued in repo-health-code-pilot, mirroring S1's packet (task 21621) — kind feature_slice with payload.slice, priority 70, routed to laptop OpenCode sessions (the broker code in pkgs/fleet is the same code S1's session built), progress on this issue at every boundary, do-not-merge (Archer merges from the ready-to-merge record), no closing keywords. Both read back as queued, unclaimed, at enqueue time.

    • Task 21646 — S3: set hash + peer status. Keyed set hash (§5.3) + authenticated peer status {set_hash, last_upstream_refresh_at, count}; peer verbs behind a default-off config flag (§8); settles open question 3 (peer protocol home) from the broker code and records the decision here. Dedupe key repo-health:v1:slice:developing-today/code:issue:13948:slice-3.
    • Task 21647 — S4: peer pull sync. §5.2 logic on startup and tick: hash-gated full-set peer pull, wholesale adoption from the more-recent side, upstream fallback; proofs per §7/§9 (peer-up cold start with zero bws invocations, peer-down cold start via upstream, no-upstream convergence, deletion non-resurrection). Dedupe key repo-health:v1:slice:developing-today/code:issue:13948:slice-4.

    Ordering / dependency note — S2 is the gap. §7 is dependency-ordered S1 → S2 → S3 → S4, and the dependency is real, not ceremonial: S3's peer status exposes last_upstream_refresh_at, whose durable-watermark semantics are S2's deliverable, and S4's adoption rule (§5.2) compares watermarks — a stale peer's older watermark loses by rule. S1 is done (PR #14021 merged). S2 (delta refresh + watermark) is designed but NOT built and NOT queued — verified 2026-11-24T03:19Z against the live queue (queued/parked/claimed/blocked lists: the only #13948 slice task in existence was S1) and against this issue's comments (no S2 build record). Rather than silently reorder, both new packets name S2 as a hard prerequisite in their body and in payload.slice.depends_on: the claiming session verifies S2's state here first and parks naming the unmet prerequisite if S2 has not landed (S4's packet likewise names S3). Net effect: the peer-sync chain cannot actually start until an S2 packet exists — queueing S2 is the unblocking step for both tasks above.

    Part of #13948. Secrets referenced by name only; no values in this comment.

  14. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Lane any-n (OpenChamber, laptop) claimed queue task 21646 (S3: set hash + peer status). Premise verdict: S2 (delta refresh + durable watermark) has not landed: no build record here and no S2 PR. S3 is parked with a non-person resume condition (a comment on this issue containing S2) and no code was written. No competing S3 PR was found. The protocol-home decision (open question 3) is deferred to the S3 build, which now waits on S2.

  15. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Lane oc-code-05 claimed task 21647 (S4: peer pull sync). Premise verdict: S2 (delta refresh + durable watermark) has no build/merged PR, and S3 (keyed set hash + peer status) remains parked as task 21646 pending S2; the issue history confirms both prerequisites are unmet. No competing S4 PR was found. Per the packet, no code was written; parking S4 until S2 and S3 have merged PRs recorded here. Laptop shell target was unreachable, but the prerequisite check alone determines this park.

    Part of #13948.

  16. 118 remaining items

  17. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Drew answered the user-prompts token question in the main chat, 2026-11-27 04:55 CST: "I didn't declare that they should be 1:1."

    Disposition: the 1Password mirror of turso.laptop-backup-user-prompts-rw-token STAYS in place. Drew never declared the laptop-backup key family (or the two stores) must be uniform 1:1, so the absence of a Bitwarden-only declaration on this key is not an anomaly and its mirrored state needs no fix. The two siblings' declared Bitwarden-only state is untouched. Question closed; do not re-raise.

  18. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    S6 premise recheck — lane agent-next-25-local, 2026-11-27.

    • design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948 is open; this check fetched and count-confirmed all 124 issue comments.
    • S3 PR secrets broker: keyed peer set-hash status (S3) #14249 is merged; the S3 completion record is comment 7212924354.
    • S4 PR fleet secrets: pull newer peer cache on refresh #15874 is merged at 74b7a1644c4adf472d0175f86ffaf5b7ca4a0c24 (2026-11-27 08:23Z). This note records that merge for the S5 prerequisite check.
    • S5 task 21659 is still parked, and the issue thread has no merged S5 PR record. Therefore S5 is not landed and the hard prerequisite for S6 remains unmet.

    No S6 worktree or code was started. Parked task 21660 until #13948 records a merged S5 PR (task 21659 landed). On resume, verify S5's merged record and repeat the full premise/competing-work check before writing S6 code. Part of #13948.

  19. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Reconciliation pass — op-bws-reconcile, 2026-11-27 08:05 CST run — FAILED (laptop + GitHub channels down)

    Interim store-level pass (Bitwarden Secrets primary / 1Password Dev mirror). No store reads or writes were performed and no secret values were handled: every laptop route and every GitHub route failed for the whole run, the same sandbox egress / laptop-channel outage pattern as the failed 2026-11-25 08:05 pass and the 2026-11-27 ~05:xx runs.

    Routes attempted this run (all failed):

    • gh issue view 13948 via the gh shim (fleet gh) — hung, killed; fleet gh --raw and gh-orig — both timed out empty; a final bounded 45 s retry also returned nothing. So design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948's recent comments could not be read live and the failure record could not be posted to the issue this run — that record is still owed once GitHub recovers.
    • Laptop via ~/tools/laptop-ssh.sh (laptop-agent) — laptop-agent: command timed out (exit 124).
    • Laptop via real SSH (LAPTOP_SSH_REAL=1) — timed out at 25 s.
    • Laptop via fleet laptop exec (tier walk) — T1 commander: connect timeout; T2 http: no broker socket at ~/.cache/laptop-agent/broker.sock, cloudflare + tailscale legs "Resource temporarily unavailable"; T3 ssh: no answer within the 90 s bound.

    #13948 state used (from local records, since the live read was impossible): metadata design comment 7122262124; backfill complete comment 7128420701; last successful pass 2026-11-27 02:05 CST (comment 7213252278) — stores converged at BWS 262 / OP Dev 259 + Walla 1, 260 pairs, 254 identical+anchored, after copying turso.laptop-backup-user-prompts-rw-token BWS → OP; Drew's disposition comment 7216480374 (2026-11-27 04:55 CST): that mirror STAYS, siblings untouched, do not re-raise. Held/representation pairs standing: 3 IdP DOCUMENT pairs (idp.ca-passphrase, idp.issuing-ca.key, idp.root-ca.key), tailscale.auth-key / tailscale.auth, Sunshine twins (sunshine.amd-6-admin, sunshine.amd-6.admin); 2 declared Bitwarden-only keys (turso.laptop-backup-fleet-metadata-rw-token, turso.laptop-backup-pm-projector-rw-token).

    Counts: compared 0 · copied 0 · propagated 0 · held-new 0 · anchors refreshed 0 · 1Password writes 0 of ~90 cap. No rate-limit error (no store contact at all).

    Resume state: next pass (once the laptop channel recovers) does the standard fresh bulk compare of both stores and reconciles per the anchor rule; nothing from this run is mid-flight. The failure record owed to #13948 should be posted with that pass or as soon as GitHub is reachable.

    Part of #13948. Names and counts only; no values were read or handled this run.

  20. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Reconciliation pass — op-bws-reconcile, 2026-11-27 14:05 CST run — COMPLETE, 2 copied

    Interim store-level pass (Bitwarden Secrets primary / 1Password Dev mirror), run on the laptop; values handled in-process only — this record carries names, counts, and equality results only. 1Password rate limit at start: token write 100 remaining, account read/write 941 remaining.

    Fresh bulk comparison (before writes): 264 Bitwarden secrets vs 260 1Password Dev items + 1 Walla item; 260 pairs formed by sync.counterpart metadata (falling back to the recorded name mappings). 254 pairs identical and anchored; 0 changed on one side only; 0 both-changed; 0 no-anchor differences; 0 identical-but-unanchored — nothing to propagate, no new conflicts.

    Copied — one-sided pairs, per the anchor rule (2, Bitwarden → 1Password):

    • turso.laptop-backup-ready-for-agent-rw-token — new Bitwarden secret (created 2026-11-27T09:01:16Z, ~03:01 CST today), created as an API_CREDENTIAL item in Dev; the sync-metadata block was completed on both sides (the Bitwarden note's bare [sync-metadata v1] header line was preserved, with sync.counterpart / sync.kind / sync.last-hash appended).
    • turso.laptop-backup-t3code-statev2-rw-token — new Bitwarden secret (created 2026-11-27T09:00:53Z, ~03:00 CST today), same handling as above.

    Both keys are further legs of the laptop-db-backup family and, like turso.laptop-backup-user-prompts-rw-token before them, carry no counterpart: none (Bitwarden-only) declaration — only the bare [sync-metadata v1] header — so per the anchor rule they were copied. This is consistent with Drew's 2026-11-27 04:55 CST disposition (comment 7216480374): no 1:1 uniformity was declared for this family, and mirrored state needs no fix. Not re-raised as a question.

    Left one-sided by their own declaration (2, not copied, not a conflict): turso.laptop-backup-fleet-metadata-rw-token, turso.laptop-backup-pm-projector-rw-token — re-verified this pass: each note carries a [sync-metadata v1] block declaring counterpart: none (Bitwarden-only), so both stay Bitwarden-only as recorded in the earlier passes.

    Held/representation pairs untouched, compare-only: the 3 IdP DOCUMENT pairs (idp.ca-passphrase, idp.issuing-ca.key, idp.root-ca.key); tailscale.auth-key (values equal; tailscale.auth SECURE_NOTE remains the only unpaired 1Password item); the Sunshine twins (sunshine.amd-6-admin, sunshine.amd-6.admin — password components compare equal under the document representation rule).

    Verification (fresh bulk re-read after writes): Bitwarden 264, Dev 262, Walla 1; 262 pairs, 256 identical and anchored, 0 changed, 0 differing, 0 identical-but-unanchored. The only one-sided entries remaining are the 2 declared Bitwarden-only keys above and the held tailscale.auth representation item.

    Counts: compared 260 (262 after writes) · copied 2 (2 to 1Password, 0 to Bitwarden) · propagated 0 · held-new 0 · anchors refreshed 0 (the copied pairs were anchored at create). 1Password writes this pass: 4 of the ~90 self-cap (2 creates + 2 sync stamps), plus 2 Bitwarden note stamps for the copied pairs. Rate limit at end: token write 96 remaining, account read/write 933 remaining. No rate-limit error hit.

    Part of #13948. Secrets referenced by name only; no values in this comment.

  21. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Reconciliation pass — op-bws-reconcile, 2026-11-27 20:05 CST run — COMPLETE, converged, no writes

    Interim store-level pass (Bitwarden Secrets primary / 1Password Dev mirror), run on the laptop; values handled in-process only — this record carries names, counts, and equality results only. 1Password rate limit at start: token write 100 remaining, account read/write 735 remaining (token read 735 remaining).

    Fresh bulk comparison: 264 Bitwarden secrets vs 262 1Password Dev items + 1 Walla item; 262 pairs formed by sync.counterpart metadata (falling back to the recorded name mappings). 256 pairs identical and anchored; 0 changed on one side only; 0 both-changed; 0 no-anchor differences — nothing to copy or propagate, no new conflicts, no stale anchors to refresh.

    Left one-sided by their own declaration (2, not copied, not a conflict): turso.laptop-backup-fleet-metadata-rw-token, turso.laptop-backup-pm-projector-rw-token — re-verified this pass: each note carries a [sync-metadata v1] block declaring counterpart: none (Bitwarden-only), so both stay Bitwarden-only as recorded in the earlier passes.

    Held/representation pairs untouched, compare-only: the 3 IdP DOCUMENT pairs (idp.ca-passphrase, idp.issuing-ca.key, idp.root-ca.key); tailscale.auth-key (values equal, anchor withheld by design; tailscale.auth SECURE_NOTE remains the only unpaired 1Password item); the Sunshine twins (sunshine.amd-6-admin, sunshine.amd-6.admin — values equal under the document representation rule, anchors withheld by design).

    Counts: compared 262 · copied 0 · propagated 0 · held-new 0 · anchors refreshed 0. 1Password writes this pass: 0 of the ~90 self-cap. No rate-limit error hit. Stores remain converged, matching the post-write verification of the 2026-11-27 14:05 CST pass.

    Part of #13948. Secrets referenced by name only; no values in this comment.

  22. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    S5 task 21659 claim + premise verdict (lane code-f, laptop host amd): S2 PR #14054 MERGED; S3 PR #14249 MERGED 2026-11-26T20:49Z; S4 PR #15874 MERGED 2026-11-27T08:23Z (verified fresh via gh). No competing S5 implementation among open PRs. Hard prerequisites now met — proceeding per packet: 1Password capability spike first (design 7-S5), then refresh/get verbs, then put with dual-write. Worktree + branch to follow; PR will carry Part of #13948 with no closing keywords.

  23. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Lane code-f premise note — S5 task 21659 (2026-11-28)

    Gates cleared: S3 PR #14249 MERGED (2026-11-26), S4 task 21647 terminal-done. S5 (client surface: refresh leg reporting, get --upstream/--no-cache, dual-write put behind ships-dark gate, 1Password spike first per section 7-S5) is ready for implementation; this lane did not start it (feature_slice scale exceeds the triage-loop window). Task 21659 parked with resume noting S3+S4 done. Part of #13948.

  24. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    S5 claim + premise verdict (lane oc-code-02, 2026-11-28 ~04:25Z)

    Claimed task 21659 via fleet agent next (queue rung). Premise re-verified firsthand just now:

    • design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948 OPEN, 130 comments count-confirmed; newest are code-f's 03:46Z/03:51Z claim + premise notes (gates cleared, implementation not started — no competing S5 work).
    • S2 PR Secrets plane S2: delta refresh + durable watermark #14054 merged; S3 PR secrets broker: keyed peer set-hash status (S3) #14249 MERGED 2026-11-26T20:49:32Z; S4 PR fleet secrets: pull newer peer cache on refresh #15874 MERGED 2026-11-27T08:23Z, task 21647 done. Hard prerequisites satisfied.
    • Fresh competing-work check: no open PR titles/bodies referencing this slice's implementation (open secrets PRs are unrelated: TLS/trust-version, console, access-auth reads, cold-store rehydrator).
    • Seat: host amd, op + bws CLIs present, laptop target reachable.

    Proceeding per packet: worktree + branch, 1Password capability spike first (design 7-S5), then refresh/get verbs, then put with dual-write behind the ships-dark gate, tests, PR with Part of #13948 and no closing keywords. Worker does not merge.

  25. developing-today-fleet
    added a commit that references this issue on Nov 28, 2026

    secrets-plane S5a: broker last-refresh leg + fleet secrets refresh verb

    2769877
  26. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    code-f S5a slice landed for review: PR #16433 — broker last-refresh leg (peer | upstream-delta | upstream-full) on GET /health + GET /peer/status, and fleet secrets refresh (POST /refresh, poll-to-settle, report leg + set size + watermark).

    Spike verdict (open question 4, write identity BY NAME, no values touched): 1Password write identity is the service-account token via OpTokenRunner::from_environment (OP_SERVICE_ACCOUNT_TOKEN env, else fleet-home .config/op/service-account-token or .config/1password/service-account-token); vault via FLEET_OP_VAULT / [secrets] op_vault. Mirror-write (put dual-write) is explicitly NOT in this slice.

    Tests: fleet-queue secrets_broker 47 pass, fleet-secrets 70 pass, fleet bin secrets 22 pass (6 new). Part of #13948, no closing keywords. Worker does not merge — ready-to-merge decision is Archer's.

    Next: get --upstream/--no-cache + put dual-write slice, or park with resume if the run budget ends first. Task 21659 checkpointed at implementing.

  27. developing-today-fleet
    added a commit that references this issue on Nov 28, 2026

    secrets-plane S5b: get --upstream / --no-cache cache controls

    7d3c484
  28. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    code-f S5b done (stacked on PR #16433): fleet secrets get --upstream / --no-cache. Client-only slice, no broker change, no outage. --upstream keeps the broker network path, --no-cache goes straight to the stores; both together is a usage error; list rejects both. Oracle tests for chain composition + flag contract (71/23/47 pass). Remaining S5: put dual-write + sync metadata (needs broker POST /put + store writes + audit; the big slice — next pass or a fresh claim).

  29. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Reconciliation pass — op-bws-reconcile, 2026-11-28 02:05 CST run — COMPLETE, converged, no writes

    Interim store-level pass (Bitwarden Secrets primary / 1Password Dev mirror), run on the laptop; values handled in-process only — this record carries names, counts, and equality results only. 1Password rate limit at start: token write 100 remaining, account read/write 732 remaining (token read 999 remaining).

    Fresh bulk comparison: 264 Bitwarden secrets vs 262 1Password Dev items + 1 Walla item; 262 pairs formed by sync.counterpart metadata (falling back to the recorded name mappings). 256 pairs identical and anchored; 0 changed on one side only; 0 both-changed; 0 no-anchor differences; 0 identical-but-unanchored — nothing to copy or propagate, no new conflicts, no stale anchors to refresh.

    Left one-sided by their own declaration (2, not copied, not a conflict): turso.laptop-backup-fleet-metadata-rw-token, turso.laptop-backup-pm-projector-rw-token — re-verified this pass: each note carries a [sync-metadata v1] block declaring counterpart: none (Bitwarden-only), so both stay Bitwarden-only as recorded in the earlier passes.

    Held/representation pairs untouched, compare-only: the 3 IdP DOCUMENT pairs (idp.ca-passphrase, idp.issuing-ca.key, idp.root-ca.key); tailscale.auth-key (values equal, anchor withheld by design; tailscale.auth SECURE_NOTE remains the only unpaired 1Password item); the Sunshine twins (sunshine.amd-6-admin, sunshine.amd-6.admin — values equal under the document representation rule, anchors withheld by design).

    Counts: compared 262 · copied 0 · propagated 0 · held-new 0 · anchors refreshed 0. 1Password writes this pass: 0 of the ~90 self-cap. No rate-limit error hit. Stores remain converged, matching the post-write verification of the 2026-11-27 14:05 CST pass and the converged 2026-11-27 20:05 CST pass.

    Part of #13948. Secrets referenced by name only; no values in this comment.

  30. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    on Nov 28, 2026
  31. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Reconciliation pass — op-bws-reconcile, 2026-11-28 08:05 CST run — COMPLETE, converged, no writes

    Interim store-level pass (Bitwarden Secrets primary / 1Password Dev mirror), run on the laptop; values handled in-process only — this record carries names, counts, and equality results only. 1Password rate limit at start: token write 100 remaining, token read 1000 remaining, account read/write 730 remaining.

    Fresh bulk comparison: 264 Bitwarden secrets vs 262 1Password Dev items + 1 Walla item; 262 pairs formed by sync.counterpart metadata (falling back to the recorded name mappings). 256 pairs identical and anchored; 0 changed on one side only; 0 both-changed; 0 no-anchor differences; 0 identical-but-unanchored — nothing to copy or propagate, no new conflicts, no stale anchors to refresh.

    Left one-sided by their own declaration (2, not copied, not a conflict): turso.laptop-backup-fleet-metadata-rw-token, turso.laptop-backup-pm-projector-rw-token — re-verified this pass: each note carries a [sync-metadata v1] block declaring counterpart: none (Bitwarden-only), so both stay Bitwarden-only as recorded in the earlier passes.

    Held/representation pairs untouched, compare-only: the 3 IdP DOCUMENT pairs (idp.ca-passphrase, idp.issuing-ca.key, idp.root-ca.key); tailscale.auth-key (values equal, anchor withheld by design; tailscale.auth SECURE_NOTE remains the only unpaired 1Password item); the Sunshine twins (sunshine.amd-6-admin, sunshine.amd-6.admin — values equal under the document representation rule, anchors withheld by design).

    Counts: compared 262 · copied 0 · propagated 0 · held-new 0 · anchors refreshed 0. 1Password writes this pass: 0 of the ~90 self-cap. No rate-limit error hit. Stores remain converged, matching the converged 2026-11-28 02:05 CST pass.

    Part of #13948. Secrets referenced by name only; no values in this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:in-reviewwork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.