updates (#1614-3): the local-updates offline target test, the throwaway-only guard, and arming #1614's markers #1619

Closed
opened 2026-09-19 00:34:34 +00:00 by ben · 3 comments
Owner

Parent: #1614 (the Updates-lane proof drive) — slice 3 of 3. Blocked by slice 2.

What to build

scripts/tests/rehearsal-local-updates-target-test.sh (model on rehearsal-v2-fleet-target-test.sh; the scripts/tests/*.sh glob in scripts/seam-smoke.sh picks it up): the marker local-updates routes to the local-guest world + the updates drive; the spec file exists and its leg list matches the documented seven; the feed-server and publish helper exist and are torn down on both exits; the drive refuses to run against anything but a throwaway gateway (it signs with the committed TEST key — it must never be pointed at a kept community's feed pair).

Then arm #1614: add the two drive body markers to #1614's body — the HTML-comment markers rehearsal-target with value local-updates and rehearsal-confirm with value 1, in the exact form the other queued drives use (see #1277's body; they are deliberately NOT written out literally here, because the swarm's ready-list treats any issue whose body carries a literal rehearsal-target marker as a queued drive and skips it — which is what kept this ticket unclaimed) and comment there that the drive is ready to queue on elitebook-03 (REHEARSAL_DRIVE_QUEUE, exclusive slot). Do NOT edit the host's env — that is a human step.

Acceptance

  • The target test passes and is part of scripts/seam-smoke.sh
  • Given a feed pair that is not the drive's own TEST-key feed at founding, Then the drive refuses to start
  • #1614 carries the two markers and a ready-to-queue comment

STATUS.md in the same commit.

## Parent: #1614 (the Updates-lane proof drive) — slice 3 of 3. Blocked by slice 2. ## What to build `scripts/tests/rehearsal-local-updates-target-test.sh` (model on `rehearsal-v2-fleet-target-test.sh`; the `scripts/tests/*.sh` glob in `scripts/seam-smoke.sh` picks it up): the marker `local-updates` routes to the local-guest world + the `updates` drive; the spec file exists and its leg list matches the documented seven; the feed-server and publish helper exist and are torn down on both exits; the drive refuses to run against anything but a throwaway gateway (it signs with the committed TEST key — it must never be pointed at a kept community's feed pair). Then **arm #1614**: add the two drive body markers to #1614's body — the HTML-comment markers `rehearsal-target` with value `local-updates` and `rehearsal-confirm` with value `1`, in the exact form the other queued drives use (see #1277's body; they are deliberately NOT written out literally here, because the swarm's ready-list treats any issue whose body carries a literal rehearsal-target marker as a queued drive and skips it — which is what kept this ticket unclaimed) and comment there that the drive is ready to queue on elitebook-03 (`REHEARSAL_DRIVE_QUEUE`, exclusive slot). Do NOT edit the host's env — that is a human step. ## Acceptance - [ ] The target test passes and is part of `scripts/seam-smoke.sh` - [ ] Given a feed pair that is not the drive's own TEST-key feed at founding, Then the drive refuses to start - [ ] #1614 carries the two markers and a ready-to-queue comment STATUS.md in the same commit.

swarm-claim host=bens-mac-04 run=27194
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=27194 (automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=27194
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=27194 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1619 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1619,
  "status": "success",
  "commits": [
    "fb98d322"
  ],
  "changed_files": [
    "STATUS.md",
    "scripts/lib/rehearsal-updates-feed-lib.sh",
    "scripts/smoke-private-path.sh",
    "scripts/tests/rehearsal-local-updates-target-test.sh"
  ],
  "tests": [
    {
      "command": "bash scripts/tests/rehearsal-local-updates-target-test.sh",
      "exit_code": 0
    }
  ],
  "criteria": {
    "The target test passes and is part of scripts/seam-smoke.sh": "scripts/tests/rehearsal-local-updates-target-test.sh — 9 checks pass (exit 0); auto-covered by seam-smoke.sh's `for t in scripts/tests/*.sh` sweep (seam-smoke.sh:147)",
    "Given a feed pair that is not the drive's own TEST-key feed at founding, Then the drive refuses to start": "updates_feed_assert_throwaway in scripts/lib/rehearsal-updates-feed-lib.sh returns 3 on a non-TEST public key (or a foreign feed URL); smoke-private-path.sh calls it via `|| die_host` on the --drive updates leg before anything is cut/served. Exercised offline in the target test check 6 (accept own TEST key, refuse a non-TEST key with exit 3, accept empty ambient pair, refuse a foreign feed URL)",
    "#1614 carries the two markers and a ready-to-queue comment": "#1614 body now carries `<!-- rehearsal-target: local-updates -->` + `<!-- rehearsal-confirm: 1 -->` (#1277's form); ready-to-queue comment id=50383 posted naming elitebook-03 / REHEARSAL_DRIVE_QUEUE (exclusive slot)"
  },
  "summary": "Closed the Updates-lane offline tail: a throwaway-only founding guard, the target test's seven-leg + teardown + guard checks, and #1614's queue markers/comment.",
  "blockers": []
}
**close-report** for #1619 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1619, "status": "success", "commits": [ "fb98d322" ], "changed_files": [ "STATUS.md", "scripts/lib/rehearsal-updates-feed-lib.sh", "scripts/smoke-private-path.sh", "scripts/tests/rehearsal-local-updates-target-test.sh" ], "tests": [ { "command": "bash scripts/tests/rehearsal-local-updates-target-test.sh", "exit_code": 0 } ], "criteria": { "The target test passes and is part of scripts/seam-smoke.sh": "scripts/tests/rehearsal-local-updates-target-test.sh — 9 checks pass (exit 0); auto-covered by seam-smoke.sh's `for t in scripts/tests/*.sh` sweep (seam-smoke.sh:147)", "Given a feed pair that is not the drive's own TEST-key feed at founding, Then the drive refuses to start": "updates_feed_assert_throwaway in scripts/lib/rehearsal-updates-feed-lib.sh returns 3 on a non-TEST public key (or a foreign feed URL); smoke-private-path.sh calls it via `|| die_host` on the --drive updates leg before anything is cut/served. Exercised offline in the target test check 6 (accept own TEST key, refuse a non-TEST key with exit 3, accept empty ambient pair, refuse a foreign feed URL)", "#1614 carries the two markers and a ready-to-queue comment": "#1614 body now carries `<!-- rehearsal-target: local-updates -->` + `<!-- rehearsal-confirm: 1 -->` (#1277's form); ready-to-queue comment id=50383 posted naming elitebook-03 / REHEARSAL_DRIVE_QUEUE (exclusive slot)" }, "summary": "Closed the Updates-lane offline tail: a throwaway-only founding guard, the target test's seven-leg + teardown + guard checks, and #1614's queue markers/comment.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1619
No description provided.