Files
OmniRoute/skills/cli-backup-sync/SKILL.md
Diego Rodrigues de Sa e Souza b46bb6d6f1 feat(quality): temporary relax of complexity/file-size ratchets for v3.8.50-3.8.54 PREPARE phase (#8767)
* feat(quality): temporary relax of complexity/file-size ratchets for v3.8.50-3.8.54 PREPARE phase

OWNER-APPROVED TEMPORARY rebaseline covering the v3.8.50 release cut + the entire
PREPARE phase (5 minor cycles .50-.54 per docs/ROADMAP.md).

Current state (pristine release/v3.8.49 tip cc53f45749):
  - complexity.count         = 2188
  - cognitiveComplexity.value =  971
  - file-size cap / testCap   =  800 / 800

New ceilings (+20% over the original 2x-drift proposal):
  - complexity.count         = 2774 (+586 = +26.8%)
  - cognitiveComplexity.value = 1223 (+252 = +26.0%)
  - file-size cap / testCap   = 1000 / 1000 (+200 each = +25.0%)

Justification:
  - +20% buffer over the 2x-daily-drift proposal absorbs the v3.8.50 release cut
    spike (33-PR Train 1D + ~37-PR Train 2 backlog + post-freeze re-home rebase
    churn) without per-PR rebaseline noise.
  - Frozen files (>900) remain frozen (only-shrink); cap-relax unblocks the 21
    files in the 801-900 cliff for new leaf extraction during PREPARE.
  - 105 files >1000 still require structural decomposition regardless (debt #3501).

RE-TIGHTENING MANDATORY in v3.8.51 (track via roadmap issue to open in this PR):
  - complexity.count target = 2282 (shrink of 492 via combo.ts/chatCore.ts
    decomposition scheduled in .51/.52 per ROADMAP.md)
  - cognitiveComplexity.target = 1009 (shrink of 214 via same decomposition wave)
  - file-size cap / testCap target = 850 / 850

Window: v3.8.50 (release cut, 2026-07-28 target) -> v3.8.54 close (RE-TIGHTEN
executed at v3.8.51 prep merge per ROADMAP.md).

This entry is the LAST rebaseline in this file unless a measured regression appears.
v1 (2x drift, 2188->2312 / 971->1019 / 800->900) retained below for audit trail.

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>

* fix(skills): regenerate cli-backup-sync SKILL.md (sync with generator)

Generated by: node --import tsx/esm scripts/skills/generate-agent-skills.mjs --apply

Resolves check:agent-skills-sync failure on PR #8767 (Merge integrity gate).

Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>

---------

Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com>
2026-07-27 12:23:57 -03:00

3.7 KiB

name, description
name description
cli-backup-sync Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

Overview

Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

backup

Example:

omniroute backup

backup create

Flags:

  • --name <name>
  • --cloud
  • --encrypt
  • --key-file <path>
  • --exclude <pattern>
  • --retention <n>

Example:

omniroute backup create

backup auto

Example:

omniroute backup auto

backup enable

Flags:

  • --cron <expr>
  • --cloud
  • --encrypt
  • --retention <n>

Example:

omniroute backup enable

backup disable

Example:

omniroute backup disable

backup status

Example:

omniroute backup status

backup restore [backupId]

Flags:

  • --list
  • --yes

Example:

omniroute backup restore [backupId]

task

Example:

omniroute task

cloud create

Flags:

  • --title <t>
  • --prompt <p>
  • --prompt-file <path>
  • --repo <url>
  • --branch <b>
  • --metadata <json>

Example:

omniroute cloud create

cloud list

Flags:

  • --status <s>
  • --limit <n>

Example:

omniroute cloud list

cloud get <taskId>

Example:

omniroute cloud get <taskId>

cloud status <taskId>

Example:

omniroute cloud status <taskId>

cloud cancel <taskId>

Flags:

  • --yes

Example:

omniroute cloud cancel <taskId>

cloud approve <taskId>

Example:

omniroute cloud approve <taskId>

cloud message <taskId> <message>

Example:

omniroute cloud message <taskId> <message>

cloud sources <taskId>

Example:

omniroute cloud sources <taskId>

cloud cloud

Example:

omniroute cloud cloud

cloud agents

Example:

omniroute cloud agents

cloud auth

Flags:

  • --no-browser
  • --timeout <ms>

Example:

omniroute cloud auth

sync

Example:

omniroute sync

sync push

Flags:

  • --target <t>
  • --bundle <list>
  • --dry-run

Example:

omniroute sync push

sync pull

Flags:

  • --source <s>
  • --merge
  • --replace
  • --dry-run

Example:

omniroute sync pull

sync diff

Flags:

  • --source <s>
  • --target <t>

Example:

omniroute sync diff

sync bundle <outPath>

Flags:

  • --include <list>

Example:

omniroute sync bundle <outPath>

sync import <bundlePath>

Flags:

  • --dry-run

Example:

omniroute sync import <bundlePath>

sync initialize

Flags:

  • --from-cloud

Example:

omniroute sync initialize

sync tokens

Example:

omniroute sync tokens

sync list

Example:

omniroute sync list

sync create

Flags:

  • --name <n>
  • --scope <s>
  • --ttl <duration>

Example:

omniroute sync create

sync revoke <id>

Flags:

  • --yes

Example:

omniroute sync revoke <id>

sync status

Example:

omniroute sync status

sync resolve

Example:

omniroute sync resolve