Repository navigation
Done
Labels
priority/normalOrdinary priority (the default)
Description
Part of #13948 (secrets plane). Filed 2026-11-30 under Drew's ruling of 2026-11-30 (main chat): "dual write should be picked up."
Finding
The #13948 design's end state — a put verb that writes both stores at write time, making the periodic reconcile a backstop instead of the only sync — is designed but parked (S5; queue task 21659 parked). Until it ships, every write lands in one store and waits on a reconcile that itself depends on a single seat's transport (see the multi-source sync issue filed the same night).
Work
- Un-park S5 and ship the dual-write
putverb per the design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948 design record: one call writes Bitwarden Secrets (primary) and the 1Password mirror, stamps the sync metadata (counterpart names, kind, last-hash anchors) on both sides at write time. - Partial-failure semantics: if one side fails, the verb reports exactly which side landed and leaves a name-only record the reconcile can close; never claim both on a one-sided write.
- Migrate the standing write paths (bws-only create/edit flows used by seats) to the verb, or document precisely which flows remain single-store and why.
- The reconcile's job body already states it runs "until the design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948 S5 dual-write put verb ships" — on landing, note the transition on design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948 and adjust the reconcile to backstop cadence.
Acceptance criteria
- A
putof a new name is immediately resolvable from BOTH stores, with matching sync metadata and last-hash anchors. - A forced one-sided failure is reported as one-sided (by store name) and is closed by the next reconcile pass without a hold.
- design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948 records the S5 landing; the reconcile cron's premise note is updated to match.
{
"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-30T10:00:18Z",
"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)"
}
}Metadata
Metadata
Assignees
Labels
priority/normalOrdinary priority (the default)
Activity
developing-today-fleet commentedon Nov 30, 2026
🤖 Priority banding — Felix lane 0640-PX: unbanded →
priority/normal— the design end state (dual-write at write time) — real programme work, but the acute exposure is covered by the backup-path and multi-source-sync slices; ordinary priority, not itself time-critical. Filed minutes earlier under Drew's 2026-11-30 secrets-plane rulings; banded at first triage per the standing prioritization duty. No other labels changed.dezren39 commentedon Nov 30, 2026
Claim — Xaltha lane 0212-CF (2026-11-30). Taking #17143: ship the dual-write
putverb per the #13948 S5 design — one call writes Bitwarden Secrets (primary) + the 1Password mirror, stamps sync metadata on both sides at write time, one-sided failures reported by store name with a name-only record the reconcile can close. Worktree route from the surviving code clone; PR withCloses #17143to follow. If a sibling is already on this, say so here and I will stand down.dezren39 commentedon Nov 30, 2026
Progress — lane 0212-CF. Implementation in progress on branch
xaltha/17143-dual-write-put(worktree from the surviving code clone; empty branch pushed first).fleet-secrets: newOpStore(theopwrite counterpart ofOpSource— create/edit by title, read-back verified, value-free errors);BwsStore::store_with_note(stamp carried in the secret's note, verified on read-back);SecretStoretrait over both;sync_stamp(fleet-sync/1 counterpart=<store>:<name> kind=secret hash=<truncated SHA-256 anchor>);dual_put— primary (Bitwarden) first as commit point, then mirror, one-sided mirror failure reported by store name + a name-only pending record (fleet-sync.pending.<name>) left in the primary for the reconcile to close; primary failure lands nothing and never touches the mirror.fleet secrets put <name>verb (value on stdin, both stores must be configured or it exits 3 naming the missing one — never a silent single-store write);set --store 1passwordnow writes throughOpStore(fleet secrets scoping S4: scopedfleet secrets setverb #15433's refusal retired).set+putsections; verbs.md table completed.cargo check -p fleet-secretsclean;cargo test -p fleet-secrets81 passed. Fleet-crate check + CLI tests running; remote verification via repo CI on the pushed branch to follow.feat(fleet-secrets): dual-write put verb — OpStore, sync stamps, pend…
Merge pull request #17167 from developing-today/xaltha/17143-dual-wri…
dezren39 commentedon Nov 30, 2026
Landed — lane 0212-CF. PR #17167 MERGED (merge commit 9c7d483); this issue auto-closed on the merge.
Verification:
cargo check -p fleet-secrets+cargo check -p fleetclean;cargo test -p fleet-secrets81 passed (7 new: OpStore create/edit/error hygiene, cross-side stamp agreement, dual-put both-landed / one-sided+pending-record / primary-failure isolation). CLI test-profile build was still compiling on this seat at merge time (wake: local run log /tmp/test-fleet-cli.log on the xaltha seat; fix-forward if it surfaces anything).Recorded remainder (not silently dropped): acceptance 1's live leg — a real
putresolvable from both stores — needs a dual-provisioned seat (this seat: no configuredopaccount, no Bitwarden write project in a plain shell). First dual-provisioned seat runs:fleet secrets put <canary-name>with a throwaway value, thenfleet secrets getthrough each store chain, and records the result here. The reconcile premise transition is recorded on #13948 (comment 7276500829).developing-today-fleet commentedon Nov 30, 2026
🤖 Lane 0900-G (xaltha, 2026-11-30) — 0212-CF wake RE-PARKED with a named blocker:
cargo test -p fleet --bin fleet secrets@ 9c7d483 still has no verdict; both execution routes are blocked by other packages' failures, not by the secrets tests.Attempts (all logs read firsthand):
9c7d48358was treated as a branch name. Dispatch error, no verdict. (Lesson: fleet-run refs must be full SHAs.)mcpx-0.1.0derivation's check phase fails:FAIL …/pkgs/mcpx/internal/sdnotify 1800.111s(test hung to the 1800s timeout; all other mcpx packages ok), thenCannot build '…nix-shell-env.drv'. Filed as mcpx derivation check fails: internal/sdnotify test hangs to 1800s timeout — blocks pkgs/fleet nix dev shell #17255.openssl-sys("Could not find directory of OpenSSL installation… pkg-config could not be found"). The fleet crates genuinely need the nix shell's OpenSSL, so there is no cargo route around the mcpx blocker today. (An earlier attempt, run 46456532373, also showed the runner CARGO_HOME cache is not writable by the test user; worked around with CARGO_HOME=/tmp.)Wake state: OPEN, blocked on #17255 (mcpx sdnotify check hang). The moment the mcpx derivation builds again, one standard dispatch (
cargo test -p fleet --bin fleet secretsin the pkgs/fleet nix shell at or after 9c7d483) discharges this wake. No secrets test has run yet, so nothing here is evidence for or against PR #17167's CLI test module.developing-today-fleet commentedon Nov 30, 2026
🤖 Blocker cleared — lane 0900-CK (xaltha, wave 0900 wake lane gen-3), 2026-11-30. (This is the unblock note lane 0900-AZ was to post on landing; posting it now so the wake state is unambiguous.)
The blocker named in lane 0900-G's re-park (comment 7284266946) is fixed: issue #17255 (mcpx
internal/sdnotifycheck-phase hang) is CLOSED — PR #17350 MERGED 2026-11-30T17:33:09Z, merge commit1ee20e843adb31f1d6815e441ee129bb0aabf569. Root cause (0900-AZ, firsthand): the dialed unixgram fd could be in blocking mode with no netpoller, so a 7-byteREADY=1write parked in the kernel past every deadline; the fix bounds the whole send by its context.Per G's recipe, I am discharging this wake now: one standard dispatch of
cargo test -p fleet --bin fleet secretsin the pkgs/fleet nix shell at current main (fb747faf4ce19d5c7bc67025104087c3b6f842fe, which contains the #17255 fix and PR #17167's merge9c7d48358). The verdict will be read from the test-result lines in the run log (pipefail set; the run label alone is not the verdict) and posted here.developing-today-fleet commentedon Nov 30, 2026
🤖 Wake re-dispatch round 1 — lane 0900-CK (xaltha, wave 0900), 2026-11-30. NO-VERDICT (venue ceiling); wake stays open, round 2 in flight.
Run 46477330052 — G's recipe exactly (
cargo test -p fleet --bin fleet secrets, pkgs/fleet nix shell, pipefail) at current mainfb747faf4ce19d5c7bc67025104087c3b6f842fe(Target HEAD confirmed in log; this head carries both PR #17167's merge and the #17255 fix merge1ee20e843a) — concluded CANCELLED at 2026-11-30T18:48:31Z: the Execute step ran 58 minutes and was killed by the job's 60-minute timeout. Log read firsthand: the command produced zero output in that span (the dev-shell build never finished), there is no mcpx derivation failure anywhere in the log, and no test ran. This is a provisioning-time wall, not a regression and not evidence about the secrets tests — the #17255 hang is gone; what remains is that a cold dev-shell build at this head does not fit in the default 60-minute job.Round 2 (in flight): run 46492191336, same command and head,
--timeout-minutes 120, followup of the cancelled run for cache reuse. Its log-read test counts discharge this wake.