sflow-push

Inspect or safely retry a preserved pre-Story transport intent without force-pushing or guessing remote state.

SKILL.md

GitHub

Transport recovery

<!-- sflow-copilot-pause -->

Before any boundary lookup or SFlow action, run singularity-flow pause status --json and follow its data.agentInstruction. If data.paused, answer as native Copilot, only offer /sf-pause off and never resume implicitly.

<!-- sflow-output-contract: deterministic-mutation -->

Output contract: Let the CLI validate and mutate state; preserve its exact result, warnings, publication status, artifacts, and next actions. Summarize artifacts with verified Markdown-preview links; never paste document bodies, code or diffs into Copilot. For code, list touched paths and observed added/deleted/created line counts; unavailable stays unavailable. Use existing evidence, not extra calls solely for display. Summaries, links and opened previews are not human review or approval. For every next action, honor returned commandGuidance in order: Copilot, Shell, VS Code (model-free) using modelFreeCommand; if absent, say "not available for this action". Missing Copilot: "no verified equivalent". Never invent routes.

<!-- sflow-execution-boundary -->

Boundary: machine-local; no repository or Story required. Use explicit arguments or SFlow-returned paths; never search $HOME or infer a repository. Use exact CLI-returned paths. repositoryPath is command cwd, not a prefix for absolute file paths. Never rebase paths or strip .git/worktrees. Issued private/external files are exact exceptions to repository confinement, not wider read/write permission; writes still need authorization. Resolve relative paths only against their declared base. On failure, preserve the path and error; never search or recreate it.

Use this skill when a workspace, capability, configuration, or initialization push was interrupted before a Story publication journal existed.

  1. Run singularity-flow push status --json, or singularity-flow push status <INTENT-ID> --json when the user supplied an ID.
  2. Explain the preserved local commit, exact target ref, attempt budget, and classified fault. Never request a token, disable TLS, bypass hooks, or suggest force.
  3. Ask before mutation. When the user selects retry, run singularity-flow push retry <INTENT-ID> --json exactly once.
  4. Report the returned status. outcome-unknown means stop: the remote could not be read, so another push is not authorized. remote-diverged or needs-user requires human reconciliation.

Story publication remains owned by singularity-flow sync; do not substitute this outbox for a Story pending-publication record.