AI & RAG

On-demand API: return commit-cited rationale for any config key

A webhook accepts a repo path and config key and returns a JSON answer explaining why that value is set, grounded in the introducing commit and linked ADR, so dashboards, IDE…

CategoryAI & RAG
Enginepaperclip
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWebhook receives repo path + config keyHTTP webhook
  • LogicValidate input and resolve the config file
  • ActionRun GitLab blame/log for the introducing commitGitLabGitLab
  • ActionRetrieve matching ADR from ConfluenceConfluenceConfluence
  • ActionCompose grounded explanation from sources
  • OutputReturn JSON with value, rationale, SHA, and ADR linkHTTP webhook

What it does

Exposes config-rationale retrieval as a callable HTTP endpoint. Send it a repo path and a config key; get back structured JSON with the current value, the explanation of why it's set, the introducing commit SHA, the author, and any cited ADR. Other tools embed this without scraping Git themselves.

When to use it

When you want rationale lookups available programmatically — inside an internal dashboard, an IDE hover plugin, an incident runbook, or a chatops integration you already maintain. One source of truth, many consumers.

How it works

  1. 1An HTTP webhook receives a request with repo path and config key.
  2. 2A logic step validates the input and resolves the file location.
  3. 3The workflow runs GitLab blame/log to find the introducing commit and message.
  4. 4It retrieves the matching ADR from Confluence by reference or similarity.
  5. 5The agent composes a concise grounded explanation tied to those sources.
  6. 6It returns a JSON response with value, rationale, commit SHA, author, and ADR link.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect GitLabRepos, MRs, pipelines, registry.
  3. 3
    Connect ConfluenceSpaces, pages, blueprints.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.