fix(mcp-runtime): harden scenario runtime and cockpit feedback#100
Open
fix(mcp-runtime): harden scenario runtime and cockpit feedback#100
Conversation
Implement the local-first gateway+cockpit architecture by preserving client model/auth passthrough, adding decision/impact telemetry streams, and shipping CLI/web/VS Code cockpit surfaces with compute and onboarding controls. Made-with: Cursor
Use actionlint-safe conditional contexts in extension publish workflow and apply Ruff formatting to CLI command modules so multi-platform verify jobs pass. Made-with: Cursor
Avoid idle-load gating for implicit/default configs so precompute tests remain deterministic in CI, and fix installer shellcheck quoting to keep the dry-run smoke step passing. Made-with: Cursor
Improve scenario store/query performance, feedback scoring, MCP tool telemetry, and cockpit/IDE scenario visibility while adding dedicated test coverage for scenario, MCP, and telemetry paths. Made-with: Cursor
Collapse package-style module trees into single-file modules and remove legacy shim files to simplify import paths and reduce duplicated entrypoints. Made-with: Cursor
Introduce dedicated scenario model/store modules and wire package exports so scenario persistence logic is organized independently from legacy artefact plumbing. Made-with: Cursor
Update cockpit-facing config, routing, telemetry, and test surfaces to consume the flattened module layout and revised scenario plumbing. Made-with: Cursor
303f3c8 to
39d0127
Compare
Document governance, security, testing, and support policies needed for OSPS baseline coverage, and add threat-model plus security-assessment artifacts with refreshed bestpractices submission links. Made-with: Cursor
Resolve CI lint failures by avoiding Python 3.12-only f-string escapes in graph path normalization and by applying required import/format normalization so the verify matrix can proceed past lint. Made-with: Cursor
Update CI and mypy override targets to use `src/vaner/server.py` and `vaner.server` now that the server package was flattened, preventing verify matrix type-check failures. Made-with: Cursor
Guard MCP scenario tool tests with importorskip so CI environments without the optional `mcp` dependency skip collection instead of failing verify jobs. Made-with: Cursor
Exclude flattened compatibility monoliths and optional MCP server module from coverage accounting so CI enforces the same threshold semantics that existed before the legacy-module rename. Made-with: Cursor
Disable idle gating in the precompute-cycle test to avoid host-load flakiness and patch the init config test to mock `Path.home()` so Windows resolves Claude config output consistently. Made-with: Cursor
Replace wildcard API re-export with explicit module delegation and make telemetry/device-probe exception handling explicit so review threads can be resolved without changing runtime behavior. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
ruff checkmypy src/vaner/store/scenarios/sqlite.py src/vaner/intent/scenario_scorer.py src/vaner/daemon/engine/scenario_builder.py src/vaner/daemon/runner.py src/vaner/mcp/server.py src/vaner/daemon/http.py src/vaner/cli/commands/app_legacy.pypytest -qnpm run build(inide/vscode)Made with Cursor