Skip to content

Public-repo readiness: invite-only note, fail fast with no server, clearer 401 - #18

Merged
sahiljagtap08 merged 1 commit into
mainfrom
oss-readiness
Nov 24, 2026
Merged

sahiljagtap08 merged 1 commit into
mainfrom
oss-readiness

Conversation

@sahiljagtap08

Copy link
Copy Markdown
Contributor

Fixes the two blockers from the Nov 19 open-source audit that can be fixed in code, plus the internal references in the tree.

Blocker 1: a stranger hits a dead end

  • README: an invite-only note with the request-access link sits above the quickstart. It says what works without an invite: install, the API, python -m unittest against the local fake.
  • With no DRUMS_URL set and nothing listening on the loopback default, the first request fails at once with what to set. It used to retry for 60 s. A server named in the environment is retried as before.
  • Error text says server HTTP 401, not drumsd HTTP 401. AuthError adds the request-access link, and so do the preflight auth rows.

Blocker 2: security policy

  • SECURITY.md supported versions are updated for 0.4.x.
  • Private vulnerability reporting can only be enabled after the repo is public. That is a settings step at the flip.

Internal references

  • Removed tracker ids (A-xx), private Drums-Labs/drums#.. links, D1 and qwen27b-d2 from README, CHANGELOG, code comments, tests and CI comments.
  • plugin.json is now at 0.4.0.

Tests

  • New tests/test_onboarding.py covers the fast failure, the unchanged retry and the 401 text.
  • 164/164 pass on Python 3.10 and 3.9.

Not in this PR (settings and owner decisions at the flip)

  • Enable private vulnerability reporting.
  • Add a required reviewer on the pypi environment.
  • Create the GitHub release for v0.4.0.
  • Decide whether to accept the drumsd-era history and the old PR bodies.

Reaching PyPI needs a 0.4.1 release; the GitHub page updates on merge.

…ast with no server, clearer 401

- README: invite-only note with the request-access link above the quickstart; a stranger can still install,
  read the API and run the tests. The self-host line no longer implies an open download.
- With no DRUMS_URL and nothing on the loopback default, the first request fails at once and names what to
  set, instead of retrying for 60 s. A server named in the environment is still retried as before.
- Errors say "server HTTP <status>" instead of "drumsd HTTP"; a 401 adds where to request access. The
  preflight auth rows carry the same hint.
- SECURITY.md: 0.4.x supported, 0.3.x security fixes only.
- Internal tracker ids, private-repo links and internal run names removed from README, CHANGELOG, code
  comments and tests. plugin.json at 0.4.0.
- tests/test_onboarding.py covers the fast failure, the unchanged retry and the 401 text.
@sahiljagtap08
sahiljagtap08 merged commit cc773a6 into main Nov 24, 2026
0 of 6 checks passed
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