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.3.1",
"version": "0.4.0",
"description": "Source-backed GitHub capability discovery and execution for Codex, including repository, organization and enterprise workflows.",
"author": {
"name": "ThinkHome",
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Bug
description: Report a broken GitHub workflow
labels: [bug]
type: Bug
body:
- type: textarea
id: expected
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Workflow improvement
description: Propose a GitHub capability
labels: [enhancement]
type: Feature
body:
- type: textarea
id: goal
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.4.0

- Require active feature reconciliation and new chronological issue comments during delivery; preserve descriptions and independent worker comments.
- Add issue-level audit for metadata, comments, timeline, shared fields, Projects, parent/children, blockers and artifacts.
- Add a full-catalog completion gate rejecting incomplete, unverified or missing decisions.
- Document screenshot issue controls, native menu operations and CLI/API/UI fallbacks; assign native types on issue forms.
- Reconcile real child work, dependency, fields, Project instructions/status updates and Wiki footer/navigation. Preserve restricted field visibility and historical dates.

## 0.3.1 — 2026-11-15

- Bind packaged and published artifacts to the peeled release-tag commit and protect release tags from update/deletion.
Expand Down
9 changes: 9 additions & 0 deletions GITHUB.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,12 @@ The release environment permits matching v* tags. Build verifies the tagged comm
This repository enables native release immutability. Future published tags/assets are frozen, and corrections are issued as a new release.

Release tags matching v* have an active no-bypass ruleset blocking updates and deletion before publication. Packaging checks the peeled local tag against HEAD, and publication compares the artifact comment and peeled remote tag with the build job commit. Reviewed release notes are supplied explicitly. Review pre-existing drafts created outside this workflow for required delivery information before using them; the publisher preserves their existing prose.


## Active full-profile delivery

Read skills/full-github/references/issue-lifecycle.md. Append new issue comments for kickoff, material findings/decisions, review and final delivery. A body edit or local journal entry cannot replace that native conversation. Independent workers must not edit a shared first comment. Read back comment IDs and reconcile uncertain posts before retrying.

Native child issues 15/16 decompose work tracked in 14. Use sub-issues for independently accepted work and dependencies for actual ordering. Read native type, labels, assignee, shared values, Project status/priority, milestone and development links. Preserve organization-only issue field visibility and existing Project views. The public Project-local Priority remains visible without exposing restricted owner fields. Start dates are observations; target dates are explicitly best-effort estimates.

Use scripts/audit.py OWNER/REPO --issue NUMBER for issue-level evidence. For full setup/audit use scripts/check_completion.py LEDGER.json with every catalog capability; resolve unfinished rows before claiming full completion. The check validates evidence claims, so linked live state must still be inspected. Ordinary fixes assess all relevant controls without manufacturing irrelevant objects.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ REST execution records append-only local attempt/result events with host and tar

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).

## Active use and chronological issues

Full GitHub requires agents using the skill to inspect relevant native controls, reconcile useful features and explain unavailable/inapplicable ones. Progress is posted as new issue comments at material checkpoints. The issue body remains the current specification; parallel workers must not overwrite a shared first comment. Issues use chronological comments and quote links; Discussions and PR reviews provide nested replies.

```sh
python3 scripts/audit.py thinkhome-org/full-github --organization --project 5 --issue 14
python3 scripts/check_completion.py coverage-ledger.json
```

The first command inspects issue metadata, comments, timeline, shared fields, Project membership, parent/children, dependencies and artifacts alongside repository probes. Attention prompts need a real decision, rather than artificial dates or relationships. The second checks every catalog capability for a complete, evidence-linked final decision during full setup/audit; incomplete ledgers fail. It validates submitted claims, so inspect linked live evidence separately. See the [issue lifecycle](skills/full-github/references/issue-lifecycle.md) and [completion contract](skills/full-github/references/completion.md).

The skill provides required behavior and executable checks when loaded. Codex controls skill invocation; a plugin cannot globally intercept unrelated agents or guarantee compliance outside its active workflow.

## 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**. The configuration layer contains 459 concrete option decisions across 82 groups. Deprecated and retired operations are identified separately. Eighteen confirmed retired operations are blocked by the REST executor.
Expand Down
7 changes: 7 additions & 0 deletions docs/DECISIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ Repository release immutability is enabled for future publications. The native G
A fresh three-domain review reproduced gaps in publication identity, source portability, generated Wiki checks and configuration guidance. Release refs now prohibit update/deletion through an active no-bypass repository ruleset. The publisher binds ZIP/source/tag identities before creating or resuming a draft and immediately before publishing. The build job passes its peeled checked-out commit explicitly.

Reviewed release notes accompany generated change history on new drafts. Existing human-written draft prose is preserved and requires review if it originated outside this workflow. Marketplace validation checks portable declared sources, identities and supported policy shape. The generated Wiki catalogs share the same rendering/check gate as repository catalogs.


## 2026-11-15 — Active use and chronological delivery

Issue 14 supersedes the assumption that catalog support and PR history sufficiently demonstrate actual use. Existing work issues had zero comments. New comments are required at material events; existing descriptions retain current scope. Retrospective delivery links are explicitly dated as new comments rather than invented past dialogue. Native sub-issues 15/16 separate deliverables; 16 depends on accepting the gate in 15.

Full setup/audit claims require the complete ledger gate plus live evidence inspection. A gate validates claims and cannot make source evidence truthful or force unloaded skills. Relevant controls must be actively assessed in ordinary tasks. Organization-only fields retain their access boundaries; public Project Priority remains distinct. Missing arbitrary dates, destructive moderation or unrelated personal/billing objects are not reasons to manufacture state.
12 changes: 12 additions & 0 deletions docs/VERIFICATION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Verification record

## Version 0.4.0

The reported conversation gap was reproduced in the live API and browser. All five prior work issues had zero comments. New comments explicitly add retrospective delivery references without recreating a fictional timeline. Current work in issue 14 uses chronological kickoff/findings/review/delivery entries, native children 15/16, a real blocker relationship and attached plan artifact 1. Shared field visibility is preserved.

- The regression suite covers complete/malformed/incomplete ledgers, all catalog IDs, safe evidence links and issue-level inspection with unknown read failures. The final installed count is recorded in the release receipt.
- The completion gate rejects unfinished or missing decisions. It validates submitted evidence claims, not live truth; no fabricated 261-row repository ledger was created.
- Issue-level audit reads actual metadata, comments, timeline, parent/children, dependencies, shared fields, artifacts and paginated Project memberships. Attention prompts do not require invented relationships or dates.
- Native Project README and an actual status update were published and read back. Existing four views and organization-only fields remain intact. Overview now shows native Type, Milestone and public Priority alongside its original fields. Reloading the canonical saved view verified persistence. GraphQL still omits the rendered built-in Type column, so this evidence came from the UI.
- New issue forms select native Bug/Feature types. Wiki adds Workflow and a useful native footer. Final publication/rendered read-back and immutable release evidence are recorded in the release-specific Wiki receipt.

This is behavioral guidance plus executable acceptance checks when the skill is loaded. Host selection and agent compliance cannot be globally intercepted by a skill. Nested issue-comment threads are not a supported API feature; chronological comments, quote links, Discussion replies and PR review threads remain distinct.

## Version 0.3.1

Three fresh review agents examined runtime correctness, option/procedure coverage and publication/installation. The runtime reviewer found no actionable defect in the assigned execution/history scope. Twelve concrete review findings were corrected and verified, including two additional portability/policy cases from rechecking the first fixes.
Expand Down
30 changes: 30 additions & 0 deletions docs/superpowers/plans/2026-11-15-active-github-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Active GitHub workflow implementation plan

> For agentic workers use the existing scoped agent assignments. Continue authorized autonomous execution.

**Goal** Make full-profile decisions and native issue conversations observable and required during delivery.

**Architecture** Keep the existing skill, gh executor and catalog. Add one read-only ledger gate and extend the existing audit to issue-level objects. Use native comment creation for chronology rather than introducing a second posting client. Preserve descriptions, existing views and restricted fields.

**Tech stack** Python standard library, gh, Git, native GitHub APIs and UI.

**User specification** Existing autonomous Full GitHub request plus screenshots of issue metadata/actions, comments and Wiki footer. All eligible capabilities must be actively assessed; missing rights and inapplicability remain explicit decisions.

## Tasks

- [x] Inspect current repository and official issue/Wiki procedures, reproduce absent comments.
- [x] Require kickoff, changed findings/decisions, verification and release comments; document concurrency, retry and no overwrite semantics.
- [x] Add failing tests then issue-level audit probes and metadata/conversation attention checks. Preserve unknown permission failures.
- [x] Add tested full-profile completion gate rejecting missing or unfinished capability decisions.
- [x] Reconcile actual issue types, shared vs Project fields, parent/subissues, real dependency, priority, dates and Project README/status update without fabricating history or deadlines.
- [x] Add issue-form native types, Wiki lifecycle page/footer and links from the skill and installed user documentation.
- [x] Review changes, run all regression/registry/generated checks and exercise live issue comments and inspection.
- [ ] Merge via linked PR, publish and install a new version, verify provenance/bytes and document final release evidence in native comments and Wiki.

## Review focus

- Failed reads never mean absent settings.
- Comments are new chronological entries; independent workers never replace a shared comment.
- Newer CLI commands have API/UI fallback on installed gh2.96.
- Full-profile gate validates evidence claims; actual read-back remains required.
- Private shared fields and personal views never become public merely to fill a UI slot.
42 changes: 40 additions & 2 deletions scripts/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@ def read_probe(command, run):
return {"status": "unknown", "error": str(error)}


def audit(repo, run=subprocess.run, organization=False, project=None):
def audit(repo, run=subprocess.run, organization=False, project=None, issue=None):
if not re.fullmatch(r"[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+", repo) or any(part in (".", "..") for part in repo.split("/")):
raise ValueError("Expected OWNER/REPO")
if project is not None and (not isinstance(project, int) or project < 1):
raise ValueError("Project number must be positive")
if issue is not None and (type(issue) is not int or issue < 1):
raise ValueError("Issue number must be positive")
endpoints = {
"repository": f"repos/{repo}",
"labels": f"repos/{repo}/labels",
Expand Down Expand Up @@ -104,6 +106,41 @@ def audit(repo, run=subprocess.run, organization=False, project=None):
if not project_owner or project_owner.get("projectV2") is None:
result[key]["status"] = "unknown"
result[key]["error"] = "Project is absent or inaccessible"
if issue is not None:
base = f"repos/{repo}/issues/{issue}"
paths = {"issue": "", "issue_comments": "/comments", "issue_timeline": "/timeline",
"issue_sub_issues": "/sub_issues", "issue_parent": "/parent",
"issue_blocked_by": "/dependencies/blocked_by", "issue_blocking": "/dependencies/blocking",
"issue_artifacts": "/artifacts", "issue_fields": "/issue-field-values"}
for key, path in paths.items():
result[key] = read_probe(["gh", "api", "--paginate", "--slurp", base + path], run)
query = ("query($owner:String!,$name:String!,$number:Int!,$endCursor:String){repository(owner:$owner,name:$name){"
"issue(number:$number){projectItems(first:100,after:$endCursor){nodes{id isArchived project{id title url}}"
"pageInfo{hasNextPage endCursor}}}}}")
result["issue_projects"] = read_probe(["gh", "api", "graphql", "--paginate", "--slurp", "-f", "query=" + query,
"-F", "owner=" + owner, "-F", "name=" + repo.split("/")[1],
"-F", "number=" + str(issue)], run)
project_pages = result["issue_projects"].get("pages")
try:
if not isinstance(project_pages, list) or not project_pages:
raise ValueError("Missing project membership pages")
for page in project_pages:
connection = page["data"]["repository"]["issue"]["projectItems"]
if not isinstance(connection["nodes"], list) or not isinstance(connection["pageInfo"]["hasNextPage"], bool):
raise ValueError("Invalid project membership connection")
except (TypeError, KeyError, ValueError):
result["issue_projects"]["status"] = "unknown"
result["issue_projects"]["error"] = "Issue Project membership is absent, inaccessible or malformed"
pages = result["issue"].get("pages")
if result["issue"]["status"] != "observed" or not isinstance(pages, list) or len(pages) != 1 or not isinstance(pages[0], dict) or pages[0].get("number") != issue:
result["issue"]["status"] = "unknown"
result["issue_attention"] = ["Issue state could not be read; reconcile permissions before evaluating metadata"]
else:
item = pages[0]
result["issue_attention"] = [key for key in ("type", "labels", "assignees", "milestone") if not item.get(key)]
if item.get("comments") == 0:
result["issue_attention"].append("conversation")
# These are attention prompts, not a universal requirement to invent relationships or dates.
return result


Expand All @@ -112,9 +149,10 @@ def audit(repo, run=subprocess.run, organization=False, project=None):
parser.add_argument("repository")
parser.add_argument("--organization", action="store_true", help="Also inspect repository owner's organization configuration")
parser.add_argument("--project", type=int, help="Inspect an owner Project's fields, items and views")
parser.add_argument("--issue", type=int, help="Inspect one issue conversation, metadata, relationships and artifacts")
args = parser.parse_args()
try:
snapshot = audit(args.repository, organization=args.organization, project=args.project)
snapshot = audit(args.repository, organization=args.organization, project=args.project, issue=args.issue)
except (ValueError, subprocess.TimeoutExpired, OSError) as error:
parser.exit(2, f"{error}\n")
print(json.dumps(snapshot, indent=2))
Loading
Loading