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 — pm-stack: gate restore-rehearsal on verified restore point (#3989) by developing-today-fleet[bot] · Pull Request #16316 · developing-today/code

Conversation

@developing-today-fleet

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

Uh oh!

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

Copy link
Copy Markdown
Contributor

Slice of #3989 (pm-stack host-independence tracker): wire the fail-closed restore-point gate into the rehearsal driver.

Gap: restore-rehearsal.sh only checked [ -f "$BK" ] and could report success against an empty/failed/stale generation. Sibling cutover drivers (kaneo-cutover.sh promote, grist-pad-sync.sh --mode final) already refuse unless restore-point-check.py verifies a complete generation with archive identity and verified local+R2+Drive copies within 36h.

Change (3 files):

  • pm-stack/scripts/restore-rehearsal.sh: new required --backup-record-file FILE, optional --max-backup-age-hours N (default 36, positive int); strict Design: unknown means stop — one strict argument contract for the repo's operator scripts #3352 parsing (unknown/malformed/excess → exit 2 before any subprocess). Fail-closed gate via real restore-point-check.py: refusals exit 3 with REFUSED before any extraction or container start.
  • pm-stack/scripts/restore-rehearsal.test.sh: fixture record generator (ok/failed/stale/r2/nodigest/missing) + refused expectation (exit 3, no calls, no scratch dir, REFUSED in output); all existing scenarios now pass an ok record.
  • pm-stack/scripts/restore-rehearsal-args.test.py: argv contract updated (backup-record flag required, equals-form + flag-after-date accepted, stale record refused exit 3 by the real gate, raised max-age honors it); no-Docker, fixed seed.

Evidence:

  • bash pm-stack/scripts/restore-rehearsal.test.sh → 0 failing cases (36 scenarios incl. 8 new gate cases)
  • python3 -I pm-stack/scripts/restore-rehearsal-args.test.py → OK (7 tests)
  • shellcheck -S warning on driver + test → clean
  • Failing-first verified: updated tests against the unmodified driver failed (exit 2 on the new record arg) before the fix.

Revertable: single driver + its two suites; no workflow/doc references to the old zero-arg CLI outside these files. Live-host work (provisioning, laptop-off drill) stays out of scope on #15008.

{
  "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-27T20:51:15Z",
    "session_id": "ses_e5de1664195ffe65UvbpY0m0GU",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/oc-code-01-3989-rehearsal-gate",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/oc-code-01-3989-rehearsal-gate",
      "repo": "developing-today/code",
      "branch": "oc-code-01/3989-rehearsal-restore-point-gate",
      "sha": "a3b02221cca456f834a5d9e8ecb4a6ae3652111c"
    },
    "auth_subject": "oc-code-05",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

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
@dezren39
pm-stack: gate restore-rehearsal on verified restore point (#3989)
a3b0222
restore-rehearsal.sh now requires --backup-record-file and enforces the
same fail-closed restore-point-check.py gate the cutover drivers use
(complete generation, archive identity, local+R2+Drive verified, 36h
default max age). Refusals exit 3 before any extraction or container
start; usage errors exit 2 before any subprocess. Both driver suites
cover the new contract with the real gate, not stubs.
@coderabbitai

coderabbitai Bot commented Nov 27, 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: b6c9003a-f2a3-43cf-accf-c2f2a598dedd

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-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
impl(pm-stack): move stateful services off the laptop and prove host failover #3989
Open
7 tasks
@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 1452-F (bravo SUSTAIN landings discovery) claiming this PR for verify-then-merge under standing merge authority. Claim-scan done: all comments/reviews read — only the CodeRabbit skip, no live claim. Dispatching an exact-head fleet-command verification run; will merge on a log-verified pass + head stable/CLEAN, or park here with evidence.

All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today-fleet

developing-today-fleet Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Lane 1452-F verification evidence: fleet-command run 46067883600 completed SUCCESS on exact head a3b0222. Linux job 140737554095 log read firsthand: 'HEAD is now at a3b0222', 'Target HEAD: a3b0222', restore-rehearsal.test.sh → '0 failing cases', restore-rehearsal-args.test.py → 'OK' — matching the PR body evidence (36 scenarios + 7 tests). (fleet actions exec start was attempted first and failed with the known TLS UnknownIssuer dispatch error, no run created; rotated to fleet-command per standing practice.) Head stable across two reads, OPEN/non-draft/CLEAN/MERGEABLE. Merging under standing merge authority.

All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot merged commit b381a93 into main Nov 27, 2026
2 checks passed

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot deleted the oc-code-01/3989-rehearsal-restore-point-gate branch November 27, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

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.

1 participant

@dezren39
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.