Skip to content

docs: state the licensing posture - #11

Merged
nonagenticai-claude[bot] merged 3 commits into
mainfrom
lane/readme-licensing
Nov 14, 2026
Merged

nonagenticai-claude[bot] merged 3 commits into
mainfrom
lane/readme-licensing

Conversation

@nonagenticai-claude

Copy link
Copy Markdown
Contributor

Adds/updates the README's licensing posture: what the Apache-2.0 licence covers, what licence enforcement this repository does or does not carry, and whether a licence server is involved.

Every public repo states its posture, including the ones that enforce nothing.

🤖 Generated with Claude Code

Names the licence that applies and states what licence enforcement (if any) this
repository carries, so a reader is not left guessing whether a licence server is
involved. Every public repo states its posture, including the ones that enforce
nothing.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@nonagenticai-claude
nonagenticai-claude Bot enabled auto-merge (squash) November 14, 2026 09:50
georgiedekker and others added 2 commits November 14, 2026 21:06
CI pins ty 0.0.104 while pyproject pinned 0.0.39, so the config's old rule
names were silently dead and the 0.0.104 checker reported 193 diagnostics.

- pyproject: follow the 0.0.104 renames, `unresolved-import` ->
  `import-not-found` and `unresolved-attribute` -> `missing-attribute`.
- Optional-dependency import fallbacks (PyGithub, aiohttp, cryptography):
  annotate the placeholder bindings `Any` instead of `= None` /
  `= Exception`. Keeping the real classes in the union made `Github(...)`
  "not callable" and every `except GithubException as e` / `e.status`
  a missing-union-attribute error; `HAS_GITHUB` / `HAS_AIOHTTP` /
  `CRYPTOGRAPHY_AVAILABLE` gate every use, so `None` was never a real
  state. Drops the stale `# type: ignore` + `# ty: ignore` comments.
- `_assert_minted_repo_owner`: narrow the untrusted JSON payload once per
  level and `cast` it, instead of re-reading `r.get("owner")` inside the
  isinstance guard, which ty could not narrow.
- `compare_commits._shape`: sort the raw files by `f.filename` (a plain
  `str`) instead of sorting shaped dicts, whose values are `str | None` and
  so fail `sorted`'s key overload.
- `@asynccontextmanager` generators: return `AsyncGenerator`, not
  `AsyncIterator` (deprecated overload).
- `github_error_handler`: rename the ignore comment to
  `invalid-explicit-return`; drop an unused `ty: ignore`.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The first pass was checked with `uvx ty` before a `.venv` existed, so every
third-party type resolved as Unknown and these two hid behind it. Against the
pinned environment:

- `get_repo_visibility` returns literally `"public"`/`"private"` on every
  path, so annotate it `Literal["public", "private"]`; the clone-token
  response's `visibility` field then type-checks without the ignore comment
  this repo used to carry.
- `pr_change_detector`: `change.file_type` is a non-optional `FileType`, so
  the `else "unknown"` branch was dead; drop it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nonagenticai-claude
nonagenticai-claude Bot merged commit fda7bd0 into main Nov 14, 2026
7 checks passed
@nonagenticai-claude
nonagenticai-claude Bot deleted the lane/readme-licensing branch November 14, 2026 21:18
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