Skip to content

Compose private inventory, audits and catalog checks - #257

Merged
chrisknvidia merged 12 commits into
mainfrom
naren/private-static-composition
Oct 30, 2026
Merged

chrisknvidia merged 12 commits into
mainfrom
naren/private-static-composition

Conversation

@rng1995

@rng1995 rng1995 commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Compose private inventory, member-risk checks, whole-tree and bundled-skill scans, context estimates, opt-in vulnerability/endpoint audits, and duplicate/catalog comparisons. Covers split-plan items 8–11 and now bases on current main; public activation remains item 25.

  • Preserve format-specific behavior, individual skill context, safe staging and file modes, catalog compatibility, and bounded comparison work.
  • Reuse declared-path-aware source discovery for audit-only runs without copying unrelated assets or applying scanner byte limits to audit inputs.
  • Retain Python vulnerability severity and source attribution; keep the most severe findings across the aggregate cap and explicitly report truncation as incomplete.
  • Preserve main's bounded split chunks and source ranges alongside private comparison limits and one-time vector normalization.

All seven inline review threads are addressed and resolved, including declared-folder coverage, Python advisory loss, aggregate truncation, source-change safety and staged modes.

Validation: 107 audit/composition/Python baseline tests passed; after the main merge, 214 deduplication tests passed with one skip and 78 audit/composition tests passed. Ruff and diff checks passed. The complete stacked workflow, build, installed-wheel acceptance and secret scan are recorded in #258. Audit tests use fake scanners/transports and require no live external services.

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent review found one coverage gap in the private whole-tree adapter. Posting it inline; I will address and retest it before marking this PR ready.

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A second review pass found a per-skill context gap in whole-root scanner composition. Fix and regression coverage are underway.

@rng1995
rng1995 marked this pull request as ready for review October 29, 2026 22:07
Base automatically changed from feat/christopherk/discovery-static-policy to main October 30, 2026 00:43
@rng1995 rng1995 changed the title Compose private inventory, audits and catalog checks (items 8–11) Compose private inventory, audits and catalog checks Oct 30, 2026
@chrisknvidia
chrisknvidia enabled auto-merge (squash) October 30, 2026 06:03

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review found an aggregate finding-limit issue; a regression and correction are in progress.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional source-coverage and Python audit-adapter regressions were reproduced during re-review; fixes are being verified.

rng1995 added a commit that referenced this pull request Oct 30, 2026
@chrisknvidia
chrisknvidia merged commit d48fbe8 into main Oct 30, 2026
20 checks passed
@chrisknvidia
chrisknvidia deleted the naren/private-static-composition branch October 30, 2026 07:02
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
* Compose private inventory, audits and catalog checks

Signed-off-by: Narendran Raghavan <[email protected]>

* Preserve scans for explicitly loaded skills and bytecode

Signed-off-by: Narendran Raghavan <[email protected]>

* Preserve per-skill checks and complete private catalogs

Signed-off-by: Narendran Raghavan <[email protected]>

* Preserve source file modes in private scanner views

Signed-off-by: Narendran Raghavan <[email protected]>

---------

Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Nov 11, 2026
…448)

Three docstrings cite `skillevaluator.plugin_components`, which was never created. The
inventory lives in `skillevaluator.plugin_inventory`: the citations landed in #250
(2026-10-29) one day before #257 (2026-10-30) composed the inventory under the
`plugin_inventory` name, so the references describe a module that the implementation
replaced before either shipped.

Two of the three are `:mod:` roles, where the fix is unambiguous, so those change here:

- `plugin_mcp.py:13`
- `plugin_paths.py:16`

The third, `plugin_manifest.py:280`, points at `build_plugin_inventory` — a *function*
that also does not exist. Its sentence describes that function taking an `additional`
argument, while `plugin_inventory_for_root` takes `(path, *, allowed_private_hosts,
hook_allowed_urls)`, so picking a replacement means guessing what the paragraph meant.
Left alone rather than guessed at; say the word and I will take it separately once the
intended signature is clear.

Found by resolving Sphinx cross-reference roles in docstrings against the symbols the
package actually defines, then checking dotted targets on the filesystem — the first
version of that check reported `harbor.upload.db_client` as missing in another repo,
which is how I learned to resolve module paths rather than symbol names.

Signed-off-by: lxcxjxhx <[email protected]>
Co-authored-by: lxcxjxhx <[email protected]>
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.

2 participants