Skip to content

Add team-owned Library sourcing and tracking - #117

Merged
jremick merged 5 commits into
mainfrom
codex/team-library-sources
Sep 28, 2026
Merged

jremick merged 5 commits into
mainfrom
codex/team-library-sources

Conversation

@jremick

@jremick jremick commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Team Libraries can now import and track public GitHub skills under team ownership. Another current curator can continue a source lineage after its initiating curator leaves. Libraries sharing a lineage retain independent adopted versions and notification audiences.

The change keeps importing, instance review, publication, adoption, and local installation separate. Team writes require current authority and MFA; imports retain author-role and token-scope checks. Revoked release grants are not recreated implicitly. Tracking pauses when no eligible curator remains and requires explicit resumption.

Team audience settings preserve existing Bundle owner access and management. Library-specific access and save operations still enforce the team switches, with sharing settings locked before Library writes.

Migration 0034_team_library_ownership.sql adds team ownership while preserving personal records, immutable attribution, and reserved orphaned slugs. Deployments must apply the migration before serving this code. There is no ownership transfer, private GitHub authentication, automatic local update, or scanner-policy change.

Verification:

  • The implementation snapshot passed npm run check (1,206 tests), the full disposable Postgres suite (245 tests), eight production-wiring browser tests, and a real team browser/API/Postgres/CLI journey.
  • Regression coverage includes curator departure, authority revocation during transactions, MFA and grant enforcement, shared-lineage notification timing, ignored candidates, populated migration preservation, and concurrent sharing/role changes.
  • The Bundle owner regression failed before the repair and passed afterward. After integrating GitHub authentication, all workspace builds and 12 API/Postgres journey tests passed, including credential selection, cooldown isolation, paused tracking, and populated migration preservation.
  • Focused browser verification passed 37 tests; one separate GitHub browser integration test was skipped because that browser run had no database. The GitHub API/Postgres journey passed.
  • Current main, including GitHub source authentication and workspace scopes, is integrated. Required GitHub Node 22/24 and CodeQL checks validate the final integrated head before merge.

The deterministic source fixture verifies workflow behavior; it does not establish approval or compatibility of arbitrary upstream packages.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T22:33:54.134347Z 1017aed PR opened
ℹ️ 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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1017aedc55

ℹ️ 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".

Comment thread apps/api/src/libraries/postgres-store.ts Outdated
@jremick
jremick merged commit 417a3f2 into main Sep 28, 2026
12 checks passed
@jremick
jremick deleted the codex/team-library-sources branch September 28, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant