Product Station · Dev & ops

Framagit

Template

Framagit is a GitLab forge run by Framasoft: repositories, issues and merge requests.

Thanks to this station, AI agents can safely do all of that as well. A merge needs a human's review.

Opened to agents, through a station

Source

API operations

framagit-repos

  • readReporeadmapped
  • openIssuewritemapped
  • openMergeRequestwritemapped
  • mergeMergeRequestwritemapped

Not mapped

  • pushToMainnot mapped

An operation the station does not map is out of every agent's reach.

Capabilities

MCP
Skills and playbooks agents can call
  • read-reposkill

    Read repo.

    Calls · readRepo

  • open-issueskill

    Open issue.

    Calls · openIssue

  • open-merge-requestskill

    Open merge request.

    Calls · openMergeRequest

  • merge-merge-requestskill

    Merge merge request.

    Calls · mergeMergeRequest

  • report-and-proposeplaybook

    In order: read-repo, then open-issue, then open-merge-request.

    Steps · read-repo, open-issue, open-merge-request

Policies

Checked by the station

At each access

  • The contributor profile may call readRepo, openIssue, openMergeRequest, mergeMergeRequest; nothing else.contributor

At each action

  • A merge needs a human's review.human-for-merge

Scenario Replays

An agent works through the station. Simulated scenarios, no real data, no key required.

Open an issue

What you will see: Reporting and proposing are free, deciding is not.

Agent connected to the station through MCP
  1. HumanReport the contact form bug.
  2. AgentI'll look at the repository, then open an issue.
  3. MCP callreadRepo(path: "formulaire")
  4. StationCode read.OKRule applied: profile contributor
  5. MCP callopenIssue(title: "Bug du formulaire de contact")
  6. StationIssue opened with the context attached.OKRule applied: playbook report-and-propose

The configuration in detail

station_config.yamlRead the docs →

Everything the station does fits in this file. The replay above applies it, and a copy starts from it. The values are examples to adapt, not a recommendation.

station:
  id: framagit
  kind: product
  policies:
    - {policy: human-for-merge, at: submit}

global:
  language: en
  timezone: Europe/Paris

apis:
  - id: framagit-repos
    operations:
      readRepo:            {access: read}
      openIssue:           {access: write, risk: low}
      openMergeRequest:    {access: write, risk: medium}
      mergeMergeRequest:   {access: write, risk: high}
    # not listed, so not available to the agent:
    # pushToMain

profiles:
  contributor:
    allow: [readRepo, openIssue, openMergeRequest, mergeMergeRequest]

policies:
  human-for-merge:
    type: rule
    when: "action == mergeMergeRequest"
    effect: needs-human
    reason: "A merge needs a human's review."

skills:
  - {id: read-repo, uses: readRepo}
  - {id: open-issue, uses: openIssue}
  - {id: open-merge-request, uses: openMergeRequest}
  - {id: merge-merge-request, uses: mergeMergeRequest}

playbooks:
  - id: report-and-propose
    tasks: [read-repo, open-issue, open-merge-request]