Repository navigation
Description
Finding (from PR review)
The licensing-policy design's Policy 4 exception — "I only accept MIT or CC0 unless it's code written by these groups or admins" — is expressed as group-scoped policies that §4.3 matches against the uploader, not the code's author. A group member uploading third-party Apache-2.0 or MPL code therefore receives the exception even though they did not write the code.
Codex raised this on PR #8402 (doc(id): licensing policy — ToS grant, account defaults, admin policies, for issue #5984):
- Source PR: doc(id): licensing policy — ToS grant, account defaults, admin policies (#5984) #8402
- Comment: doc(id): licensing policy — ToS grant, account defaults, admin policies (#5984) #8402 (comment) (chatgpt-codex-connector[bot], 2026-11-11T01:48:47Z, P2)
- File:line at review time:
doc/2026-11-11_design_id5984_licensing_policy.md:201
Essence of the comment: for a worldsmith uploading third-party Apache-2.0 or MPL code, the group policy admits the artifact because §4.3 matches principal scopes against the uploader, not the author. That contradicts Policy 4's stated exception for code "written by" those groups: §1.1's licensed route permits third-party uploads, so uploader membership does not establish authorship. Add an authorship/provenance condition to express the requested restriction rather than granting the exception to every code artifact a group member uploads.
No-response evidence
- The comment was posted at 2026-11-11T01:48:47Z in Codex's re-review of commit df8b97e; PR doc(id): licensing policy — ToS grant, account defaults, admin policies (#5984) #8402 merged at 2026-11-11T01:48:50Z with no reply to this thread (the three earlier Codex findings on the PR were each answered by dezren39 with "Fixed in df8b97e" replies — this one was not).
- GraphQL reviewThreads check (2026-11-11): the thread containing comment 4532952428 is unresolved, with no reply comments.
- No open or closed issue covers this residual (searched licensing / authorship / id: design: licensing policy — server ToS uploader grant, account-creation defaults, admin license policies #5984 on 2026-11-11: only the parent design issue id: design: licensing policy — server ToS uploader grant, account-creation defaults, admin license policies #5984, whose merged doc is the artifact carrying the defect).
Still-live evidence (current main, read 2026-11-11 via gh api)
doc/2026-11-11_design_id5984_licensing_policy.md on main is unchanged on the relevant points:
- Line 146 (§4.3 step 2): scope matching is defined as "policies whose kind scope matches the artifact's kind and whose principal scope contains the uploader".
- Lines 193–209 (Policy 4): the exception is two group-scoped
ceiling 2policies forworldsmiths/admins, and the prose at line 209 restates the intent as "code written by those principals" — while the worked example is "a worldsmith uploading Apache-2.0 code". - The word "author" appears nowhere in the policy language as a matching condition (only in unrelated ToS / policy-conversation prose): there is no authorship or provenance condition an implementation could apply.
An implementation following this design grants the MIT/CC0 exception to any code a group member uploads, including third-party code they did not write — broader than the admin policy it claims to express.
Acceptance criteria
- The policy language gains an authorship/provenance condition (or an equivalent mechanism) so the Policy 4 exception can be restricted to code actually written by the named groups/admins, and §4.4 Policy 4 is re-expressed using it; or Policy 4's stated intent is corrected to "code uploaded by these groups" with the widening made explicit.
- Or: resolve by a documented decision on this issue explaining why uploader-matching is the intended semantics.
Activity
developing-today commentedon Nov 11, 2026
CODE-2553
dezren39 commentedon Nov 11, 2026
🤖 Agent note · filed
9 remaining items
dezren39 commentedon Nov 11, 2026
agent-note:v1
state: in-progress
lane: code-c (task 14880)
issue: #8554 — PR: #8556
Shepherding PR #8556 (docs(id): licensing Policy 4 exception matches the author, not the uploader) to merge. Fresh verification: PR OPEN at head 573e887, single-file docs change (+7/-6) adding the authors= scope axis, the author-of-record definition, and fail-closed unattributed matching — exactly this issue's ask. Codex reviewed head 573e887 clean (Didn't find any major issues, 2026-11-11T06:17Z); 0 unresolved review threads; CodeRabbit completed neutral. GitHub CI checks are QUEUED repo-wide (runner stall), so merging under standing authority on the local/Codex verification, as with PR #8053 earlier today.
Merge pull request #8556 from developing-today/queue/14880-8554-licen…
dezren39 commentedon Nov 11, 2026
agent-note:v1
state: done
lane: code-c (task 14880)
issue: #8554 — PR: #8556
fixed_merged d398bc5 — PR #8556 MERGED. The licensing design doc's Policy 4 exception now scopes by authorship (authors= axis with an author-of-record definition from provenance; unattributed artifacts match no authorship scope — fail closed) instead of the uploader's group, per this issue (the unanswered P2 from PR #8402). Codex clean on the merged head 573e887, 0 unresolved threads. GitHub CI never started (repo-wide runner stall); the change is docs-only and Codex-verified. Closing #8554.
dezren39 commentedon Nov 11, 2026
agent-note:v1
state: done (already_done)
lane: code-a (task 14901)
issue: #8554
Duplicate packet of the work task 14880 (lane code-c) completed today: PR #8556 merged (d398bc5) — the licensing policy doc gained the
authors=scope axis, the author-of-record definition (signed attestation, then origin-source authorship, else unattributed and fail-closed), and Policy 4 re-expressed with authorship-scoped policies; §4.4's Policy 4 text explicitly records this issue's defect and fix. Verified fresh on origin/main this shift (§4.3 step 2 and the Policy 4 block read directly). Task 14901 completes as already_done naming PR #8556 and task 14880.