@yawlabs/ctxlint 0.9.16 → 0.9.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/index.js +1924 -428
- package/mcph-config-lint-rules.json +151 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
[](https://github.com/YawLabs/ctxlint/stargazers)
|
|
6
6
|
[](https://github.com/YawLabs/ctxlint/actions/workflows/ci.yml)
|
|
7
7
|
[](https://github.com/YawLabs/ctxlint/actions/workflows/release.yml)
|
|
8
|
+
[](https://github.com/YawLabs/mcp-compliance)
|
|
8
9
|
|
|
9
10
|
**Lint your AI agent context files, MCP server configs, and session data against your actual codebase.** Context linting + MCP config linting + session auditing. 21+ context formats, 8 MCP clients, cross-project consistency, auto-fix. Works as a CLI, CI step, pre-commit hook, or MCP server.
|
|
10
11
|
|
|
@@ -495,19 +496,21 @@ ctxlint is the reference implementation of three open specifications for linting
|
|
|
495
496
|
| -------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
496
497
|
| **[AI Context File Linting Spec](./CONTEXT_LINT_SPEC.md)** | 19 rules for validating context files (CLAUDE.md, .cursorrules, AGENTS.md, etc.) across 17 clients. Covers file formats, frontmatter schemas, path/command validation, staleness, token budgets, redundancy, and contradictions. |
|
|
497
498
|
| **[MCP Config Linting Spec](./MCP_CONFIG_LINT_SPEC.md)** | 43 rules for validating MCP server configs (.mcp.json, .cursor/mcp.json, .vscode/mcp.json, etc.) across 8 clients. Covers schema validation, hardcoded secrets, env var syntax, deprecated transports, and cross-file consistency. |
|
|
499
|
+
| **mcph Config Linting** (`mcph-config-lint-rules.json`) | 10 rules for validating `.mcph.json` — the config file read by the `@yawlabs/mcph` CLI. Covers PAT format + leakage, env-var posture, plaintext API endpoints, schema drift, and allow/deny list semantics across the scope cascade. |
|
|
498
500
|
| **[Agent Session Linting Spec](./AGENT_SESSION_LINT_SPEC.md)** | 7 rules for auditing agent session data (history, memory) across 8 agents. Covers cross-project secret consistency, config drift, stale memory, and loop detection. |
|
|
499
501
|
|
|
500
502
|
All specs include machine-readable rule catalogs for programmatic consumption:
|
|
501
503
|
|
|
502
504
|
- [`context-lint-rules.json`](./context-lint-rules.json) — context file rules and 16 supported format definitions
|
|
503
505
|
- [`mcp-config-lint-rules.json`](./mcp-config-lint-rules.json) — MCP config rules and 8 client definitions
|
|
506
|
+
- [`mcph-config-lint-rules.json`](./mcph-config-lint-rules.json) — mcph CLI config rules (`.mcph.json`)
|
|
504
507
|
- [`agent-session-lint-rules.json`](./agent-session-lint-rules.json) — session lint rules and 8 agent data source definitions
|
|
505
508
|
|
|
506
509
|
## Also By Yaw Labs
|
|
507
510
|
|
|
508
511
|
- [Yaw](https://yaw.sh) — The AI-native terminal
|
|
509
512
|
- [mcp.hosting](https://mcp.hosting) — MCP server proxy platform
|
|
510
|
-
- [
|
|
513
|
+
- [Spend](https://spend.sh) — AI spend tracking, cost estimation, and provider comparison across 10+ providers
|
|
511
514
|
- [Token Limit News](https://tokenlimit.news) — Weekly AI dev tooling newsletter
|
|
512
515
|
|
|
513
516
|
## License
|