sflow-push
Inspect or safely retry a preserved pre-Story transport intent without force-pushing or guessing remote state.
Files1
View on GitHubSKILL.mdplugin/skills/sflow-push/SKILL.md
GitHubTransport 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.
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.
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.
- Run
singularity-flow push status --json, orsingularity-flow push status <INTENT-ID> --jsonwhen the user supplied an ID. - Explain the preserved local commit, exact target ref, attempt budget, and classified fault. Never request a token, disable TLS, bypass hooks, or suggest force.
- Ask before mutation. When the user selects retry, run
singularity-flow push retry <INTENT-ID> --jsonexactly once. - Report the returned status.
outcome-unknownmeans stop: the remote could not be read, so another push is not authorized.remote-divergedorneeds-userrequires human reconciliation.
Story publication remains owned by singularity-flow sync; do not substitute this outbox for a Story pending-publication record.