Skip to main content

Module ship

Module ship 

Source
Expand description

Ship bookkeeping.

Holds the Hermes cron-instructions manifest (used to resume a rate-limited DevFlow run later) plus the pure document-finalization transform (CHANGELOG) used on ship completion.

Structs§

CronInstructions
Manifest consumed by Hermes to resume a rate-limited DevFlow run later.
HermesCronJob
Hermes one-shot cron job payload.
ResumeCommand
Command + args that resume the DevFlow workflow.

Enums§

ShipError
Errors produced by ship bookkeeping.

Functions§

build_cron_instructions
Build a Hermes cron-instructions manifest for resuming sequentagent.
cron_instructions_path
Path to a phase’s cron-instructions record. Per-phase since 14a (13-DEFERRED-CR-03): the old single-slot cron-instructions.json let one phase’s rate-limit record clobber another’s under devflow parallel.
cron_schedule_from_retry_after
Convert a retry timestamp to M H D M W cron syntax, rounding up to the nearest minute. Supports RFC3339-like timestamps and Unix epoch seconds.
delete_cron_instructions
Remove a phase’s cron-instructions record (and a legacy single-slot record naming the same phase). Idempotent.
list_cron_instructions
Every pending cron-instructions record (per-phase files plus a legacy single-slot one), sorted by phase. Unparsable files are skipped.
load_cron_instructions
Load a phase’s Hermes cron instructions, or ShipError::Missing if absent. Falls back to a legacy single-slot record when it names this phase.
prepend_changelog
Prepend a CHANGELOG entry for version, creating a standard header if the file did not exist. Pure transform over the existing CHANGELOG contents.
write_cron_instructions
Persist Hermes cron instructions for the phase recorded inside them.