Skip to content

chore(sdk): scrub internal references, harden leak guard, green the CI#7

Merged
DryadeCore merged 2 commits into
mainfrom
chore/scrub-internal-refs
May 26, 2026
Merged

chore(sdk): scrub internal references, harden leak guard, green the CI#7
DryadeCore merged 2 commits into
mainfrom
chore/scrub-internal-refs

Conversation

@DryadeCore

Copy link
Copy Markdown
Contributor

Summary

Makes the public SDK reveal only the public author contract — no internal project identifiers, no references to non-public modules, and no hints at how the platform enforces plugin security.

Changes

  • Leak scrub: removed internal project/governance identifiers and references to non-public modules from source docstrings, the manifest JSON schema, the docs, and CI job names.
  • New leak gate: replaced the markdown-only check with tests/test_no_internal_leaks.py, which scans every author-visible file (source, schema, CI, docs, templates) and runs as a required CI job. The previous guard only scanned markdown, which is why source/schema/CI references shipped.
  • Removed a test that referenced paths outside this project and listed non-public infrastructure details.
  • CLI output: dropped a local dev-iteration block from dryade plugin new and an internal identifier from a dryade plugin package error message.
  • CI repair: the test/examples jobs now install the CLI extras + fastapi/httpx so the CLI, route, and example suites actually run; the build job verifies MIT license metadata; the smoke test uses the in-repo CLI.
  • Quality: fixed pre-existing typing and test-assertion issues so ruff, mypy --strict, and the full suite pass.

Verification (local, py3.12)

  • ruff: clean · mypy --strict: clean · pytest -m 'not e2e': 279 passed, 18 skipped · leak guard: 135 passed

Dryade and others added 2 commits May 26, 2026 19:10
Make the public SDK reveal only the public author contract — no internal
project identifiers, no references to non-public modules, and no hints at
how the platform enforces plugin security.

- Strip internal project/governance identifiers and references to
  non-public modules from source docstrings, the manifest JSON schema,
  the docs, and CI job names.
- Replace the markdown-only leak check with tests/test_no_internal_leaks.py,
  which scans every author-visible file (source, schema, CI, docs,
  templates) and runs as a required CI gate.
- Remove a test that referenced paths outside this project and that listed
  non-public infrastructure details.
- Drop a local dev-iteration block from `dryade plugin new` output and an
  internal identifier from a `dryade plugin package` error message.
- CI: install the CLI extras + fastapi/httpx in the test and examples jobs
  so the CLI, route, and example suites actually run; verify the MIT license
  metadata in the built wheel; point the smoke test at the in-repo CLI.
- Fix pre-existing typing and test-assertion issues so ruff, mypy --strict,
  and the full test suite pass.

Co-Authored-By: Dammerzone <dammerzone@users.noreply.github.com>
Release notes referenced the PR author's GitHub login as a live @-mention.
Use the PR number alone so generated release notes credit the change, not a
specific account.

Co-Authored-By: Dammerzone <dammerzone@users.noreply.github.com>
@DryadeCore DryadeCore merged commit 2fcb40d into main May 26, 2026
2 of 14 checks passed
@DryadeCore DryadeCore deleted the chore/scrub-internal-refs branch May 26, 2026 17:23
DryadeCore pushed a commit that referenced this pull request May 26, 2026
#7)

* chore(sdk): scrub internal references, harden leak guard, green the CI

Make the public SDK reveal only the public author contract — no internal
project identifiers, no references to non-public modules, and no hints at
how the platform enforces plugin security.

- Strip internal project/governance identifiers and references to
  non-public modules from source docstrings, the manifest JSON schema,
  the docs, and CI job names.
- Replace the markdown-only leak check with tests/test_no_internal_leaks.py,
  which scans every author-visible file (source, schema, CI, docs,
  templates) and runs as a required CI gate.
- Remove a test that referenced paths outside this project and that listed
  non-public infrastructure details.
- Drop a local dev-iteration block from `dryade plugin new` output and an
  internal identifier from a `dryade plugin package` error message.
- CI: install the CLI extras + fastapi/httpx in the test and examples jobs
  so the CLI, route, and example suites actually run; verify the MIT license
  metadata in the built wheel; point the smoke test at the in-repo CLI.
- Fix pre-existing typing and test-assertion issues so ruff, mypy --strict,
  and the full test suite pass.

Co-Authored-By: Dammerzone <dammerzone@users.noreply.github.com>

* ci(sdk): drop author @-mention from release notes template

Release notes referenced the PR author's GitHub login as a live @-mention.
Use the PR number alone so generated release notes credit the change, not a
specific account.

Co-Authored-By: Dammerzone <dammerzone@users.noreply.github.com>

---------

Co-authored-by: Dryade <contact@dryade.ai>
Co-authored-by: Dammerzone <dammerzone@users.noreply.github.com>
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