gatefile

v0.1.4
io.github.CloudCorpRecords/gatefile Checked 5 hours ago Published 1 month ago

Extract a repo's contribution gates into machine-readable contribution-gates.json.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

extract_gates

Extract hidden contribution gates from a repo's docs into a contribution-gates.json object

ParameterTypeDescription
repo *stringRepo in owner/repo form, e.g. shadcn-labs/pdfcn
localPathstringLocal directory to read instead of the GitHub API

validate_gates

Compare a recorded contribution-gates.json object against a fresh extraction and report drift

ParameterTypeDescription
recorded *objectParsed contribution-gates.json to validate
repo *stringRepo in owner/repo form, e.g. shadcn-labs/pdfcn
localPathstringLocal directory to read instead of the GitHub API

gates_badge

Render a README markdown snippet summarizing a repo's contribution gates

ParameterTypeDescription
repo *stringRepo in owner/repo form, e.g. shadcn-labs/pdfcn
localPathstringLocal directory to read instead of the GitHub API