Skip to content

docs(id): licensing Policy 4 code exception matches the uploader, not the author — third-party code gets the group exception (PR #8402 review finding) #8554

Closed

Description

@dezren39

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

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

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 2 policies for worldsmiths / 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

  1. added
    kind/docsDocumentation improvement or addition
    task/triageQueue packet kind: verify, reproduce, and route this item
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · filed

  4. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    effort/sSmall: expected under 2 hours of work
    queue/claimedQueue worker lifecycle state
    and removed
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 11, 2026
  5. 9 remaining items

  6. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    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.

  7. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 11, 2026
  8. added a commit that references this issue on Nov 11, 2026
  9. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    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.

  10. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workkind/docsDocumentation improvement or additionpriority/normalOrdinary priority (the default)source/pr-comment-reviewFiled by the pr-comment-review jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions