Skip to content

test(ci): fail on truncated MCP auth policy env paths#111

Merged
0xNyk merged 1 commit intomainfrom
fix/ci-guard-truncated-policy-path
Apr 14, 2026
Merged

test(ci): fail on truncated MCP auth policy env paths#111
0xNyk merged 1 commit intomainfrom
fix/ci-guard-truncated-policy-path

Conversation

@0xNyk
Copy link
Copy Markdown
Owner

@0xNyk 0xNyk commented Apr 13, 2026

Summary

  • add a CI guard to fail fast if truncated placeholder policy-path strings are committed
  • guard checks:
    • bin/lacp-test for LACP_MCP_AUTH_POLICY_FILE="${ROOT...json"
    • scripts/lacp-lib.sh for LACP_MCP_AUTH_POLICY_FILE="${LACP...son}"

Why

During triage of #109, path rendering/truncation made this class of defect easy to miss/misread. This hardens the isolated env guard with an explicit assertion.

Validation

  • bash -n scripts/ci/test-cli-and-isolated-env-guard.sh
  • negative grep checks on both files pass

@0xNyk 0xNyk merged commit 7bdd7ab into main Apr 14, 2026
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