Skip to content

disk-hygiene: setup:check reports healthy while the engine is dead (misses #376 env-injection and bare-python failures) #385

Description

@kyle-sexton

Summary

disk-hygiene:setup check probes prerequisites but never exercises the guard end-to-end, so it
reports all-PASS while the engine is actually dead — including the exact failure this session
hit (#376) and the python-launch risk (see the bare-python hook issue).

Details

So a Windows/macOS/Linux user whose skill-frontmatter hook doesn't get plugin env (or whose python
doesn't resolve) gets a green setup:check while every guarded scan dead-ends.

Suggested fix

Add end-to-end probes to check:

  1. Run the guard against a synthetic bare-python scan denial and assert the data-root disclosure is
    present (i.e. CLAUDE_PLUGIN_DATA reached the hook process).
  2. Assert the hook's configured interpreter resolves to Python 3.11+.
  3. Report a clear FAIL with remediation when either is missing, instead of a misleading PASS.

Severity

MEDIUM — the diagnostic tool fails to diagnose the plugin's actual, most common failure mode.
Related: #376, and the bare-python hook-launch issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.priority: mediumReal value, no hard deadline; normal backlog flow.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions