Skip to content

feat(governance): align twin content and detect drift - #52

Merged
Pigbibi merged 2 commits into
mainfrom
feat/twin-governance-v3
Nov 7, 2026
Merged

Pigbibi merged 2 commits into
mainfrom
feat/twin-governance-v3

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Problem

This repository already carries the reviewer configuration, but the three twin governance repositories drifted: the Pigbibi and GdeiAssistant copies lack it, both of their READMEs point at a docs/private-repositories.md that does not exist, no repository declares the shared revision, and nothing detects divergence.

Changes

  • Adopt the shared revision of pr-governance/: the reviewer configuration stays, the private-repository README paragraph now describes the local track without a repository-specific path, and one README text serves all three organizations.
  • Add VERSION (3, the policy revision).
  • Add pr-governance/scripts/check-twin-drift.sh and .github/workflows/governance-drift.yml: weekly and on demand, they compare pr-governance/ and VERSION across Pigbibi/governance, GdeiAssistant/.github and QuantStrategyLab/.github.

The matching change is open in Pigbibi/governance#10 and GdeiAssistant/.github#8; the drift workflow reports success once all three merge.

Validation

  • node --test pr-governance/scripts/test-*.cjs — 164 tests pass.
  • python3 scripts/test_style.py — 52 tests pass; python3 scripts/check_style.py --phase 2 reports no blocking finding.
  • sh pr-governance/scripts/check-twin-drift.sh after the sibling merges.

Risk and compatibility

The gate scripts are unchanged apart from the shared README paragraph; the drift workflow is advisory (weekly schedule and manual dispatch) and does not gate pull requests.

AI assistance

  • Tool: Qoder

What changed

The three organizations run one reviewed governance engine, name its revision, and report drift.

@Pigbibi

Pigbibi commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-07T19:53:48.743683Z fcc648d Manual request
🔒 Security Review ❌ Failed 2026-11-07T19:52:40.190109Z
We couldn’t complete this review. Comment @codex security review to try again.
fcc648d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

1 similar comment
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@Pigbibi Pigbibi added the agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation label Nov 7, 2026
@Pigbibi

Pigbibi commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: fcc648da9d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Pigbibi
Pigbibi merged commit 2cacb38 into main Nov 7, 2026
14 of 15 checks passed
@Pigbibi
Pigbibi deleted the feat/twin-governance-v3 branch November 7, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-approved An agent cleared this high-risk change on the current head; not an owner confirmation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant