Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "full-github",
"version": "0.2.1",
"version": "0.3.0",
"description": "Source-backed GitHub capability discovery and execution for Codex, including repository, organization and enterprise workflows.",
"author": {
"name": "ThinkHome",
Expand Down
22 changes: 22 additions & 0 deletions .github/DISCUSSION_TEMPLATE/ideas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
title: "[Idea] "
labels: [enhancement]
body:
- type: textarea
id: outcome
attributes:
label: Desired user outcome
description: Explain the workflow and the configuration choices it needs.
validations:
required: true
- type: textarea
id: current
attributes:
label: Current behavior and proposed change
description: Include existing capability or option IDs when known.
validations:
required: true
- type: textarea
id: evidence
attributes:
label: Sources and acceptance evidence
description: Link official documentation or a community incident and describe how the result can be verified.
20 changes: 20 additions & 0 deletions .github/DISCUSSION_TEMPLATE/q-a.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
title: "[Question] "
labels: [question]
body:
- type: textarea
id: goal
attributes:
label: What are you trying to do?
description: Include the GitHub feature, desired result and current behavior.
validations:
required: true
- type: input
id: environment
attributes:
label: Plugin version and GitHub host
description: Include Codex/gh versions when the question concerns execution.
- type: textarea
id: evidence
attributes:
label: Redacted evidence
description: Include operation IDs, public links or sanitized errors. Remove credentials and private payloads.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: true
contact_links:
- name: Questions and usage
url: https://github.com/thinkhome-org/full-github/discussions/categories/q-a
about: Ask questions with the feature, desired result and redacted evidence.
- name: Proposals and configuration decisions
url: https://github.com/thinkhome-org/full-github/discussions/categories/ideas
about: Discuss the workflow and its exact configuration choices.
- name: Private security report
url: https://github.com/thinkhome-org/full-github/security/advisories/new
about: Report vulnerabilities without publishing secrets or private payloads.
51 changes: 51 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Release
on:
push:
tags: ['v*']
permissions:
contents: read
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
- run: git merge-base --is-ancestor HEAD origin/main
- run: python3 -m unittest discover -s tests -v
- run: python3 scripts/validate.py
- run: python3 scripts/render_catalog.py --check
- run: python3 scripts/package_release.py --tag "$GITHUB_REF_NAME" --output dist
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: plugin-release
path: dist/*
include-hidden-files: true
retention-days: 30
publish:
needs: build
runs-on: ubuntu-latest
environment:
name: release
url: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}
permissions:
contents: write
id-token: write
attestations: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
with:
name: plugin-release
path: dist
- run: sha256sum --check *.sha256
working-directory: dist
- uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a
with:
subject-path: dist/*.zip
- run: python3 scripts/publish_release.py --repo "$GITHUB_REPOSITORY" --tag "$GITHUB_REF_NAME" dist/*
env:
GH_TOKEN: ${{ github.token }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
__pycache__/
*.pyc

/dist/
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Changelog

## 0.3.0 — 2026-11-15

- Preserve and inspect the complete official REST schema, including nested constraints and source-backed errata.
- Add concrete configuration decisions for every capability, with official sources and separately qualified community incidents.
- Add collection completeness checks and a persistent append-only execution journal with separate read-back verification.
- Add community discussion forms, a pinned welcome channel and explicit human-review/history workflows.
- Build tagged releases through GitHub Actions with validated hidden manifests, checksums, provenance attestations and resumable draft publication.

## 0.2.1 — 2026-11-15

Preserve caller-selected release asset MIME types.

## 0.2.0 — 2026-11-15

Add the source-backed capability inventory, REST/GraphQL operation discovery, expanded repository/organization/Project probes and domain runbooks. Correct binary download handling and administrative array filters.

## 0.1.0 — 2026-11-15

Create the initial native Codex plugin, read-only snapshot, repository workflow, public Wiki and Project. Exercise issue-to-PR delivery and publication.

[Release history](https://github.com/thinkhome-org/full-github/releases) preserves published assets and notes. Individual changes and review evidence are linked from their pull requests.
7 changes: 7 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Community participation

Use respectful, specific feedback. Explain the observed behavior and desired outcome. Preserve the context of other people's contributions and acknowledge corrections through the relevant issue, discussion or review.

Keep credentials, private repository data and personal information out of public reports. Report security vulnerabilities through the private channel in SECURITY.md. Use GitHub's reporting controls for abusive content.

Maintainers use GitHub's moderation tools when needed to protect participants and remove exposed private information. Decisions should retain an appropriate explanation and follow the [GitHub Community Guidelines](https://docs.github.com/en/site-policy/github-terms/github-community-guidelines).
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,14 @@
Open an issue describing the workflow and expected GitHub result. Link changes through a branch and PR. Run python3 -m unittest discover -s tests -v and python3 scripts/validate.py and python3 scripts/render_catalog.py --check before submitting.

Preserve existing repository content and distinguish unavailable API reads from missing configuration. Changes to setup behavior need evidence for repeat execution, partial failures and custom existing content. Never put credentials in fixtures or reports.


## Configuration changes

Identify the capability and option group. Read the complete nested schema and current official source. Add or update decision rules, defaults, applicability, verification and relevant community incident context. Every capability needs option coverage, and CI checks this mapping.

## History and interaction

Use Q&A for questions and Ideas for proposals. Keep source discussion links in accepted Issues/PRs. Preserve review comments and explain superseding choices. Follow CODE_OF_CONDUCT.md and keep private data out of public reports.

Changes to execution, pagination, history or publication need regression coverage for the specific failure. Verify failed/retried operations and preservation of prior evidence. Release changes must keep committed hidden manifests, checksums, prerelease status and existing asset bytes intact.
21 changes: 21 additions & 0 deletions GITHUB.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,24 @@ Project https://github.com/orgs/thinkhome-org/projects/5 uses Status options Tod
## Capability inventory

Keep all 261 capability families and complete API directories current. Each release records source dates, retired endpoints, operation counts and live validation separately. Use scripts/operations.py for exact REST routes and GraphQL input discovery. Registry generation and catalog rendering must remain reproducible.


## Configuration decisions and history

Before changing a feature, read its option group and complete nested schema. Preserve provider defaults separately from this project's chosen policy. Keep the rationale, source dates, affected people and read-back evidence linked from the issue or PR. Record superseding decisions in docs/DECISIONS.md without rewriting earlier reasoning.

Use --context for executor calls and record verify-event after actual read-back. Unknown/interrupted calls require reconciliation before retry. GitHub timelines, review threads, Wiki Git history, immutable published asset bytes and CHANGELOG retain the native history. The local SQLite journal covers this executor's attempts and verification references.

## Human participation

Q&A Discussions handle questions; Ideas handles proposals; issue forms handle reproducible defects; PR review threads handle code/configuration review. Discussion 10 is the pinned entry point. Preserve authors, comments and source links during transfers/conversions. Required human approvals must come from eligible actual reviewers. A local event or automated self-review cannot replace one.

## Tagged publication

Push the matching v-prefixed tag only after checks pass and the reviewed source is on main. The Release workflow builds the ZIP, verifies hidden manifests, passes it as a workflow artifact, creates a provenance attestation and publishes through a resumable draft.

Existing asset bytes and human-added assets are preserved. A mismatch blocks publication and requires investigation. RC tags remain prereleases. Download the final ZIP/checksum and run gh attestation verify against this repository before declaring a release verified.

The release environment permits matching v* tags. Build verifies the tagged commit belongs to main history. The publish job checks transferred checksums before attestation and publication; it does not require a fabricated human reviewer in this single-maintainer setup.

This repository enables native release immutability. Future published tags/assets are frozen, and corrections are issued as a new release.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,27 @@

A native Codex plugin for discovering, configuring and using GitHub throughout a project's life. Published by ThinkHome.

## Configuration, history and people

Use the [configuration decisions](docs/CONFIGURATION.md) to choose settings inside each feature. Every catalog capability maps to concrete options, provider defaults, project-specific decision rules, sources and verification. The full official REST schema is bundled with nested properties, enums, defaults, required fields, limits and response definitions.

```sh
python3 scripts/operations.py options review
python3 scripts/operations.py option project-event-workflows
python3 scripts/operations.py schema repos/update --section requestBody --pointer /content/application~1json/schema/properties/allow_squash_merge
python3 scripts/operations.py collect issues/list-labels-for-repo --params '{"owner":"thinkhome-org","repo":"full-github","per_page":5}'
python3 scripts/operations.py history --limit 100
```

Page-based collection verifies continuation and totals and keeps received evidence on failure. It detects incomplete search results and avoids assuming the server honored the requested page size.

REST execution records append-only local attempt/result events with host and target metadata. Add --context with an issue/PR/discussion link. Read back the actual state, then record verify-event with its evidence. Payloads and header values are excluded. See the [history guide](skills/full-github/references/history-interaction.md).

People can use [Q&A](https://github.com/thinkhome-org/full-github/discussions/categories/q-a), [Ideas](https://github.com/thinkhome-org/full-github/discussions/categories/ideas), issue forms and PR reviews. The [pinned welcome discussion](https://github.com/thinkhome-org/full-github/discussions/10) explains participation. See [community workflow](docs/COMMUNITY.md), [changelog](CHANGELOG.md) and [recorded decisions](docs/DECISIONS.md).

## Coverage

The 2026-11-15 inventory contains **261 capability families**, **1,281 published REST operations**, **32 GraphQL queries**, **285 GraphQL mutations** and **1,881 GraphQL types**. Deprecated and retired operations are identified separately. Eighteen confirmed retired operations are blocked by the REST executor.
The 2026-11-15 inventory contains **261 capability families**, **1,281 published REST operations**, **32 GraphQL queries**, **285 GraphQL mutations** and **1,881 GraphQL types**. The configuration layer contains 451 concrete option decisions across 82 groups. Deprecated and retired operations are identified separately. Eighteen confirmed retired operations are blocked by the REST executor.

- Repository content, Git, Issues, owner issue fields, sub-issues/dependencies, PR stacks, Agent Merge, reviews, rulesets and merge queues.
- Projects fields/options, table/board/roadmap views, view CRUD, workflows, status updates, templates and Insights.
Expand Down Expand Up @@ -52,7 +70,7 @@ python3 scripts/operations.py type UpdateProjectV2ViewInput
python3 scripts/audit.py thinkhome-org/full-github --organization --project 5
```

REST call executes the selected operation using the current gh identity, including writes. Use describe to inspect the method, parameters and official documentation. Supply request bodies through --body-file and preview with --dry-run. GraphQL operations use native gh api graphql with structured variables.
REST call executes the selected operation using the current gh identity, including writes, and records local execution history by default. Use describe to inspect the method, parameters and official documentation. Supply request bodies through --body-file and preview with --dry-run. GraphQL operations use native gh api graphql with structured variables.

The expanded audit performs repository/organization probes and paginated Project reads. Failed reads remain unknown. It inspects classic branch protection separately from rulesets. Feature-specific object inspection and UI verification complete the coverage ledger.

Expand All @@ -66,6 +84,8 @@ python3 scripts/validate.py
python3 scripts/render_catalog.py --check
```

Tagged releases are built and published by GitHub Actions, with hidden-manifest validation, SHA-256 checksums and GitHub provenance attestations. Verify downloaded ZIPs using gh attestation verify --repo thinkhome-org/full-github PATH.

The source-backed inventory and executable API routes cover a wider surface than the live mutation tests. Plan, credentials, organization policies and host versions determine which operations can execute. The registries identify deprecated and known retired routes. See the verification record for tested operations and unresolved access gates.

## License
Expand Down
17 changes: 17 additions & 0 deletions docs/COMMUNITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Working with people

Start with the [pinned welcome discussion](https://github.com/thinkhome-org/full-github/discussions/10).

| Need | Channel | Record |
| --- | --- | --- |
| Installation or workflow question | Q&A Discussions | Goal, version/host when relevant, sanitized evidence and accepted answer |
| Proposal or unclear configuration choice | Ideas Discussions | Intended outcome, options/tradeoffs, sources and recorded decision |
| Reproducible defect | Issue form | Expected/actual behavior, reproduction and verification |
| Code/configuration change | Linked pull request | Before/desired state, tests, source/history links and review conversation |
| Security vulnerability | Private reporting | Confidential evidence and coordinated disclosure |

Accepted work is linked to an issue, milestone and Project item. Preserve its original discussion and any review history. A later decision should explain why it supersedes the earlier choice.

Codex-assisted maintenance is identified in the welcome discussion. Real human approvals, reactions and answers come from their actual authors. Single-maintainer workflows do not pretend to have independent peer approval. Required reviews and environment approvals must be completed by eligible people through GitHub.

Use the [history guide](../skills/full-github/references/history-interaction.md), [configuration decisions](CONFIGURATION.md) and [contribution guide](../CONTRIBUTING.md). Share only sanitized execution metadata. The local journal records CLI attempts and verification references; authenticated GitHub records retain the native actor, review and publication history.
Loading
Loading