Skip to content

v1.91.1.0 fix: harden Impeccable plugin discovery - #2978

Merged
garrytan merged 6 commits into
mainfrom
fix/impeccable-plugin-discovery-wave
Sep 25, 2026
Merged

garrytan merged 6 commits into
mainfrom
fix/impeccable-plugin-discovery-wave

Conversation

@garrytan

Copy link
Copy Markdown
Owner

Summary

Builds on @SomSamantray's plugin-cache discovery contribution in #2976, retaining the contributor commits and addressing the installation layout reported in #2838.

  • Discover traditional and marketplace Impeccable installs under the normal Claude profile or a trusted custom CLAUDE_CONFIG_DIR. Select versions deterministically, including prereleases and opaque/hash names, and keep the selected launcher's engine and version metadata together.
  • Preserve explicit-engine, PATH, standalone-cache and bundled-engine precedence. Reject unsafe repository/cache symlink traversal, compare canonical HOME paths, and sanitize diagnostics and launcher hints. Discovery does not execute launchers or download anything; consent and compatibility warnings remain intact.
  • Add discovery, trust-boundary, portable platform and real-agent handoff regressions. Isolate policy fixtures from ambient Git URL rewrites, update registration counts, and keep the integrated source-detector replay adapter aligned with its evaluated excerpt.

Updates the interop reference and release metadata to v1.91.1.0.

Validation

Validated revision: 6faf24d, integrated with main at 7b534d3.

  • Complete free acceptance: 26,533 pass / 0 fail / 85 skip across 1,042 files. The unmodified strict runner's CI-plan verifier confirmed every file ran exactly once across five shards, with no retries. Skipped-case identities are unchanged from the initial run.
  • Two author-sensitive fixture files ran in a network-disabled Ubuntu 24.04 container with stock Git and a read-only checkout; all 59 tests passed, including the five cases affected by the cloud host's forced Git identity. The other 1,040 files ran on the host with a headed display. No environment failures were waived and no assertions were weakened.
  • Four targeted agent checks passed: plugin discovery/handoff, source scan, DOM scan, and no-UI scope. The integrated source case ran fresh; the other three results were reused only after actual builders proved identical complete prompts, options and fixture contents.
  • Build, focused integration checks, whitespace checks and credential scanning passed. Credential scan: zero high findings, three advisory findings.

Review and coverage limits

Native and independent reviews informed the discovery/safety repairs; the final integrated native review is clean. Documentation was audited against the implementation.

The PR profile requires the no-UI probe and no quality judges. Three additional detector cases were executed; twelve broader cases remain deferred rather than claimed as passes. Portable discovery tests are included in Windows selection, but native Windows/macOS results are not inferred from Linux fixtures. GitHub CI will report separately.

Open in Capy

SomSamantray and others added 6 commits September 24, 2026 22:51
The design-detector probe only ever checked <root>/<SKILL_ROOTS>/skills/impeccable/,
never the Claude Code plugin-cache layout
(<root>/.claude/plugins/cache/<marketplace>/<plugin>/<version>/skills/impeccable/).
A plugin-installed impeccable was therefore invisible: IMPECCABLE_SKILL stayed
absent, the launcher was never found (so the NOT_CACHED run hint never fired),
and its sibling engine was never considered.

Add a plugin-cache walk alongside the existing SKILL_ROOTS walk, sharing the
same presence/launcher/repo-local-exclusion/sibling-engine logic via an
extracted checkSkillDir() helper so both paths stay behaviorally identical.

Fixes #2838
Both did the identical try/catch-around-readdirSync; newestSemverDir now
reuses the new safeReaddir helper instead of duplicating it.
…-discovery-wave

# Conflicts:
#	CHANGELOG.md
#	VERSION
#	agents-digest/gstack-AGENTS.md
#	package.json
@trunk-io

trunk-io Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@github-actions

Copy link
Copy Markdown
Contributor

E2E Evals: ✅ PASS

1 automated passed / 1 final results | 0 failed, 0 manual accepted (unscored; no score-cache credit) | 1 executed, 0 reused | $.32 total cost | reconcile exit: 0

Profile: pr / pr; selected behaviors: 1, judges: 0. Deferred to scheduled/release coverage: 15 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.

Shard Automated result Manual/unscored Executed Reused Status Cost
e2e-design/skill-e2e-design 1/1 0 1 0 ✅ $0.32
Fail-closed reconciliation
[test:paid] report: 6/6 slices, 1 planned shards, tier=gate
[test:paid] coverage: profile=pr mode=pr; selected E2E=1, judges=0
[test:paid] deferred: 15 broad behaviors, 0 changed prompts without quick live coverage; these are not PR passes
  slice 1  passed             37s  test/skill-e2e-design.test.ts
[test:paid] collector final outcomes: 1 executed, 0 reused; 1 passed, 0 failed, 0 manual accepted (unscored; no score-cache credit) (1 attempt records from 1 collectors)
[test:paid] report: every planned shard accounted and passed

Sliced lane: declared PR profile or broad fallback via scripts/test-paid-shards.ts (planner → 6 executors → fail-closed report). Reused scores retain their original provenance and expiry.

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