Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rabbit-repo

rabbit.ci is the repository integration layer for Rabbit CI.

Run one command in a repository:

rabbit.ci

It writes .rabbit/repo.yaml and reports the read-only integration context: repository identity, current default branch, GitHub visibility and permissions available to the current gh token, repo-owned signals, and the next missing pieces worth improving.

The generated file is intentionally small and committed with the code. Dynamic state stays in command output, so it remains current without leaking secrets or turning GitHub state into permanent repository truth.

Status

This is the focused successor to the repository integration work that first lived in dev.kit. dev.kit remains responsible for broad generated context; Rabbit CI execution remains in its integrations and backends.

Quick start

Generate, inspect in JSON, or validate the current contract:

bin/rabbit.ci
bin/rabbit.ci --json
bin/rabbit.ci --check

--json is the dynamic integration interface. It contains no token or secret values. A GitHub repository is queried only when an origin points to GitHub; the output distinguishes unavailable tooling, an unauthenticated token, insufficient access, and a repository that is not visible to the token.

Contract

The v1 contract is intentionally small:

  • repository.name identifies the codebase.
  • repository.owner is included when a GitHub origin supplies one.
  • repository.default_branch is the best locally or remotely observed default.
  • discovery.read_only: true guarantees discovery never reads secret values or mutates GitHub, workflow, environment, or cloud state.

Read the repository contract, repository discovery and initialization, and dev.kit migration boundary before extending it.

Development

make test

Product context

Rabbit CI helps teams own how software moves—and proves the work as it moves. Its delivery route is repository-centric, policy-governed, and evidence-producing: move fast, protect the path, craft proofs.

About

Repository contract tooling for Rabbit CI

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages