Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

kg-suite-fleet-overview-action

CI License: AGPL-3.0-or-later

GitHub Action that walks a mixed-protocol directory of Kinetic Gain Suite JSON documents, routes each via kg-protocol-detect, groups by (protocol, spec_version), and posts a unified one-page composition overview as a PR comment. Optionally fails the run when core protocols are missing from the fleet or unrouted documents exceed a threshold.

Wraps kg-suite-fleet-overview — the composition capstone.

Completes the cross-protocol governance Action quartet alongside:

Part of the Kinetic Gain Suite.


Usage

name: Suite fleet overview
on:
  pull_request:
    paths: ["governance-docs/**"]

jobs:
  overview:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: mizcausevic-dev/kg-suite-fleet-overview-action@v0.1-shipped
        with:
          dir: governance-docs/
          fail-on-missing-protocol: true   # optional

Inputs

input required default description
dir Directory containing *.json Suite documents (mixed protocols supported).
comment-on-pr auto auto posts only on pull_request events.
fail-on-missing-protocol false Fail when any of the 4 core protocols is missing from the fleet.
fail-on-unrouted false Fail when any file did not match a known Suite protocol.
max-unrouted Max allowed unrouted documents before failing (overrides fail-on-unrouted).
github-token ${{ github.token }} Token used to post the PR comment.

Outputs

output description
total-files Number of JSON files analyzed.
protocols-detected Number of distinct Suite protocols detected.
missing-protocols Number of core protocols missing from the fleet.
unrouted-files Number of files that did not match any known Suite protocol.

What the PR comment shows

  • Composition by protocol — counts + version diversity per Suite spec
  • Missing core protocols — callout when AgentCards / Tool Cards / Prompt Provenance / Evidence Bundles aren't represented
  • Per-protocol tables — id, name, version for every doc in that bucket
  • Low-confidence routings — docs detected by shape signals only
  • Unrouted documents — JSON files that didn't match any spec

Composes with

License

AGPL-3.0-or-later

About

GitHub Action wrapping kg-suite-fleet-overview. Posts a unified one-page composition overview as a PR comment. Optionally fails on missing-core-protocol or unrouted-doc threshold. Completes the cross-protocol Suite governance Action quartet.

Topics

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages