You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
drift_check config path is relative to cwd, so off-root runs silently pass #153
DEFAULT_CONFIG_PATH = Path("standards/drift-checker.config.json") is resolved against the current directory, and a missing file returns permissive defaults with no required_workflows and no skip_checks. Every other meta input is resolved from meta_repo_path.
scripts/drift_check/cli.py:240-245 (required-refs correctly resolved from meta_repo_path)
Details
CI only works because the composite action sets working-directory: .drift-checker.
Impact
Running the checker from a tool repo (the natural local usage) reports a clean pass while the same repo fails in CI: required-workflow enforcement and the mcp-server skip rules vanish without a warning.
Steps to reproduce
In a temp dir containing only fakerepo/.cursor-plugin/plugin.json, run python <meta>/scripts/drift_check/cli.py --local fakerepo: 0 errors, rc 0.
Run the same command from the meta-repo root: 4 required-workflows errors, rc 1.
Suggested fix
Default the config to meta_repo_path / "standards" / "drift-checker.config.json" in _build_snapshots (as is done for required-refs), and warn on stderr when the default file is missing.
Acceptance criteria
Results are identical regardless of cwd
A test runs the CLI from a different cwd and still sees required-workflows findings
Activity
abhicodes-007 commentedon Nov 30, 2026
Fix ready in PR #200: #200
The new tests fail on
mainwhen run from an unrelated cwd and pass with the patch; full suite is 354 passed, 2 skipped.