GeezerVison is showing github.com — feat(bedside): BA-W07 backend integration, private release and operational evidence · Issue #9371 · developing-today/code
feat(bedside): BA-W07 backend integration, private release and operational evidence #9371DescriptionParent and source
Parent: #9359. Design intake: #9361 (merged). Scope: BA-076–077, BA-090–091, BA-093–096, BA-101–102 in doc/2026-11-13T07-28-00Z_design_bedside-and-away/requirement-ledger.md.
Work-graph key: BA-W07. Owner authorized full implementation on 2026-11-13. This is a bounded component design-and-build work item, not a claim of reviewed design or delivered functionality. Complete the component contract/review and implementation plan first; split additional leaf issues if that review requires them.
Dependencies
#9365 (BA-W01), #9366 (BA-W02), #9367 (BA-W03), #9368 (BA-W04), #9369 (BA-W05), #9370 (BA-W06), #9372 (BA-W08)
Deliverable
Land application source into developing-today/code after reviewed component plans. Retain dedicated backend/Turso isolation and native cf deployment, not Wrangler. Define provider-placement adapter and capabilities without dual-write promises; inventory old D1/new Turso separately. Rehearse additive migrations, backup/restore, rollout/rollback and secret lifecycle. Verify integrated UI/API behavior, mobile accessibility and data preservation. Maintain requirement-to-design-to-issue-to-test-to-release matrix.
Acceptance and negative tests
Restore rehearsal preserves IDs, counts, placements, annotations and event versions; unauthorized direct Worker calls fail; retries do not duplicate writes; old/new client compatibility is bounded; rollback cannot silently overwrite newer data; gateway restart/read/write/search and denied cases pass; no unrelated route changes, public access or Atlas ingestion; every BA ID has evidence or explicit disposition.
External gates and explicit non-claims
Private audience and existing routes remain unchanged. ChatGPT surface/authentication is optional and requires supported provider capability, never session/cookie passthrough. No all-feature completion claim while external acceptance gates remain blocked. Application PRs and deployment need distinct receipts.
Completion evidence
- Reviewed component design with requirement mapping, alternatives, interfaces and rollback.
- Concrete implementation plan and linked leaf issues where needed.
- Tested implementation and PR/commit evidence, distinguishing local, merged and deployed.
- Integrated acceptance evidence, or explicit remaining blocked/optional/deferred BA dispositions.
Queue disposition: deliberately not externally enqueued. Aster's internal implementation lanes are actively coordinating this owner's request; automatic fleet dispatch would create duplicate writers. This issue records the work graph and does not request Archer/Muse dispatch. Revisit queue ownership explicitly if internal work is handed off. Keep #9359 open until coverage and release evidence are reconciled. Activitydeveloping-today commented on Nov 13, 2026 dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged — externally owned, do not dispatch
- Agent: repo-queue-worker-shift (lane any-d)
- Session / ID: task 18940 (repo-health-code-pilot)
- Outcome: Triaged. NO follow-on enqueued and no fleet work started — deliberately.
Verdict: this issue's own queue disposition (verified fresh in its body, 2026-11-17) states: "deliberately not externally enqueued. Aster's internal implementation lanes are actively coordinating this owner's request; automatic fleet dispatch would create duplicate writers. This issue records the work graph and does not request Archer/Muse dispatch. Revisit queue ownership explicitly if internal work is handed off."
Same finding as its sibling BA-W02 (#9366, triaged in task 18935 this shift): the 2026-11-16 bulk-intake queue reload created triage tasks for the bedside BA work graph (parent #9359) against the issues' stated disposition. The fleet does not build parallel work against an active owner. BA-W07 (#9371) is Aster-lane work; fleet queue ownership is revisited only on an explicit handoff. No labels were changed by this triage.
dezren39 commented on Nov 17, 2026 agent-note:v1
kind: done
task: 20391
actor: openchamber scheduled lane code-h (repo-worker-code)
summary: Re-triaged. Fresh state: open, no new activity since 18940. Verdict unchanged: externally owned, do not dispatch. No follow-on packet. Task completed as triaged. dezren39 commented on Nov 24, 2026 🤖 Agent note · BA-W07 second pass — verification, remainder completed, blockers recorded
First-pass verdict. The application, component designs, external Turso/gateway adapter and the staged protected release workflow genuinely landed on main (PRs #9379, #9383, #12563, BA-W01 slices). Two claims failed verification:
external/README.md cites node external/test.mjs as the validation for signed authentication, replay prevention, forged identity stripping and atomic rollback — the file never existed in git history. The root .gitignore test.* pattern silently swallowed it during the first pass; the external boundary was untested while the README claimed coverage.
- Ledger rows BA-095/BA-096 ("no application commit/design PR/main merge established") are stale and are superseded by the dispositions in the evidence record.
Remainder completed in PR #14289.
external/test.mjs written (Hrana-shaped fixture over native SQLite): encoding round-trip, atomic rollback, conditioned-step skipping; unsigned/wrong-key/stale/wrong-origin/tampered Worker calls → 401; nonce replay rejected; forged identity headers stripped; gateway read/write/search, denied logins and cross-origin writes → 403, gateway restart preserving data and writes.
tests/restore-rehearsal.mjs: fixture-level backup/restore rehearsal — IDs, counts, placements, annotations, memberships and event versions identical after restore (row-level equality: 2 stores, 3 events, 3 memberships, 1 invitation, 4 access events); restored DB serves members, denies non-members, accepts the next versioned write; restoring an older backup over newer data is refused.
scripts/test.mjs now runs the external suite; .gitignore negation added so the file cannot be swallowed again.
- Evidence record with per-BA dispositions (BA-076, 077, 094, 095, 096, 101, 102 satisfied; BA-090 partial; BA-091 partial/blocked; BA-093 deferred/optional) and the acceptance-criteria mapping.
Remote evidence. Fleet run 45371500215 on commit fd6ff71c2: success — Node v24.22.3 (fetched by the run; the executor image ships no Node), node scripts/test.mjs, all 25 test files passed including all six new PASS lines.
Blockers (exact steps, also in the evidence record).
- Production promotion — hands item (repo admin + credential custody). Create GitHub Environments
bedside-and-away-version-upload and bedside-and-away-production with required reviewers. Upload env secrets: CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_API_TOKEN; vars: BEDAWAY_TURSO_URL, BEDAWAY_GATEWAY_ORIGIN. Production env secrets: CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_API_TOKEN; var: BEDAWAY_WORKER_URL. Then dispatch bedside-and-away-release.yml with action upload from main, record the version ID + full source SHA from the run summary, and dispatch action promote with those exact values. No live deployment has occurred; the manual native-cf operator path remains the live route meanwhile.
- Live operational rehearsal (release checklist steps 3–6: real-database migration rehearsal, verified live backup restore, staging smoke, deployed SHA + unsigned-rejection verification) requires step 1's environment and is not claimed from fixtures.
- BA-090 visual/accessibility parity remains unverified. BA-093 stays deferred/optional by design (no session/cookie passthrough).
Completion checklist: the first two boxes (reviewed component design; implementation plan and leaf issues) are satisfied by #9361, design/ and the work graph. The third (tested implementation, PR/commit evidence distinguishing local/merged/deployed) is satisfied by this record once #14289 merges — merged is not deployed. The fourth stays open: blocked/optional/deferred dispositions are recorded, and final BA-W07 acceptance reconciles when #9365–#9370 and #9372 close. Keeping #9371 and #9359 open.
developing-today-fleet commented on Nov 26, 2026 🤖 Triage verdict — task 24718 (oc-code-03), 2026-11-26
Fresh verification: PR #14289 is MERGED (merge commit b5246646fc7e49565c965123a4c3ab2cf27226f012, merged 2026-11-24). Its recorded remote run passed all 25 test files, including the external-boundary and restore-rehearsal suites. This closes the prior “once #14289 merges” evidence condition for tested implementation; it does not establish production deployment or live operational rehearsal.
Keep #9371 and parent #9359 open. The remaining documented gates are production environment setup/promotion and the live database migration/backup-restore/staging/deployed-SHA rehearsal; BA-090 remains partial pending visual/accessibility parity, BA-091 partial/blocked, and BA-093 deferred/optional. Reconcile final BA-W07 acceptance after dependencies #9365–#9370 and #9372 close.
No new Fleet implementation packet: the issue explicitly says the Aster internal implementation lanes coordinate this work and external dispatch would create duplicate writers. Revisit queue ownership only on an explicit handoff. No labels changed. dezren39 commented on Nov 27, 2026 🤖 Triage verdict — queue task 25620 (xaltha lane), 2026-11-26
Re-triage of the coverage-reconciliation import. Fresh verification this pass:
- Issue still OPEN; no new comments or activity since the 2026-11-26 verdict (task 24718, oc-code-03). No open PR references feat(bedside): BA-W07 backend integration, private release and operational evidence #9371.
- Parent spec(bedside-and-away): run the initial design mill before implementation landing #9359 and every dependency (feat(bedside): BA-W01 identity, store membership and granular authorization #9365, feat(bedside): BA-W02 canonical item graph, variants, ordering and annotations #9366, feat(bedside): BA-W03 versioned commands, durable history and safe replay #9367, feat(bedside): BA-W04 defaults, research jobs, evidence and scoped refresh #9368, feat(bedside): BA-W05 decision UX, inventory, receipt staging and reports #9369, feat(bedside): BA-W06 general and contextual steering with verified orchestration #9370, feat(bedside): BA-W08 source-list recovery and product-research acceptance gates #9372) are still OPEN, so the final BA-W07 acceptance reconciliation the prior verdict waits on cannot run yet.
- The issue's own queue disposition is unchanged and controlling: deliberately not externally enqueued — Aster's internal lanes coordinate this work graph; automatic fleet dispatch would create duplicate writers.
Verdict: unchanged — externally owned, do not dispatch. PR #14289 (merged 2026-11-24) already supplies the tested-implementation evidence; what remains is owner-side production environment setup/promotion and the live migration/backup-restore rehearsal, plus BA-090/BA-091/BA-093 dispositions. No fleet implementation packet, no follow-on task enqueued. Keep #9371 and #9359 open until dependencies close and release evidence is reconciled.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|