Skip to content

chore: full workflow toolset - #5

Merged
thenotoriousllama merged 1 commit into
mainfrom
chore/repo-init-baseline
Aug 21, 2026
Merged

thenotoriousllama merged 1 commit into
mainfrom
chore/repo-init-baseline

Conversation

@thenotoriousllama

@thenotoriousllama thenotoriousllama commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary

  • Replaces ghl-workflow-exporter with ghl-workflow-tools — the fuller MV3 extension (background agent, popup UI, zip/unzip helpers for workflow import/export, icons)
  • Adds the grounded-warfighter workflow lineage asset to library/ (png/jpg/lineage.json)

Notes

Summary by CodeRabbit

  • New Features

    • Added workflow backup and restore capabilities through a Chrome extension.
    • Added Export and Import tabs with progress tracking, workflow selection, file upload, and per-item results.
    • Supports ZIP and JSON backups, draft creation, existing-workflow matching, and optional published-workflow replacement.
    • Added deterministic backup archives for consistent exports.
    • Added safeguards requiring confirmation before overwriting published workflows.
  • Documentation

    • Added comprehensive installation, usage, format, permissions, limitations, and changelog documentation.
  • Refactor

    • Replaced the previous workflow exporter interface with the expanded backup and restore experience.

@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 96ee7cc3-2a31-4498-9bda-0b0351ac3233

📥 Commits

Reviewing files that changed from the base of the PR and between cf56852 and 92387c6.

⛔ Files ignored due to path filters (5)
  • ghl-workflow-tools/icons/icon128.png is excluded by !**/*.png
  • ghl-workflow-tools/icons/icon16.png is excluded by !**/*.png
  • ghl-workflow-tools/icons/icon48.png is excluded by !**/*.png
  • output/imagegen/legion-toolset-ghl-grounded-warfighter.jpg is excluded by !**/*.jpg
  • output/imagegen/legion-toolset-ghl-grounded-warfighter.png is excluded by !**/*.png
📒 Files selected for processing (14)
  • ghl-workflow-exporter/README.md
  • ghl-workflow-exporter/agent.js
  • ghl-workflow-exporter/popup.css
  • ghl-workflow-exporter/popup.html
  • ghl-workflow-exporter/popup.js
  • ghl-workflow-tools/README.md
  • ghl-workflow-tools/agent.js
  • ghl-workflow-tools/manifest.json
  • ghl-workflow-tools/popup.css
  • ghl-workflow-tools/popup.html
  • ghl-workflow-tools/popup.js
  • ghl-workflow-tools/unzip.js
  • ghl-workflow-tools/zip.js
  • output/imagegen/legion-toolset-ghl-grounded-warfighter.lineage.json

📝 Walkthrough

Walkthrough

The PR replaces the workflow exporter with a GHL Workflow Backup extension. It adds workflow export and import flows, deterministic ZIP support, authenticated API operations, a new popup interface, updated documentation, and an image lineage record.

Changes

Workflow backup and restore

Layer / File(s) Summary
Authenticated workflow agent
ghl-workflow-tools/agent.js
The agent probes HighLevel state, lists workflows with pagination, retrieves workflow details, and handles authenticated requests.
Archive generation and export
ghl-workflow-tools/popup.js, ghl-workflow-tools/zip.js
The popup sanitizes workflow data, creates deterministic JSON files, builds ZIP archives, and downloads backups.
Workflow import and restore
ghl-workflow-tools/popup.js, ghl-workflow-tools/agent.js, ghl-workflow-tools/unzip.js
The extension parses ZIP or JSON backups, matches workflows, supports create and overwrite modes, replaces triggers, and restores workflow data.
Extension interface and documentation
ghl-workflow-tools/manifest.json, ghl-workflow-tools/popup.html, ghl-workflow-tools/popup.css, ghl-workflow-tools/popup.js, ghl-workflow-tools/README.md
The manifest, popup interface, styles, event wiring, and README describe backup and restore operations.
Removed exporter implementation
ghl-workflow-exporter/*
The previous exporter README, agent, popup markup, popup logic, and stylesheet were removed.

Image lineage record

Layer / File(s) Summary
B_scene image lineage
output/imagegen/legion-toolset-ghl-grounded-warfighter.lineage.json
The record stores image output identity, generation metadata, media classification, attribution data, and capture identity status.

Estimated code review effort: 4 (Complex) | ~45 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Operator
  participant Popup
  participant WorkflowAgent
  participant HighLevelAPI
  participant ZIPArchive
  Operator->>Popup: Select export or import operation
  Popup->>WorkflowAgent: Probe location and authentication
  WorkflowAgent->>HighLevelAPI: Request workflow data
  HighLevelAPI-->>WorkflowAgent: Return workflow data
  WorkflowAgent-->>Popup: Return workflow results
  Popup->>ZIPArchive: Build or read backup archive
  Popup->>WorkflowAgent: Import selected workflow
  WorkflowAgent->>HighLevelAPI: Create or update workflow and triggers
  HighLevelAPI-->>WorkflowAgent: Return restore result
  WorkflowAgent-->>Popup: Report success or failure
Loading

Suggested reviewers: legioncodeinc

Poem

A rabbit packs workflows neat,
In ZIPs with files in rows complete.
It hops through triggers, fresh and bright,
Restores drafts with careful sight.
Backup blooms from morning’s run—
/\_/\\ the work is done!

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/repo-init-baseline

Comment @coderabbitai help to get the list of available commands.

@thenotoriousllama
thenotoriousllama merged commit b8ca467 into main Aug 21, 2026
3 of 4 checks passed
@thenotoriousllama
thenotoriousllama deleted the chore/repo-init-baseline branch August 21, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant