Skip to content

feat(marketplace): add archon-smart-mr-review (GitLab counterpart)#1681

Merged
github-actions[bot] merged 1 commit into
coleam00:devfrom
lraphael:feat/marketplace-archon-smart-mr-review
May 14, 2026
Merged

feat(marketplace): add archon-smart-mr-review (GitLab counterpart)#1681
github-actions[bot] merged 1 commit into
coleam00:devfrom
lraphael:feat/marketplace-archon-smart-mr-review

Conversation

@lraphael

@lraphael lraphael commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Problem: Archon ships GitHub-focused workflows (gh CLI); GitLab users have no parallel for the smart multi-agent PR review.
  • Why it matters: GitLab teams want the same review automation — resolvable Discussion threads, auto-approval, reviewer assignment, ai-code-review commit status.
  • What changed: Adds one marketplace entry pointing to lraphael/archon-gitlab-workflows@55ca7349/archon-smart-mr-review (workflow YAML + 9 commands using glab).
  • What did NOT change: No code in Archon itself. Only packages/docs-web/src/data/marketplace.ts (+12 lines).

Change Metadata

  • Change type: feature
  • Primary scope: docs (marketplace registry)

Linked Issue

  • None — community contribution

Validation Evidence

bun run validate
# exit 0 (with isolated HOME=$(mktemp -d) to avoid local ~/.archon/workflows pollution
# of dag-executor.test.ts; the failure is pre-existing, not introduced by this PR)

bun run packages/docs-web/scripts/lint-marketplace.ts
# PASSED — all 7 entries valid, my new entry verified at SHA 55ca7349
#   ✓ [archon-smart-mr-review] directory verified at 55ca7349

Security Impact

  • New permissions/capabilities? No — workflow uses standard glab CLI
  • New external network calls? Only glab API (already a standard tool for GitLab users)
  • Secrets/tokens handling changed? No — uses existing glab auth session
  • File system access scope changed? No — reads + '$ARTIFACTS_DIR' +, writes review artifacts + comments via glab

Self-attestation (per CONTRIBUTING.md):

  • The workflow does not exfiltrate data, credentials, or secrets
  • The workflow does not execute destructive operations without user confirmation (no code changes, only review posting)
  • I have the right to share this workflow publicly (MIT licensed in source repo)
  • The pinned SHA points to a reviewed, stable version of the workflow

Compatibility / Migration

  • Backward compatible? Yes (additive entry)
  • Config/env changes? Optional ARCHON_GITLAB_REVIEWER env var (default: ai-agent)
  • Database migration needed? No

Human Verification

  • Verified scenarios: lint-marketplace.ts confirms source URL + SHA resolve; schema matches existing entries; entry renders identically to peer entries (video-generic, archon-idea-to-wo).
  • Edge cases checked: tested with isolated HOME to confirm no test regression; ran full bun run validate cleanly.
  • What was not verified: End-to-end run via the marketplace install flow (archon workflow install <slug>) — the workflow itself has been used in an adapted form internally; this is the cleaned, English-only, project-neutral version.

Side Effects / Blast Radius

  • Affected subsystems: marketplace registry only. No runtime code touched.
  • Potential unintended effects: Users who install this workflow will run glab commands against their GitLab — same trust model as any community workflow.
  • Guardrails: SHA pinning + automated marketplace-security-scan in CI.

Rollback Plan

  • Revert this commit (single-file addition). The source repo lraphael/archon-gitlab-workflows is independent.

Risks and Mitigations

  • Risk: Workflow could behave unexpectedly on first community use.
    • Mitigation: Source repo is MIT-licensed and pinned to commit SHA; issues can be filed against lraphael/archon-gitlab-workflows; the workflow itself is read-only on code (no self-fix step).
  • Risk: GitLab API rate limits during multi-agent review.
    • Mitigation: All agents run via $ARTIFACTS_DIR files; only synthesize-review + post-review hit GitLab API.

Source Repo

Summary by CodeRabbit

  • New Features
    • Added "Smart GitLab MR Review" to the marketplace, a new tool providing automated review capabilities for GitLab merge requests. Includes review and automation functionality. Requires compatibility with v0.3.0 or higher. Available for immediate marketplace access and integration.

Review Change Stack

GitLab counterpart to archon-smart-pr-review. Adaptive code review of a
GitLab MR — Haiku classifies which review agents are relevant, runs them
in parallel, posts resolvable Discussion threads, auto-approves on 0
critical findings.

Source: lraphael/archon-gitlab-workflows@55ca7349
@coderabbitai

coderabbitai Bot commented May 14, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b64d294b-ad21-41d1-9ea4-9a387f182531

📥 Commits

Reviewing files that changed from the base of the PR and between 1bea125 and 158a6a8.

📒 Files selected for processing (1)
  • packages/docs-web/src/data/marketplace.ts

📝 Walkthrough

Walkthrough

This PR adds a new marketplace entry for the Smart GitLab MR Review plugin to the Archon marketplace catalog, including its slug, name, author, description, GitHub repository URL, pinned commit SHA, feature tags, and minimum version compatibility constraint.

Changes

Marketplace Catalog Entry

Layer / File(s) Summary
Smart GitLab MR Review marketplace entry
packages/docs-web/src/data/marketplace.ts
Added archon-smart-mr-review as a new MarketplaceEntry object with metadata: name ("Smart GitLab MR Review"), author (lraphael), description, sourceUrl, pinned sha, tags (review, automation), and archonVersionCompat (>=0.3.0).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • coleam00/Archon#1678: Both PRs modify packages/docs-web/src/data/marketplace.ts by adding new entries to the same exported marketplaceEntries array with similar pinned-SHA and metadata structure.
  • coleam00/Archon#1624: This PR adds a new object to marketplaceEntries, which is the same marketplace catalog introduced and validated by the workflow marketplace v0 changes in PR #1624.
  • coleam00/Archon#1639: Both PRs modify packages/docs-web/src/data/marketplace.ts by appending new MarketplaceEntry objects to the shared exported marketplaceEntries array.

Poem

🐰 A review tool joins the marketplace home,
Smart MR checking wherever you roam,
Tags shine bright—review and automation too,
Lraphael's gift, now shared for all to use,
One entry added, the catalog grows anew! 📚

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marketplace Auto-Review: Approved & Merging

Minimal, well-scoped change (registry entry only) with clean security scan, valid schema, proper SHA pinning, and comprehensive validation. Zero runtime code changes to Archon. Follows established marketplace patterns. Safe to merge.

Reviewed and auto-merged by Archon marketplace-pr-review-and-merge workflow.

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