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 — feat(fleet-queue): journal checkpoint + handoff reference model (JRN-03, #9465) by dezren39 · Pull Request #14346 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Refs #9465 (JRN-03 — checkpoint and handoff snapshot interoperability). Lands the slice's owned surface only; #9465 stays open for its remaining gates.

What this lands

pkgs/fleet/crates/fleet-queue/src/work/journal.rs — the checkpoint schema/projection from the #9208 design §3.4, as a pure model in the same shape as its sibling work/ modules (contracts, lifecycle, completion):

  • CheckpointRef (fleet.journal-checkpoint/v1): objective, completed steps, outstanding work, important paths, branch + commit ref, test state, hard blocker edge refs, per-source activity cursor refs, hydration generation ref, next action, session/worker ownership, stream sequence, supersedes pointer.
  • Private by construction: visibility is validated to be exactly private; a payload presenting public_projection is a typed rejection (non_private_visibility), never a projection.
  • Freshness is explicit: assess_freshness / project_resume — a checkpoint behind the stream sequence, or superseded at any sequence, projects as Stale with the numbers on the value; it never silently reads as current.
  • Negatives as typed errors: secret-bearing paths screened out (secret_path), missing commit identity rejected (missing_commit_identity), a test named in two outcome buckets rejected (conflicting_test_state) so a pending test can never be shown passed.
  • HandoffRef (fleet.journal-handoff/v1): old/new owner + lease release/takeover result anchored to a checkpoint. It has no completion field, and its workflow-state projection is the identity — a handoff never implies completion.
  • Migration: earlier v1 payloads without the optional hydration/supersedes/session/run refs stay readable (serde defaults; tested).

Foreign surfaces stay opaque refs, per the design: cursor and hydration formats remain #9207's, receipt formats #9513's, and the lifecycle command that writes checkpoints remains #9206/CLI-05's.

Gate note

The done-check (recorded on #9465) found the document gate PR #9225 merged and JRN-01 #9463 closed since the last revalidation. CLI-05 #9502, HYD-01 #9458, REL-03 #9513 and JRN-02 #9464 remain open; this slice prejudges none of their surfaces (it consumes them only as opaque typed refs), and JRN-02 has not landed journal.rs, so the same-file collision its sequencing edge guarded against does not occur — JRN-03 is the file's named owner.

Verification (remote only, fleet queue dispatch)

Run 45394999084 on this branch head, conclusion success (the run's tail was the known fleet-command post-step hang; the Execute step completed first):

  • cargo test -p fleet-queue --lib --features client,queue-broker pmo_journal_checkpoint -- --list — all 7 tests listed by exact name, including the slice's oracle pmo_journal_checkpoint_round_trip_preserves_cursor_and_commit_refs.
  • Exact filter run: 7 passed / 0 failed (637 filtered out), each named test ok in the log.
  • Full fleet-queue lib suite: 644 passed / 0 failed.

No new dependencies (serde/serde_json/sha2 stack already in the crate). No queue, database, service, or CLI surface added.


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
felix
feat(fleet-queue): journal checkpoint + handoff reference model (JRN-…
47ee2c9
…03, #9465)

Checkpoint schema/projection in src/work/journal.rs per the #9208
design §3.4: objective, done/remaining, screened paths, branch/commit
ref, disjoint test-state buckets, blocker edge refs, per-source
cursor refs and hydration ref, next action. Private-only visibility,
explicit staleness (a superseded or behind-stream checkpoint never
projects current), and a handoff reference that records ownership
transfer without implying completion.

Oracle: pmo_journal_checkpoint_round_trip_preserves_cursor_and_commit_refs
plus negative tests for the stale/secret-path/no-commit-identity/
pending-shown-passed cases named by the slice, and a legacy-payload
readability test (old checkpoints stay readable).
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 53 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: c801eeab-ce10-4e12-95b7-acba448d6226
Commits

Reviewing files that changed from the base of the PR and between 5fdef25 and 47ee2c9.

Files selected for processing: 2

  • pkgs/fleet/crates/fleet-queue/src/work/journal.rs
  • pkgs/fleet/crates/fleet-queue/src/work/mod.rs
  • 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.

@dezren39 dezren39 mentioned this pull request Nov 24, 2026
design(pm-orchestration): Checkpoint and handoff snapshot interoperability #9465
Open
@dezren39
dezren39 merged commit 7683b26 into main Nov 24, 2026
2 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the felix/9465-next-slice branch November 24, 2026 12:57
This was referenced Nov 24, 2026
books: spot-check follow-ups from the 2026-11-24 daily pass #14428
Closed
design(pm-orchestration): typed dependencies, notes, journal & field authority #9208
Open
docs(fleet-book): state the JRN-03 journal checkpoint + handoff reference model (#14428 item 2) #16535
Merged
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.